Documentation ¶
Index ¶
- func NewDiscoveryClientForCluster(ctx context.Context, cluster *clusterv1alpha1.Cluster, clientUserAgent string) (discovery.DiscoveryInterface, error)
- func NewKubeClientForCluster(ctx context.Context, cluster *clusterv1alpha1.Cluster, clientUserAgent string) (kubernetes.Interface, error)
- func RESTConfigForCluster(cluster *clusterv1alpha1.Cluster) (*rest.Config, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDiscoveryClientForCluster ¶
func NewDiscoveryClientForCluster(ctx context.Context, cluster *clusterv1alpha1.Cluster, clientUserAgent string) (discovery.DiscoveryInterface, error)
NewDiscoveryClientForCluster creates a new discovery client for the given cluster.
func NewKubeClientForCluster ¶
func NewKubeClientForCluster(ctx context.Context, cluster *clusterv1alpha1.Cluster, clientUserAgent string) (kubernetes.Interface, error)
NewKubeClientForCluster creates a new kubernetes client for the given cluster.
func RESTConfigForCluster ¶
func RESTConfigForCluster(cluster *clusterv1alpha1.Cluster) (*rest.Config, error)
RESTConfigForCluster creates a rest config for the given cluster.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.