Versions in this module Expand all Collapse all v2 v2.3.2 Apr 20, 2021 Changes in this version + const BMATemplate + const ClusterRoleBindingTemplate + const ClusterRoleTemplate + const ManagedClusterActionCreateTemplate + const ManagedClusterActionDeleteTemplate + const ManagedClusterActionUpdateTemplate + const ManagedClusterSetRandomTemplate + const ManagedClusterSetTemplate + const ManagedClusterTemplate + const ManagedClusterViewTemplate + const NamespaceTemplate + var ClusterRoleBindingGVR = schema.GroupVersionResource + var ClusterRoleGVR = schema.GroupVersionResource + var ManagedClusterGVR schema.GroupVersionResource = schema.GroupVersionResource + var ManagedClusterSetGVR = schema.GroupVersionResource + var NamespaceGVR = schema.GroupVersionResource + func AcceptManagedCluster(clusterName string) error + func AddLabels(obj *unstructured.Unstructured, labels map[string]string) error + func ApplyClusterResource(dynamicClient dynamic.Interface, gvr schema.GroupVersionResource, ...) (*unstructured.Unstructured, error) + func CheckClusterID(obj *unstructured.Unstructured) error + func CheckDistributionInfo(obj *unstructured.Unstructured) error + func CheckFoundationPodsReady() error + func CreateClusterResource(dynamicClient dynamic.Interface, gvr schema.GroupVersionResource, ...) (*unstructured.Unstructured, error) + func CreateManagedCluster(dynamicClient dynamic.Interface) (*unstructured.Unstructured, error) + func CreateManagedClusterSet(dynamicClient dynamic.Interface) (*unstructured.Unstructured, error) + func CreateResource(dynamicClient dynamic.Interface, gvr schema.GroupVersionResource, ...) (*unstructured.Unstructured, error) + func DeleteClusterResource(dynamicClient dynamic.Interface, gvr schema.GroupVersionResource, name string) error + func DeleteManagedCluster(dynamicClient dynamic.Interface, clusterName string) error + func DeleteManagedClusterSet(dynamicClient dynamic.Interface, clusterSetName string) error + func DeleteResource(dynamicClient dynamic.Interface, gvr schema.GroupVersionResource, ...) error + func GenerateCSR(clusterNamespace, clusterName string, key []byte) (string, error) + func GeneratePrivateKey() ([]byte, error) + func GetClusterResource(dynamicClient dynamic.Interface, gvr schema.GroupVersionResource, name string) (*unstructured.Unstructured, error) + func GetConditionFromStatus(obj *unstructured.Unstructured) (map[string]interface{}, error) + func GetConditionTypeFromStatus(obj *unstructured.Unstructured, typeName string) bool + func GetHostFromClientConfig() (string, error) + func GetJoinedManagedClusters(dynamicClient dynamic.Interface) ([]*unstructured.Unstructured, error) + func GetResource(dynamicClient dynamic.Interface, gvr schema.GroupVersionResource, ...) (*unstructured.Unstructured, error) + func HasClusterResource(dynamicClient dynamic.Interface, gvr schema.GroupVersionResource, name string) (bool, error) + func HasResource(dynamicClient dynamic.Interface, gvr schema.GroupVersionResource, ...) (bool, error) + func ListResource(dynamicClient dynamic.Interface, gvr schema.GroupVersionResource, ...) ([]*unstructured.Unstructured, error) + func LoadResourceFromJSON(json string) (*unstructured.Unstructured, error) + func NewAPIServiceClient() (*apiregistrationclient.ApiregistrationV1Client, error) + func NewDynamicClient() (dynamic.Interface, error) + func NewDynamicClientWithImpersonate(user string, groups []string) (dynamic.Interface, error) + func NewHiveClient() (hiveclient.Interface, error) + func NewKubeClient() (kubernetes.Interface, error) + func NewKubeConfig() (*rest.Config, error) + func SetStatusType(obj *unstructured.Unstructured, statusType string) error + func SetSubjects(obj *unstructured.Unstructured, newSubject rbacv1.Subject) error + func UpdateClusterResource(dynamicClient dynamic.Interface, gvr schema.GroupVersionResource, ...) (*unstructured.Unstructured, error) + func UpdateResource(dynamicClient dynamic.Interface, gvr schema.GroupVersionResource, ...) (*unstructured.Unstructured, error) + func UpdateResourceStatus(dynamicClient dynamic.Interface, gvr schema.GroupVersionResource, ...) (*unstructured.Unstructured, error) v2.3.2-2021-04-20 Apr 21, 2021