Documentation ¶
Index ¶
- type Service
- func (c *Service) GetDeploymentOnTortoise(ctx context.Context, tortoise *autoscalingv1beta3.Tortoise) (*v1.Deployment, error)
- func (c *Service) GetResourceRequests(dm *v1.Deployment) ([]autoscalingv1beta3.ContainerResourceRequests, error)
- func (c *Service) RolloutRestart(ctx context.Context, dm *v1.Deployment, tortoise *autoscalingv1beta3.Tortoise, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶ added in v0.0.5
type Service struct {
// contains filtered or unexported fields
}
func (*Service) GetDeploymentOnTortoise ¶ added in v0.0.5
func (c *Service) GetDeploymentOnTortoise(ctx context.Context, tortoise *autoscalingv1beta3.Tortoise) (*v1.Deployment, error)
func (*Service) GetResourceRequests ¶ added in v0.2.8
func (c *Service) GetResourceRequests(dm *v1.Deployment) ([]autoscalingv1beta3.ContainerResourceRequests, error)
GetResourceRequests returns the resource requests of the containers in the deployment.
func (*Service) RolloutRestart ¶ added in v0.3.10
func (c *Service) RolloutRestart(ctx context.Context, dm *v1.Deployment, tortoise *autoscalingv1beta3.Tortoise, now time.Time) error
Click to show internal directories.
Click to hide internal directories.