Documentation ¶
Index ¶
- type AZChanger
- type Cloner
- type NetworkMover
- type ScaleInstance
- type TagAdder
- type Transformation
- func AddTagsTransformation(args []string) (Transformation, error)
- func AddVMExtensionTransformation(args []string) (Transformation, error)
- func ChangeAZTransformation(args []string) (Transformation, error)
- func ChangeNetworkTransformation(args []string) (Transformation, error)
- func CloneTransformation(args []string) (Transformation, error)
- func ScaleInstanceTransform(args []string) (Transformation, error)
- type TransformationBuilder
- type VMExtension
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AZChanger ¶
type NetworkMover ¶
type NetworkMover struct { InstanceGroup string Network string StaticIPs []string // contains filtered or unexported fields }
NetworkMover is a transformation that changes which network an instance group is placed in.
func (*NetworkMover) Apply ¶
func (n *NetworkMover) Apply(dm *enaml.DeploymentManifest) error
type ScaleInstance ¶
ScaleInstance Scale instance type stores what instance group and how much to scale it
func (*ScaleInstance) Apply ¶
func (s *ScaleInstance) Apply(dm *enaml.DeploymentManifest) error
Apply apply the scale
type Transformation ¶
type Transformation interface {
Apply(*enaml.DeploymentManifest) error
}
Transformation is an action applied to a manifest.
func AddTagsTransformation ¶
func AddTagsTransformation(args []string) (Transformation, error)
func AddVMExtensionTransformation ¶
func AddVMExtensionTransformation(args []string) (Transformation, error)
AddVMExtensionTransformation is a TransformationBuilder that builds the 'add-vm-extension' transformation.
func ChangeAZTransformation ¶
func ChangeAZTransformation(args []string) (Transformation, error)
func ChangeNetworkTransformation ¶
func ChangeNetworkTransformation(args []string) (Transformation, error)
ChangeNetworkTransformation is a TransformationBuilder that builds the 'change-network' transformation.
func CloneTransformation ¶
func CloneTransformation(args []string) (Transformation, error)
CloneTransformation is a TransformationBuilder that builds the 'clone' transformation.
func ScaleInstanceTransform ¶
func ScaleInstanceTransform(args []string) (Transformation, error)
ScaleInstanceTransform Function to scale the instances in the group.
type TransformationBuilder ¶
type TransformationBuilder func(args []string) (Transformation, error)
TransformationBuilder is a function that builds a transformation from a CLI context.
type VMExtension ¶
VMExtension is a transformation that adds a vm extension to the given instance group
func (*VMExtension) Apply ¶
func (ve *VMExtension) Apply(dm *enaml.DeploymentManifest) error