configmap

package
v2.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: May 21, 2019 License: Apache-2.0 Imports: 18 Imported by: 3

Documentation

Index

Constants

View Source
const (
	CapacityConfigMapName      = "capacity"
	CapacityConfigMapNamespace = "kube-system"
	CapacityConfigMapKey       = "kubescaler.conf"

	KeyID          = "awsKeyID"
	SecretKey      = "awsSecretKey"
	Region         = "awsRegion"
	KeyName        = "awsKeyName"
	ImageID        = "awsImageID"
	IAMRole        = "awsIAMRole"
	SecurityGroups = "awsSecurityGroups"
	SubnetID       = "awsSubnetID"
	VolType        = "awsVolType"
	VolSize        = "awsVolSize"
	Tags           = "awsTags"

	DefaultVolSize = "80"
	DefaultVolType = "gp2"

	KubeAddr = "KubeAddr"
)

TODO: take it from the capacity repo

View Source
const StepName = "configmap"

Variables

This section is empty.

Functions

func Init

func Init()

Types

type Step

type Step struct {
	// contains filtered or unexported fields
}

func New

func New() *Step

func (*Step) Depends

func (s *Step) Depends() []string

func (*Step) Description

func (s *Step) Description() string

func (*Step) Name

func (s *Step) Name() string

func (*Step) Rollback

func (s *Step) Rollback(ctx context.Context, out io.Writer, config *steps.Config) error

func (*Step) Run

func (s *Step) Run(ctx context.Context, out io.Writer, config *steps.Config) error

Jump to

Keyboard shortcuts

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