Documentation ¶
Index ¶
Constants ¶
View Source
const ( AnnPool = "coil.cybozu.com/pool" AnnEgressPrefix = "egress.coil.cybozu.com/" )
annotation keys
View Source
const ( LabelPool = "coil.cybozu.com/pool" LabelNode = "coil.cybozu.com/node" LabelRequest = "coil.cybozu.com/request" LabelReserved = "coil.cybozu.com/reserved" LabelAppName = "app.kubernetes.io/name" LabelAppInstance = "app.kubernetes.io/instance" LabelAppComponent = "app.kubernetes.io/component" )
Label keys
View Source
const ( AddressBlockRequestKey = "address-block.request" PodNodeNameKey = "pod.node-name" )
Index keys
View Source
const ( PodNameKey = "K8S_POD_NAME" PodNamespaceKey = "K8S_POD_NAMESPACE" PodContainerKey = "K8S_POD_INFRA_CONTAINER_ID" )
Keys in CNI_ARGS
View Source
const ( // SAEgress is the name of the ServiceAccount for coil-egress SAEgress = "coil-egress" // CRBEgress is the name of the ClusterRoleBinding for coil-egress CRBEgress = "coil-egress" // CRBEgressPSP is the name of the ClusterRoleBinding for coil-egress PSP. CRBEgressPSP = "psp-coil-egress" )
RBAC resource names
View Source
const ( EnvNode = "COIL_NODE_NAME" EnvAddresses = "COIL_POD_ADDRESSES" EnvPodNamespace = "COIL_POD_NAMESPACE" EnvPodName = "COIL_POD_NAME" EnvEgressName = "COIL_EGRESS_NAME" )
Environment variables
View Source
const (
DefaultPool = "default"
)
Misc
View Source
const DefaultSocketPath = "/run/coild.sock"
DefaultSocketPath is the default UNIX domain socket filename for gRPC between coil and coild.
View Source
const (
FinCoil = "coil.cybozu.com"
)
Finalizers
View Source
const MetricsNS = "coil"
MetricsNS is the namespace for Prometheus metrics
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.