awsmodel

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2020 License: Apache-2.0 Imports: 15 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

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

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)

Jump to

Keyboard shortcuts

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