ami

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(input CopyInput) (*amiv1.AWSAMI, error)

Copy will create an AWSAMI from a CopyInput.

func List

func List(input ListInput) (*amiv1.AWSAMIList, error)

List will create an AWSAMIList from a given ListInput.

Types

type CopyInput

type CopyInput struct {
	SourceRegion      string
	DestinationRegion string
	OwnerID           string
	OperatingSystem   string
	KubernetesVersion string
	KmsKeyID          string
	DryRun            bool
	Encrypted         bool
	Log               logr.Logger
}

CopyInput defines input that can be copied to create an AWSAMI.

type ListInput

type ListInput struct {
	Region            string
	KubernetesVersion string
	OperatingSystem   string
}

ListInput defines the specs required to construct an AWSAMIList.

Jump to

Keyboard shortcuts

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