Documentation ¶
Index ¶
Constants ¶
View Source
const (
// LengthOfInstanceID is the length of instance-id
LengthOfInstanceID = 5
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { Manage( currentCS, updateCS *appsv1alpha1.CloneSet, currentRevision, updateRevision string, pods []*v1.Pod, pvcs []*v1.PersistentVolumeClaim, ) (bool, error) }
Interface for managing replicas including create and delete pod/pvc.
func New ¶
func New(c client.Client, recorder record.EventRecorder, exp expectations.ScaleExpectations) Interface
New returns a scale control.
Click to show internal directories.
Click to hide internal directories.