Documentation ¶
Index ¶
- func Creator(c *client.Client, ctx context.Context, namespace, name string) util.Constructor
- func DataSourceSchema() map[string]*schema.Schema
- func DataSourceVirtualMachine() *schema.Resource
- func IsNeedRestart(d *schema.ResourceData, runStrategy kubevirtv1.VirtualMachineRunStrategy) bool
- func ResourceVirtualMachine() *schema.Resource
- func Schema() map[string]*schema.Schema
- func Updater(c *client.Client, ctx context.Context, vm *kubevirtv1.VirtualMachine) util.Constructor
- type Constructor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataSourceSchema ¶ added in v0.3.0
func DataSourceVirtualMachine ¶ added in v0.3.0
func IsNeedRestart ¶ added in v0.5.0
func IsNeedRestart(d *schema.ResourceData, runStrategy kubevirtv1.VirtualMachineRunStrategy) bool
func ResourceVirtualMachine ¶
func Updater ¶
func Updater(c *client.Client, ctx context.Context, vm *kubevirtv1.VirtualMachine) util.Constructor
Types ¶
type Constructor ¶
type Constructor struct { Client *client.Client Context context.Context Builder *builder.VMBuilder }
func (*Constructor) Result ¶
func (c *Constructor) Result() (interface{}, error)
func (*Constructor) Setup ¶
func (c *Constructor) Setup() util.Processors
func (*Constructor) Validate ¶ added in v0.3.0
func (c *Constructor) Validate() error
Source Files ¶
- datasource_virtualmachine.go
- resource_virtualmachine.go
- resource_virtualmachine_constructor.go
- resource_virtualmachine_validator.go
- schema_virtualmachine.go
- schema_virtualmachine_cloudinit.go
- schema_virtualmachine_disk.go
- schema_virtualmachine_input.go
- schema_virtualmachine_network_interface.go
- schema_virtualmachine_tpm.go
Click to show internal directories.
Click to hide internal directories.