virtwrap

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2017 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DomainManager

type DomainManager interface {
	SyncVMSecret(vm *v1.VirtualMachine, usageType string, usageID string, secretValue string) error
	RemoveVMSecrets(*v1.VirtualMachine) error
	SyncVM(*v1.VirtualMachine) (*api.DomainSpec, error)
	KillVM(*v1.VirtualMachine) error
}

func NewLibvirtDomainManager

func NewLibvirtDomainManager(connection cli.Connection, recorder record.EventRecorder, isolationDetector isolation.PodIsolationDetector) (DomainManager, error)

type LibvirtDomainManager

type LibvirtDomainManager struct {
	// contains filtered or unexported fields
}

func (*LibvirtDomainManager) KillVM

func (*LibvirtDomainManager) RemoveVMSecrets

func (l *LibvirtDomainManager) RemoveVMSecrets(vm *v1.VirtualMachine) error

func (*LibvirtDomainManager) SyncVM

func (*LibvirtDomainManager) SyncVMSecret

func (l *LibvirtDomainManager) SyncVMSecret(vm *v1.VirtualMachine, usageType string, usageID string, secretValue string) error

type MockDomainManager

type MockDomainManager struct {
	// contains filtered or unexported fields
}

Mock of DomainManager interface

func NewMockDomainManager

func NewMockDomainManager(ctrl *gomock.Controller) *MockDomainManager

func (*MockDomainManager) EXPECT

func (_m *MockDomainManager) EXPECT() *_MockDomainManagerRecorder

func (*MockDomainManager) KillVM

func (_m *MockDomainManager) KillVM(_param0 *v1.VirtualMachine) error

func (*MockDomainManager) RemoveVMSecrets

func (_m *MockDomainManager) RemoveVMSecrets(_param0 *v1.VirtualMachine) error

func (*MockDomainManager) SyncVM

func (_m *MockDomainManager) SyncVM(_param0 *v1.VirtualMachine) (*api.DomainSpec, error)

func (*MockDomainManager) SyncVMSecret

func (_m *MockDomainManager) SyncVMSecret(vm *v1.VirtualMachine, usageType string, usageID string, secretValue string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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