Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ZeroReplica = int32(0) OneReplica = int32(1) )
Functions ¶
func ScaleUpWorkload ¶
func ScaleUpWorkload(k8sClient *kubernetes.Clientset, opt backup.Options) error
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func New ¶
func New(k8sClient kubernetes.Interface, opt Options) *Controller
func (*Controller) ScaleDownWorkload ¶
func (c *Controller) ScaleDownWorkload() error
Click to show internal directories.
Click to hide internal directories.