Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeLaggedScaler ¶
type FakeLaggedScaler struct { Events []ScaleEvent RetryCount int }
func (*FakeLaggedScaler) Scale ¶
func (t *FakeLaggedScaler) Scale(namespace, name string, newSize uint, preconditions *kubectl.ScalePrecondition, retry, wait *kubectl.RetryParams) error
func (*FakeLaggedScaler) ScaleSimple ¶
func (t *FakeLaggedScaler) ScaleSimple(namespace, name string, preconditions *kubectl.ScalePrecondition, newSize uint) (string, error)
type FakeScaler ¶
type FakeScaler struct {
Events []ScaleEvent
}
func (*FakeScaler) Scale ¶
func (t *FakeScaler) Scale(namespace, name string, newSize uint, preconditions *kubectl.ScalePrecondition, retry, wait *kubectl.RetryParams) error
func (*FakeScaler) ScaleSimple ¶
func (t *FakeScaler) ScaleSimple(namespace, name string, preconditions *kubectl.ScalePrecondition, newSize uint) (string, error)
type ScaleEvent ¶
Click to show internal directories.
Click to hide internal directories.