Documentation ¶
Index ¶
- Constants
- func SetAllVerticalContainerResourcePhaseWorking(tortoise *autoscalingv1beta3.Tortoise, now time.Time) *autoscalingv1beta3.Tortoise
- func TortoiseMonitorVPAName(tortoiseName string) string
- func TortoiseUpdaterVPAName(tortoiseName string) string
- type Service
- func (c *Service) CreateTortoiseMonitorVPA(ctx context.Context, tortoise *autoscalingv1beta3.Tortoise) (*v1.VerticalPodAutoscaler, *autoscalingv1beta3.Tortoise, error)
- func (c *Service) CreateTortoiseUpdaterVPA(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) DeleteTortoiseUpdaterVPA(ctx context.Context, tortoise *autoscalingv1beta3.Tortoise) error
- func (c *Service) GetTortoiseMonitorVPA(ctx context.Context, tortoise *autoscalingv1beta3.Tortoise) (*v1.VerticalPodAutoscaler, bool, error)
- func (c *Service) GetTortoiseUpdaterVPA(ctx context.Context, tortoise *autoscalingv1beta3.Tortoise) (*v1.VerticalPodAutoscaler, error)
- func (c *Service) UpdateVPAFromTortoiseRecommendation(ctx context.Context, tortoise *autoscalingv1beta3.Tortoise) (*v1.VerticalPodAutoscaler, error)
Constants ¶
View Source
const TortoiseMonitorVPANamePrefix = "tortoise-monitor-"
View Source
const TortoiseUpdaterVPANamePrefix = "tortoise-updater-"
View Source
const TortoiseVPARecommenderName = "tortoise-controller"
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 ¶
func TortoiseUpdaterVPAName ¶
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) CreateTortoiseUpdaterVPA ¶ added in v0.0.5
func (c *Service) CreateTortoiseUpdaterVPA(ctx context.Context, tortoise *autoscalingv1beta3.Tortoise) (*v1.VerticalPodAutoscaler, *autoscalingv1beta3.Tortoise, error)
func (*Service) DeleteTortoiseMonitorVPA ¶ added in v0.0.20
func (*Service) DeleteTortoiseUpdaterVPA ¶ 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) GetTortoiseUpdaterVPA ¶ added in v0.0.5
func (c *Service) GetTortoiseUpdaterVPA(ctx context.Context, tortoise *autoscalingv1beta3.Tortoise) (*v1.VerticalPodAutoscaler, error)
func (*Service) UpdateVPAFromTortoiseRecommendation ¶ added in v0.0.5
func (c *Service) UpdateVPAFromTortoiseRecommendation(ctx context.Context, tortoise *autoscalingv1beta3.Tortoise) (*v1.VerticalPodAutoscaler, error)
Click to show internal directories.
Click to hide internal directories.