Documentation ¶
Index ¶
Constants ¶
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
const DriverMountName = "socket-dir"
DriverMountName - Socket directory volume mount name
const DriverMountPath = "/var/run/csi"
DriverMountPath - Mount path for the driver container
const TerminationMessagePath = "/dev/termination-log"
TerminationMessagePath for the container
const TerminationMessagePolicy = "File"
TerminationMessagePolicy determines the policy for termination message
Variables ¶
var ContainerCreating = "ContainerCreating"
ContainerCreating - pod container
var CsmLabel = "csm"
CsmLabel - label driver resources
var CsmNamespaceLabel = "csmNamespace"
CsmNamespaceLabel - label to track namespace for csm
var DriverReplicas = int32(1)
DriverReplicas - Replica count for controller
MaxUnavailableUpdateStrategy - Maximum unavailable update strategy
var NotFoundMsg = "not found"
NotFoundMsg - error message
var PendingCreate = "Pending create"
PendingCreate - pod pending
var PodStatusRemoveString = "rpc error: code = Unknown desc = Error response from daemon:"
PodStatusRemoveString -make pod status crisp
var Reason = "Reason"
Reason - pod status
var RevisionHistoryLimit = int32(10)
RevisionHistoryLimit - Max revision history limit for driver daemonset
var TerminationGracePeriodSeconds = int64(30)
TerminationGracePeriodSeconds - grace period in seconds
Functions ¶
This section is empty.
Types ¶
This section is empty.