scale

package
v0.0.0-...-9b96d08 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2021 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddMember

type AddMember struct {
	Record string `json:"record"`
}

type Scale

type Scale struct {
	Workload  *cachev1alpha1.Workload
	Client    k8s.Client
	Recorder  record.EventRecorder
	Log       logr.Logger
	Labels    map[string]string
	Scheme    *runtime.Scheme
	ExpectSts *appsv1.StatefulSet
	ActualSts *appsv1.StatefulSet
}

func (*Scale) DownScale

func (s *Scale) DownScale() error

func (*Scale) ReConfig

func (s *Scale) ReConfig() error

func (*Scale) Reconcile

func (s *Scale) Reconcile() error

func (*Scale) StatefulSet

func (s *Scale) StatefulSet() error

func (*Scale) UpScale

func (s *Scale) UpScale() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL