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
Click to show internal directories.
Click to hide internal directories.