Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultVolumeType is the default volume type DefaultVolumeType = ec2.VolumeTypeGp2 // DefaultVolumeIops is the default volume iops DefaultVolumeIops = 100 // DefaultVolumeDeleteOnTermination is the default volume behavior after instance termination DefaultVolumeDeleteOnTermination = true )
View Source
const LoadBalancerDefaultIdleTimeout = 5 * time.Minute
LoadBalancerDefaultIdleTimeout is the default idle time for the ELB
Variables ¶
This section is empty.
Functions ¶
func UseLaunchTemplate ¶ added in v1.15.1
func UseLaunchTemplate(ig *kops.InstanceGroup) bool
UseLaunchTemplate checks if we need to use a launch template rather than configuration
func UseMixedInstancePolicies ¶ added in v1.15.1
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 BootstrapScriptBuilder *model.BootstrapScriptBuilder 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)
type OIDCProviderBuilder ¶ added in v1.19.0
type OIDCProviderBuilder struct { *model.KopsModelContext KeyStore fi.CAStore Lifecycle *fi.Lifecycle }
OIDCProviderBuilder configures IAM OIDC Provider
func (*OIDCProviderBuilder) Build ¶ added in v1.19.0
func (b *OIDCProviderBuilder) Build(c *fi.ModelBuilderContext) error
Click to show internal directories.
Click to hide internal directories.