app

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2026 License: Apache-2.0 Imports: 50 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 added in v0.3.0

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

Types

type GuestAgentOption

type GuestAgentOption api.GuestAgent

func (*GuestAgentOption) GetAPIGuestAgent

func (g *GuestAgentOption) GetAPIGuestAgent() api.GuestAgent

func (*GuestAgentOption) Set

func (g *GuestAgentOption) Set(value string) error

func (*GuestAgentOption) String

func (g *GuestAgentOption) String() string

func (*GuestAgentOption) Type

func (g *GuestAgentOption) Type() string

type HTTPServerOptions

type HTTPServerOptions struct {
	Addr            string
	GracefulTimeout time.Duration
}

type LibvirtOptions

type LibvirtOptions struct {
	Socket  string
	Address string
	URI     string

	PreferredDomainTypes  []string
	PreferredMachineTypes []string

	Qcow2Type string
}

type Options

type Options struct {
	Address          string
	StreamingAddress string
	BaseURL          string

	Servers ServersOptions

	RootDir string

	PathSupportedMachineClasses string

	EnableHugepages bool

	GuestAgent GuestAgentOption

	Libvirt   LibvirtOptions
	NicPlugin *networkinterfaceplugin.Options

	GCVMGracefulShutdownTimeout        time.Duration
	ResyncIntervalGarbageCollector     time.Duration
	EventListWatchSourceResyncDuration time.Duration

	MachineEventStore recorder.EventStoreOptions

	VolumeCachePolicy string
}

func (*Options) AddFlags

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

func (*Options) MarkFlagsRequired

func (o *Options) MarkFlagsRequired(cmd *cobra.Command)

type ServersOptions

type ServersOptions struct {
	Metrics     HTTPServerOptions
	HealthCheck HTTPServerOptions
}

Jump to

Keyboard shortcuts

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