Documentation ¶
Index ¶
Constants ¶
View Source
const IDZero = "00000000-0000-0000-0000-000000000000"
Variables ¶
View Source
var GetIDFunc = GetID //nolint:gochecknoglobals // extension point
Functions ¶
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 // ID of the cluster ID() 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) }
Click to show internal directories.
Click to hide internal directories.