Documentation
¶
Index ¶
Constants ¶
View Source
const ( NetworkLegacy = "legacy" NetworkStrict = "strict" NetworkSDN = "sdn" // For ipam plugin and spiderpool-agent use DefaultIPAMUnixSocketPath = "/var/run/spidernet/spiderpool.sock" )
Network configurations
View Source
const ( LogDebugLevelStr = "debug" LogInfoLevelStr = "info" LogWarnLevelStr = "warn" LogErrorLevelStr = "error" LogFatalLevelStr = "fatal" LogPanicLevelStr = "panic" )
Log level character string
View Source
const ( OwnerNone types.OwnerType = "None" OwnerDeployment types.OwnerType = "Deployment" OwnerStatefuleSet types.OwnerType = "StatefulSet" OwnerDaemonSet types.OwnerType = "DaemonSet" OwnerCRD types.OwnerType = "Unknown" )
View Source
const ( PodRunning types.PodStatus = "Running" PodTerminating types.PodStatus = "Terminating" PodGraceTimeOut types.PodStatus = "GraceTimeOut" PodSucceeded types.PodStatus = "Succeeded" PodFailed types.PodStatus = "Failed" PodEvicted types.PodStatus = "Evicted" PodDeleted types.PodStatus = "Deleted" )
View Source
const ( AnnotationPre = "ipam.spidernet.io" AnnoPodIPPool = AnnotationPre + "/ippool" AnnoPodIPPools = AnnotationPre + "/ippools" AnnoPodRoutes = AnnotationPre + "/routes" AnnoPodDNS = AnnotationPre + "/dns" AnnoPodStatus = AnnotationPre + "/status" AnnoNSDefautlV4Pool = AnnotationPre + "/defaultv4ippool" AnnoNSDefautlV6Pool = AnnotationPre + "/defaultv6ippool" )
View Source
const SpiderWorkloadEndpointFinalizer = "spiderpool.spidernet.io"
Variables ¶
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.