enable

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: Apache-2.0 Imports: 16 Imported by: 1

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 ClusterAddonInfo

type ClusterAddonInfo struct {
	ClusterName string
	NameSpace   string
	AddonName   string
	Annotations map[string]string
}

func NewClusterAddonInfo

func NewClusterAddonInfo(cn string, o *Options, an string) (ClusterAddonInfo, error)

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 install
	Namespace string
	//A list of comma separated cluster names
	Clusters []string
	//The file to output the resources will be sent to the file.
	OutputFile string
	//Annotations to add to the addon
	Annotate []string
	//
	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() error

func (*Options) Validate added in v0.3.0

func (o *Options) Validate() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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