virtualmachine

package
v0.6.6 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Creator

func Creator(c *client.Client, ctx context.Context, namespace, name string) util.Constructor

func DataSourceSchema added in v0.3.0

func DataSourceSchema() map[string]*schema.Schema

func DataSourceVirtualMachine added in v0.3.0

func DataSourceVirtualMachine() *schema.Resource

func IsNeedRestart added in v0.5.0

func IsNeedRestart(d *schema.ResourceData, runStrategy kubevirtv1.VirtualMachineRunStrategy) bool

func ResourceVirtualMachine

func ResourceVirtualMachine() *schema.Resource

func Schema

func Schema() map[string]*schema.Schema

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

Jump to

Keyboard shortcuts

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