Documentation ¶
Index ¶
- func GetCredentialsForCluster(cloud v1.CloudSpec, secretKeySelector provider.SecretKeySelectorValueFunc) (kubeconfig string, err error)
- func NewClientWithRestConfig(kubeconfig string) (ctrlruntimeclient.Client, *restclient.Config, error)
- func NewCloudProvider(secretKeyGetter provider.SecretKeySelectorValueFunc) provider.CloudProvider
- func NewReconciler(kubeconfig string, clusterName string) (*reconciler, error)
- type KubevirtClientGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCredentialsForCluster ¶
func GetCredentialsForCluster(cloud v1.CloudSpec, secretKeySelector provider.SecretKeySelectorValueFunc) (kubeconfig string, err error)
GetCredentialsForCluster returns the credentials for the passed in cloud spec or an error
func NewClientWithRestConfig ¶ added in v2.19.0
func NewClientWithRestConfig(kubeconfig string) (ctrlruntimeclient.Client, *restclient.Config, error)
func NewCloudProvider ¶
func NewCloudProvider(secretKeyGetter provider.SecretKeySelectorValueFunc) provider.CloudProvider
func NewReconciler ¶ added in v2.19.0
Types ¶
type KubevirtClientGetter ¶ added in v2.19.0
type KubevirtClientGetter = func(clientConfig *rest.Config) (kubevirtv1.Interface, kubernetes.Interface, error)
KubevirtClientGetter is used to get the kubevirt client and the k8s client
Directories ¶
Path | Synopsis |
---|---|
kubevirtcli
|
|
client/versioned
This package has the automatically generated clientset.
|
This package has the automatically generated clientset. |
client/versioned/fake
This package has the automatically generated fake clientset.
|
This package has the automatically generated fake clientset. |
client/versioned/scheme
This package contains the scheme of the automatically generated clientset.
|
This package contains the scheme of the automatically generated clientset. |
client/versioned/typed/core/v1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
client/versioned/typed/core/v1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
Click to show internal directories.
Click to hide internal directories.