 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CloudInstanceGroup ¶
type CloudInstanceGroup struct {
	// HumanName is a user-friendly name for the group
	HumanName     string
	InstanceGroup *api.InstanceGroup
	Ready         []*CloudInstanceGroupMember
	NeedUpdate    []*CloudInstanceGroupMember
	MinSize       int
	MaxSize       int
	// Raw allows for the implementer to attach an object, for tracking additional state
	Raw interface{}
}
    CloudInstanceGroup is the cloud backing of InstanceGroup.
func (*CloudInstanceGroup) NewCloudInstanceGroupMember ¶
func (c *CloudInstanceGroup) NewCloudInstanceGroupMember(instanceId string, newGroupName string, currentGroupName string, nodeMap map[string]*v1.Node) error
NewCloudInstanceGroupMember creates a new CloudInstanceGroupMember
func (*CloudInstanceGroup) Status ¶
func (c *CloudInstanceGroup) Status() string
Status returns a human-readable Status indicating whether an update is needed
type CloudInstanceGroupMember ¶
type CloudInstanceGroupMember struct {
	// ID is a unique identifier for the instance, meaningful to the cloud
	ID string
	// Node is the associated k8s instance, if it is known
	Node *v1.Node
	// CloudInstanceGroup is the managing CloudInstanceGroup
	CloudInstanceGroup *CloudInstanceGroup
}
    CloudInstanceGroupMember describes an instance in a CloudInstanceGroup group.
 Click to show internal directories. 
   Click to hide internal directories.