You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: auth/login.go
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -27,9 +27,9 @@ const (
27
27
28
28
typeLoginCmdstruct {
29
29
APIAPI`embed:"" prefix:"api-"`
30
-
Organizationstring`help:"The name of your organization to use when providing an API client ID/secret." env:"NCTL_ORGANIZATION"`
31
-
IssuerURLstring`help:"Issuer URL is the OIDC issuer URL of the API." default:"${issuer_url}" hidden:""`
32
-
ClientIDstring`help:"Client ID is the OIDC client ID of the API." default:"${client_id}" hidden:""`
30
+
Organizationstring`help:"Name of your organization to use when providing an API client ID/secret." env:"NCTL_ORGANIZATION"`
31
+
IssuerURLstring`help:"OIDC issuer URL of the API." default:"${issuer_url}" hidden:""`
32
+
ClientIDstring`help:"OIDC client ID of the API." default:"${client_id}" hidden:""`
33
33
ForceInteractiveEnvOverridebool`help:"Used for internal purposes only. Set to true to force interactive environment explicit override. Set to false to fall back to automatic interactivity detection." default:"false" hidden:""`
Size*string`help:"Size of the app (defaults to \"${app_default_size}\")." placeholder:"${app_default_size}"`
41
-
Port*int32`help:"Port the app is listening on (defaults to ${app_default_port})." placeholder:"${app_default_port}"`
42
-
Replicas*int32`help:"Amount of replicas of the running app (defaults to ${app_default_replicas})." placeholder:"${app_default_replicas}"`
43
-
Hosts []string`help:"Host names where the app can be accessed. If empty, the app will just be accessible on a generated host name on the deploio.app domain."`
44
-
BasicAuth*bool`help:"Enable/Disable basic authentication for the app (defaults to ${app_default_basic_auth})." placeholder:"${app_default_basic_auth}"`
45
-
Envmap[string]string`help:"Environment variables which are passed to the app at runtime."`
46
-
SensitiveEnvmap[string]string`help:"Sensitive environment variables which are passed to the app at runtime."`
47
-
BuildEnvmap[string]string`help:"Environment variables which are passed to the app build process."`
48
-
SensitiveBuildEnvmap[string]string`help:"Sensitive environment variables which are passed to the app build process."`
40
+
Size*string`help:"Size of the application (defaults to \"${app_default_size}\")." placeholder:"${app_default_size}"`
41
+
Port*int32`help:"Port the application is listening on (defaults to ${app_default_port})." placeholder:"${app_default_port}"`
42
+
Replicas*int32`help:"Amount of replicas of the running application (defaults to ${app_default_replicas})." placeholder:"${app_default_replicas}"`
43
+
Hosts []string`help:"Host names where the application can be accessed. If empty, the application will just be accessible on a generated host name on the deploio.app domain."`
44
+
BasicAuth*bool`help:"Enable/Disable basic authentication for the application (defaults to ${app_default_basic_auth})." placeholder:"${app_default_basic_auth}"`
45
+
Envmap[string]string`help:"Environment variables which are passed to the application at runtime."`
46
+
SensitiveEnvmap[string]string`help:"Sensitive environment variables which are passed to the application at runtime."`
47
+
BuildEnvmap[string]string`help:"Environment variables which are passed to the application build process."`
48
+
SensitiveBuildEnvmap[string]string`help:"Sensitive environment variables which are passed to the application build process."`
GitInformationServiceURLstring`help:"URL of the git information service." default:"https://git-info.deplo.io" env:"GIT_INFORMATION_SERVICE_URL" hidden:""`
53
-
SkipRepoAccessCheckbool`help:"Skip the git repository access check" default:"false"`
Languagestring`help:"${app_language_help} Possible values: ${enum}" enum:"ruby,php,python,golang,nodejs,static," default:""`
56
56
DockerfileBuilddockerfileBuild`embed:""`
57
57
}
58
58
59
59
typegitConfigstruct {
60
-
URLstring`required:"" help:"URL to the Git repository containing the app source. Both HTTPS and SSH formats are supported."`
61
-
SubPathstring`help:"SubPath is a path in the git repo which contains the app code. If not given, the root directory of the git repo will be used."`
62
-
Revisionstring`default:"main" help:"Revision defines the revision of the source to deploy the app to. This can be a commit, tag or branch."`
60
+
URLstring`required:"" help:"URL to the Git repository containing the application source. Both HTTPS and SSH formats are supported."`
61
+
SubPathstring`help:"SubPath is a path in the git repository which contains the application code. If not given, the root directory of the git repository will be used."`
62
+
Revisionstring`default:"main" help:"Revision defines the revision of the source to deploy the application to. This can be a commit, tag or branch."`
63
63
Username*string`help:"Username to use when authenticating to the git repository over HTTPS." env:"GIT_USERNAME"`
64
64
Password*string`help:"Password to use when authenticating to the git repository over HTTPS. In case of GitHub or GitLab, this can also be an access token." env:"GIT_PASSWORD"`
65
65
SSHPrivateKey*string`help:"Private key in PEM format to connect to the git repository via SSH." env:"GIT_SSH_PRIVATE_KEY" xor:"SSH_KEY"`
@@ -74,9 +74,9 @@ type deployJob struct {
74
74
}
75
75
76
76
typeworkerJobstruct {
77
-
Commandstring`help:"Command to execute to start the worker." placeholder:"\"bundle exec sidekiq\""`
77
+
Commandstring`help:"Command to execute to start the worker job." placeholder:"\"bundle exec sidekiq\""`
78
78
Namestring`help:"Name of the worker job to add." placeholder:"worker-1"`
79
-
Size*string`help:"Size of the worker (defaults to \"${app_default_size}\")." placeholder:"${app_default_size}"`
79
+
Size*string`help:"Size of the worker job (defaults to \"${app_default_size}\")." placeholder:"${app_default_size}"`
Copy file name to clipboardExpand all lines: create/bucketuser.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ import (
18
18
19
19
typebucketUserCmdstruct {
20
20
resourceCmd
21
-
Location meta.LocationName`placeholder:"${bucketuser_location_default}" help:"Location where the BucketUser instance is created. Available locations are: ${bucketuser_location_options}"`
21
+
Location meta.LocationName`placeholder:"${bucketuser_location_default}" help:"Where the BucketUser instance is created. Available locations are: ${bucketuser_location_options}"`
Copy file name to clipboardExpand all lines: create/cloudvm.go
+25-20Lines changed: 25 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@ package create
3
3
import (
4
4
"context"
5
5
"fmt"
6
+
"io"
6
7
"os"
7
8
"strings"
8
9
@@ -18,18 +19,18 @@ import (
18
19
19
20
typecloudVMCmdstruct {
20
21
resourceCmd
21
-
Location meta.LocationName`default:"nine-es34" help:"Location where the CloudVM instance is created."`
22
-
MachineTypestring`default:"" help:"The machine type defines the sizing for a particular CloudVM."`
23
-
Hostnamestring`default:"" help:"Hostname allows to set the hostname explicitly. If unset, the name of the resource will be used as the hostname. This does not affect the DNS name."`
24
-
ReverseDNSstring`default:"" help:"Allows to set the reverse DNS of the CloudVM"`
25
-
PowerStatestring`default:"on" help:"Specify the initial power state of the CloudVM. Set to off to create "`
26
-
OSstring`default:"" help:"OS which should be used to boot the VM. Available options: ${cloudvm_os_flavors}"`
27
-
BootDiskSize*resource.Quantity`default:"20Gi" help:"Configures the size of the boot disk."`
28
-
Disksmap[string]resource.Quantity`default:"" help:"Disks specifies which additional disks to mount to the machine."`
29
-
PublicKeys []string`default:"" help:"SSH public keys that can be used to connect to the CloudVM as root. The keys are expected to be in SSH format as defined in RFC4253. Immutable after creation."`
30
-
PublicKeysFromFiles []string`default:"" predictor:"file" help:"SSH public key files that can be used to connect to the VM as root. The keys are expected to be in SSH format as defined in RFC4253. Immutable after creation."`
31
-
CloudConfigstring`default:"" help:"CloudConfig allows to pass custom cloud config data (https://cloudinit.readthedocs.io/en/latest/topics/format.html#cloud-config-data) to the cloud VM. If a CloudConfig is passed, the PublicKey parameter is ignored. Immutable after creation."`
32
-
CloudConfigFromFilestring`default:"" predictor:"file" help:"CloudConfig via file. Has precedence over args. CloudConfig allows to pass custom cloud config data (https://cloudinit.readthedocs.io/en/latest/topics/format.html#cloud-config-data) to the cloud VM. If a CloudConfig is passed, the PublicKey parameter is ignored. Immutable after creation."`
22
+
Location meta.LocationName`default:"nine-es34" help:"Where the CloudVM instance is created."`
23
+
MachineTypestring`default:"" help:"Defines the sizing for a particular CloudVM."`
24
+
Hostnamestring`default:"" help:"Configures the hostname explicitly. If unset, the name of the resource will be used as the hostname. This does not affect the DNS name."`
25
+
ReverseDNSstring`default:"" help:"Configures the reverse DNS of the CloudVM."`
26
+
PowerStateinfrastructure.VirtualMachinePowerState`default:"on" help:"Specify the initial power state of the CloudVM. Set to off to not start the VM after creation."`
27
+
OSinfrastructure.OperatingSystem`default:"" help:"Operating system to use to boot the VM. Available options: ${cloudvm_os_flavors}"`
28
+
BootDiskSize*resource.Quantity`default:"20Gi" help:"Configures the size of the boot disk."`
29
+
Disksmap[string]resource.Quantity`default:"" help:"Additional disks to mount to the machine."`
30
+
PublicKeys []string`default:"" help:"SSH public keys to connect to the CloudVM as root. The keys are expected to be in SSH format as defined in RFC4253. Immutable after creation."`
31
+
PublicKeysFromFiles []*os.File`default:"" predictor:"file" help:"SSH public key files to connect to the VM as root. The keys are expected to be in SSH format as defined in RFC4253. Immutable after creation."`
32
+
CloudConfigstring`default:"" help:"Pass custom cloud config data (https://cloudinit.readthedocs.io/en/latest/topics/format.html#cloud-config-data) to the cloud VM. If a CloudConfig is passed, the PublicKey parameter is ignored. Immutable after creation."`
33
+
CloudConfigFromFile*os.File`default:"" predictor:"file" help:"Pass custom cloud config data (https://cloudinit.readthedocs.io/en/latest/topics/format.html#cloud-config-data) from a file. Takes precedence. If a CloudConfig is passed, the PublicKey parameter is ignored. Immutable after creation."`
0 commit comments