cluster

package
v0.0.0-...-35c3564 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL