Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Input ¶
type Input struct { // ProjectID is the GCP project ID where the VM instance will be created. ProjectID string `json:"projectId"` // Zone is the GCP zone where the VM instance will be created. Zone string `json:"zone"` // ServiceAccount is the GCP service account that will run the workload. ServiceAccount string `json:"serviceAccount"` // MachinePrefix is a prefix for the VM instance name. MachinePrefix string `json:"machinePrefix"` // Image is the fully qualified docker image name for the workload to run. Image string `json:"image"` // JSONEnv is a JSON-encoded string of environment variables to set for the // container, e.g. `{"FOO":"foo","BAR":"bar"}`. JSONEnv string `json:"jsonEnv"` // SecretJSONEnvs is a comma separated list of references to Secret Manager // secrets, e.g.: `projects/12345/secrets/secret_name/versions/latest`. The // secret payloads are expected to be JSON-encoded strings of environment // variables to set for the container. SecretJSONEnvs []string `json:"secretJsonEnvs"` }
Click to show internal directories.
Click to hide internal directories.