ami

package
v0.8.7 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const DateFormat = "2006-01-02T15:04:05Z" //YYYY-MM-DDTHH:MM:SSZ

Variables

This section is empty.

Functions

This section is empty.

Types

type Arch

type Arch int
const (
	AMD64 Arch = iota + 1
	ARM64
)

func StringToArch

func StringToArch(s string) (Arch, error)

func (Arch) String

func (a Arch) String() string

type Image

type Image struct {
	Id      string
	Name    string
	HName   string
	Arch    Arch
	RootDev string
	// contains filtered or unexported fields
}

func GetImage

func GetImage(name string, arch Arch, e2 *ec2.Client) (newest Image, err error)

func (Image) Username

func (img Image) Username() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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