Documentation ¶
Index ¶
- Constants
- type HookSidecar
- type HookSidecarList
- type Manager
- func (m *Manager) Collect(numberOfRequestedHookSidecars uint, timeout time.Duration) error
- func (m *Manager) OnDefineDomain(domainSpec *virtwrapApi.DomainSpec, vmi *v1.VirtualMachineInstance) (string, error)
- func (m *Manager) PreCloudInitIso(vmi *v1.VirtualMachineInstance, cloudInitData *cloudinit.CloudInitData) (*cloudinit.CloudInitData, error)
Constants ¶
View Source
const HookSidecarListAnnotationName = "hooks.kubevirt.io/hookSidecars"
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"` Command []string `json:"command,omitempty"` Args []string `json:"args,omitempty"` }
type HookSidecarList ¶
type HookSidecarList []HookSidecar
func UnmarshalHookSidecarList ¶
func UnmarshalHookSidecarList(vmiObject *v1.VirtualMachineInstance) (HookSidecarList, error)
type Manager ¶
type Manager struct { CallbacksPerHookPoint map[string][]*callBackClient // contains filtered or unexported fields }
func GetManager ¶
func GetManager() *Manager
func (*Manager) OnDefineDomain ¶
func (m *Manager) OnDefineDomain(domainSpec *virtwrapApi.DomainSpec, vmi *v1.VirtualMachineInstance) (string, error)
func (*Manager) PreCloudInitIso ¶ added in v0.15.0
func (m *Manager) PreCloudInitIso(vmi *v1.VirtualMachineInstance, cloudInitData *cloudinit.CloudInitData) (*cloudinit.CloudInitData, error)
Directories ¶
Path | Synopsis |
---|---|
Package kubevirt_hooks_info is a generated protocol buffer package.
|
Package kubevirt_hooks_info is a generated protocol buffer package. |
Package kubevirt_hooks_v1alpha1 is a generated protocol buffer package.
|
Package kubevirt_hooks_v1alpha1 is a generated protocol buffer package. |
Package kubevirt_hooks_v1alpha2 is a generated protocol buffer package.
|
Package kubevirt_hooks_v1alpha2 is a generated protocol buffer package. |
Click to show internal directories.
Click to hide internal directories.