hooks

package
v0.13.6 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2019 License: Apache-2.0 Imports: 17 Imported by: 18

Documentation

Index

Constants

View Source
const HookSidecarListAnnotationName = "hooks.kubevirt.io/hookSidecars"
View Source
const HookSocketsSharedDirectory = "/var/run/kubevirt-hooks"

Variables

This section is empty.

Functions

This section is empty.

Types

type HookSidecar

type HookSidecar struct {
	Image           string           `json:"image"`
	ImagePullPolicy k8sv1.PullPolicy `json:"imagePullPolicy"`
}

type HookSidecarList

type HookSidecarList []HookSidecar

func UnmarshalHookSidecarList

func UnmarshalHookSidecarList(vmiObject *v1.VirtualMachineInstance) (HookSidecarList, error)

type Manager

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

func GetManager

func GetManager() *Manager

func (*Manager) Collect

func (m *Manager) Collect(numberOfRequestedHookSidecars uint, timeout time.Duration) error

func (*Manager) OnDefineDomain

func (m *Manager) OnDefineDomain(domainSpec *virtwrapApi.DomainSpec, vmi *v1.VirtualMachineInstance) (string, error)

Directories

Path Synopsis
Package info is a generated protocol buffer package.
Package info is a generated protocol buffer package.
Package v1alpha is a generated protocol buffer package.
Package v1alpha is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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