markautonomous

package
v0.1.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: May 26, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMarkAutonomousCmd

func NewMarkAutonomousCmd() *cobra.Command

NewMarkAutonomousCmd generates a new markautonomous command

Types

type MarkAutonomousOptions

type MarkAutonomousOptions struct {
	*kubernetes.Clientset
	AutonomousNodes  []string
	MarkAllEdgeNodes bool
}

MarkAutonomousOptions has the information that required by convert operation

func NewMarkAutonomousOptions

func NewMarkAutonomousOptions() *MarkAutonomousOptions

NewMarkAutonomousOptions creates a new MarkAutonomousOptions

func (*MarkAutonomousOptions) Complete

func (mao *MarkAutonomousOptions) Complete(flags *pflag.FlagSet) error

Complete completes all the required options

func (*MarkAutonomousOptions) RunMarkAutonomous

func (mao *MarkAutonomousOptions) RunMarkAutonomous() (err error)

RunMarkAutonomous annotates specified edge nodes as autonomous

Jump to

Keyboard shortcuts

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