deployment

package
v0.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

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 New

func New(c client.Client, istioSidecarProxyDefaultCPU, istioSidecarProxyDefaultMemory string, recorder record.EventRecorder) *Service

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL