Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Retriever ¶
type Retriever struct { Clientset *kubernetes.Clientset // contains filtered or unexported fields }
Retriever is used to retriever IP addresses from deleted pods
func NewRetriever ¶
func NewRetriever(clientv3 *clientv3.Client, clientset *kubernetes.Clientset) *Retriever
NewRetriever uses etcd and k8s client to create and return an IP retriever
func (*Retriever) RetrieveFixedIP ¶
func (r *Retriever) RetrieveFixedIP()
RetrieveFixedIP retrieves fixed IP from deleted statefulset
func (*Retriever) RetrieveIP ¶
func (r *Retriever) RetrieveIP()
RetrieveIP scans all pods and retrieve IP
Click to show internal directories.
Click to hide internal directories.