create

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

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 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 (*Options) Run

func (o *Options) Run() error

func (*Options) Validate

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

Jump to

Keyboard shortcuts

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