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 ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmd ¶
func NewCmd(clusteradmFlags *genericclioptionsclusteradm.ClusteradmFlags, streams genericclioptions.IOStreams) *cobra.Command
NewCmd creates a cammand to create an addon
Types ¶
type Options ¶
type Options struct { //ClusteradmFlags: The generic options from the clusteradm cli-runtime. ClusteradmFlags *genericclioptionsclusteradm.ClusteradmFlags //Name is the addon name Name string // version is the version of the addon Version string Overwrite bool EnableHubRegistration bool // registration only supports clusterRoleBinding with cluster namespace ClusterRoleBindingRef string FileNameFlags genericclioptions.FileNameFlags // Streams genericclioptions.IOStreams }
func NewOptions ¶
func NewOptions(clusteradmFlags *genericclioptionsclusteradm.ClusteradmFlags, streams genericclioptions.IOStreams) *Options
Click to show internal directories.
Click to hide internal directories.