Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Cluster is the DPU cluster for which the config is being fetched. Cluster *provisioningv1.DPUCluster // contains filtered or unexported fields }
Config hold the cluster configuration. It provides methods to get the client, clientset, and rest config for the cluster.
func GetConfigs ¶
GetConfigs returns a list of Configs for all DPU clusters.
func NewConfig ¶
func NewConfig(c client.Client, cluster *provisioningv1.DPUCluster) *Config
NewConfig returns a new Config.
func (*Config) ClusterNamespaceName ¶
func (*Config) Kubeconfig ¶
Kubeconfig returns the kubeconfig for the cluster.
Click to show internal directories.
Click to hide internal directories.