Documentation
¶
Overview ¶
Package kubevirt contains the cloud kubevirt specific implementations to manage machines
Index ¶
- Constants
- type PluginSPIImpl
- func (p PluginSPIImpl) CreateMachine(ctx context.Context, machineName string, ...) (providerID string, err error)
- func (p PluginSPIImpl) DeleteMachine(ctx context.Context, machineName, providerID string, ...) (foundProviderID string, err error)
- func (p PluginSPIImpl) GetMachineStatus(ctx context.Context, machineName, providerID string, ...) (foundProviderID string, err error)
- func (p PluginSPIImpl) ListMachines(ctx context.Context, providerSpec *api.KubeVirtProviderSpec, ...) (providerIDList map[string]string, err error)
- func (p PluginSPIImpl) ShutDownMachine(ctx context.Context, machineName, providerID string, ...) (foundProviderID string, err error)
Constants ¶
View Source
const ProviderName = "kubevirt"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PluginSPIImpl ¶
type PluginSPIImpl struct{}
PluginSPIImpl is the real implementation of PluginSPI interface that makes the calls to the provider SDK
func (PluginSPIImpl) CreateMachine ¶
func (p PluginSPIImpl) CreateMachine(ctx context.Context, machineName string, providerSpec *api.KubeVirtProviderSpec, secrets *corev1.Secret) (providerID string, err error)
func (PluginSPIImpl) DeleteMachine ¶
func (p PluginSPIImpl) DeleteMachine(ctx context.Context, machineName, providerID string, providerSpec *api.KubeVirtProviderSpec, secrets *corev1.Secret) (foundProviderID string, err error)
func (PluginSPIImpl) GetMachineStatus ¶
func (p PluginSPIImpl) GetMachineStatus(ctx context.Context, machineName, providerID string, providerSpec *api.KubeVirtProviderSpec, secrets *corev1.Secret) (foundProviderID string, err error)
func (PluginSPIImpl) ListMachines ¶
func (p PluginSPIImpl) ListMachines(ctx context.Context, providerSpec *api.KubeVirtProviderSpec, secrets *corev1.Secret) (providerIDList map[string]string, err error)
func (PluginSPIImpl) ShutDownMachine ¶
func (p PluginSPIImpl) ShutDownMachine(ctx context.Context, machineName, providerID string, providerSpec *api.KubeVirtProviderSpec, secrets *corev1.Secret) (foundProviderID string, err error)
Click to show internal directories.
Click to hide internal directories.