importer

package
v0.0.0-...-fa603ae Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2024 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

Run performs onestep image import.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL