kubevirt

package
v2.20.13 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCredentialsForCluster

func GetCredentialsForCluster(cloud kubermaticv1.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

func NewReconciler(kubeconfig string, clusterName string) (*reconciler, error)

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.

Jump to

Keyboard shortcuts

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