exporter

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: 18 Imported by: 0

Documentation

Overview

Package exporter defines GCE VM image exporter

Index

Constants

View Source
const (
	ClientIDFlagKey           = "client_id"
	DestinationURIFlagKey     = "destination_uri"
	SourceImageFlagKey        = "source_image"
	SourceDiskSnapshotFlagKey = "source_disk_snapshot"
)

Parameter key shared with external packages

Variables

View Source
var (
	WorkflowDir              = "daisy_workflows/export/"
	ExportWorkflow           = "image_export.wf.json"
	ExportAndConvertWorkflow = "image_export_ext.wf.json"
)

Make file paths mutable

Functions

func Run

func Run(logger logging.Logger, args *ImageExportRequest) error

Run runs export workflow.

Types

type ImageExportRequest

type ImageExportRequest struct {
	ClientID                    string
	DestinationURI              string
	SourceImage                 string
	SourceDiskSnapshot          string
	Format                      string
	Project                     string
	Network                     string
	Subnet                      string
	Zone                        string
	Timeout                     string
	ScratchBucketGcsPath        string
	Oauth                       string
	ComputeEndpoint             string
	ComputeServiceAccount       string
	GcsLogsDisabled             bool
	CloudLogsDisabled           bool
	StdoutLogsDisabled          bool
	Labels                      string
	CurrentExecutablePath       string
	NestedVirtualizationEnabled bool
	WorkerMachineSeries         []string
}

ImageExportRequest includes the parameters required to perform an image export.

Jump to

Keyboard shortcuts

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