Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCleanupCertTask ¶
NewCleanupCertTask init a task to cleanup certs
func NewCleanupKubeconfigTask ¶
NewCleanupKubeconfigTask init a task to cleanup kubeconfig
Types ¶
type DeInitData ¶
type DeInitData interface { GetName() string GetNamespace() string RemoteClient() clientset.Interface }
DeInitData is interface to operate the runData of DeInitData workflow
type MyTestData ¶ added in v1.12.0
type MyTestData struct {
Data string
}
MyTestData is a struct that implements the TestInterface.
func (*MyTestData) Get ¶ added in v1.12.0
func (m *MyTestData) Get() string
Get returns the data stored in the MyTestData struct.
type TestDeInitData ¶ added in v1.12.0
type TestDeInitData struct {
// contains filtered or unexported fields
}
TestDeInitData contains the configuration and state required to deinitialize Karmada components.
func (*TestDeInitData) GetName ¶ added in v1.12.0
func (t *TestDeInitData) GetName() string
GetName returns the name of the current Karmada installation.
func (*TestDeInitData) GetNamespace ¶ added in v1.12.0
func (t *TestDeInitData) GetNamespace() string
GetNamespace returns the namespace of the current Karmada installation.
func (*TestDeInitData) RemoteClient ¶ added in v1.12.0
func (t *TestDeInitData) RemoteClient() clientset.Interface
RemoteClient returns the Kubernetes client for remote interactions.
type TestInterface ¶ added in v1.12.0
type TestInterface interface { // Get returns the data from the test instance. Get() string }
TestInterface defines the interface for retrieving test data.