Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type OneStepImportArguments ¶
type OneStepImportArguments struct { ClientID string ClientVersion string CloudLogsDisabled bool ComputeEndpoint string ComputeServiceAccount string CustomWorkflow string DataDisk bool Description string ExecutablePath string Family string GcsLogsDisabled bool ImageName string Labels map[string]string Network string NoExternalIP bool NoGuestEnvironment bool Oauth string OS string ProjectPtr *string Region string ScratchBucketGcsPath string SourceFile string StdoutLogsDisabled bool StorageLocation string Subnet string SysprepWindows bool WorkerMachineSeries []string NestedVirtualizationEnabled bool Timeout time.Duration TimeoutChan chan struct{} UefiCompatible bool Zone string AWSAccessKeyID string AWSSecretAccessKey string AWSSessionToken string AWSRegion string AWSAMIID string AWSAMIExportLocation string AWSSourceAMIFilePath string }
OneStepImportArguments holds the structured results of parsing CLI arguments, and optionally allows for validating and populating the arguments.
func NewOneStepImportArguments ¶
func NewOneStepImportArguments(args []string) (*OneStepImportArguments, error)
NewOneStepImportArguments parse the provides cli arguments and creates a new ImportArguments instance.
Click to show internal directories.
Click to hide internal directories.