core

package
v0.0.0-...-3871800 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2020 License: Apache-2.0, BSD-3-Clause Imports: 18 Imported by: 0

Documentation

Overview

Package kubevirt contains the cloud kubevirt specific implementations to manage machines

Index

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)

Jump to

Keyboard shortcuts

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