ami

package
v0.14.8 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2026 License: Apache-2.0 Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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