node

package
v0.26.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDeleteCommand

func NewDeleteCommand(globalFlags *flags.GlobalFlags) *cobra.Command

func NewLoadImageCommand

func NewLoadImageCommand(globalFlags *flags.GlobalFlags) *cobra.Command

func NewNodeCmd

func NewNodeCmd(globalFlags *flags.GlobalFlags) *cobra.Command

func NewUpgradeCommand

func NewUpgradeCommand(globalFlags *flags.GlobalFlags) *cobra.Command

Types

type DeleteOptions

type DeleteOptions struct {
	*flags.GlobalFlags

	Drain bool

	Log log.Logger
}

func (*DeleteOptions) Run

func (o *DeleteOptions) Run(ctx context.Context, args []string) error

type LoadImageOptions

type LoadImageOptions struct {
	*flags.GlobalFlags

	Image   string
	Archive string

	PodImage string

	Log log.Logger
}

func (*LoadImageOptions) Run

func (o *LoadImageOptions) Run(ctx context.Context, nodeName string) error

type UpgradeOptions

type UpgradeOptions struct {
	*flags.GlobalFlags

	Log log.Logger

	BinariesPath     string
	CNIBinariesPath  string
	BundleRepository string

	Image           string
	ImagePullPolicy string
}

func (*UpgradeOptions) Run

func (o *UpgradeOptions) Run(ctx context.Context, args []string) error

Jump to

Keyboard shortcuts

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