@northflank/js-client 0.7.0 → 0.7.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/api-client.d.ts +7267 -2476
- package/dist/cjs/api-client.js +1 -1
- package/dist/esm/api-client.d.ts +7267 -2476
- package/dist/esm/api-client.js +1 -15
- package/package.json +1 -1
- package/dist/cjs/api-endpoint.d.ts +0 -57
- package/dist/cjs/api-error.d.ts +0 -16
- package/dist/cjs/context/api-client-context-provider.d.ts +0 -47
- package/dist/cjs/context/api-client-file-context-provider.d.ts +0 -11
- package/dist/cjs/context/api-client-in-memory-context-provider.d.ts +0 -6
- package/dist/cjs/context/index.d.ts +0 -3
- package/dist/cjs/endpoints/abort/addon/backup.d.ts +0 -21
- package/dist/cjs/endpoints/abort/addon/restore.d.ts +0 -26
- package/dist/cjs/endpoints/abort/job/build.d.ts +0 -21
- package/dist/cjs/endpoints/abort/job/run.d.ts +0 -21
- package/dist/cjs/endpoints/abort/service/build.d.ts +0 -21
- package/dist/cjs/endpoints/add/domain/subdomain.d.ts +0 -33
- package/dist/cjs/endpoints/add/registry.d.ts +0 -47
- package/dist/cjs/endpoints/assign/subdomain/service.d.ts +0 -28
- package/dist/cjs/endpoints/attach/volume.d.ts +0 -29
- package/dist/cjs/endpoints/backup/addon.d.ts +0 -51
- package/dist/cjs/endpoints/create/addon/backupSchedule.d.ts +0 -40
- package/dist/cjs/endpoints/create/addon.d.ts +0 -101
- package/dist/cjs/endpoints/create/cluster.d.ts +0 -97
- package/dist/cjs/endpoints/create/domain.d.ts +0 -27
- package/dist/cjs/endpoints/create/integration.d.ts +0 -58
- package/dist/cjs/endpoints/create/job/cron.d.ts +0 -247
- package/dist/cjs/endpoints/create/job/manual.d.ts +0 -237
- package/dist/cjs/endpoints/create/project.d.ts +0 -31
- package/dist/cjs/endpoints/create/secret.d.ts +0 -83
- package/dist/cjs/endpoints/create/service/build.d.ts +0 -161
- package/dist/cjs/endpoints/create/service/combined.d.ts +0 -255
- package/dist/cjs/endpoints/create/service/deployment.d.ts +0 -242
- package/dist/cjs/endpoints/create/template.d.ts +0 -132
- package/dist/cjs/endpoints/create/volume.d.ts +0 -78
- package/dist/cjs/endpoints/delete/addon/backupSchedule.d.ts +0 -21
- package/dist/cjs/endpoints/delete/addon.d.ts +0 -19
- package/dist/cjs/endpoints/delete/backup.d.ts +0 -21
- package/dist/cjs/endpoints/delete/cluster.d.ts +0 -17
- package/dist/cjs/endpoints/delete/domain.d.ts +0 -17
- package/dist/cjs/endpoints/delete/integration.d.ts +0 -17
- package/dist/cjs/endpoints/delete/job.d.ts +0 -19
- package/dist/cjs/endpoints/delete/project.d.ts +0 -17
- package/dist/cjs/endpoints/delete/registry.d.ts +0 -17
- package/dist/cjs/endpoints/delete/secret.d.ts +0 -19
- package/dist/cjs/endpoints/delete/secretLink.d.ts +0 -21
- package/dist/cjs/endpoints/delete/service.d.ts +0 -19
- package/dist/cjs/endpoints/delete/subdomain.d.ts +0 -19
- package/dist/cjs/endpoints/delete/template.d.ts +0 -17
- package/dist/cjs/endpoints/delete/volume.d.ts +0 -19
- package/dist/cjs/endpoints/detach/volume.d.ts +0 -21
- package/dist/cjs/endpoints/get/addon/backup/download.d.ts +0 -24
- package/dist/cjs/endpoints/get/addon/backup.d.ts +0 -46
- package/dist/cjs/endpoints/get/addon/backupSchedules.d.ts +0 -52
- package/dist/cjs/endpoints/get/addon/backups.d.ts +0 -54
- package/dist/cjs/endpoints/get/addon/containers.d.ts +0 -40
- package/dist/cjs/endpoints/get/addon/credentials.d.ts +0 -24
- package/dist/cjs/endpoints/get/addon/types.d.ts +0 -48
- package/dist/cjs/endpoints/get/addon/version.d.ts +0 -53
- package/dist/cjs/endpoints/get/addon.d.ts +0 -71
- package/dist/cjs/endpoints/get/cluster.d.ts +0 -55
- package/dist/cjs/endpoints/get/dnsId.d.ts +0 -15
- package/dist/cjs/endpoints/get/domain.d.ts +0 -33
- package/dist/cjs/endpoints/get/integration.d.ts +0 -37
- package/dist/cjs/endpoints/get/invoice/details.d.ts +0 -139
- package/dist/cjs/endpoints/get/job/branches.d.ts +0 -49
- package/dist/cjs/endpoints/get/job/build.d.ts +0 -42
- package/dist/cjs/endpoints/get/job/buildArgumentDetails.d.ts +0 -71
- package/dist/cjs/endpoints/get/job/buildArguments.d.ts +0 -29
- package/dist/cjs/endpoints/get/job/builds.d.ts +0 -52
- package/dist/cjs/endpoints/get/job/containers.d.ts +0 -40
- package/dist/cjs/endpoints/get/job/deployment.d.ts +0 -55
- package/dist/cjs/endpoints/get/job/healthChecks.d.ts +0 -45
- package/dist/cjs/endpoints/get/job/pullRequests.d.ts +0 -49
- package/dist/cjs/endpoints/get/job/run.d.ts +0 -44
- package/dist/cjs/endpoints/get/job/runs.d.ts +0 -54
- package/dist/cjs/endpoints/get/job/runtimeEnvironment.d.ts +0 -29
- package/dist/cjs/endpoints/get/job/runtimeEnvironmentDetails.d.ts +0 -71
- package/dist/cjs/endpoints/get/job.d.ts +0 -128
- package/dist/cjs/endpoints/get/project.d.ts +0 -72
- package/dist/cjs/endpoints/get/registry.d.ts +0 -34
- package/dist/cjs/endpoints/get/secret.d.ts +0 -55
- package/dist/cjs/endpoints/get/secretDetails.d.ts +0 -63
- package/dist/cjs/endpoints/get/secretLink.d.ts +0 -44
- package/dist/cjs/endpoints/get/service/branches.d.ts +0 -49
- package/dist/cjs/endpoints/get/service/build.d.ts +0 -42
- package/dist/cjs/endpoints/get/service/buildArgumentDetails.d.ts +0 -71
- package/dist/cjs/endpoints/get/service/buildArguments.d.ts +0 -29
- package/dist/cjs/endpoints/get/service/builds.d.ts +0 -52
- package/dist/cjs/endpoints/get/service/containers.d.ts +0 -40
- package/dist/cjs/endpoints/get/service/deployment.d.ts +0 -55
- package/dist/cjs/endpoints/get/service/healthChecks.d.ts +0 -45
- package/dist/cjs/endpoints/get/service/ports.d.ts +0 -70
- package/dist/cjs/endpoints/get/service/pullRequests.d.ts +0 -49
- package/dist/cjs/endpoints/get/service/runtimeEnvironment.d.ts +0 -29
- package/dist/cjs/endpoints/get/service/runtimeEnvironmentDetails.d.ts +0 -71
- package/dist/cjs/endpoints/get/service.d.ts +0 -211
- package/dist/cjs/endpoints/get/subdomain.d.ts +0 -30
- package/dist/cjs/endpoints/get/template.d.ts +0 -61
- package/dist/cjs/endpoints/get/templateRun.d.ts +0 -73
- package/dist/cjs/endpoints/get/volume.d.ts +0 -49
- package/dist/cjs/endpoints/import/addon/backup.d.ts +0 -31
- package/dist/cjs/endpoints/list/addons.d.ts +0 -45
- package/dist/cjs/endpoints/list/branches.d.ts +0 -51
- package/dist/cjs/endpoints/list/clusters.d.ts +0 -63
- package/dist/cjs/endpoints/list/domains.d.ts +0 -34
- package/dist/cjs/endpoints/list/integrations.d.ts +0 -36
- package/dist/cjs/endpoints/list/invoices.d.ts +0 -40
- package/dist/cjs/endpoints/list/jobs.d.ts +0 -46
- package/dist/cjs/endpoints/list/plans.d.ts +0 -30
- package/dist/cjs/endpoints/list/projects.d.ts +0 -32
- package/dist/cjs/endpoints/list/providers.d.ts +0 -37
- package/dist/cjs/endpoints/list/regions.d.ts +0 -18
- package/dist/cjs/endpoints/list/registries.d.ts +0 -41
- package/dist/cjs/endpoints/list/repos.d.ts +0 -51
- package/dist/cjs/endpoints/list/secrets.d.ts +0 -54
- package/dist/cjs/endpoints/list/services.d.ts +0 -65
- package/dist/cjs/endpoints/list/templateRuns.d.ts +0 -54
- package/dist/cjs/endpoints/list/templates.d.ts +0 -41
- package/dist/cjs/endpoints/list/vcs.d.ts +0 -32
- package/dist/cjs/endpoints/list/volumes.d.ts +0 -47
- package/dist/cjs/endpoints/pause/addon.d.ts +0 -19
- package/dist/cjs/endpoints/pause/job.d.ts +0 -19
- package/dist/cjs/endpoints/pause/service.d.ts +0 -19
- package/dist/cjs/endpoints/restart/addon.d.ts +0 -19
- package/dist/cjs/endpoints/restart/service.d.ts +0 -19
- package/dist/cjs/endpoints/restore/addon/backup.d.ts +0 -24
- package/dist/cjs/endpoints/resume/addon.d.ts +0 -19
- package/dist/cjs/endpoints/resume/job.d.ts +0 -28
- package/dist/cjs/endpoints/resume/service.d.ts +0 -28
- package/dist/cjs/endpoints/retain/addon/backup.d.ts +0 -21
- package/dist/cjs/endpoints/run/template.d.ts +0 -62
- package/dist/cjs/endpoints/scale/addon.d.ts +0 -28
- package/dist/cjs/endpoints/scale/job.d.ts +0 -30
- package/dist/cjs/endpoints/scale/service.d.ts +0 -32
- package/dist/cjs/endpoints/start/job/build.d.ts +0 -47
- package/dist/cjs/endpoints/start/job/run.d.ts +0 -74
- package/dist/cjs/endpoints/start/service/build.d.ts +0 -55
- package/dist/cjs/endpoints/suspend/job.d.ts +0 -24
- package/dist/cjs/endpoints/unassign/subdomain.d.ts +0 -19
- package/dist/cjs/endpoints/update/addon/networkSettings.d.ts +0 -26
- package/dist/cjs/endpoints/update/addon/security.d.ts +0 -29
- package/dist/cjs/endpoints/update/addon/version.d.ts +0 -24
- package/dist/cjs/endpoints/update/cluster.d.ts +0 -76
- package/dist/cjs/endpoints/update/integration.d.ts +0 -53
- package/dist/cjs/endpoints/update/job/buildArguments.d.ts +0 -29
- package/dist/cjs/endpoints/update/job/buildOptions.d.ts +0 -50
- package/dist/cjs/endpoints/update/job/buildSource.d.ts +0 -32
- package/dist/cjs/endpoints/update/job/cmdOverride.d.ts +0 -24
- package/dist/cjs/endpoints/update/job/deployment.d.ts +0 -39
- package/dist/cjs/endpoints/update/job/entrypointOverride.d.ts +0 -24
- package/dist/cjs/endpoints/update/job/healthChecks.d.ts +0 -45
- package/dist/cjs/endpoints/update/job/runtimeEnvironment.d.ts +0 -29
- package/dist/cjs/endpoints/update/job/settings.d.ts +0 -32
- package/dist/cjs/endpoints/update/registry.d.ts +0 -31
- package/dist/cjs/endpoints/update/secret.d.ts +0 -58
- package/dist/cjs/endpoints/update/secretLink.d.ts +0 -40
- package/dist/cjs/endpoints/update/service/buildArguments.d.ts +0 -29
- package/dist/cjs/endpoints/update/service/buildOptions.d.ts +0 -62
- package/dist/cjs/endpoints/update/service/buildSource.d.ts +0 -32
- package/dist/cjs/endpoints/update/service/cmdOverride.d.ts +0 -24
- package/dist/cjs/endpoints/update/service/deployment.d.ts +0 -39
- package/dist/cjs/endpoints/update/service/entrypointOverride.d.ts +0 -24
- package/dist/cjs/endpoints/update/service/healthChecks.d.ts +0 -45
- package/dist/cjs/endpoints/update/service/ports.d.ts +0 -57
- package/dist/cjs/endpoints/update/service/runtimeEnvironment.d.ts +0 -34
- package/dist/cjs/endpoints/update/template.d.ts +0 -81
- package/dist/cjs/endpoints/update/volume.d.ts +0 -33
- package/dist/cjs/endpoints/verify/domain.d.ts +0 -17
- package/dist/cjs/endpoints/verify/subdomain.d.ts +0 -19
- package/dist/cjs/exec-command/client/exec-command-runner.d.ts +0 -70
- package/dist/cjs/exec-command/client/exec-command-standard.d.ts +0 -42
- package/dist/cjs/port-forward/client/api-helper.d.ts +0 -30
- package/dist/cjs/port-forward/client/atomic-write.d.ts +0 -2
- package/dist/cjs/port-forward/client/host-file-ast.d.ts +0 -52
- package/dist/cjs/port-forward/client/host-file.d.ts +0 -26
- package/dist/cjs/port-forward/client/loopback.d.ts +0 -4
- package/dist/cjs/port-forward/client/port-forwarder.d.ts +0 -87
- package/dist/cjs/port-forward/client/port-tunnel-tcp.d.ts +0 -36
- package/dist/cjs/port-forward/client/port-tunnel-udp.d.ts +0 -27
- package/dist/cjs/port-forward/client/promise-mutex.d.ts +0 -4
- package/dist/cjs/utils.d.ts +0 -21
- package/dist/esm/api-endpoint.d.ts +0 -57
- package/dist/esm/api-error.d.ts +0 -16
- package/dist/esm/context/api-client-context-provider.d.ts +0 -47
- package/dist/esm/context/api-client-file-context-provider.d.ts +0 -11
- package/dist/esm/context/api-client-in-memory-context-provider.d.ts +0 -6
- package/dist/esm/context/index.d.ts +0 -3
- package/dist/esm/endpoints/abort/addon/backup.d.ts +0 -21
- package/dist/esm/endpoints/abort/addon/restore.d.ts +0 -26
- package/dist/esm/endpoints/abort/job/build.d.ts +0 -21
- package/dist/esm/endpoints/abort/job/run.d.ts +0 -21
- package/dist/esm/endpoints/abort/service/build.d.ts +0 -21
- package/dist/esm/endpoints/add/domain/subdomain.d.ts +0 -33
- package/dist/esm/endpoints/add/registry.d.ts +0 -47
- package/dist/esm/endpoints/assign/subdomain/service.d.ts +0 -28
- package/dist/esm/endpoints/attach/volume.d.ts +0 -29
- package/dist/esm/endpoints/backup/addon.d.ts +0 -51
- package/dist/esm/endpoints/create/addon/backupSchedule.d.ts +0 -40
- package/dist/esm/endpoints/create/addon.d.ts +0 -101
- package/dist/esm/endpoints/create/cluster.d.ts +0 -97
- package/dist/esm/endpoints/create/domain.d.ts +0 -27
- package/dist/esm/endpoints/create/integration.d.ts +0 -58
- package/dist/esm/endpoints/create/job/cron.d.ts +0 -247
- package/dist/esm/endpoints/create/job/manual.d.ts +0 -237
- package/dist/esm/endpoints/create/project.d.ts +0 -31
- package/dist/esm/endpoints/create/secret.d.ts +0 -83
- package/dist/esm/endpoints/create/service/build.d.ts +0 -161
- package/dist/esm/endpoints/create/service/combined.d.ts +0 -255
- package/dist/esm/endpoints/create/service/deployment.d.ts +0 -242
- package/dist/esm/endpoints/create/template.d.ts +0 -132
- package/dist/esm/endpoints/create/volume.d.ts +0 -78
- package/dist/esm/endpoints/delete/addon/backupSchedule.d.ts +0 -21
- package/dist/esm/endpoints/delete/addon.d.ts +0 -19
- package/dist/esm/endpoints/delete/backup.d.ts +0 -21
- package/dist/esm/endpoints/delete/cluster.d.ts +0 -17
- package/dist/esm/endpoints/delete/domain.d.ts +0 -17
- package/dist/esm/endpoints/delete/integration.d.ts +0 -17
- package/dist/esm/endpoints/delete/job.d.ts +0 -19
- package/dist/esm/endpoints/delete/project.d.ts +0 -17
- package/dist/esm/endpoints/delete/registry.d.ts +0 -17
- package/dist/esm/endpoints/delete/secret.d.ts +0 -19
- package/dist/esm/endpoints/delete/secretLink.d.ts +0 -21
- package/dist/esm/endpoints/delete/service.d.ts +0 -19
- package/dist/esm/endpoints/delete/subdomain.d.ts +0 -19
- package/dist/esm/endpoints/delete/template.d.ts +0 -17
- package/dist/esm/endpoints/delete/volume.d.ts +0 -19
- package/dist/esm/endpoints/detach/volume.d.ts +0 -21
- package/dist/esm/endpoints/get/addon/backup/download.d.ts +0 -24
- package/dist/esm/endpoints/get/addon/backup.d.ts +0 -46
- package/dist/esm/endpoints/get/addon/backupSchedules.d.ts +0 -52
- package/dist/esm/endpoints/get/addon/backups.d.ts +0 -54
- package/dist/esm/endpoints/get/addon/containers.d.ts +0 -40
- package/dist/esm/endpoints/get/addon/credentials.d.ts +0 -24
- package/dist/esm/endpoints/get/addon/types.d.ts +0 -48
- package/dist/esm/endpoints/get/addon/version.d.ts +0 -53
- package/dist/esm/endpoints/get/addon.d.ts +0 -71
- package/dist/esm/endpoints/get/cluster.d.ts +0 -55
- package/dist/esm/endpoints/get/dnsId.d.ts +0 -15
- package/dist/esm/endpoints/get/domain.d.ts +0 -33
- package/dist/esm/endpoints/get/integration.d.ts +0 -37
- package/dist/esm/endpoints/get/invoice/details.d.ts +0 -139
- package/dist/esm/endpoints/get/job/branches.d.ts +0 -49
- package/dist/esm/endpoints/get/job/build.d.ts +0 -42
- package/dist/esm/endpoints/get/job/buildArgumentDetails.d.ts +0 -71
- package/dist/esm/endpoints/get/job/buildArguments.d.ts +0 -29
- package/dist/esm/endpoints/get/job/builds.d.ts +0 -52
- package/dist/esm/endpoints/get/job/containers.d.ts +0 -40
- package/dist/esm/endpoints/get/job/deployment.d.ts +0 -55
- package/dist/esm/endpoints/get/job/healthChecks.d.ts +0 -45
- package/dist/esm/endpoints/get/job/pullRequests.d.ts +0 -49
- package/dist/esm/endpoints/get/job/run.d.ts +0 -44
- package/dist/esm/endpoints/get/job/runs.d.ts +0 -54
- package/dist/esm/endpoints/get/job/runtimeEnvironment.d.ts +0 -29
- package/dist/esm/endpoints/get/job/runtimeEnvironmentDetails.d.ts +0 -71
- package/dist/esm/endpoints/get/job.d.ts +0 -128
- package/dist/esm/endpoints/get/project.d.ts +0 -72
- package/dist/esm/endpoints/get/registry.d.ts +0 -34
- package/dist/esm/endpoints/get/secret.d.ts +0 -55
- package/dist/esm/endpoints/get/secretDetails.d.ts +0 -63
- package/dist/esm/endpoints/get/secretLink.d.ts +0 -44
- package/dist/esm/endpoints/get/service/branches.d.ts +0 -49
- package/dist/esm/endpoints/get/service/build.d.ts +0 -42
- package/dist/esm/endpoints/get/service/buildArgumentDetails.d.ts +0 -71
- package/dist/esm/endpoints/get/service/buildArguments.d.ts +0 -29
- package/dist/esm/endpoints/get/service/builds.d.ts +0 -52
- package/dist/esm/endpoints/get/service/containers.d.ts +0 -40
- package/dist/esm/endpoints/get/service/deployment.d.ts +0 -55
- package/dist/esm/endpoints/get/service/healthChecks.d.ts +0 -45
- package/dist/esm/endpoints/get/service/ports.d.ts +0 -70
- package/dist/esm/endpoints/get/service/pullRequests.d.ts +0 -49
- package/dist/esm/endpoints/get/service/runtimeEnvironment.d.ts +0 -29
- package/dist/esm/endpoints/get/service/runtimeEnvironmentDetails.d.ts +0 -71
- package/dist/esm/endpoints/get/service.d.ts +0 -211
- package/dist/esm/endpoints/get/subdomain.d.ts +0 -30
- package/dist/esm/endpoints/get/template.d.ts +0 -61
- package/dist/esm/endpoints/get/templateRun.d.ts +0 -73
- package/dist/esm/endpoints/get/volume.d.ts +0 -49
- package/dist/esm/endpoints/import/addon/backup.d.ts +0 -31
- package/dist/esm/endpoints/list/addons.d.ts +0 -45
- package/dist/esm/endpoints/list/branches.d.ts +0 -51
- package/dist/esm/endpoints/list/clusters.d.ts +0 -63
- package/dist/esm/endpoints/list/domains.d.ts +0 -34
- package/dist/esm/endpoints/list/integrations.d.ts +0 -36
- package/dist/esm/endpoints/list/invoices.d.ts +0 -40
- package/dist/esm/endpoints/list/jobs.d.ts +0 -46
- package/dist/esm/endpoints/list/plans.d.ts +0 -30
- package/dist/esm/endpoints/list/projects.d.ts +0 -32
- package/dist/esm/endpoints/list/providers.d.ts +0 -37
- package/dist/esm/endpoints/list/regions.d.ts +0 -18
- package/dist/esm/endpoints/list/registries.d.ts +0 -41
- package/dist/esm/endpoints/list/repos.d.ts +0 -51
- package/dist/esm/endpoints/list/secrets.d.ts +0 -54
- package/dist/esm/endpoints/list/services.d.ts +0 -65
- package/dist/esm/endpoints/list/templateRuns.d.ts +0 -54
- package/dist/esm/endpoints/list/templates.d.ts +0 -41
- package/dist/esm/endpoints/list/vcs.d.ts +0 -32
- package/dist/esm/endpoints/list/volumes.d.ts +0 -47
- package/dist/esm/endpoints/pause/addon.d.ts +0 -19
- package/dist/esm/endpoints/pause/job.d.ts +0 -19
- package/dist/esm/endpoints/pause/service.d.ts +0 -19
- package/dist/esm/endpoints/restart/addon.d.ts +0 -19
- package/dist/esm/endpoints/restart/service.d.ts +0 -19
- package/dist/esm/endpoints/restore/addon/backup.d.ts +0 -24
- package/dist/esm/endpoints/resume/addon.d.ts +0 -19
- package/dist/esm/endpoints/resume/job.d.ts +0 -28
- package/dist/esm/endpoints/resume/service.d.ts +0 -28
- package/dist/esm/endpoints/retain/addon/backup.d.ts +0 -21
- package/dist/esm/endpoints/run/template.d.ts +0 -62
- package/dist/esm/endpoints/scale/addon.d.ts +0 -28
- package/dist/esm/endpoints/scale/job.d.ts +0 -30
- package/dist/esm/endpoints/scale/service.d.ts +0 -32
- package/dist/esm/endpoints/start/job/build.d.ts +0 -47
- package/dist/esm/endpoints/start/job/run.d.ts +0 -74
- package/dist/esm/endpoints/start/service/build.d.ts +0 -55
- package/dist/esm/endpoints/suspend/job.d.ts +0 -24
- package/dist/esm/endpoints/unassign/subdomain.d.ts +0 -19
- package/dist/esm/endpoints/update/addon/networkSettings.d.ts +0 -26
- package/dist/esm/endpoints/update/addon/security.d.ts +0 -29
- package/dist/esm/endpoints/update/addon/version.d.ts +0 -24
- package/dist/esm/endpoints/update/cluster.d.ts +0 -76
- package/dist/esm/endpoints/update/integration.d.ts +0 -53
- package/dist/esm/endpoints/update/job/buildArguments.d.ts +0 -29
- package/dist/esm/endpoints/update/job/buildOptions.d.ts +0 -50
- package/dist/esm/endpoints/update/job/buildSource.d.ts +0 -32
- package/dist/esm/endpoints/update/job/cmdOverride.d.ts +0 -24
- package/dist/esm/endpoints/update/job/deployment.d.ts +0 -39
- package/dist/esm/endpoints/update/job/entrypointOverride.d.ts +0 -24
- package/dist/esm/endpoints/update/job/healthChecks.d.ts +0 -45
- package/dist/esm/endpoints/update/job/runtimeEnvironment.d.ts +0 -29
- package/dist/esm/endpoints/update/job/settings.d.ts +0 -32
- package/dist/esm/endpoints/update/registry.d.ts +0 -31
- package/dist/esm/endpoints/update/secret.d.ts +0 -58
- package/dist/esm/endpoints/update/secretLink.d.ts +0 -40
- package/dist/esm/endpoints/update/service/buildArguments.d.ts +0 -29
- package/dist/esm/endpoints/update/service/buildOptions.d.ts +0 -62
- package/dist/esm/endpoints/update/service/buildSource.d.ts +0 -32
- package/dist/esm/endpoints/update/service/cmdOverride.d.ts +0 -24
- package/dist/esm/endpoints/update/service/deployment.d.ts +0 -39
- package/dist/esm/endpoints/update/service/entrypointOverride.d.ts +0 -24
- package/dist/esm/endpoints/update/service/healthChecks.d.ts +0 -45
- package/dist/esm/endpoints/update/service/ports.d.ts +0 -57
- package/dist/esm/endpoints/update/service/runtimeEnvironment.d.ts +0 -34
- package/dist/esm/endpoints/update/template.d.ts +0 -81
- package/dist/esm/endpoints/update/volume.d.ts +0 -33
- package/dist/esm/endpoints/verify/domain.d.ts +0 -17
- package/dist/esm/endpoints/verify/subdomain.d.ts +0 -19
- package/dist/esm/exec-command/client/exec-command-runner.d.ts +0 -70
- package/dist/esm/exec-command/client/exec-command-standard.d.ts +0 -42
- package/dist/esm/port-forward/client/api-helper.d.ts +0 -30
- package/dist/esm/port-forward/client/atomic-write.d.ts +0 -2
- package/dist/esm/port-forward/client/host-file-ast.d.ts +0 -52
- package/dist/esm/port-forward/client/host-file.d.ts +0 -26
- package/dist/esm/port-forward/client/loopback.d.ts +0 -4
- package/dist/esm/port-forward/client/port-forwarder.d.ts +0 -87
- package/dist/esm/port-forward/client/port-tunnel-tcp.d.ts +0 -36
- package/dist/esm/port-forward/client/port-tunnel-udp.d.ts +0 -27
- package/dist/esm/port-forward/client/promise-mutex.d.ts +0 -4
- package/dist/esm/utils.d.ts +0 -21
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, PostApiEndpoint } from '../../../api-endpoint';
|
|
2
|
-
export declare type StartJobBuildResult = {
|
|
3
|
-
/** ID of the build. Example: "joyous-view-6290" */
|
|
4
|
-
'id': string;
|
|
5
|
-
/** Name of the branch the built commit belongs to. Example: "main" */
|
|
6
|
-
'branch'?: string;
|
|
7
|
-
/** ID of the pull request the commit belongs to. */
|
|
8
|
-
'pullRequestId'?: number;
|
|
9
|
-
/** The sha of the built commit. Example: "12c15e7ee25fd78f567ebf87f9178b8ad70025b3" */
|
|
10
|
-
'sha'?: string;
|
|
11
|
-
/** Timestamp of the build initiation. Example: "2021-07-28T15:55:38.296Z" */
|
|
12
|
-
'createdAt'?: string;
|
|
13
|
-
/** The status of the build. Example: "PENDING" */
|
|
14
|
-
'status'?: string;
|
|
15
|
-
/** Whether the build has finished. */
|
|
16
|
-
'concluded'?: boolean;
|
|
17
|
-
};
|
|
18
|
-
export declare type StartJobBuildCall = (opts: StartJobBuildRequest) => Promise<ApiCallResponse<StartJobBuildResult>>;
|
|
19
|
-
export declare type StartJobBuildRequest = {
|
|
20
|
-
parameters: StartJobBuildParameters;
|
|
21
|
-
data: StartJobBuildData;
|
|
22
|
-
};
|
|
23
|
-
export declare type StartJobBuildParameters = {
|
|
24
|
-
/** ID of the project */ 'projectId': string;
|
|
25
|
-
/** ID of the job */
|
|
26
|
-
'jobId': string;
|
|
27
|
-
};
|
|
28
|
-
export declare type StartJobBuildData = {
|
|
29
|
-
/** Commit sha to build. If not provided, will build the most recent commit of the job's branch. Example: "262ed9817b3cad5142fbceabe0c9e371e390d616" */
|
|
30
|
-
'sha'?: string;
|
|
31
|
-
} | {
|
|
32
|
-
/** Commit sha to build. If not provided, will build the most recent commit of the job's branch. Example: "262ed9817b3cad5142fbceabe0c9e371e390d616" */
|
|
33
|
-
'sha'?: string;
|
|
34
|
-
/** An optional object that may specify several different overrides on the build level. */
|
|
35
|
-
'overrides'?: {
|
|
36
|
-
/** Build arguments that will be set on this build only. In case of conflicts these values take precedence. Example: {"ARGUMENT_1":"abcdef","ARGUMENT_2":"12345"} */
|
|
37
|
-
'buildArguments'?: any;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
/** Start a new build for the given job. Given a commit sha, it will build that commit. */
|
|
41
|
-
export declare class StartJobBuildEndpoint extends PostApiEndpoint<StartJobBuildRequest, StartJobBuildResult> {
|
|
42
|
-
description: string;
|
|
43
|
-
withAuth: boolean;
|
|
44
|
-
requiredPermissions: string;
|
|
45
|
-
endpointUrl: (opts: StartJobBuildRequest) => string;
|
|
46
|
-
body: (payload: StartJobBuildRequest) => string;
|
|
47
|
-
}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, PostApiEndpoint } from '../../../api-endpoint';
|
|
2
|
-
export declare type StartJobRunResult = {
|
|
3
|
-
/** The ID of the job run Example: "d34582a4-35bd-4c71-8e7c-e36999b88723" */
|
|
4
|
-
'id': string;
|
|
5
|
-
/** The name of the job run Example: "example-job-5fcf67bc56e1913e21d49504" */
|
|
6
|
-
'runName': string;
|
|
7
|
-
};
|
|
8
|
-
export declare type StartJobRunCall = (opts: StartJobRunRequest) => Promise<ApiCallResponse<StartJobRunResult>>;
|
|
9
|
-
export declare type StartJobRunRequest = {
|
|
10
|
-
parameters: StartJobRunParameters;
|
|
11
|
-
data: StartJobRunData;
|
|
12
|
-
};
|
|
13
|
-
export declare type StartJobRunParameters = {
|
|
14
|
-
/** ID of the project */ 'projectId': string;
|
|
15
|
-
/** ID of the job */
|
|
16
|
-
'jobId': string;
|
|
17
|
-
};
|
|
18
|
-
export declare type StartJobRunData = {
|
|
19
|
-
/** An object containing the environment variables overrides to use when running the job. Keys must only contain letters and numbers separated with underscores, may not start with a number Example: {"VARIABLE_1":"abcdef","VARIABLE_2":"12345"} */
|
|
20
|
-
'runtimeEnvironment'?: any;
|
|
21
|
-
'billing'?: {
|
|
22
|
-
/** The ID of the deployment plan override to use. Example: "nf-compute-20" */
|
|
23
|
-
'deploymentPlan'?: string;
|
|
24
|
-
};
|
|
25
|
-
'deployment'?: {
|
|
26
|
-
/** The CMD override to use when running the job. Example: "nginx -g" */
|
|
27
|
-
'cmdOverride'?: string;
|
|
28
|
-
/** If set, the job runs a custom entrypoint rather than one defined in the Dockerfile. Example: "/custom-entrypoint.sh" */
|
|
29
|
-
'entrypointOverride'?: string;
|
|
30
|
-
'storage'?: {
|
|
31
|
-
'ephemeralStorage'?: {
|
|
32
|
-
/** Ephemeral storage per container in MB Example: 1024 */
|
|
33
|
-
'storageSize'?: number;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
/** Optional: Specify the commit to run */
|
|
37
|
-
'internal'?: {
|
|
38
|
-
/** ID of the build service to deploy Example: "example-build-service" */
|
|
39
|
-
'id'?: string;
|
|
40
|
-
/** Branch to deploy Example: "master" */
|
|
41
|
-
'branch'?: string;
|
|
42
|
-
/** Commit SHA to deploy, or 'latest' to deploy the most recent commit Example: "latest" */
|
|
43
|
-
'buildSHA'?: string | 'latest';
|
|
44
|
-
/** ID of the build that should be deployed Example: "premium-guide-6393" */
|
|
45
|
-
'buildId'?: string;
|
|
46
|
-
};
|
|
47
|
-
} | {
|
|
48
|
-
/** The CMD override to use when running the job. Example: "nginx -g" */
|
|
49
|
-
'cmdOverride'?: string;
|
|
50
|
-
/** If set, the job runs a custom entrypoint rather than one defined in the Dockerfile. Example: "/custom-entrypoint.sh" */
|
|
51
|
-
'entrypointOverride'?: string;
|
|
52
|
-
'storage'?: {
|
|
53
|
-
'ephemeralStorage'?: {
|
|
54
|
-
/** Ephemeral storage per container in MB Example: 1024 */
|
|
55
|
-
'storageSize'?: number;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
/** Optional: Specify the external image to run */
|
|
59
|
-
'external'?: {
|
|
60
|
-
/** Image to be deployed. When not deploying from Dockerhub the URL must be specified. Example: "nginx:latest" */
|
|
61
|
-
'imagePath': string;
|
|
62
|
-
/** ID of the saved credentials to use to access this external image. Example: "example-credentials" */
|
|
63
|
-
'credentials'?: string;
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
/** Starts a new job run for the given job */
|
|
68
|
-
export declare class StartJobRunEndpoint extends PostApiEndpoint<StartJobRunRequest, StartJobRunResult> {
|
|
69
|
-
description: string;
|
|
70
|
-
withAuth: boolean;
|
|
71
|
-
requiredPermissions: string;
|
|
72
|
-
endpointUrl: (opts: StartJobRunRequest) => string;
|
|
73
|
-
body: (payload: StartJobRunRequest) => string;
|
|
74
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, PostApiEndpoint } from '../../../api-endpoint';
|
|
2
|
-
export declare type StartServiceBuildResult = {
|
|
3
|
-
/** ID of the build. Example: "joyous-view-6290" */
|
|
4
|
-
'id': string;
|
|
5
|
-
/** Name of the branch the built commit belongs to. Example: "main" */
|
|
6
|
-
'branch'?: string;
|
|
7
|
-
/** ID of the pull request the commit belongs to. */
|
|
8
|
-
'pullRequestId'?: number;
|
|
9
|
-
/** The sha of the built commit. Example: "12c15e7ee25fd78f567ebf87f9178b8ad70025b3" */
|
|
10
|
-
'sha'?: string;
|
|
11
|
-
/** Timestamp of the build initiation. Example: "2021-07-28T15:55:38.296Z" */
|
|
12
|
-
'createdAt'?: string;
|
|
13
|
-
/** The status of the build. Example: "PENDING" */
|
|
14
|
-
'status'?: string;
|
|
15
|
-
/** Whether the build has finished. */
|
|
16
|
-
'concluded'?: boolean;
|
|
17
|
-
};
|
|
18
|
-
export declare type StartServiceBuildCall = (opts: StartServiceBuildRequest) => Promise<ApiCallResponse<StartServiceBuildResult>>;
|
|
19
|
-
export declare type StartServiceBuildRequest = {
|
|
20
|
-
parameters: StartServiceBuildParameters;
|
|
21
|
-
data: StartServiceBuildData;
|
|
22
|
-
};
|
|
23
|
-
export declare type StartServiceBuildParameters = {
|
|
24
|
-
/** ID of the project */ 'projectId': string;
|
|
25
|
-
/** ID of the service */
|
|
26
|
-
'serviceId': string;
|
|
27
|
-
};
|
|
28
|
-
export declare type StartServiceBuildData = {
|
|
29
|
-
/** Commit sha to build. If not provided, builds the most recent relevant commit. Example: "262ed9817b3cad5142fbceabe0c9e371e390d616" */
|
|
30
|
-
'sha'?: string;
|
|
31
|
-
/** Branch to build from. If `sha` is not provided, the latest commit of this branch will be built. Only supported by build services. Build services require either `branch` or `pullRequestId` field, but cannot be provided with both. */
|
|
32
|
-
'branch'?: string;
|
|
33
|
-
/** ID of a pull request to build from. If `sha` is not provided, the latest commit of this pull request will be built. Only supported by build services. Build services require either `branch` or `pullRequestId` field, but cannot be provided with both. */
|
|
34
|
-
'pullRequestId'?: number;
|
|
35
|
-
} | {
|
|
36
|
-
/** Commit sha to build. If not provided, builds the most recent relevant commit. Example: "262ed9817b3cad5142fbceabe0c9e371e390d616" */
|
|
37
|
-
'sha'?: string;
|
|
38
|
-
/** Branch to build from. If `sha` is not provided, the latest commit of this branch will be built. Only supported by build services. Build services require either `branch` or `pullRequestId` field, but cannot be provided with both. */
|
|
39
|
-
'branch'?: string;
|
|
40
|
-
/** ID of a pull request to build from. If `sha` is not provided, the latest commit of this pull request will be built. Only supported by build services. Build services require either `branch` or `pullRequestId` field, but cannot be provided with both. */
|
|
41
|
-
'pullRequestId'?: number;
|
|
42
|
-
/** An optional object that may specify several different overrides on the build level. */
|
|
43
|
-
'overrides'?: {
|
|
44
|
-
/** Build arguments that will be set on this build only. In case of conflicts these values take precedence. Example: {"ARGUMENT_1":"abcdef","ARGUMENT_2":"12345"} */
|
|
45
|
-
'buildArguments'?: any;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
/** Start a new build for the given combined or build service. If given a commit sha, it will build that commit. Otherwise, the most recent relevant commit will be built. If the service provided is a build service, a branch name or pull request to build from is required. */
|
|
49
|
-
export declare class StartServiceBuildEndpoint extends PostApiEndpoint<StartServiceBuildRequest, StartServiceBuildResult> {
|
|
50
|
-
description: string;
|
|
51
|
-
withAuth: boolean;
|
|
52
|
-
requiredPermissions: string;
|
|
53
|
-
endpointUrl: (opts: StartServiceBuildRequest) => string;
|
|
54
|
-
body: (payload: StartServiceBuildRequest) => string;
|
|
55
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, PostApiEndpoint } from '../../api-endpoint';
|
|
2
|
-
export declare type SuspendJobResult = any | any;
|
|
3
|
-
export declare type SuspendJobCall = (opts: SuspendJobRequest) => Promise<ApiCallResponse<SuspendJobResult>>;
|
|
4
|
-
export declare type SuspendJobRequest = {
|
|
5
|
-
parameters: SuspendJobParameters;
|
|
6
|
-
data: SuspendJobData;
|
|
7
|
-
};
|
|
8
|
-
export declare type SuspendJobParameters = {
|
|
9
|
-
/** ID of the project */ 'projectId': string;
|
|
10
|
-
/** ID of the job */
|
|
11
|
-
'jobId': string;
|
|
12
|
-
};
|
|
13
|
-
export declare type SuspendJobData = {
|
|
14
|
-
/** In the case of cron jobs, whether scheduling should be paused. Example: true */
|
|
15
|
-
'suspended'?: boolean;
|
|
16
|
-
};
|
|
17
|
-
/** Modify cron job to toggle suspending of its schedule. */
|
|
18
|
-
export declare class SuspendJobEndpoint extends PostApiEndpoint<SuspendJobRequest, SuspendJobResult> {
|
|
19
|
-
description: string;
|
|
20
|
-
withAuth: boolean;
|
|
21
|
-
requiredPermissions: string;
|
|
22
|
-
endpointUrl: (opts: SuspendJobRequest) => string;
|
|
23
|
-
body: (payload: SuspendJobRequest) => string;
|
|
24
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, DeleteApiEndpoint } from '../../api-endpoint';
|
|
2
|
-
export declare type UnassignSubdomainResult = any;
|
|
3
|
-
export declare type UnassignSubdomainCall = (opts: UnassignSubdomainRequest) => Promise<ApiCallResponse<UnassignSubdomainResult>>;
|
|
4
|
-
export declare type UnassignSubdomainRequest = {
|
|
5
|
-
parameters: UnassignSubdomainParameters;
|
|
6
|
-
};
|
|
7
|
-
export declare type UnassignSubdomainParameters = {
|
|
8
|
-
/** Name of the domain */ 'domain': string;
|
|
9
|
-
/** Name of the subdomain */
|
|
10
|
-
'subdomain': string;
|
|
11
|
-
};
|
|
12
|
-
/** Removes a subdomain from its assigned service */
|
|
13
|
-
export declare class UnassignSubdomainEndpoint extends DeleteApiEndpoint<UnassignSubdomainRequest, UnassignSubdomainResult> {
|
|
14
|
-
description: string;
|
|
15
|
-
withAuth: boolean;
|
|
16
|
-
requiredPermissions: string;
|
|
17
|
-
endpointUrl: (opts: UnassignSubdomainRequest) => string;
|
|
18
|
-
body: () => undefined;
|
|
19
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, PostApiEndpoint } from '../../../api-endpoint';
|
|
2
|
-
export declare type UpdateAddonNetworksettingsResult = any;
|
|
3
|
-
export declare type UpdateAddonNetworksettingsCall = (opts: UpdateAddonNetworksettingsRequest) => Promise<ApiCallResponse<UpdateAddonNetworksettingsResult>>;
|
|
4
|
-
export declare type UpdateAddonNetworksettingsRequest = {
|
|
5
|
-
parameters: UpdateAddonNetworksettingsParameters;
|
|
6
|
-
data: UpdateAddonNetworksettingsData;
|
|
7
|
-
};
|
|
8
|
-
export declare type UpdateAddonNetworksettingsParameters = {
|
|
9
|
-
/** ID of the project */ 'projectId': string;
|
|
10
|
-
/** ID of the addon */
|
|
11
|
-
'addonId': string;
|
|
12
|
-
};
|
|
13
|
-
export declare type UpdateAddonNetworksettingsData = {
|
|
14
|
-
/** If `true`, a TLS certificate will be provisioned for the addon. Example: true */
|
|
15
|
-
'tlsEnabled'?: boolean;
|
|
16
|
-
/** If `true`, the addon will be given a public URL and will be accessible from the internet. `tlsEnabled` must be `true` to set this as `true`. Example: true */
|
|
17
|
-
'externalAccessEnabled'?: boolean;
|
|
18
|
-
};
|
|
19
|
-
/** Updates the network settings for the addon. */
|
|
20
|
-
export declare class UpdateAddonNetworksettingsEndpoint extends PostApiEndpoint<UpdateAddonNetworksettingsRequest, UpdateAddonNetworksettingsResult> {
|
|
21
|
-
description: string;
|
|
22
|
-
withAuth: boolean;
|
|
23
|
-
requiredPermissions: string;
|
|
24
|
-
endpointUrl: (opts: UpdateAddonNetworksettingsRequest) => string;
|
|
25
|
-
body: (payload: UpdateAddonNetworksettingsRequest) => string;
|
|
26
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, PostApiEndpoint } from '../../../api-endpoint';
|
|
2
|
-
export declare type UpdateAddonSecurityResult = any;
|
|
3
|
-
export declare type UpdateAddonSecurityCall = (opts: UpdateAddonSecurityRequest) => Promise<ApiCallResponse<UpdateAddonSecurityResult>>;
|
|
4
|
-
export declare type UpdateAddonSecurityRequest = {
|
|
5
|
-
parameters: UpdateAddonSecurityParameters;
|
|
6
|
-
data: UpdateAddonSecurityData;
|
|
7
|
-
};
|
|
8
|
-
export declare type UpdateAddonSecurityParameters = {
|
|
9
|
-
/** ID of the project */ 'projectId': string;
|
|
10
|
-
/** ID of the addon */
|
|
11
|
-
'addonId': string;
|
|
12
|
-
};
|
|
13
|
-
export declare type UpdateAddonSecurityData = {
|
|
14
|
-
/** An array of IP policy rules. */
|
|
15
|
-
'ipPolicies': {
|
|
16
|
-
/** An IP address used by this rule. Example: "127.0.0.1" */
|
|
17
|
-
'address': string;
|
|
18
|
-
/** The action for this rule. Example: "ALLOW" */
|
|
19
|
-
'action'?: 'ALLOW' | 'DENY';
|
|
20
|
-
}[];
|
|
21
|
-
};
|
|
22
|
-
/** Updates the security rules for the addon. */
|
|
23
|
-
export declare class UpdateAddonSecurityEndpoint extends PostApiEndpoint<UpdateAddonSecurityRequest, UpdateAddonSecurityResult> {
|
|
24
|
-
description: string;
|
|
25
|
-
withAuth: boolean;
|
|
26
|
-
requiredPermissions: string;
|
|
27
|
-
endpointUrl: (opts: UpdateAddonSecurityRequest) => string;
|
|
28
|
-
body: (payload: UpdateAddonSecurityRequest) => string;
|
|
29
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, PostApiEndpoint } from '../../../api-endpoint';
|
|
2
|
-
export declare type UpdateAddonVersionResult = any;
|
|
3
|
-
export declare type UpdateAddonVersionCall = (opts: UpdateAddonVersionRequest) => Promise<ApiCallResponse<UpdateAddonVersionResult>>;
|
|
4
|
-
export declare type UpdateAddonVersionRequest = {
|
|
5
|
-
parameters: UpdateAddonVersionParameters;
|
|
6
|
-
data: UpdateAddonVersionData;
|
|
7
|
-
};
|
|
8
|
-
export declare type UpdateAddonVersionParameters = {
|
|
9
|
-
/** ID of the project */ 'projectId': string;
|
|
10
|
-
/** ID of the addon */
|
|
11
|
-
'addonId': string;
|
|
12
|
-
};
|
|
13
|
-
export declare type UpdateAddonVersionData = {
|
|
14
|
-
/** The version to upgrade the addon to. Example: "4.2.15" */
|
|
15
|
-
'version': string;
|
|
16
|
-
};
|
|
17
|
-
/** Upgrades the addon to a new version. */
|
|
18
|
-
export declare class UpdateAddonVersionEndpoint extends PostApiEndpoint<UpdateAddonVersionRequest, UpdateAddonVersionResult> {
|
|
19
|
-
description: string;
|
|
20
|
-
withAuth: boolean;
|
|
21
|
-
requiredPermissions: string;
|
|
22
|
-
endpointUrl: (opts: UpdateAddonVersionRequest) => string;
|
|
23
|
-
body: (payload: UpdateAddonVersionRequest) => string;
|
|
24
|
-
}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, PostApiEndpoint } from '../../api-endpoint';
|
|
2
|
-
export declare type UpdateClusterResult = {
|
|
3
|
-
/** Identifier for the cluster. Example: "gcp-cluster-1" */
|
|
4
|
-
'id': string;
|
|
5
|
-
/** The name of the cluster. Example: "GCP Cluster 1" */
|
|
6
|
-
'name': string;
|
|
7
|
-
/** A short description of the cluster. Example: "The cluster description" */
|
|
8
|
-
'description'?: string;
|
|
9
|
-
/** The cloud provider to which this cluster belongs to. Example: "gcp" */
|
|
10
|
-
'provider'?: string;
|
|
11
|
-
/** ID of the provider integration used by this cluster. Example: "gcp-integration" */
|
|
12
|
-
'integrationId': string;
|
|
13
|
-
'nodePools': {
|
|
14
|
-
'availabilityZones'?: string[];
|
|
15
|
-
'nodeTypes': string[];
|
|
16
|
-
'nodeCount': number;
|
|
17
|
-
'autoscaling'?: {
|
|
18
|
-
'enabled'?: boolean;
|
|
19
|
-
'min'?: number;
|
|
20
|
-
'max'?: number;
|
|
21
|
-
};
|
|
22
|
-
/** Configures node pool with preemptible / spot instances if enabled. */
|
|
23
|
-
'preemptible'?: boolean;
|
|
24
|
-
'diskType'?: string;
|
|
25
|
-
'diskSize': number;
|
|
26
|
-
/** ID of existing node pool. Must be passed when modifying existing node pools. Not relevant for new node pools Example: "6aa96121-0345-43ad-bade-af36d540c222" */
|
|
27
|
-
'id'?: string;
|
|
28
|
-
};
|
|
29
|
-
'status'?: {
|
|
30
|
-
'state'?: {
|
|
31
|
-
'state'?: string;
|
|
32
|
-
'transitionTime'?: string;
|
|
33
|
-
};
|
|
34
|
-
'nextUpdateAfter'?: string;
|
|
35
|
-
};
|
|
36
|
-
/** The time the cluster was created. Example: "2021-01-20T11:19:53.175Z" */
|
|
37
|
-
'createdAt': string;
|
|
38
|
-
/** Indicates if provider resource deletion has been requested by the user. */
|
|
39
|
-
'deletionRequested': boolean;
|
|
40
|
-
};
|
|
41
|
-
export declare type UpdateClusterCall = (opts: UpdateClusterRequest) => Promise<ApiCallResponse<UpdateClusterResult>>;
|
|
42
|
-
export declare type UpdateClusterRequest = {
|
|
43
|
-
parameters: UpdateClusterParameters;
|
|
44
|
-
data: UpdateClusterData;
|
|
45
|
-
};
|
|
46
|
-
export declare type UpdateClusterParameters = {
|
|
47
|
-
/** ID of the cluster */ 'clusterId': string;
|
|
48
|
-
};
|
|
49
|
-
export declare type UpdateClusterData = {
|
|
50
|
-
/** The description of the cluster. Example: "This is an updated description." */
|
|
51
|
-
'description'?: string;
|
|
52
|
-
'nodePools': {
|
|
53
|
-
'availabilityZones'?: string[];
|
|
54
|
-
'nodeTypes': string[];
|
|
55
|
-
'nodeCount': number;
|
|
56
|
-
'autoscaling'?: {
|
|
57
|
-
'enabled'?: boolean;
|
|
58
|
-
'min'?: number;
|
|
59
|
-
'max'?: number;
|
|
60
|
-
};
|
|
61
|
-
/** Configures node pool with preemptible / spot instances if enabled. */
|
|
62
|
-
'preemptible'?: boolean;
|
|
63
|
-
'diskType'?: string;
|
|
64
|
-
'diskSize': number;
|
|
65
|
-
/** ID of existing node pool. Must be passed when modifying existing node pools. Not relevant for new node pools Example: "6aa96121-0345-43ad-bade-af36d540c222" */
|
|
66
|
-
'id'?: string;
|
|
67
|
-
}[];
|
|
68
|
-
};
|
|
69
|
-
/** Update an existing cluster. */
|
|
70
|
-
export declare class UpdateClusterEndpoint extends PostApiEndpoint<UpdateClusterRequest, UpdateClusterResult> {
|
|
71
|
-
description: string;
|
|
72
|
-
withAuth: boolean;
|
|
73
|
-
requiredPermissions: string;
|
|
74
|
-
endpointUrl: (opts: UpdateClusterRequest) => string;
|
|
75
|
-
body: (payload: UpdateClusterRequest) => string;
|
|
76
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, PostApiEndpoint } from '../../api-endpoint';
|
|
2
|
-
export declare type UpdateIntegrationResult = {
|
|
3
|
-
/** Identifier for the integration. Example: "gcp-integration" */
|
|
4
|
-
'id': string;
|
|
5
|
-
/** The name of the integration. Example: "GCP integration" */
|
|
6
|
-
'name': string;
|
|
7
|
-
/** A short description of the integration. Example: "The integration description" */
|
|
8
|
-
'description'?: string;
|
|
9
|
-
/** Cloud provider credential input, required fields dependent on which provider is chosen. */
|
|
10
|
-
'credentials': {
|
|
11
|
-
/** Contents of a GCP key file. */
|
|
12
|
-
'keyfileJson'?: string;
|
|
13
|
-
/** AWS access key. */
|
|
14
|
-
'accessKey'?: string;
|
|
15
|
-
/** AWS secret key. */
|
|
16
|
-
'secretKey'?: string;
|
|
17
|
-
/** DO API key. */
|
|
18
|
-
'apiKey'?: string;
|
|
19
|
-
};
|
|
20
|
-
/** The time the integration was created. Example: "2021-01-20T11:19:53.175Z" */
|
|
21
|
-
'createdAt': string;
|
|
22
|
-
};
|
|
23
|
-
export declare type UpdateIntegrationCall = (opts: UpdateIntegrationRequest) => Promise<ApiCallResponse<UpdateIntegrationResult>>;
|
|
24
|
-
export declare type UpdateIntegrationRequest = {
|
|
25
|
-
parameters: UpdateIntegrationParameters;
|
|
26
|
-
data: UpdateIntegrationData;
|
|
27
|
-
};
|
|
28
|
-
export declare type UpdateIntegrationParameters = {
|
|
29
|
-
/** ID of the provider integration */ 'integrationId': string;
|
|
30
|
-
};
|
|
31
|
-
export declare type UpdateIntegrationData = {
|
|
32
|
-
/** The description of the integration. Example: "This is a new description." */
|
|
33
|
-
'description'?: string;
|
|
34
|
-
/** Cloud provider credential input, required fields dependent on which provider is chosen. */
|
|
35
|
-
'credentials': {
|
|
36
|
-
/** Contents of a GCP key file. */
|
|
37
|
-
'keyfileJson'?: string;
|
|
38
|
-
/** AWS access key. */
|
|
39
|
-
'accessKey'?: string;
|
|
40
|
-
/** AWS secret key. */
|
|
41
|
-
'secretKey'?: string;
|
|
42
|
-
/** DO API key. */
|
|
43
|
-
'apiKey'?: string;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
/** Update information about the given integration */
|
|
47
|
-
export declare class UpdateIntegrationEndpoint extends PostApiEndpoint<UpdateIntegrationRequest, UpdateIntegrationResult> {
|
|
48
|
-
description: string;
|
|
49
|
-
withAuth: boolean;
|
|
50
|
-
requiredPermissions: string;
|
|
51
|
-
endpointUrl: (opts: UpdateIntegrationRequest) => string;
|
|
52
|
-
body: (payload: UpdateIntegrationRequest) => string;
|
|
53
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, PostApiEndpoint } from '../../../api-endpoint';
|
|
2
|
-
export declare type UpdateJobBuildargumentsResult = any;
|
|
3
|
-
export declare type UpdateJobBuildargumentsCall = (opts: UpdateJobBuildargumentsRequest) => Promise<ApiCallResponse<UpdateJobBuildargumentsResult>>;
|
|
4
|
-
export declare type UpdateJobBuildargumentsRequest = {
|
|
5
|
-
parameters: UpdateJobBuildargumentsParameters;
|
|
6
|
-
data: UpdateJobBuildargumentsData;
|
|
7
|
-
};
|
|
8
|
-
export declare type UpdateJobBuildargumentsParameters = {
|
|
9
|
-
/** ID of the project */ 'projectId': string;
|
|
10
|
-
/** ID of the job */
|
|
11
|
-
'jobId': string;
|
|
12
|
-
};
|
|
13
|
-
export declare type UpdateJobBuildargumentsData = {
|
|
14
|
-
/** An object containing the all of the build arguments to set for the service. Keys must only contain letters and numbers separated with underscores, may not start with a number Example: {"ARGUMENT_1":"abcdef","ARGUMENT_2":"12345"} */
|
|
15
|
-
'buildArguments': any;
|
|
16
|
-
} | {
|
|
17
|
-
/** An object containing the all of the build arguments to set for the service. Keys must only contain letters and numbers separated with underscores, may not start with a number Example: {"ARGUMENT_1":"abcdef","ARGUMENT_2":"12345"} */
|
|
18
|
-
'buildArguments': any;
|
|
19
|
-
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
20
|
-
'buildFiles'?: any;
|
|
21
|
-
};
|
|
22
|
-
/** Sets build arguments for the given job. */
|
|
23
|
-
export declare class UpdateJobBuildargumentsEndpoint extends PostApiEndpoint<UpdateJobBuildargumentsRequest, UpdateJobBuildargumentsResult> {
|
|
24
|
-
description: string;
|
|
25
|
-
withAuth: boolean;
|
|
26
|
-
requiredPermissions: string;
|
|
27
|
-
endpointUrl: (opts: UpdateJobBuildargumentsRequest) => string;
|
|
28
|
-
body: (payload: UpdateJobBuildargumentsRequest) => string;
|
|
29
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, PostApiEndpoint } from '../../../api-endpoint';
|
|
2
|
-
export declare type UpdateJobBuildoptionsResult = any;
|
|
3
|
-
export declare type UpdateJobBuildoptionsCall = (opts: UpdateJobBuildoptionsRequest) => Promise<ApiCallResponse<UpdateJobBuildoptionsResult>>;
|
|
4
|
-
export declare type UpdateJobBuildoptionsRequest = {
|
|
5
|
-
parameters: UpdateJobBuildoptionsParameters;
|
|
6
|
-
data: UpdateJobBuildoptionsData;
|
|
7
|
-
};
|
|
8
|
-
export declare type UpdateJobBuildoptionsParameters = {
|
|
9
|
-
/** ID of the project */ 'projectId': string;
|
|
10
|
-
/** ID of the job */
|
|
11
|
-
'jobId': string;
|
|
12
|
-
};
|
|
13
|
-
export declare type UpdateJobBuildoptionsData = {
|
|
14
|
-
'dockerfile': {
|
|
15
|
-
/** Build engine to use. Defaults to recommended build engine `kaniko` Example: "kaniko" */
|
|
16
|
-
'buildEngine'?: 'kaniko' | 'buildkit';
|
|
17
|
-
/** Should intermediate image layers be cached? */
|
|
18
|
-
'useCache'?: boolean;
|
|
19
|
-
/** The file path of the Dockerfile. Example: "/Dockerfile" */
|
|
20
|
-
'dockerFilePath'?: string;
|
|
21
|
-
/** The working directory of the Dockerfile. Example: "/" */
|
|
22
|
-
'dockerWorkDir'?: string;
|
|
23
|
-
};
|
|
24
|
-
/** An array of path ignore rules. A commit will only be built if a file has been changed that does not match any of the ignore rules. Path ignore rules follow `.gitignore` syntax. */
|
|
25
|
-
'pathIgnoreRules'?: string[];
|
|
26
|
-
} | {
|
|
27
|
-
'buildpack': {
|
|
28
|
-
/** Buildpack stack to use. Defaults to recommended stack `HEROKU_20`. Example: "HEROKU_20" */
|
|
29
|
-
'builder'?: 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
|
|
30
|
-
/** Array of custom buildpacks to use. */
|
|
31
|
-
'buildpackLocators'?: string[];
|
|
32
|
-
/** The working directory to build in. Example: "/" */
|
|
33
|
-
'buildContext'?: string;
|
|
34
|
-
/** Should build dependencies be cached? */
|
|
35
|
-
'useCache'?: boolean;
|
|
36
|
-
};
|
|
37
|
-
/** An array of path ignore rules. A commit will only be built if a file has been changed that does not match any of the ignore rules. Path ignore rules follow `.gitignore` syntax. */
|
|
38
|
-
'pathIgnoreRules'?: string[];
|
|
39
|
-
} | {
|
|
40
|
-
/** An array of path ignore rules. A commit will only be built if a file has been changed that does not match any of the ignore rules. Path ignore rules follow `.gitignore` syntax. */
|
|
41
|
-
'pathIgnoreRules'?: string[];
|
|
42
|
-
};
|
|
43
|
-
/** Updates the build options for a given job. */
|
|
44
|
-
export declare class UpdateJobBuildoptionsEndpoint extends PostApiEndpoint<UpdateJobBuildoptionsRequest, UpdateJobBuildoptionsResult> {
|
|
45
|
-
description: string;
|
|
46
|
-
withAuth: boolean;
|
|
47
|
-
requiredPermissions: string;
|
|
48
|
-
endpointUrl: (opts: UpdateJobBuildoptionsRequest) => string;
|
|
49
|
-
body: (payload: UpdateJobBuildoptionsRequest) => string;
|
|
50
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, PostApiEndpoint } from '../../../api-endpoint';
|
|
2
|
-
export declare type UpdateJobBuildsourceResult = any;
|
|
3
|
-
export declare type UpdateJobBuildsourceCall = (opts: UpdateJobBuildsourceRequest) => Promise<ApiCallResponse<UpdateJobBuildsourceResult>>;
|
|
4
|
-
export declare type UpdateJobBuildsourceRequest = {
|
|
5
|
-
parameters: UpdateJobBuildsourceParameters;
|
|
6
|
-
data: UpdateJobBuildsourceData;
|
|
7
|
-
};
|
|
8
|
-
export declare type UpdateJobBuildsourceParameters = {
|
|
9
|
-
/** ID of the project */ 'projectId': string;
|
|
10
|
-
/** ID of the job */
|
|
11
|
-
'jobId': string;
|
|
12
|
-
};
|
|
13
|
-
export declare type UpdateJobBuildsourceData = {
|
|
14
|
-
/** URL of the Git repo to build. Example: "https://github.com/northflank/gatsby-with-northflank" */
|
|
15
|
-
'projectUrl'?: string;
|
|
16
|
-
/** The VCS provider to use. Example: "github" */
|
|
17
|
-
'projectType'?: 'bitbucket' | 'gitlab' | 'github' | 'self-hosted';
|
|
18
|
-
/** The name of the branch to use. Example: "master" */
|
|
19
|
-
'projectBranch'?: string;
|
|
20
|
-
/** If projectType is self-hosted, the ID of the self-hosted vcs to use. */
|
|
21
|
-
'selfHostedVcsId'?: string;
|
|
22
|
-
/** By default, if you have multiple version control accounts of the same provider linked, Northflank will pick a linked account that has access to the repository. If `accountLogin` is provided, Northflank will instead use your linked account with that login name. Example: "github-user" */
|
|
23
|
-
'accountLogin'?: string;
|
|
24
|
-
};
|
|
25
|
-
/** Updates the version control source for a given job. */
|
|
26
|
-
export declare class UpdateJobBuildsourceEndpoint extends PostApiEndpoint<UpdateJobBuildsourceRequest, UpdateJobBuildsourceResult> {
|
|
27
|
-
description: string;
|
|
28
|
-
withAuth: boolean;
|
|
29
|
-
requiredPermissions: string;
|
|
30
|
-
endpointUrl: (opts: UpdateJobBuildsourceRequest) => string;
|
|
31
|
-
body: (payload: UpdateJobBuildsourceRequest) => string;
|
|
32
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, PostApiEndpoint } from '../../../api-endpoint';
|
|
2
|
-
export declare type UpdateJobCmdoverrideResult = any;
|
|
3
|
-
export declare type UpdateJobCmdoverrideCall = (opts: UpdateJobCmdoverrideRequest) => Promise<ApiCallResponse<UpdateJobCmdoverrideResult>>;
|
|
4
|
-
export declare type UpdateJobCmdoverrideRequest = {
|
|
5
|
-
parameters: UpdateJobCmdoverrideParameters;
|
|
6
|
-
data: UpdateJobCmdoverrideData;
|
|
7
|
-
};
|
|
8
|
-
export declare type UpdateJobCmdoverrideParameters = {
|
|
9
|
-
/** ID of the project */ 'projectId': string;
|
|
10
|
-
/** ID of the job */
|
|
11
|
-
'jobId': string;
|
|
12
|
-
};
|
|
13
|
-
export declare type UpdateJobCmdoverrideData = {
|
|
14
|
-
/** The CMD to run, or null to disable the override. Example: "nginx -g" */
|
|
15
|
-
'cmdOverride': string;
|
|
16
|
-
};
|
|
17
|
-
/** Sets the Docker CMD override for the given job. */
|
|
18
|
-
export declare class UpdateJobCmdoverrideEndpoint extends PostApiEndpoint<UpdateJobCmdoverrideRequest, UpdateJobCmdoverrideResult> {
|
|
19
|
-
description: string;
|
|
20
|
-
withAuth: boolean;
|
|
21
|
-
requiredPermissions: string;
|
|
22
|
-
endpointUrl: (opts: UpdateJobCmdoverrideRequest) => string;
|
|
23
|
-
body: (payload: UpdateJobCmdoverrideRequest) => string;
|
|
24
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, PostApiEndpoint } from '../../../api-endpoint';
|
|
2
|
-
export declare type UpdateJobDeploymentResult = any;
|
|
3
|
-
export declare type UpdateJobDeploymentCall = (opts: UpdateJobDeploymentRequest) => Promise<ApiCallResponse<UpdateJobDeploymentResult>>;
|
|
4
|
-
export declare type UpdateJobDeploymentRequest = {
|
|
5
|
-
parameters: UpdateJobDeploymentParameters;
|
|
6
|
-
data: UpdateJobDeploymentData;
|
|
7
|
-
};
|
|
8
|
-
export declare type UpdateJobDeploymentParameters = {
|
|
9
|
-
/** ID of the project */ 'projectId': string;
|
|
10
|
-
/** ID of the job */
|
|
11
|
-
'jobId': string;
|
|
12
|
-
};
|
|
13
|
-
export declare type UpdateJobDeploymentData = {
|
|
14
|
-
'external': {
|
|
15
|
-
/** Image to be deployed. When not deploying from Dockerhub the URL must be specified. Example: "nginx:latest" */
|
|
16
|
-
'imagePath': string;
|
|
17
|
-
/** ID of the saved credentials to use to access this external image. Example: "example-credentials" */
|
|
18
|
-
'credentials'?: string;
|
|
19
|
-
};
|
|
20
|
-
} | {
|
|
21
|
-
'internal': {
|
|
22
|
-
/** ID of the build service to deploy Example: "example-build-service" */
|
|
23
|
-
'id'?: string;
|
|
24
|
-
/** Branch to deploy Example: "master" */
|
|
25
|
-
'branch'?: string;
|
|
26
|
-
/** Commit SHA to deploy, or 'latest' to deploy the most recent commit Example: "latest" */
|
|
27
|
-
'buildSHA'?: string | 'latest';
|
|
28
|
-
/** ID of the build that should be deployed Example: "premium-guide-6393" */
|
|
29
|
-
'buildId'?: string;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
/** Updates the deployment settings of the given job. */
|
|
33
|
-
export declare class UpdateJobDeploymentEndpoint extends PostApiEndpoint<UpdateJobDeploymentRequest, UpdateJobDeploymentResult> {
|
|
34
|
-
description: string;
|
|
35
|
-
withAuth: boolean;
|
|
36
|
-
requiredPermissions: string;
|
|
37
|
-
endpointUrl: (opts: UpdateJobDeploymentRequest) => string;
|
|
38
|
-
body: (payload: UpdateJobDeploymentRequest) => string;
|
|
39
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, PostApiEndpoint } from '../../../api-endpoint';
|
|
2
|
-
export declare type UpdateJobEntrypointoverrideResult = any;
|
|
3
|
-
export declare type UpdateJobEntrypointoverrideCall = (opts: UpdateJobEntrypointoverrideRequest) => Promise<ApiCallResponse<UpdateJobEntrypointoverrideResult>>;
|
|
4
|
-
export declare type UpdateJobEntrypointoverrideRequest = {
|
|
5
|
-
parameters: UpdateJobEntrypointoverrideParameters;
|
|
6
|
-
data: UpdateJobEntrypointoverrideData;
|
|
7
|
-
};
|
|
8
|
-
export declare type UpdateJobEntrypointoverrideParameters = {
|
|
9
|
-
/** ID of the project */ 'projectId': string;
|
|
10
|
-
/** ID of the job */
|
|
11
|
-
'jobId': string;
|
|
12
|
-
};
|
|
13
|
-
export declare type UpdateJobEntrypointoverrideData = {
|
|
14
|
-
/** If set, the service runs a custom entrypoint rather than one defined in the Dockerfile. Example: "/custom-entrypoint.sh" */
|
|
15
|
-
'entrypointOverride'?: string;
|
|
16
|
-
};
|
|
17
|
-
/** Sets the Docker entrypoint override for the given job. */
|
|
18
|
-
export declare class UpdateJobEntrypointoverrideEndpoint extends PostApiEndpoint<UpdateJobEntrypointoverrideRequest, UpdateJobEntrypointoverrideResult> {
|
|
19
|
-
description: string;
|
|
20
|
-
withAuth: boolean;
|
|
21
|
-
requiredPermissions: string;
|
|
22
|
-
endpointUrl: (opts: UpdateJobEntrypointoverrideRequest) => string;
|
|
23
|
-
body: (payload: UpdateJobEntrypointoverrideRequest) => string;
|
|
24
|
-
}
|