Documentation ¶
Overview ¶
Copyright Contributors to the Open Cluster Management project
Copyright Contributors to the Open Cluster Management project ¶
Copyright Contributors to the Open Cluster Management project
Index ¶
- func ApplyAddon(addonClient addonclientset.Interface, addon *addonv1alpha1.ManagedClusterAddOn) error
- func NewClusterAddonInfo(cn string, o *Options, an string) (*addonv1alpha1.ManagedClusterAddOn, error)
- func NewCmd(clusteradmFlags *genericclioptionsclusteradm.ClusteradmFlags, ...) *cobra.Command
- type ClusterAddonInfo
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyAddon ¶ added in v0.6.0
func ApplyAddon(addonClient addonclientset.Interface, addon *addonv1alpha1.ManagedClusterAddOn) error
func NewClusterAddonInfo ¶
func NewClusterAddonInfo(cn string, o *Options, an string) (*addonv1alpha1.ManagedClusterAddOn, error)
func NewCmd ¶
func NewCmd(clusteradmFlags *genericclioptionsclusteradm.ClusteradmFlags, streams genericclioptions.IOStreams) *cobra.Command
NewCmd...
Types ¶
type ClusterAddonInfo ¶
type Options ¶
type Options struct { //ClusteradmFlags: The generic options from the clusteradm cli-runtime. ClusteradmFlags *genericclioptionsclusteradm.ClusteradmFlags // ClusterOptions is the option for setting clusters ClusterOptions *genericclioptionsclusteradm.ClusterOption //A list of comma separated addon names Names []string //The specified namespace for addon to install Namespace 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
Click to show internal directories.
Click to hide internal directories.