Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Restart ¶
func Restart(ctx context.Context, cli appsv1client.DeploymentInterface, namespace string, deploymentName string) error
Restart restarts the given Deployment by performing the equivalent of a `kubectl rollout restart deployment <deployment-name>` against it. Note that Restart needs the namespace of the Deployment as a separate argument even though the namespace is already "encapsulated" by the DeploymentInterface (and the namespace you pass should be the same one used to create the DeploymentInterface.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.