check

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdCheck

func NewCmdCheck(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command

NewCmdCheck returns a cobra command for check whether nebula cluster resources are ready

Types

type CheckOptions

type CheckOptions struct {
	Namespace         string
	NebulaClusterName string
	ResourceType      string

	genericclioptions.IOStreams
	// contains filtered or unexported fields
}

func NewCheckOptions

func NewCheckOptions(streams genericclioptions.IOStreams) *CheckOptions

func (*CheckOptions) CheckNebulaCluster

func (o *CheckOptions) CheckNebulaCluster() (string, error)

func (*CheckOptions) CheckPods

func (o *CheckOptions) CheckPods() (string, error)

func (*CheckOptions) Complete

func (o *CheckOptions) Complete(f cmdutil.Factory, args []string) error

Complete completes all the required options

func (*CheckOptions) RunCheck

func (o *CheckOptions) RunCheck() error

RunCheck executes check command

func (*CheckOptions) Validate

func (o *CheckOptions) Validate(cmd *cobra.Command) error

Validate validates the provided options

Jump to

Keyboard shortcuts

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