constants

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const (
	RetryCount           = 3
	Running              = csmv1.CSMStateType("Running")
	Succeeded            = csmv1.CSMStateType("Succeeded")
	Creating             = csmv1.CSMStateType("Creating")
	Failed               = csmv1.CSMStateType("Failed")
	InvalidConfig        = csmv1.CSMStateType("InvalidConfig")
	NoState              = csmv1.CSMStateType("")
	Updating             = csmv1.CSMStateType("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 AccLabel = "acc"

AccLabel - label client resources

View Source
var ContainerCreating = "ContainerCreating"

ContainerCreating - pod container

View Source
var CsmLabel = "csm"

CsmLabel - label driver resources

View Source
var CsmNamespaceLabel = "csmNamespace"

CsmNamespaceLabel - label to track namespace for csm

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 NotFoundMsg = "not found"

NotFoundMsg - error message

View Source
var PendingCreate = "Pending create"

PendingCreate - pod pending

View Source
var PodStatusRemoveString = "rpc error: code = Unknown desc = Error response from daemon:"

PodStatusRemoveString -make pod status crisp

View Source
var Reason = "Reason"

Reason - pod status

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