Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultVolumeType is the default volume type DefaultVolumeType = ec2.VolumeTypeGp2 // DefaultVolumeIops is the default volume iops DefaultVolumeIops = 100 )
View Source
const LoadBalancerDefaultIdleTimeout = 5 * time.Minute
LoadBalancerDefaultIdleTimeout is the default idle time for the ELB
Variables ¶
This section is empty.
Functions ¶
func UseLaunchTemplate ¶
func UseLaunchTemplate(ig *kops.InstanceGroup) bool
UseLaunchTemplate checks if we need to use a launch template rather than configuration
func UseMixedInstancePolicies ¶
func UseMixedInstancePolicies(ig *kops.InstanceGroup) bool
UseMixedInstancePolicies indicates if we are using mixed instance policies
Types ¶
type APILoadBalancerBuilder ¶
type APILoadBalancerBuilder struct { *AWSModelContext Lifecycle *fi.Lifecycle SecurityLifecycle *fi.Lifecycle }
APILoadBalancerBuilder builds a LoadBalancer for accessing the API
func (*APILoadBalancerBuilder) Build ¶
func (b *APILoadBalancerBuilder) Build(c *fi.ModelBuilderContext) error
Build is responsible for building the KubeAPI tasks for the aws model
type AWSModelContext ¶
type AWSModelContext struct {
*model.KopsModelContext
}
AWSModelContext provides the context for the aws model
type AutoscalingGroupModelBuilder ¶
type AutoscalingGroupModelBuilder struct { *AWSModelContext BootstrapScript *model.BootstrapScript Lifecycle *fi.Lifecycle SecurityLifecycle *fi.Lifecycle }
AutoscalingGroupModelBuilder configures AutoscalingGroup objects
func (*AutoscalingGroupModelBuilder) Build ¶
func (b *AutoscalingGroupModelBuilder) Build(c *fi.ModelBuilderContext) error
Build is responsible for constructing the aws autoscaling group from the kops spec
type ByScoreDescending ¶
type ByScoreDescending []*scoredSubnet
func (ByScoreDescending) Len ¶
func (a ByScoreDescending) Len() int
func (ByScoreDescending) Less ¶
func (a ByScoreDescending) Less(i, j int) bool
func (ByScoreDescending) Swap ¶
func (a ByScoreDescending) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.