Documentation
¶
Index ¶
- func BuildClusterConfig(cluster *fedcorev1a1.FederatedCluster, fedClient kubernetes.Interface, ...) (*rest.Config, error)
- func BuildRawClusterConfig(cluster *fedcorev1a1.FederatedCluster, fedClient kubernetes.Interface, ...) (*rest.Config, error)
- func GetClusterConditionReasons(clusterStatus *fedcorev1a1.FederatedClusterStatus) (readyReason, joinedReason, offlineReason string)
- func IsClusterJoined(clusterStatus *fedcorev1a1.FederatedClusterStatus) bool
- func IsClusterOffline(clusterStatus *fedcorev1a1.FederatedClusterStatus) bool
- func IsClusterReady(clusterStatus *fedcorev1a1.FederatedClusterStatus) bool
- func PopulateAuthDetailsFromSecret(clusterConfig *rest.Config, insecure bool, secret *corev1.Secret, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildClusterConfig ¶
func BuildClusterConfig( cluster *fedcorev1a1.FederatedCluster, fedClient kubernetes.Interface, restConfig *rest.Config, fedSystemNamespace string, ) (*rest.Config, error)
func BuildRawClusterConfig ¶
func BuildRawClusterConfig( cluster *fedcorev1a1.FederatedCluster, fedClient kubernetes.Interface, restConfig *rest.Config, fedSystemNamespace string, ) (*rest.Config, error)
BuildRawClusterConfig returns a restclient.Config built using key and certificate credentials from the secret referenced in the FederatedCluster.
func GetClusterConditionReasons ¶
func GetClusterConditionReasons(clusterStatus *fedcorev1a1.FederatedClusterStatus) (readyReason, joinedReason, offlineReason string)
func IsClusterJoined ¶
func IsClusterJoined(clusterStatus *fedcorev1a1.FederatedClusterStatus) bool
func IsClusterOffline ¶
func IsClusterOffline(clusterStatus *fedcorev1a1.FederatedClusterStatus) bool
func IsClusterReady ¶
func IsClusterReady(clusterStatus *fedcorev1a1.FederatedClusterStatus) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.