Versions in this module Expand all Collapse all v1 v1.11.0 Dec 24, 2018 Changes in this version + func DeleteGroup(svc Service, group *cloudinstances.CloudInstanceGroup) error + func DeleteInstance(svc Service, instance *cloudinstances.CloudInstanceGroupMember) error + func GetCloudGroups(svc Service, cluster *kops.Cluster, instancegroups []*kops.InstanceGroup, ...) (map[string]*cloudinstances.CloudInstanceGroup, error) + func ListGroups(svc Service, clusterName string) ([]*resources.Resource, error) + func LoadCredentials() (credentials.Value, error) + func NewConfig() *spotinst.Config + func NewCredentials() *credentials.Credentials + func NewStdLogger() log.Logger + type Elastigroup interface + Id func() string + MaxSize func() int + MinSize func() int + Name func() string + Obj func() interface{} + func NewElastigroup(cloudProviderID kops.CloudProviderID, obj interface{}) (Elastigroup, error) + type Instance interface + Id func() string + Obj func() interface{} + type Service interface + Create func(ctx context.Context, group Elastigroup) (string, error) + Delete func(ctx context.Context, groupID string) error + Detach func(ctx context.Context, groupID string, instanceIDs []string) error + Instances func(ctx context.Context, groupID string) ([]Instance, error) + List func(ctx context.Context) ([]Elastigroup, error) + Read func(ctx context.Context, groupID string) (Elastigroup, error) + Update func(ctx context.Context, group Elastigroup) error + func NewService(cloudProviderID kops.CloudProviderID) (Service, error)