Documentation ¶
Index ¶
- type AutoScalerDownOpts
- type AutoScalerHeadroomOpts
- type AutoScalerOpts
- type AutoScalerResourceLimitsOpts
- type ClusterOrientation
- type Elastigroup
- func (s *Elastigroup) CheckChanges(a, e, changes *Elastigroup) error
- func (e *Elastigroup) CheckExisting(c *fi.CloudupContext) bool
- func (e *Elastigroup) CompareWithID() *string
- func (e *Elastigroup) Find(c *fi.CloudupContext) (*Elastigroup, error)
- func (e *Elastigroup) GetDependencies(tasks map[string]fi.CloudupTask) []fi.CloudupTask
- 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.CloudupContext) error
- func (o *Elastigroup) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *Elastigroup) String() string
- func (e *Elastigroup) TerraformLink() *terraformWriter.Literal
- type InstanceMetadataOptions
- type LaunchSpec
- func (s *LaunchSpec) CheckChanges(a, e, changes *LaunchSpec) error
- func (o *LaunchSpec) CheckExisting(c *fi.CloudupContext) bool
- func (o *LaunchSpec) CompareWithID() *string
- func (o *LaunchSpec) Find(c *fi.CloudupContext) (*LaunchSpec, error)
- func (o *LaunchSpec) GetDependencies(tasks map[string]fi.CloudupTask) []fi.CloudupTask
- func (o *LaunchSpec) GetLifecycle() fi.Lifecycle
- func (o *LaunchSpec) GetName() *string
- func (o *LaunchSpec) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *LaunchSpec) error
- func (_ *LaunchSpec) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *LaunchSpec) error
- func (o *LaunchSpec) Run(c *fi.CloudupContext) error
- func (o *LaunchSpec) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *LaunchSpec) String() string
- func (o *LaunchSpec) TerraformLink() *terraformWriter.Literal
- type Ocean
- func (s *Ocean) CheckChanges(a, e, changes *Ocean) error
- func (o *Ocean) CheckExisting(c *fi.CloudupContext) bool
- func (o *Ocean) CompareWithID() *string
- func (o *Ocean) Find(c *fi.CloudupContext) (*Ocean, error)
- func (o *Ocean) GetDependencies(tasks map[string]fi.CloudupTask) []fi.CloudupTask
- func (o *Ocean) GetLifecycle() fi.Lifecycle
- func (o *Ocean) GetName() *string
- func (o *Ocean) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *Ocean) error
- func (_ *Ocean) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *Ocean) error
- func (o *Ocean) Run(c *fi.CloudupContext) error
- func (o *Ocean) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *Ocean) String() string
- func (o *Ocean) TerraformLink() *terraformWriter.Literal
- type Orientation
- type RootVolumeOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoScalerDownOpts ¶ added in v1.15.1
type AutoScalerHeadroomOpts ¶ added in v1.15.1
type AutoScalerOpts ¶ added in v1.15.1
type AutoScalerOpts struct { Enabled *bool AutoConfig *bool AutoHeadroomPercentage *int ClusterID *string Cooldown *int Labels map[string]string Taints []*corev1.Taint Headroom *AutoScalerHeadroomOpts Down *AutoScalerDownOpts ResourceLimits *AutoScalerResourceLimitsOpts }
type AutoScalerResourceLimitsOpts ¶ added in v1.20.0
type ClusterOrientation ¶ added in v1.27.0
type ClusterOrientation string
const ( ClusterOrientationBalanced ClusterOrientation = "balanced" ClusterOrientationCheapest ClusterOrientation = "cheapest" ClusterOrientationCost ClusterOrientation = "costOriented" )
func NormalizeClusterOrientation ¶ added in v1.27.0
func NormalizeClusterOrientation(orientation *string) ClusterOrientation
type Elastigroup ¶
type Elastigroup struct { Name *string Lifecycle fi.Lifecycle Region *string MinSize *int64 MaxSize *int64 SpotPercentage *float64 UtilizeReservedInstances *bool UtilizeCommitments *bool FallbackToOnDemand *bool DrainingTimeout *int64 HealthCheckType *string Product *string Orientation *string Tags map[string]string UserData fi.Resource ImageID *string OnDemandInstanceType *string SpotInstanceTypes []string IAMInstanceProfile *awstasks.IAMInstanceProfile LoadBalancers []*awstasks.ClassicLoadBalancer TargetGroups []*awstasks.TargetGroup SSHKey *awstasks.SSHKey Subnets []*awstasks.Subnet SecurityGroups []*awstasks.SecurityGroup Monitoring *bool AssociatePublicIPAddress *bool Tenancy *string RootVolumeOpts *RootVolumeOpts AutoScalerOpts *AutoScalerOpts InstanceMetadataOptions *InstanceMetadataOptions }
+kops:fitask
func (*Elastigroup) CheckChanges ¶
func (s *Elastigroup) CheckChanges(a, e, changes *Elastigroup) error
func (*Elastigroup) CheckExisting ¶
func (e *Elastigroup) CheckExisting(c *fi.CloudupContext) bool
func (*Elastigroup) CompareWithID ¶
func (e *Elastigroup) CompareWithID() *string
func (*Elastigroup) Find ¶
func (e *Elastigroup) Find(c *fi.CloudupContext) (*Elastigroup, error)
func (*Elastigroup) GetDependencies ¶ added in v1.15.1
func (e *Elastigroup) GetDependencies(tasks map[string]fi.CloudupTask) []fi.CloudupTask
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) Run ¶
func (e *Elastigroup) Run(c *fi.CloudupContext) error
func (*Elastigroup) SetLifecycle ¶
func (o *Elastigroup) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
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() *terraformWriter.Literal
type InstanceMetadataOptions ¶ added in v1.27.0
type LaunchSpec ¶ added in v1.15.1
type LaunchSpec struct { Name *string Lifecycle fi.Lifecycle SpotPercentage *int64 UserData fi.Resource SecurityGroups []*awstasks.SecurityGroup Subnets []*awstasks.Subnet IAMInstanceProfile *awstasks.IAMInstanceProfile ImageID *string InstanceTypes []string Tags map[string]string RootVolumeOpts *RootVolumeOpts AutoScalerOpts *AutoScalerOpts RestrictScaleDown *bool AssociatePublicIPAddress *bool MinSize *int64 MaxSize *int64 InstanceMetadataOptions *InstanceMetadataOptions OtherArchitectureImages []string Ocean *Ocean }
+kops:fitask
func (*LaunchSpec) CheckChanges ¶ added in v1.15.1
func (s *LaunchSpec) CheckChanges(a, e, changes *LaunchSpec) error
func (*LaunchSpec) CheckExisting ¶ added in v1.15.1
func (o *LaunchSpec) CheckExisting(c *fi.CloudupContext) bool
func (*LaunchSpec) CompareWithID ¶ added in v1.15.1
func (o *LaunchSpec) CompareWithID() *string
func (*LaunchSpec) Find ¶ added in v1.15.1
func (o *LaunchSpec) Find(c *fi.CloudupContext) (*LaunchSpec, error)
func (*LaunchSpec) GetDependencies ¶ added in v1.15.1
func (o *LaunchSpec) GetDependencies(tasks map[string]fi.CloudupTask) []fi.CloudupTask
func (*LaunchSpec) GetLifecycle ¶ added in v1.15.1
func (o *LaunchSpec) GetLifecycle() fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*LaunchSpec) GetName ¶ added in v1.15.1
func (o *LaunchSpec) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*LaunchSpec) RenderAWS ¶ added in v1.15.1
func (o *LaunchSpec) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *LaunchSpec) error
func (*LaunchSpec) RenderTerraform ¶ added in v1.15.1
func (_ *LaunchSpec) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *LaunchSpec) error
func (*LaunchSpec) Run ¶ added in v1.15.1
func (o *LaunchSpec) Run(c *fi.CloudupContext) error
func (*LaunchSpec) SetLifecycle ¶ added in v1.15.1
func (o *LaunchSpec) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*LaunchSpec) String ¶ added in v1.15.1
func (o *LaunchSpec) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*LaunchSpec) TerraformLink ¶ added in v1.15.1
func (o *LaunchSpec) TerraformLink() *terraformWriter.Literal
type Ocean ¶ added in v1.15.1
type Ocean struct { Name *string Lifecycle fi.Lifecycle MinSize *int64 MaxSize *int64 UtilizeReservedInstances *bool UtilizeCommitments *bool FallbackToOnDemand *bool DrainingTimeout *int64 GracePeriod *int64 InstanceTypesWhitelist []string InstanceTypesBlacklist []string Tags map[string]string UserData fi.Resource ImageID *string IAMInstanceProfile *awstasks.IAMInstanceProfile SSHKey *awstasks.SSHKey Subnets []*awstasks.Subnet SecurityGroups []*awstasks.SecurityGroup Monitoring *bool AssociatePublicIPAddress *bool UseAsTemplateOnly *bool RootVolumeOpts *RootVolumeOpts AutoScalerOpts *AutoScalerOpts InstanceMetadataOptions *InstanceMetadataOptions SpreadNodesBy *string AvailabilityVsCost *string ResourceTagSpecificationVolumes *bool AutoScalerAggressiveScaleDown *bool }
+kops:fitask
func (*Ocean) CheckChanges ¶ added in v1.15.1
func (*Ocean) CheckExisting ¶ added in v1.15.1
func (o *Ocean) CheckExisting(c *fi.CloudupContext) bool
func (*Ocean) CompareWithID ¶ added in v1.15.1
func (*Ocean) GetDependencies ¶ added in v1.15.1
func (o *Ocean) GetDependencies(tasks map[string]fi.CloudupTask) []fi.CloudupTask
func (*Ocean) GetLifecycle ¶ added in v1.15.1
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*Ocean) GetName ¶ added in v1.15.1
GetName returns the Name of the object, implementing fi.HasName
func (*Ocean) RenderAWS ¶ added in v1.15.1
func (o *Ocean) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *Ocean) error
func (*Ocean) RenderTerraform ¶ added in v1.15.1
func (_ *Ocean) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *Ocean) error
func (*Ocean) SetLifecycle ¶ added in v1.15.1
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*Ocean) String ¶ added in v1.15.1
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*Ocean) TerraformLink ¶ added in v1.15.1
func (o *Ocean) TerraformLink() *terraformWriter.Literal
type Orientation ¶
type Orientation string
const ( OrientationBalanced Orientation = "balanced" OrientationCost Orientation = "costOriented" OrientationAvailability Orientation = "availabilityOriented" OrientationEqualZoneDistribution Orientation = "equalAzDistribution" )