testing

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestFactory

type TestFactory struct {
	*cmdtesting.TestFactory
}

TestFactory extends cmdutil.Factory

func NewTestFactory

func NewTestFactory() *TestFactory

NewTestFactory returns an initialized TestFactory instance

func (*TestFactory) FactoryForMemberCluster

func (t *TestFactory) FactoryForMemberCluster(_ string) (cmdutil.Factory, error)

FactoryForMemberCluster returns a cmdutil.Factory for the member cluster

func (*TestFactory) KarmadaClientSet

func (t *TestFactory) KarmadaClientSet() (versioned.Interface, error)

KarmadaClientSet returns a karmada clientset

Jump to

Keyboard shortcuts

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