Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClusterCredential ¶
func GetClusterCredential(ctx context.Context, client platforminternalclient.PlatformInterface, cluster *platform.Cluster, username string) (*platform.ClusterCredential, error)
GetClusterCredential returns the cluster's credential
func GetClusterCredentialV1 ¶
func GetClusterCredentialV1(ctx context.Context, client platformversionedclient.PlatformV1Interface, cluster *platformv1.Cluster, username string) (*platformv1.ClusterCredential, error)
GetClusterCredentialV1 returns the versioned cluster's credential
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.