Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsReady ¶
IsReady checks if a statefulset is ready by comparing the desired replicas to the ready replicas
func New ¶
func New(namespace, name string, labels map[string]string, spec v1.StatefulSetSpec) *v1.StatefulSet
New creates a new statefulset
func NewSpec ¶
func NewSpec(replicas int32, service string, selectorMatchLabel map[string]string, pvcs []v12.PersistentVolumeClaim, podTemplateSpec v12.PodTemplateSpec) v1.StatefulSetSpec
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.