Documentation ¶
Index ¶
- func AddNodeToF5(clientset *kubernetes.Interface, kubeNode *corev1.Node, partition string, ...)
- func CreateNodeOnF5(node Node)
- func DeleteNodeOnF5(partition string, node string)
- func IsWorkerNode(kubeNode *corev1.Node) bool
- func RemoveNodeFromF5(clientset *kubernetes.Interface, kubeNode *corev1.Node, partition string, ...)
- func ResyncNodes(clientset *kubernetes.Interface, partition string, poolName string, ...)
- func UpdatePool(partition string, nodes []Node, pool string, monitor string, poolPort string)
- type Memberlist
- type Memberlistmember
- type Members
- type Node
- type NodeList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddNodeToF5 ¶ added in v1.1.1
func CreateNodeOnF5 ¶ added in v1.1.1
func CreateNodeOnF5(node Node)
func DeleteNodeOnF5 ¶ added in v1.1.1
func IsWorkerNode ¶ added in v1.1.2
func RemoveNodeFromF5 ¶ added in v1.1.1
func ResyncNodes ¶ added in v1.1.1
Types ¶
type Memberlist ¶ added in v1.1.1
type Memberlist struct {
Members []Memberlistmember `json:"members"`
}
type Memberlistmember ¶ added in v1.1.1
type Members ¶ added in v1.1.1
type Members struct { Kind string `json:"kind"` SelfLink string `json:"selfLink"` Items []struct { Kind string `json:"kind"` Name string `json:"name"` Partition string `json:"partition"` FullPath string `json:"fullPath"` Generation int `json:"generation"` SelfLink string `json:"selfLink"` Address string `json:"address"` ConnectionLimit int `json:"connectionLimit"` DynamicRatio int `json:"dynamicRatio"` Ephemeral string `json:"ephemeral"` Fqdn struct { Autopopulate string `json:"autopopulate"` } `json:"fqdn"` InheritProfile string `json:"inheritProfile"` Logging string `json:"logging"` Monitor string `json:"monitor"` PriorityGroup int `json:"priorityGroup"` RateLimit string `json:"rateLimit"` Ratio int `json:"ratio"` Session string `json:"session"` State string `json:"state"` } `json:"items"` }
type Node ¶ added in v1.1.1
type Node struct { Name string `json:"name"` Partition string `json:"partition"` Address string `json:"address"` Labels struct { NodeRoleKubernetesIoWorker string `json:"node-role.kubernetes.io/worker"` } }
func GetNodesFromKubernetes ¶ added in v1.1.1
func GetNodesFromKubernetes(clientset *kubernetes.Interface, partition string) []Node
Click to show internal directories.
Click to hide internal directories.