Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAndWaitForDeploymentToStart ¶
func CreateAndWaitForDeploymentToStart(deploymentManager Manager, ctx context.Context, deployment *appsv1.Deployment) *appsv1.Deployment
Types ¶
type Manager ¶
type Manager interface { CreateAndWaitUntilDeploymentReady(ctx context.Context, dp *appsv1.Deployment) (*appsv1.Deployment, error) DeleteAndWaitUntilDeploymentDeleted(ctx context.Context, dp *appsv1.Deployment) error ScaleDeploymentAndWaitTillReady(ctx context.Context, namespace string, name string, replicas int32) error UpdateDeploymentImage(ctx context.Context, namespace string, name string, imageReplacement string) error GetDeployment(ctx context.Context, namespace string, name string) (*appsv1.Deployment, error) PatchDeployment(ctx context.Context, newDeployment *appsv1.Deployment, oldDeployment *appsv1.Deployment) error }
func NewManager ¶
Click to show internal directories.
Click to hide internal directories.