app

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2025 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command() *cobra.Command

func Run

func Run(ctx context.Context, opts Options) error

func RunGRPCServer

func RunGRPCServer(ctx context.Context, setupLog, log logr.Logger, srv *server.Server, address string) error

Types

type MachineClass

type MachineClass struct {
	Name        string
	Cpu         int64
	MemoryBytes int64
}

type MachineClassOptions

type MachineClassOptions []MachineClass

func (*MachineClassOptions) Set

func (ml *MachineClassOptions) Set(value string) error

func (*MachineClassOptions) String

func (ml *MachineClassOptions) String() string

func (*MachineClassOptions) Type

func (ml *MachineClassOptions) Type() string

type Options

type Options struct {
	Address string

	RootDir         string
	MachineStoreDir string

	MachineClasses MachineClassOptions

	CloudHypervisorSocketsPath  string
	CloudHypervisorFirmwarePath string

	QMPSocketPath string

	NicPlugin *options.Options
}

func (*Options) AddFlags

func (o *Options) AddFlags(fs *pflag.FlagSet)

Jump to

Keyboard shortcuts

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