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 DestroyReplica ¶
func DestroyReplica(mCtxArgs *mc.ContextArgs) (err error)
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
Click to show internal directories.
Click to hide internal directories.