deployment

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2023 License: Apache-2.0, BSD-3-Clause, MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SleepTime = 10 * time.Second

SleepTime - minimum time to sleep before checking the state of controller pod

Functions

func New

func New(instance csiv1.CSIDriver, driverEnv []corev1.EnvVar, driverVolumeMounts []corev1.VolumeMount, podVolumes []corev1.Volume,
	args []string, sidecarMap map[csiv1.ImageType]ctrlconfig.SidecarParams, podConstraints csiv1.PodSchedulingConstraints) *appsv1.Deployment

New - Creates a deployment element for the given driver and component

func SyncControllerDeployment

func SyncControllerDeployment(ctx context.Context, deployment *appsv1.Deployment, cclient client.Client, reqLogger logr.Logger) error

SyncControllerDeployment - Syncs a Deployment for controller

func SyncDeployment

func SyncDeployment(ctx context.Context, deployment *appsv1.Deployment, client client.Client, reqLogger logr.Logger) error

SyncDeployment - Creates/Updates a Deployment

Types

This section is empty.

Jump to

Keyboard shortcuts

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