Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterIdentity ¶
type ClusterIdentity struct { GroupVersionResource schema.GroupVersionResource Kind string SecretName string IdentityName string SecretData map[string]string Spec map[string]any Namespaced bool }
func New ¶
func New(kc *kubeclient.KubeClient, provider managedcluster.ProviderType) *ClusterIdentity
New creates a ClusterIdentity resource, credential and associated secret for the given provider using the provided KubeClient and returns details about the created ClusterIdentity.
Click to show internal directories.
Click to hide internal directories.