@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,45 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, PostApiEndpoint } from '../../../api-endpoint';
|
|
2
|
-
export declare type UpdateJobHealthchecksResult = any;
|
|
3
|
-
export declare type UpdateJobHealthchecksCall = (opts: UpdateJobHealthchecksRequest) => Promise<ApiCallResponse<UpdateJobHealthchecksResult>>;
|
|
4
|
-
export declare type UpdateJobHealthchecksRequest = {
|
|
5
|
-
parameters: UpdateJobHealthchecksParameters;
|
|
6
|
-
data: UpdateJobHealthchecksData;
|
|
7
|
-
};
|
|
8
|
-
export declare type UpdateJobHealthchecksParameters = {
|
|
9
|
-
/** ID of the project */ 'projectId': string;
|
|
10
|
-
/** ID of the job */
|
|
11
|
-
'jobId': string;
|
|
12
|
-
};
|
|
13
|
-
export declare type UpdateJobHealthchecksData = {
|
|
14
|
-
/** An array of health checks. */
|
|
15
|
-
'healthChecks': {
|
|
16
|
-
/** The protocol to access the health check with. Example: "HTTP" */
|
|
17
|
-
'protocol': 'HTTP' | 'CMD' | 'TCP';
|
|
18
|
-
/** The type of health check. Example: "readinessProbe" */
|
|
19
|
-
'type': 'livenessProbe' | 'readinessProbe' | 'startupProbe';
|
|
20
|
-
/** The path of the health check endpoint. Required when protocol is HTTP. Example: "/health-check" */
|
|
21
|
-
'path'?: string;
|
|
22
|
-
/** The command to run for the health check. Required when protocol is CMD */
|
|
23
|
-
'cmd'?: string;
|
|
24
|
-
/** Port number for the health check endpoint. Required when protocol is HTTP. Example: 8080 */
|
|
25
|
-
'port'?: number;
|
|
26
|
-
/** Initial delay, in seconds, before the health check is first run. Example: 10 */
|
|
27
|
-
'initialDelaySeconds': number;
|
|
28
|
-
/** The time between each check, in seconds. Example: 60 */
|
|
29
|
-
'periodSeconds': number;
|
|
30
|
-
/** The time to wait for a response before marking the health check as a failure. Example: 1 */
|
|
31
|
-
'timeoutSeconds': number;
|
|
32
|
-
/** The maximum number of allowed failures. Example: 3 */
|
|
33
|
-
'failureThreshold': number;
|
|
34
|
-
/** The number of successes required to mark the health check as a success. Example: 1 */
|
|
35
|
-
'successThreshold'?: number;
|
|
36
|
-
}[];
|
|
37
|
-
};
|
|
38
|
-
/** Updates health checks for the given job. */
|
|
39
|
-
export declare class UpdateJobHealthchecksEndpoint extends PostApiEndpoint<UpdateJobHealthchecksRequest, UpdateJobHealthchecksResult> {
|
|
40
|
-
description: string;
|
|
41
|
-
withAuth: boolean;
|
|
42
|
-
requiredPermissions: string;
|
|
43
|
-
endpointUrl: (opts: UpdateJobHealthchecksRequest) => string;
|
|
44
|
-
body: (payload: UpdateJobHealthchecksRequest) => string;
|
|
45
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, PostApiEndpoint } from '../../../api-endpoint';
|
|
2
|
-
export declare type UpdateJobRuntimeenvironmentResult = any;
|
|
3
|
-
export declare type UpdateJobRuntimeenvironmentCall = (opts: UpdateJobRuntimeenvironmentRequest) => Promise<ApiCallResponse<UpdateJobRuntimeenvironmentResult>>;
|
|
4
|
-
export declare type UpdateJobRuntimeenvironmentRequest = {
|
|
5
|
-
parameters: UpdateJobRuntimeenvironmentParameters;
|
|
6
|
-
data: UpdateJobRuntimeenvironmentData;
|
|
7
|
-
};
|
|
8
|
-
export declare type UpdateJobRuntimeenvironmentParameters = {
|
|
9
|
-
/** ID of the project */ 'projectId': string;
|
|
10
|
-
/** ID of the job */
|
|
11
|
-
'jobId': string;
|
|
12
|
-
};
|
|
13
|
-
export declare type UpdateJobRuntimeenvironmentData = {
|
|
14
|
-
/** An object containing the all of the environment variables to set for the service. Keys must only contain letters and numbers separated with underscores, may not start with a number Example: {"VARIABLE_1":"abcdef","VARIABLE_2":"12345"} */
|
|
15
|
-
'runtimeEnvironment': any;
|
|
16
|
-
} | {
|
|
17
|
-
/** An object containing the all of the environment variables to set for the service. Keys must only contain letters and numbers separated with underscores, may not start with a number Example: {"VARIABLE_1":"abcdef","VARIABLE_2":"12345"} */
|
|
18
|
-
'runtimeEnvironment': any;
|
|
19
|
-
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
20
|
-
'runtimeFiles'?: any;
|
|
21
|
-
};
|
|
22
|
-
/** Sets the runtime environment for the given job. */
|
|
23
|
-
export declare class UpdateJobRuntimeenvironmentEndpoint extends PostApiEndpoint<UpdateJobRuntimeenvironmentRequest, UpdateJobRuntimeenvironmentResult> {
|
|
24
|
-
description: string;
|
|
25
|
-
withAuth: boolean;
|
|
26
|
-
requiredPermissions: string;
|
|
27
|
-
endpointUrl: (opts: UpdateJobRuntimeenvironmentRequest) => string;
|
|
28
|
-
body: (payload: UpdateJobRuntimeenvironmentRequest) => string;
|
|
29
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, PostApiEndpoint } from '../../../api-endpoint';
|
|
2
|
-
export declare type UpdateJobSettingsResult = any;
|
|
3
|
-
export declare type UpdateJobSettingsCall = (opts: UpdateJobSettingsRequest) => Promise<ApiCallResponse<UpdateJobSettingsResult>>;
|
|
4
|
-
export declare type UpdateJobSettingsRequest = {
|
|
5
|
-
parameters: UpdateJobSettingsParameters;
|
|
6
|
-
data: UpdateJobSettingsData;
|
|
7
|
-
};
|
|
8
|
-
export declare type UpdateJobSettingsParameters = {
|
|
9
|
-
/** ID of the project */ 'projectId': string;
|
|
10
|
-
/** ID of the job */
|
|
11
|
-
'jobId': string;
|
|
12
|
-
};
|
|
13
|
-
export declare type UpdateJobSettingsData = {
|
|
14
|
-
/** The number of attempts to rerun a job before it is marked as failed. */
|
|
15
|
-
'backoffLimit'?: number;
|
|
16
|
-
/** Configure when the job should be run if the source image changes. Example: "never" */
|
|
17
|
-
'runOnSourceChange'?: 'never' | 'cd-promote' | 'always';
|
|
18
|
-
/** The maximum amount of time, in seconds, for a job to run before it is marked as failed. Example: 600 */
|
|
19
|
-
'activeDeadlineSeconds'?: number;
|
|
20
|
-
/** The cron timer scheduling when to run the job. Required for cron jobs and unavailable for other job types. Example: "30 8 * * *" */
|
|
21
|
-
'schedule'?: string;
|
|
22
|
-
/** Whether this job should run when another instance of the job is already running. Only available for cron jobs. `allow` will enable multiple instances of this job to run. `forbid` will keep the current instance of the job running and stop a new instance from being run. `replace` will terminate any currently running instance of the job and start a new one. Example: "allow" */
|
|
23
|
-
'concurrencyPolicy'?: 'allow' | 'forbid' | 'replace';
|
|
24
|
-
};
|
|
25
|
-
/** Updates settings for the job */
|
|
26
|
-
export declare class UpdateJobSettingsEndpoint extends PostApiEndpoint<UpdateJobSettingsRequest, UpdateJobSettingsResult> {
|
|
27
|
-
description: string;
|
|
28
|
-
withAuth: boolean;
|
|
29
|
-
requiredPermissions: string;
|
|
30
|
-
endpointUrl: (opts: UpdateJobSettingsRequest) => string;
|
|
31
|
-
body: (payload: UpdateJobSettingsRequest) => string;
|
|
32
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, PostApiEndpoint } from '../../api-endpoint';
|
|
2
|
-
export declare type UpdateRegistryResult = any;
|
|
3
|
-
export declare type UpdateRegistryCall = (opts: UpdateRegistryRequest) => Promise<ApiCallResponse<UpdateRegistryResult>>;
|
|
4
|
-
export declare type UpdateRegistryRequest = {
|
|
5
|
-
parameters: UpdateRegistryParameters;
|
|
6
|
-
data: UpdateRegistryData;
|
|
7
|
-
};
|
|
8
|
-
export declare type UpdateRegistryParameters = {
|
|
9
|
-
/** ID of the registry credential */ 'credentialId': string;
|
|
10
|
-
};
|
|
11
|
-
export declare type UpdateRegistryData = {
|
|
12
|
-
/** Description of the credentials. Example: "This is a set of saved credentials." */
|
|
13
|
-
'description'?: string;
|
|
14
|
-
/** Data about whether the credentials are restricted to certain projects. */
|
|
15
|
-
'restrictions'?: {
|
|
16
|
-
/** Whether the credentials are restricted to specific projects. Example: true */
|
|
17
|
-
'restricted': boolean;
|
|
18
|
-
/** An array of projects the credentials are restricted to, if applicable. */
|
|
19
|
-
'projects'?: string[];
|
|
20
|
-
};
|
|
21
|
-
/** The registry credential data to save. Example: {"auths":{"https://index.docker.io/v1/":{"auth":"[YOUR AUTH KEY]"}}} */
|
|
22
|
-
'data'?: any;
|
|
23
|
-
};
|
|
24
|
-
/** Updates a set of registry credential data. */
|
|
25
|
-
export declare class UpdateRegistryEndpoint extends PostApiEndpoint<UpdateRegistryRequest, UpdateRegistryResult> {
|
|
26
|
-
description: string;
|
|
27
|
-
withAuth: boolean;
|
|
28
|
-
requiredPermissions: string;
|
|
29
|
-
endpointUrl: (opts: UpdateRegistryRequest) => string;
|
|
30
|
-
body: (payload: UpdateRegistryRequest) => string;
|
|
31
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, PostApiEndpoint } from '../../api-endpoint';
|
|
2
|
-
export declare type UpdateSecretResult = any;
|
|
3
|
-
export declare type UpdateSecretCall = (opts: UpdateSecretRequest) => Promise<ApiCallResponse<UpdateSecretResult>>;
|
|
4
|
-
export declare type UpdateSecretRequest = {
|
|
5
|
-
parameters: UpdateSecretParameters;
|
|
6
|
-
data: UpdateSecretData;
|
|
7
|
-
};
|
|
8
|
-
export declare type UpdateSecretParameters = {
|
|
9
|
-
/** ID of the project */ 'projectId': string;
|
|
10
|
-
/** ID of the secret */
|
|
11
|
-
'secretId': string;
|
|
12
|
-
};
|
|
13
|
-
export declare type UpdateSecretData = {
|
|
14
|
-
/** A description of the secret. Example: "A description" */
|
|
15
|
-
'description'?: string;
|
|
16
|
-
/** The priority with which different secrets will be merged. Example: 10 */
|
|
17
|
-
'priority'?: number;
|
|
18
|
-
/** Restriction settings of the secret */
|
|
19
|
-
'restrictions'?: {
|
|
20
|
-
/** Is the secret restricted Example: true */
|
|
21
|
-
'restricted'?: boolean;
|
|
22
|
-
/** List of Northflank services & jobs the secret is restricted to */
|
|
23
|
-
'nfObjects'?: {
|
|
24
|
-
/** ID of the entity the secret is restricted to. Example: "example-service" */
|
|
25
|
-
'id': string;
|
|
26
|
-
/** Type of the entity the secret is restricted to. Example: "service" */
|
|
27
|
-
'type': 'service' | 'job';
|
|
28
|
-
}[];
|
|
29
|
-
};
|
|
30
|
-
/** An array of addons to link to this secret group. If provided, this will overwrite any existing linked addons. */
|
|
31
|
-
'addonDependencies'?: {
|
|
32
|
-
/** The internal id of the addon to link. Example: "example-addon" */
|
|
33
|
-
'addonId': string;
|
|
34
|
-
/** An array of objects containing details about the keys to link to this secret group. */
|
|
35
|
-
'keys': {
|
|
36
|
-
/** The name of the key to link. Example: "USERNAME" */
|
|
37
|
-
'keyName': string;
|
|
38
|
-
/** An array of aliases for the key. */
|
|
39
|
-
'aliases'?: string[];
|
|
40
|
-
}[];
|
|
41
|
-
}[];
|
|
42
|
-
/** The type of the created secret Example: "environment" */
|
|
43
|
-
'secretType'?: 'environment-arguments' | 'environment' | 'arguments';
|
|
44
|
-
'secrets'?: {
|
|
45
|
-
/** Secret variables as JSON object, encrypted at rest. Keys must only contain letters and numbers separated with underscores, may not start with a number Example: {"NODE_ENV":"production","MONGO_DB":"some_connection_string"} */
|
|
46
|
-
'variables'?: any;
|
|
47
|
-
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
48
|
-
'files'?: any;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
/** Update a secret */
|
|
52
|
-
export declare class UpdateSecretEndpoint extends PostApiEndpoint<UpdateSecretRequest, UpdateSecretResult> {
|
|
53
|
-
description: string;
|
|
54
|
-
withAuth: boolean;
|
|
55
|
-
requiredPermissions: string;
|
|
56
|
-
endpointUrl: (opts: UpdateSecretRequest) => string;
|
|
57
|
-
body: (payload: UpdateSecretRequest) => string;
|
|
58
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, PostApiEndpoint } from '../../api-endpoint';
|
|
2
|
-
export declare type UpdateSecretlinkResult = {
|
|
3
|
-
/** An array of objects containing details about the keys linked to this secret group. */
|
|
4
|
-
'keys': {
|
|
5
|
-
/** The name of the key to link. Example: "USERNAME" */
|
|
6
|
-
'keyName': string;
|
|
7
|
-
/** An array of aliases for the key. */
|
|
8
|
-
'aliases'?: string[];
|
|
9
|
-
'defaultKey': string;
|
|
10
|
-
}[];
|
|
11
|
-
};
|
|
12
|
-
export declare type UpdateSecretlinkCall = (opts: UpdateSecretlinkRequest) => Promise<ApiCallResponse<UpdateSecretlinkResult>>;
|
|
13
|
-
export declare type UpdateSecretlinkRequest = {
|
|
14
|
-
parameters: UpdateSecretlinkParameters;
|
|
15
|
-
data: UpdateSecretlinkData;
|
|
16
|
-
};
|
|
17
|
-
export declare type UpdateSecretlinkParameters = {
|
|
18
|
-
/** ID of the project */ 'projectId': string;
|
|
19
|
-
/** ID of the secret */
|
|
20
|
-
'secretId': string;
|
|
21
|
-
/** ID of the addon */
|
|
22
|
-
'addonId': string;
|
|
23
|
-
};
|
|
24
|
-
export declare type UpdateSecretlinkData = {
|
|
25
|
-
/** An array of objects containing details about the keys to link to this secret group. */
|
|
26
|
-
'keys': {
|
|
27
|
-
/** The name of the key to link. Example: "USERNAME" */
|
|
28
|
-
'keyName': string;
|
|
29
|
-
/** An array of aliases for the key. */
|
|
30
|
-
'aliases'?: string[];
|
|
31
|
-
}[];
|
|
32
|
-
};
|
|
33
|
-
/** Link an addon to the secret group or edit the settings of the linked addon. */
|
|
34
|
-
export declare class UpdateSecretlinkEndpoint extends PostApiEndpoint<UpdateSecretlinkRequest, UpdateSecretlinkResult> {
|
|
35
|
-
description: string;
|
|
36
|
-
withAuth: boolean;
|
|
37
|
-
requiredPermissions: string;
|
|
38
|
-
endpointUrl: (opts: UpdateSecretlinkRequest) => string;
|
|
39
|
-
body: (payload: UpdateSecretlinkRequest) => string;
|
|
40
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, PostApiEndpoint } from '../../../api-endpoint';
|
|
2
|
-
export declare type UpdateServiceBuildargumentsResult = any;
|
|
3
|
-
export declare type UpdateServiceBuildargumentsCall = (opts: UpdateServiceBuildargumentsRequest) => Promise<ApiCallResponse<UpdateServiceBuildargumentsResult>>;
|
|
4
|
-
export declare type UpdateServiceBuildargumentsRequest = {
|
|
5
|
-
parameters: UpdateServiceBuildargumentsParameters;
|
|
6
|
-
data: UpdateServiceBuildargumentsData;
|
|
7
|
-
};
|
|
8
|
-
export declare type UpdateServiceBuildargumentsParameters = {
|
|
9
|
-
/** ID of the project */ 'projectId': string;
|
|
10
|
-
/** ID of the service */
|
|
11
|
-
'serviceId': string;
|
|
12
|
-
};
|
|
13
|
-
export declare type UpdateServiceBuildargumentsData = {
|
|
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 the build arguments for the given service. */
|
|
23
|
-
export declare class UpdateServiceBuildargumentsEndpoint extends PostApiEndpoint<UpdateServiceBuildargumentsRequest, UpdateServiceBuildargumentsResult> {
|
|
24
|
-
description: string;
|
|
25
|
-
withAuth: boolean;
|
|
26
|
-
requiredPermissions: string;
|
|
27
|
-
endpointUrl: (opts: UpdateServiceBuildargumentsRequest) => string;
|
|
28
|
-
body: (payload: UpdateServiceBuildargumentsRequest) => string;
|
|
29
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, PostApiEndpoint } from '../../../api-endpoint';
|
|
2
|
-
export declare type UpdateServiceBuildoptionsResult = any;
|
|
3
|
-
export declare type UpdateServiceBuildoptionsCall = (opts: UpdateServiceBuildoptionsRequest) => Promise<ApiCallResponse<UpdateServiceBuildoptionsResult>>;
|
|
4
|
-
export declare type UpdateServiceBuildoptionsRequest = {
|
|
5
|
-
parameters: UpdateServiceBuildoptionsParameters;
|
|
6
|
-
data: UpdateServiceBuildoptionsData;
|
|
7
|
-
};
|
|
8
|
-
export declare type UpdateServiceBuildoptionsParameters = {
|
|
9
|
-
/** ID of the project */ 'projectId': string;
|
|
10
|
-
/** ID of the service */
|
|
11
|
-
'serviceId': string;
|
|
12
|
-
};
|
|
13
|
-
export declare type UpdateServiceBuildoptionsData = {
|
|
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 pull request build rules. Only supported for build services. Each commit belonging to a pull request on a branch that matches one of the provided build rules will be built automatically. */
|
|
25
|
-
'prRestrictions'?: string[];
|
|
26
|
-
/** An array of branch build rules. Only supported for build services. Each commit belonging to a branch that matches one of the provided build rules will be built automatically. */
|
|
27
|
-
'branchRestrictions'?: string[];
|
|
28
|
-
/** 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. */
|
|
29
|
-
'pathIgnoreRules'?: string[];
|
|
30
|
-
} | {
|
|
31
|
-
'buildpack': {
|
|
32
|
-
/** Buildpack stack to use. Defaults to recommended stack `HEROKU_20`. Example: "HEROKU_20" */
|
|
33
|
-
'builder'?: 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
|
|
34
|
-
/** Array of custom buildpacks to use. */
|
|
35
|
-
'buildpackLocators'?: string[];
|
|
36
|
-
/** The working directory to build in. Example: "/" */
|
|
37
|
-
'buildContext'?: string;
|
|
38
|
-
/** Should build dependencies be cached? */
|
|
39
|
-
'useCache'?: boolean;
|
|
40
|
-
};
|
|
41
|
-
/** An array of pull request build rules. Only supported for build services. Each commit belonging to a pull request on a branch that matches one of the provided build rules will be built automatically. */
|
|
42
|
-
'prRestrictions'?: string[];
|
|
43
|
-
/** An array of branch build rules. Only supported for build services. Each commit belonging to a branch that matches one of the provided build rules will be built automatically. */
|
|
44
|
-
'branchRestrictions'?: string[];
|
|
45
|
-
/** 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. */
|
|
46
|
-
'pathIgnoreRules'?: string[];
|
|
47
|
-
} | {
|
|
48
|
-
/** An array of pull request build rules. Only supported for build services. Each commit belonging to a pull request on a branch that matches one of the provided build rules will be built automatically. */
|
|
49
|
-
'prRestrictions'?: string[];
|
|
50
|
-
/** An array of branch build rules. Only supported for build services. Each commit belonging to a branch that matches one of the provided build rules will be built automatically. */
|
|
51
|
-
'branchRestrictions'?: string[];
|
|
52
|
-
/** 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. */
|
|
53
|
-
'pathIgnoreRules'?: string[];
|
|
54
|
-
};
|
|
55
|
-
/** Updates the build options for a given service. */
|
|
56
|
-
export declare class UpdateServiceBuildoptionsEndpoint extends PostApiEndpoint<UpdateServiceBuildoptionsRequest, UpdateServiceBuildoptionsResult> {
|
|
57
|
-
description: string;
|
|
58
|
-
withAuth: boolean;
|
|
59
|
-
requiredPermissions: string;
|
|
60
|
-
endpointUrl: (opts: UpdateServiceBuildoptionsRequest) => string;
|
|
61
|
-
body: (payload: UpdateServiceBuildoptionsRequest) => string;
|
|
62
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, PostApiEndpoint } from '../../../api-endpoint';
|
|
2
|
-
export declare type UpdateServiceBuildsourceResult = any;
|
|
3
|
-
export declare type UpdateServiceBuildsourceCall = (opts: UpdateServiceBuildsourceRequest) => Promise<ApiCallResponse<UpdateServiceBuildsourceResult>>;
|
|
4
|
-
export declare type UpdateServiceBuildsourceRequest = {
|
|
5
|
-
parameters: UpdateServiceBuildsourceParameters;
|
|
6
|
-
data: UpdateServiceBuildsourceData;
|
|
7
|
-
};
|
|
8
|
-
export declare type UpdateServiceBuildsourceParameters = {
|
|
9
|
-
/** ID of the project */ 'projectId': string;
|
|
10
|
-
/** ID of the service */
|
|
11
|
-
'serviceId': string;
|
|
12
|
-
};
|
|
13
|
-
export declare type UpdateServiceBuildsourceData = {
|
|
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 build or combined service. */
|
|
26
|
-
export declare class UpdateServiceBuildsourceEndpoint extends PostApiEndpoint<UpdateServiceBuildsourceRequest, UpdateServiceBuildsourceResult> {
|
|
27
|
-
description: string;
|
|
28
|
-
withAuth: boolean;
|
|
29
|
-
requiredPermissions: string;
|
|
30
|
-
endpointUrl: (opts: UpdateServiceBuildsourceRequest) => string;
|
|
31
|
-
body: (payload: UpdateServiceBuildsourceRequest) => string;
|
|
32
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, PostApiEndpoint } from '../../../api-endpoint';
|
|
2
|
-
export declare type UpdateServiceCmdoverrideResult = any;
|
|
3
|
-
export declare type UpdateServiceCmdoverrideCall = (opts: UpdateServiceCmdoverrideRequest) => Promise<ApiCallResponse<UpdateServiceCmdoverrideResult>>;
|
|
4
|
-
export declare type UpdateServiceCmdoverrideRequest = {
|
|
5
|
-
parameters: UpdateServiceCmdoverrideParameters;
|
|
6
|
-
data: UpdateServiceCmdoverrideData;
|
|
7
|
-
};
|
|
8
|
-
export declare type UpdateServiceCmdoverrideParameters = {
|
|
9
|
-
/** ID of the project */ 'projectId': string;
|
|
10
|
-
/** ID of the service */
|
|
11
|
-
'serviceId': string;
|
|
12
|
-
};
|
|
13
|
-
export declare type UpdateServiceCmdoverrideData = {
|
|
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 service. */
|
|
18
|
-
export declare class UpdateServiceCmdoverrideEndpoint extends PostApiEndpoint<UpdateServiceCmdoverrideRequest, UpdateServiceCmdoverrideResult> {
|
|
19
|
-
description: string;
|
|
20
|
-
withAuth: boolean;
|
|
21
|
-
requiredPermissions: string;
|
|
22
|
-
endpointUrl: (opts: UpdateServiceCmdoverrideRequest) => string;
|
|
23
|
-
body: (payload: UpdateServiceCmdoverrideRequest) => string;
|
|
24
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, PostApiEndpoint } from '../../../api-endpoint';
|
|
2
|
-
export declare type UpdateServiceDeploymentResult = any;
|
|
3
|
-
export declare type UpdateServiceDeploymentCall = (opts: UpdateServiceDeploymentRequest) => Promise<ApiCallResponse<UpdateServiceDeploymentResult>>;
|
|
4
|
-
export declare type UpdateServiceDeploymentRequest = {
|
|
5
|
-
parameters: UpdateServiceDeploymentParameters;
|
|
6
|
-
data: UpdateServiceDeploymentData;
|
|
7
|
-
};
|
|
8
|
-
export declare type UpdateServiceDeploymentParameters = {
|
|
9
|
-
/** ID of the project */ 'projectId': string;
|
|
10
|
-
/** ID of the service */
|
|
11
|
-
'serviceId': string;
|
|
12
|
-
};
|
|
13
|
-
export declare type UpdateServiceDeploymentData = {
|
|
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 service. */
|
|
33
|
-
export declare class UpdateServiceDeploymentEndpoint extends PostApiEndpoint<UpdateServiceDeploymentRequest, UpdateServiceDeploymentResult> {
|
|
34
|
-
description: string;
|
|
35
|
-
withAuth: boolean;
|
|
36
|
-
requiredPermissions: string;
|
|
37
|
-
endpointUrl: (opts: UpdateServiceDeploymentRequest) => string;
|
|
38
|
-
body: (payload: UpdateServiceDeploymentRequest) => string;
|
|
39
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, PostApiEndpoint } from '../../../api-endpoint';
|
|
2
|
-
export declare type UpdateServiceEntrypointoverrideResult = any;
|
|
3
|
-
export declare type UpdateServiceEntrypointoverrideCall = (opts: UpdateServiceEntrypointoverrideRequest) => Promise<ApiCallResponse<UpdateServiceEntrypointoverrideResult>>;
|
|
4
|
-
export declare type UpdateServiceEntrypointoverrideRequest = {
|
|
5
|
-
parameters: UpdateServiceEntrypointoverrideParameters;
|
|
6
|
-
data: UpdateServiceEntrypointoverrideData;
|
|
7
|
-
};
|
|
8
|
-
export declare type UpdateServiceEntrypointoverrideParameters = {
|
|
9
|
-
/** ID of the project */ 'projectId': string;
|
|
10
|
-
/** ID of the service */
|
|
11
|
-
'serviceId': string;
|
|
12
|
-
};
|
|
13
|
-
export declare type UpdateServiceEntrypointoverrideData = {
|
|
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 service. */
|
|
18
|
-
export declare class UpdateServiceEntrypointoverrideEndpoint extends PostApiEndpoint<UpdateServiceEntrypointoverrideRequest, UpdateServiceEntrypointoverrideResult> {
|
|
19
|
-
description: string;
|
|
20
|
-
withAuth: boolean;
|
|
21
|
-
requiredPermissions: string;
|
|
22
|
-
endpointUrl: (opts: UpdateServiceEntrypointoverrideRequest) => string;
|
|
23
|
-
body: (payload: UpdateServiceEntrypointoverrideRequest) => string;
|
|
24
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, PostApiEndpoint } from '../../../api-endpoint';
|
|
2
|
-
export declare type UpdateServiceHealthchecksResult = any;
|
|
3
|
-
export declare type UpdateServiceHealthchecksCall = (opts: UpdateServiceHealthchecksRequest) => Promise<ApiCallResponse<UpdateServiceHealthchecksResult>>;
|
|
4
|
-
export declare type UpdateServiceHealthchecksRequest = {
|
|
5
|
-
parameters: UpdateServiceHealthchecksParameters;
|
|
6
|
-
data: UpdateServiceHealthchecksData;
|
|
7
|
-
};
|
|
8
|
-
export declare type UpdateServiceHealthchecksParameters = {
|
|
9
|
-
/** ID of the project */ 'projectId': string;
|
|
10
|
-
/** ID of the service */
|
|
11
|
-
'serviceId': string;
|
|
12
|
-
};
|
|
13
|
-
export declare type UpdateServiceHealthchecksData = {
|
|
14
|
-
/** An array of health checks. */
|
|
15
|
-
'healthChecks': {
|
|
16
|
-
/** The protocol to access the health check with. Example: "HTTP" */
|
|
17
|
-
'protocol': 'HTTP' | 'CMD' | 'TCP';
|
|
18
|
-
/** The type of health check. Example: "readinessProbe" */
|
|
19
|
-
'type': 'livenessProbe' | 'readinessProbe' | 'startupProbe';
|
|
20
|
-
/** The path of the health check endpoint. Required when protocol is HTTP. Example: "/health-check" */
|
|
21
|
-
'path'?: string;
|
|
22
|
-
/** The command to run for the health check. Required when protocol is CMD */
|
|
23
|
-
'cmd'?: string;
|
|
24
|
-
/** Port number for the health check endpoint. Required when protocol is HTTP. Example: 8080 */
|
|
25
|
-
'port'?: number;
|
|
26
|
-
/** Initial delay, in seconds, before the health check is first run. Example: 10 */
|
|
27
|
-
'initialDelaySeconds': number;
|
|
28
|
-
/** The time between each check, in seconds. Example: 60 */
|
|
29
|
-
'periodSeconds': number;
|
|
30
|
-
/** The time to wait for a response before marking the health check as a failure. Example: 1 */
|
|
31
|
-
'timeoutSeconds': number;
|
|
32
|
-
/** The maximum number of allowed failures. Example: 3 */
|
|
33
|
-
'failureThreshold': number;
|
|
34
|
-
/** The number of successes required to mark the health check as a success. Example: 1 */
|
|
35
|
-
'successThreshold'?: number;
|
|
36
|
-
}[];
|
|
37
|
-
};
|
|
38
|
-
/** Updates health checks for the given service. */
|
|
39
|
-
export declare class UpdateServiceHealthchecksEndpoint extends PostApiEndpoint<UpdateServiceHealthchecksRequest, UpdateServiceHealthchecksResult> {
|
|
40
|
-
description: string;
|
|
41
|
-
withAuth: boolean;
|
|
42
|
-
requiredPermissions: string;
|
|
43
|
-
endpointUrl: (opts: UpdateServiceHealthchecksRequest) => string;
|
|
44
|
-
body: (payload: UpdateServiceHealthchecksRequest) => string;
|
|
45
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, PostApiEndpoint } from '../../../api-endpoint';
|
|
2
|
-
export declare type UpdateServicePortsResult = any | any;
|
|
3
|
-
export declare type UpdateServicePortsCall = (opts: UpdateServicePortsRequest) => Promise<ApiCallResponse<UpdateServicePortsResult>>;
|
|
4
|
-
export declare type UpdateServicePortsRequest = {
|
|
5
|
-
parameters: UpdateServicePortsParameters;
|
|
6
|
-
data: UpdateServicePortsData;
|
|
7
|
-
};
|
|
8
|
-
export declare type UpdateServicePortsParameters = {
|
|
9
|
-
/** ID of the project */ 'projectId': string;
|
|
10
|
-
/** ID of the service */
|
|
11
|
-
'serviceId': string;
|
|
12
|
-
};
|
|
13
|
-
export declare type UpdateServicePortsData = {
|
|
14
|
-
/** An array of ports to replace or update existing ports with. */
|
|
15
|
-
'ports': {
|
|
16
|
-
/** The id of an existing port. Pass this when changing in order to keep security configurations. Example: "p01" */
|
|
17
|
-
'id'?: string;
|
|
18
|
-
/** The name used to identify the port. Example: "port-1" */
|
|
19
|
-
'name': string;
|
|
20
|
-
/** The port number. Example: 12345 */
|
|
21
|
-
'internalPort': number;
|
|
22
|
-
/** If true, the port will be exposed publicly. Example: true */
|
|
23
|
-
'public'?: boolean;
|
|
24
|
-
/** The protocol to use for the port. Public ports only support `HTTP` and `HTTP/2`. Example: "HTTP" */
|
|
25
|
-
'protocol': 'HTTP' | 'HTTP/2' | 'TCP' | 'UDP';
|
|
26
|
-
/** An array of domains to redirect to this port. Each domain must first be verified and registered to your account. */
|
|
27
|
-
'domains'?: string[];
|
|
28
|
-
'security'?: {
|
|
29
|
-
/** An array of credentials to access the service. */
|
|
30
|
-
'credentials'?: {
|
|
31
|
-
/** The username to access the service Example: "admin" */
|
|
32
|
-
'username': string;
|
|
33
|
-
/** The password to access the service with this username. Example: "password123" */
|
|
34
|
-
'password': string;
|
|
35
|
-
/** The type of authentication used Example: "basic-auth" */
|
|
36
|
-
'type': 'basic-auth';
|
|
37
|
-
}[];
|
|
38
|
-
/** An array of IP address policies. */
|
|
39
|
-
'policies'?: {
|
|
40
|
-
/** An array of IP addresses used for this rule */
|
|
41
|
-
'addresses': string[];
|
|
42
|
-
/** The action for this rule. Example: "DENY" */
|
|
43
|
-
'action': 'ALLOW' | 'DENY';
|
|
44
|
-
}[];
|
|
45
|
-
};
|
|
46
|
-
/** Disable routing on the default code.run domain for public HTTP ports with custom domains. */
|
|
47
|
-
'disableNfDomain'?: boolean;
|
|
48
|
-
}[];
|
|
49
|
-
};
|
|
50
|
-
/** Updates the list of ports for the given service. */
|
|
51
|
-
export declare class UpdateServicePortsEndpoint extends PostApiEndpoint<UpdateServicePortsRequest, UpdateServicePortsResult> {
|
|
52
|
-
description: string;
|
|
53
|
-
withAuth: boolean;
|
|
54
|
-
requiredPermissions: string;
|
|
55
|
-
endpointUrl: (opts: UpdateServicePortsRequest) => string;
|
|
56
|
-
body: (payload: UpdateServicePortsRequest) => string;
|
|
57
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, PostApiEndpoint } from '../../../api-endpoint';
|
|
2
|
-
export declare type UpdateServiceRuntimeenvironmentResult = {
|
|
3
|
-
/** True if the operation was successful. Example: true */
|
|
4
|
-
'success': boolean;
|
|
5
|
-
/** Did the service successfully restart with the new environment variables? Example: true */
|
|
6
|
-
'restartSuccessful': boolean;
|
|
7
|
-
};
|
|
8
|
-
export declare type UpdateServiceRuntimeenvironmentCall = (opts: UpdateServiceRuntimeenvironmentRequest) => Promise<ApiCallResponse<UpdateServiceRuntimeenvironmentResult>>;
|
|
9
|
-
export declare type UpdateServiceRuntimeenvironmentRequest = {
|
|
10
|
-
parameters: UpdateServiceRuntimeenvironmentParameters;
|
|
11
|
-
data: UpdateServiceRuntimeenvironmentData;
|
|
12
|
-
};
|
|
13
|
-
export declare type UpdateServiceRuntimeenvironmentParameters = {
|
|
14
|
-
/** ID of the project */ 'projectId': string;
|
|
15
|
-
/** ID of the service */
|
|
16
|
-
'serviceId': string;
|
|
17
|
-
};
|
|
18
|
-
export declare type UpdateServiceRuntimeenvironmentData = {
|
|
19
|
-
/** An object containing the all of the environment variables to set for the service. 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
|
-
} | {
|
|
22
|
-
/** An object containing the all of the environment variables to set for the service. Keys must only contain letters and numbers separated with underscores, may not start with a number Example: {"VARIABLE_1":"abcdef","VARIABLE_2":"12345"} */
|
|
23
|
-
'runtimeEnvironment': any;
|
|
24
|
-
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
25
|
-
'runtimeFiles'?: any;
|
|
26
|
-
};
|
|
27
|
-
/** Sets the runtime environment for the given service. */
|
|
28
|
-
export declare class UpdateServiceRuntimeenvironmentEndpoint extends PostApiEndpoint<UpdateServiceRuntimeenvironmentRequest, UpdateServiceRuntimeenvironmentResult> {
|
|
29
|
-
description: string;
|
|
30
|
-
withAuth: boolean;
|
|
31
|
-
requiredPermissions: string;
|
|
32
|
-
endpointUrl: (opts: UpdateServiceRuntimeenvironmentRequest) => string;
|
|
33
|
-
body: (payload: UpdateServiceRuntimeenvironmentRequest) => string;
|
|
34
|
-
}
|