Documentation
¶
Index ¶
- Constants
- func HasManagedByConsoleLabel(obj LabeledObject) bool
- func IsManagedByConsoleLabelSelector() string
- func NewClientSets(clusterConfig ClusterConfigMap) (map[string]kubernetes.Interface, error)
- func NewScheme() (*runtime.Scheme, error)
- func SetManagedByConsoleLabel(obj LabeledObject)
- func WithCommonAnnotations(mp map[string]string, user string) map[string]string
- type ClusterConfigMap
- type LabeledObject
- type StaticCluster
Constants ¶
View Source
const (
GoogleAuthPlugin = "google_watcher" // so that this is different than "gcp" that's already in client-go tree.
)
Variables ¶
This section is empty.
Functions ¶
func HasManagedByConsoleLabel ¶
func HasManagedByConsoleLabel(obj LabeledObject) bool
func IsManagedByConsoleLabelSelector ¶
func IsManagedByConsoleLabelSelector() string
func NewClientSets ¶
func NewClientSets(clusterConfig ClusterConfigMap) (map[string]kubernetes.Interface, error)
func SetManagedByConsoleLabel ¶
func SetManagedByConsoleLabel(obj LabeledObject)
Types ¶
type ClusterConfigMap ¶
func CreateClusterConfigMap ¶
func CreateClusterConfigMap(tenant string, clusters []string, staticClusters []StaticCluster) (ClusterConfigMap, error)
type LabeledObject ¶
type StaticCluster ¶
func (*StaticCluster) EnvDecode ¶
func (c *StaticCluster) EnvDecode(value string) error
Click to show internal directories.
Click to hide internal directories.