disable

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: Apache-2.0 Imports: 15 Imported by: 2

Documentation

Overview

Copyright Contributors to the Open Cluster Management project

Copyright Contributors to the Open Cluster Management project

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

NewCmd...

Types

type Options

type Options struct {
	//ClusteradmFlags: The generic options from the clusteradm cli-runtime.
	ClusteradmFlags *genericclioptionsclusteradm.ClusteradmFlags
	//A list of comma separated addon names
	Names []string
	//The specified namespace for addon to disable
	Namespace string
	//A list of comma separated cluster names
	Clusters []string
	//A bool value shows whether specified add-on will be disable in all managed clusters.
	Allclusters bool

	Streams genericclioptions.IOStreams
}

func NewOptions added in v0.3.0

func NewOptions(clusteradmFlags *genericclioptionsclusteradm.ClusteradmFlags, streams genericclioptions.IOStreams) *Options

func (*Options) Run added in v0.3.0

func (o *Options) Run() (err error)

func (*Options) Validate added in v0.3.0

func (o *Options) Validate() (err error)

Jump to

Keyboard shortcuts

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