Versions in this module Expand all Collapse all v0 v0.4.0 Mar 28, 2017 Changes in this version + type OnDeleteFunc func(string, string) error + type OnIncreaseFunc func(string, int) error + type TestCloudProvider struct + func NewTestCloudProvider(onIncrease OnIncreaseFunc, onDelete OnDeleteFunc) *TestCloudProvider + func (tcp *TestCloudProvider) AddNode(nodeGroupId string, node *apiv1.Node) + func (tcp *TestCloudProvider) AddNodeGroup(id string, min int, max int, size int) + func (tcp *TestCloudProvider) Name() string + func (tcp *TestCloudProvider) NodeGroupForNode(node *apiv1.Node) (cloudprovider.NodeGroup, error) + func (tcp *TestCloudProvider) NodeGroups() []cloudprovider.NodeGroup + type TestNodeGroup struct + func (tng *TestNodeGroup) Debug() string + func (tng *TestNodeGroup) DecreaseTargetSize(delta int) error + func (tng *TestNodeGroup) DeleteNodes(nodes []*apiv1.Node) error + func (tng *TestNodeGroup) Id() string + func (tng *TestNodeGroup) IncreaseSize(delta int) error + func (tng *TestNodeGroup) MaxSize() int + func (tng *TestNodeGroup) MinSize() int + func (tng *TestNodeGroup) Nodes() ([]string, error) + func (tng *TestNodeGroup) TargetSize() (int, error)