awsmodel

package
v1.19.0-alpha.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2020 License: Apache-2.0 Imports: 17 Imported by: 43

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

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL