Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info interface { // Watch changes of an ClusterInfo and write them on the given stream Watch(context.Context, rpc.Manager_WatchClusterInfoServer) error // GetClusterID returns the ClusterID GetClusterID() string // GetTrafficManagerPods acquires all pods that have `traffic-manager` in // their name GetTrafficManagerPods(context.Context) ([]*corev1.Pod, error) // GetTrafficAgentPods acquires all pods that have a `traffic-agent` // container in their spec GetTrafficAgentPods(context.Context, string) ([]*corev1.Pod, error) }
type PodLister ¶ added in v2.5.7
type PodLister interface { // List lists all Pods in the indexer. // Objects returned here must be treated as read-only. List(selector labels.Selector) (ret []*corev1.Pod, err error) }
PodLister helps list Pods. All objects returned here must be treated as read-only.
Click to show internal directories.
Click to hide internal directories.