app

package
v0.0.0-...-bea6086 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 48 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

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
	ResyncIntervalVolumeSize    time.Duration

	ApinetKubeconfig string

	EnableHugepages bool

	GuestAgent GuestAgentOption

	Libvirt   LibvirtOptions
	NicPlugin *networkinterfaceplugin.Options

	GCVMGracefulShutdownTimeout    time.Duration
	ResyncIntervalGarbageCollector time.Duration
}

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
}

Jump to

Keyboard shortcuts

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