Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPState ¶
type IPState string
IPState defines the possible states an IP can be in for CNS IPAM. The total pool that CNS has access to are its "allocated" IPs.
const ( // Available IPConfigState for allocated IPs available for CNS to use. Available IPState = "Available" // Assigned IPConfigState for allocated IPs that CNS has assigned to Pods. Assigned IPState = "Assigned" // PendingRelease IPConfigState for allocated IPs pending deallocation. PendingRelease IPState = "PendingRelease" // PendingProgramming IPConfigState for allocated IPs pending programming. PendingProgramming IPState = "PendingProgramming" )
type ResponseCode ¶
type ResponseCode int
const ( Success ResponseCode = 0 UnsupportedNetworkType ResponseCode = 1 InvalidParameter ResponseCode = 2 UnsupportedEnvironment ResponseCode = 3 UnreachableHost ResponseCode = 4 ReservationNotFound ResponseCode = 5 MalformedSubnet ResponseCode = 8 UnreachableDockerDaemon ResponseCode = 9 UnspecifiedNetworkName ResponseCode = 10 NotFound ResponseCode = 14 NetworkContainerNotSpecified ResponseCode = 16 CallToHostFailed ResponseCode = 17 UnknownContainerID ResponseCode = 18 UnsupportedOrchestratorType ResponseCode = 19 DockerContainerNotSpecified ResponseCode = 20 UnsupportedVerb ResponseCode = 21 UnsupportedNetworkContainerType ResponseCode = 22 InvalidRequest ResponseCode = 23 NetworkJoinFailed ResponseCode = 24 NetworkContainerPublishFailed ResponseCode = 25 NetworkContainerUnpublishFailed ResponseCode = 26 InvalidPrimaryIPConfig ResponseCode = 27 PrimaryCANotSame ResponseCode = 28 InconsistentIPConfigState ResponseCode = 29 InvalidSecondaryIPConfig ResponseCode = 30 NetworkContainerVfpProgramPending ResponseCode = 31 FailedToAllocateIPConfig ResponseCode = 32 EmptyOrchestratorContext ResponseCode = 33 UnsupportedOrchestratorContext ResponseCode = 34 NetworkContainerVfpProgramComplete ResponseCode = 35 NetworkContainerVfpProgramCheckSkipped ResponseCode = 36 NmAgentSupportedApisError ResponseCode = 37 UnsupportedNCVersion ResponseCode = 38 FailedToRunIPTableCmd ResponseCode = 39 NilEndpointStateStore ResponseCode = 40 NmAgentInternalServerError ResponseCode = 41 UnexpectedError ResponseCode = 99 )
ResponseCode definitions
Click to show internal directories.
Click to hide internal directories.