constants

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: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RetryCount           = 3
	Running              = csiv1.DriverState("Running")
	Succeeded            = csiv1.DriverState("Succeeded")
	Creating             = csiv1.DriverState("Creating")
	Failed               = csiv1.DriverState("Failed")
	InvalidConfig        = csiv1.DriverState("InvalidConfig")
	NoState              = csiv1.DriverState("")
	Updating             = csiv1.DriverState("Updating")
	DefaultRetryInterval = 5 * time.Second
	MaxRetryInterval     = 10 * time.Minute
	MaxRetryDuration     = 30 * time.Minute
)

Constants for driver states etc

View Source
const DriverMountName = "socket-dir"

DriverMountName - Socket directory volume mount name

View Source
const DriverMountPath = "/var/run/csi"

DriverMountPath - Mount path for the driver container

View Source
const TerminationMessagePath = "/dev/termination-log"

TerminationMessagePath for the container

View Source
const TerminationMessagePolicy = "File"

TerminationMessagePolicy determines the policy for termination message

Variables

View Source
var DriverReplicas = int32(1)

DriverReplicas - Replica count for controller

View Source
var MaxUnavailableUpdateStrategy = intstr.IntOrString{IntVal: 1, StrVal: "1"}

MaxUnavailableUpdateStrategy - Maximum unavailable update strategy

View Source
var RevisionHistoryLimit = int32(10)

RevisionHistoryLimit - Max revision history limit for driver daemonset

View Source
var TerminationGracePeriodSeconds = int64(30)

TerminationGracePeriodSeconds - grace period in seconds

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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