register

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupRegisterClusterCmd

func SetupRegisterClusterCmd(cmd *cobra.Command, streams genericclioptions.IOStreams)

Types

type NonRecoverableError

type NonRecoverableError struct {
	Message string
}

func NonRecoverable

func NonRecoverable(err string) NonRecoverableError

func (NonRecoverableError) Error

func (e NonRecoverableError) Error() string

type RegistrationExecutor

type RegistrationExecutor struct {
	DestinationName    string
	SourceKubeconfig   string
	DestKubeconfig     string
	SourceContext      string
	DestContext        string
	SourceNamespace    string
	DestNamespace      string
	ServiceAccount     string
	OverrideSourceIP   string
	OverrideSourcePort string
	Context            context.Context
}

func NewRegistrationExecutorFromRegisterClusterCmd

func NewRegistrationExecutorFromRegisterClusterCmd(cmd cobra.Command) *RegistrationExecutor

func (*RegistrationExecutor) RegisterCluster

func (e *RegistrationExecutor) RegisterCluster() error

Jump to

Keyboard shortcuts

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