Documentation ¶
Index ¶
- type Autoscaler
- func (a *Autoscaler) CreatePod(pod *proto.Pod) error
- func (a *Autoscaler) DeletePod(pod *proto.Pod) error
- func (a *Autoscaler) Scale(now int64) (int32, error)
- func (a *Autoscaler) Stat(stat []*proto.Stat) error
- func (a *Autoscaler) String() string
- func (a *Autoscaler) UpdatePod(pod *proto.Pod) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Autoscaler ¶
type Autoscaler struct {
// contains filtered or unexported fields
}
func NewAutoscaler ¶
func NewAutoscaler(hpaYaml string) (*Autoscaler, error)
func (*Autoscaler) String ¶
func (a *Autoscaler) String() string
Click to show internal directories.
Click to hide internal directories.