cli

package
v0.0.0-...-3376388 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IpxeBin

func IpxeBin() *ffcli.Command

IpxeBin returns the CLI command for the ipxe CLI app.

func RegisterFlags

func RegisterFlags(cfg *Config, fs *flag.FlagSet)

RegisterFlags registers the flags for the ipxe CLI app.

Types

type Config

type Config struct {
	TFTPAddr string
	HTTPAddr string
	LogLevel string
	Log      logr.Logger
}

Config is the configuration for the ipxe CLI.

func (*Config) Exec

func (f *Config) Exec(ctx context.Context, _ []string) error

Exec is the main entry point for the ipxe CLI app.

Jump to

Keyboard shortcuts

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