Help us shape the future of Go! Take the 2026 Go Developer Survey

ami

package
v0.14.5 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateReplica

func CreateReplica(mCtxArgs *mc.ContextArgs, args *replicateArgs) (err error)

func Destroy

func Destroy(mCtx *mc.Context) (err error)

Destroy the stack

func DestroyReplica

func DestroyReplica(mCtxArgs *mc.ContextArgs) (err error)

func Exist

func Exist(mCtx *mc.Context) bool

Check if spot option stack was created on the backed url

Types

type CopyAMIRequest

type CopyAMIRequest struct {
	MCtx          *mc.Context `validate:"required"`
	Prefix        string
	ID            string
	AMISourceName *string
	AMISourceArch *string
	// AMITargetName string
	// If AMITargetRegion is nil
	// it will be copied to all regions
	AMITargetRegion *string
	// if set to true it will keep the AMI on destroy
	AMIKeepCopy bool
	// Only avai for windows images, this will create fast laucn
	FastLaunch  bool
	MaxParallel int32 // number of snapshost to support fast enable
}

func (CopyAMIRequest) Create

func (r CopyAMIRequest) Create() error

Create will check if ami copy state exists and if not it will create the stack

Jump to

Keyboard shortcuts

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