Documentation ¶
Index ¶
- type Elastigroup
- func (s *Elastigroup) CheckChanges(a, e, changes *Elastigroup) error
- func (e *Elastigroup) CheckExisting(c *fi.Context) bool
- func (e *Elastigroup) CompareWithID() *string
- func (e *Elastigroup) Find(c *fi.Context) (*Elastigroup, error)
- func (o *Elastigroup) GetLifecycle() *fi.Lifecycle
- func (o *Elastigroup) GetName() *string
- func (eg *Elastigroup) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *Elastigroup) error
- func (_ *Elastigroup) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *Elastigroup) error
- func (e *Elastigroup) Run(c *fi.Context) error
- func (o *Elastigroup) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *Elastigroup) SetName(name string)
- func (o *Elastigroup) String() string
- func (e *Elastigroup) TerraformLink() *terraform.Literal
- func (o *Elastigroup) UnmarshalJSON(data []byte) error
- type Orientation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Elastigroup ¶
type Elastigroup struct { Name *string Lifecycle *fi.Lifecycle ID *string MinSize *int64 MaxSize *int64 Risk *float64 UtilizeReservedInstances *bool FallbackToOnDemand *bool Product *string Orientation *string Tags map[string]string UserData *fi.ResourceHolder ImageID *string OnDemandInstanceType *string SpotInstanceTypes []string IAMInstanceProfile *awstasks.IAMInstanceProfile LoadBalancer *awstasks.LoadBalancer SSHKey *awstasks.SSHKey Subnets []*awstasks.Subnet SecurityGroups []*awstasks.SecurityGroup Monitoring *bool AssociatePublicIP *bool RootVolumeSize *int64 RootVolumeType *string RootVolumeIOPS *int64 RootVolumeOptimization *bool Tenancy *string AutoScalerEnabled *bool AutoScalerClusterID *string AutoScalerNodeLabels map[string]string }
func (*Elastigroup) CheckChanges ¶
func (s *Elastigroup) CheckChanges(a, e, changes *Elastigroup) error
func (*Elastigroup) CheckExisting ¶
func (e *Elastigroup) CheckExisting(c *fi.Context) bool
func (*Elastigroup) CompareWithID ¶
func (e *Elastigroup) CompareWithID() *string
func (*Elastigroup) Find ¶
func (e *Elastigroup) Find(c *fi.Context) (*Elastigroup, error)
func (*Elastigroup) GetLifecycle ¶
func (o *Elastigroup) GetLifecycle() *fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*Elastigroup) GetName ¶
func (o *Elastigroup) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*Elastigroup) RenderAWS ¶
func (eg *Elastigroup) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *Elastigroup) error
func (*Elastigroup) RenderTerraform ¶
func (_ *Elastigroup) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *Elastigroup) error
func (*Elastigroup) SetLifecycle ¶
func (o *Elastigroup) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*Elastigroup) SetName ¶
func (o *Elastigroup) SetName(name string)
SetName sets the Name of the object, implementing fi.SetName
func (*Elastigroup) String ¶
func (o *Elastigroup) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*Elastigroup) TerraformLink ¶
func (e *Elastigroup) TerraformLink() *terraform.Literal
func (*Elastigroup) UnmarshalJSON ¶
func (o *Elastigroup) UnmarshalJSON(data []byte) error
UnmarshalJSON implements conversion to JSON, supporitng an alternate specification of the object as a string
type Orientation ¶
type Orientation string
const ( OrientationBalanced Orientation = "balanced" OrientationCost Orientation = "costOriented" OrientationAvailability Orientation = "availabilityOriented" OrientationEqualZoneDistribution Orientation = "equalAzDistribution" )
Click to show internal directories.
Click to hide internal directories.