Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config func(*Configs)
func WithCertsDir ¶
func WithIssuerName ¶
func WithNodeUtilsImage ¶
func WithWorkerCount ¶
type TestFramework ¶
type TestFramework struct {
RestCfg *rest.Config
Client client.Client
KubeClient *kubernetes.Clientset
Env *envtest.Environment
Cfg *Configs
Ctx context.Context
}
func (*TestFramework) Context ¶
func (tf *TestFramework) Context() context.Context
func (*TestFramework) CreateRandomNamespace ¶
func (tf *TestFramework) CreateRandomNamespace() (*corev1.Namespace, error)
func (*TestFramework) DeleteNamespace ¶
func (tf *TestFramework) DeleteNamespace(ns *corev1.Namespace) error
func (*TestFramework) RunManager ¶
func (tf *TestFramework) RunManager() error
func (*TestFramework) TearDown ¶
func (tf *TestFramework) TearDown() error
Click to show internal directories.
Click to hide internal directories.