Documentation ¶
Index ¶
- Constants
- type ConfigMap
- type HookSidecar
- type HookSidecarList
- type Manager
- type MockManager
- func (_m *MockManager) Collect(_param0 uint, _param1 time.Duration) error
- func (_m *MockManager) EXPECT() *_MockManagerRecorder
- func (_m *MockManager) OnDefineDomain(_param0 *api.DomainSpec, _param1 *v1.VirtualMachineInstance) (string, error)
- func (_m *MockManager) PreCloudInitIso(_param0 *v1.VirtualMachineInstance, _param1 *cloud_init.CloudInitData) (*cloud_init.CloudInitData, error)
- func (_m *MockManager) Shutdown() error
- type PVC
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,omitempty"` ImagePullPolicy k8sv1.PullPolicy `json:"imagePullPolicy"` Command []string `json:"command,omitempty"` Args []string `json:"args,omitempty"` ConfigMap *ConfigMap `json:"configMap,omitempty"` PVC *PVC `json:"pvc,omitempty"` DownwardAPI v1.NetworkBindingDownwardAPIType `json:"-"` }
type HookSidecarList ¶
type HookSidecarList []HookSidecar
func UnmarshalHookSidecarList ¶
func UnmarshalHookSidecarList(vmiObject *v1.VirtualMachineInstance) (HookSidecarList, error)
type Manager ¶
type Manager interface { Collect(uint, time.Duration) error OnDefineDomain(*virtwrapApi.DomainSpec, *v1.VirtualMachineInstance) (string, error) PreCloudInitIso(*v1.VirtualMachineInstance, *cloudinit.CloudInitData) (*cloudinit.CloudInitData, error) Shutdown() error }
func GetManager ¶
func GetManager() Manager
type MockManager ¶ added in v0.57.0
type MockManager struct {
// contains filtered or unexported fields
}
Mock of Manager interface
func NewMockManager ¶ added in v0.57.0
func NewMockManager(ctrl *gomock.Controller) *MockManager
func (*MockManager) Collect ¶ added in v0.57.0
func (_m *MockManager) Collect(_param0 uint, _param1 time.Duration) error
func (*MockManager) EXPECT ¶ added in v0.57.0
func (_m *MockManager) EXPECT() *_MockManagerRecorder
func (*MockManager) OnDefineDomain ¶ added in v0.57.0
func (_m *MockManager) OnDefineDomain(_param0 *api.DomainSpec, _param1 *v1.VirtualMachineInstance) (string, error)
func (*MockManager) PreCloudInitIso ¶ added in v0.57.0
func (_m *MockManager) PreCloudInitIso(_param0 *v1.VirtualMachineInstance, _param1 *cloud_init.CloudInitData) (*cloud_init.CloudInitData, error)
func (*MockManager) Shutdown ¶ added in v1.2.0
func (_m *MockManager) Shutdown() error
Directories ¶
Path | Synopsis |
---|---|
Package info is a generated protocol buffer package.
|
Package info is a generated protocol buffer package. |
Package v1alpha1 is a generated protocol buffer package.
|
Package v1alpha1 is a generated protocol buffer package. |
Package v1alpha2 is a generated protocol buffer package.
|
Package v1alpha2 is a generated protocol buffer package. |
Package v1alpha3 is a generated protocol buffer package.
|
Package v1alpha3 is a generated protocol buffer package. |
Click to show internal directories.
Click to hide internal directories.