kubevirt

package
v0.1.45 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindDeveloperOptions added in v0.1.38

func BindDeveloperOptions(opts *RawKubevirtPlatformCreateOptions, flags *pflag.FlagSet)

func BindOptions added in v0.1.38

func BindOptions(opts *RawKubevirtPlatformCreateOptions, flags *pflag.FlagSet)

func NewCreateCommand

func NewCreateCommand(coreOpts *core.CreateNodePoolOptions) *cobra.Command

Types

type HostDevicesOpts added in v0.1.40

type HostDevicesOpts struct {
	Name  string `param:"name"`
	Count int    `param:"count"`
}

type KubevirtPlatformCreateOptions

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

func (*KubevirtPlatformCreateOptions) NodePoolPlatform added in v0.1.38

func (*KubevirtPlatformCreateOptions) Type

func (*KubevirtPlatformCreateOptions) UpdateNodePool

type KubevirtPlatformOptions added in v0.1.38

type KubevirtPlatformOptions struct {
	Memory                 string
	Cores                  uint32
	ContainerDiskImage     string
	RootVolumeSize         uint32
	RootVolumeStorageClass string
	RootVolumeAccessModes  string
	RootVolumeVolumeMode   string
	CacheStrategyType      string

	AttachDefaultNetwork *bool
	VmNodeSelector       map[string]string
}

type NetworkOpts added in v0.1.38

type NetworkOpts struct {
	Name string `param:"name"`
}

type RawKubevirtPlatformCreateOptions added in v0.1.38

type RawKubevirtPlatformCreateOptions struct {
	*KubevirtPlatformOptions
	NetworkInterfaceMultiQueue string
	QoSClass                   string
	AdditionalNetworks         []string
	HostDevices                []string
}

func DefaultOptions added in v0.1.38

func DefaultOptions() *RawKubevirtPlatformCreateOptions

func (*RawKubevirtPlatformCreateOptions) Validate added in v0.1.38

type ValidatedKubevirtPlatformCreateOptions added in v0.1.38

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

func (*ValidatedKubevirtPlatformCreateOptions) Complete added in v0.1.38

Jump to

Keyboard shortcuts

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