aws

package
v0.6.1-alpha Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(name string, nodeLister corelistersv1.NodeLister) (autoscaling.Engine, error)

NewClient creates a new instance of the containership AutoScaling Engine, or an error It is expected that we should not modify the name or configuration here as the caller may not have passed a DeepCopy

Types

type Engine

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

Engine represents the AWS autoscaling engine; it implements autoscaling.Engine

func (Engine) Name

func (e Engine) Name() string

Name returns the name of the engine

func (Engine) SetTargetNodeCount

func (e Engine) SetTargetNodeCount(nodeSelector map[string]string, numNodes int, strategy string) (bool, error)

SetTargetNodeCount takes action to scale a target node pool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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