Documentation ¶
Index ¶
- func SetAllVerticalContainerResourcePhaseWorking(tortoise *autoscalingv1beta3.Tortoise, now time.Time) *autoscalingv1beta3.Tortoise
- func TortoiseMonitorVPAName(tortoiseName string) string
- type Service
- func (c *Service) CreateTortoiseMonitorVPA(ctx context.Context, tortoise *autoscalingv1beta3.Tortoise) (*v1.VerticalPodAutoscaler, *autoscalingv1beta3.Tortoise, error)
- func (c *Service) DeleteTortoiseMonitorVPA(ctx context.Context, tortoise *autoscalingv1beta3.Tortoise) error
- func (c *Service) GetTortoiseMonitorVPA(ctx context.Context, tortoise *autoscalingv1beta3.Tortoise) (*v1.VerticalPodAutoscaler, bool, error)
- func (c *Service) UpdateVPAContainerResourcePolicy(ctx context.Context, tortoise *autoscalingv1beta3.Tortoise, ...) (*v1.VerticalPodAutoscaler, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetAllVerticalContainerResourcePhaseWorking ¶ added in v0.1.3
func SetAllVerticalContainerResourcePhaseWorking(tortoise *autoscalingv1beta3.Tortoise, now time.Time) *autoscalingv1beta3.Tortoise
func TortoiseMonitorVPAName ¶
Types ¶
type Service ¶ added in v0.0.5
type Service struct {
// contains filtered or unexported fields
}
func (*Service) CreateTortoiseMonitorVPA ¶ added in v0.0.5
func (c *Service) CreateTortoiseMonitorVPA(ctx context.Context, tortoise *autoscalingv1beta3.Tortoise) (*v1.VerticalPodAutoscaler, *autoscalingv1beta3.Tortoise, error)
func (*Service) DeleteTortoiseMonitorVPA ¶ added in v0.0.20
func (*Service) GetTortoiseMonitorVPA ¶ added in v0.0.5
func (c *Service) GetTortoiseMonitorVPA(ctx context.Context, tortoise *autoscalingv1beta3.Tortoise) (*v1.VerticalPodAutoscaler, bool, error)
func (*Service) UpdateVPAContainerResourcePolicy ¶ added in v0.3.2
func (c *Service) UpdateVPAContainerResourcePolicy(ctx context.Context, tortoise *autoscalingv1beta3.Tortoise, vpa *v1.VerticalPodAutoscaler) (*v1.VerticalPodAutoscaler, error)
UpdateVPAContainerResourcePolicy is update VPA to have appropriate container policies based on tortoises' resource policy.
Click to show internal directories.
Click to hide internal directories.