Documentation ¶
Overview ¶
Copyright Contributors to the Open Cluster Management project
Copyright Contributors to the Open Cluster Management project ¶
Copyright Contributors to the Open Cluster Management project ¶
Copyright Contributors to the Open Cluster Management project ¶
Copyright Contributors to the Open Cluster Management project
Index ¶
- func CleanupTestImagePullCredentialFile(fileName string)
- func DeleteClusterCSRs(restcfg *rest.Config) error
- func DeleteClusterFinalizers(restcfg *rest.Config) error
- func NewTestImagePullCredentialFile(fileName string) string
- func ValidateImagePullSecret(kubeClient kubernetes.Interface, expectedCred string, namespace string) error
- func WaitForManagedClusterAvailableStatusToChange(restcfg *rest.Config, clusterName string) error
- func WaitNamespaceDeleted(restcfg *rest.Config, namespace string) error
- type HandledOutput
- type TestE2eConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanupTestImagePullCredentialFile ¶ added in v0.9.0
func CleanupTestImagePullCredentialFile(fileName string)
func DeleteClusterCSRs ¶ added in v0.3.1
func DeleteClusterFinalizers ¶ added in v0.5.0
func NewTestImagePullCredentialFile ¶ added in v0.9.0
func ValidateImagePullSecret ¶ added in v0.9.0
func ValidateImagePullSecret(kubeClient kubernetes.Interface, expectedCred string, namespace string) error
func WaitForManagedClusterAvailableStatusToChange ¶ added in v0.8.3
Types ¶
type HandledOutput ¶
type HandledOutput struct {
// contains filtered or unexported fields
}
func (*HandledOutput) RawCommand ¶
func (h *HandledOutput) RawCommand() string
RawCommand return the clusteradm join command
type TestE2eConfig ¶
type TestE2eConfig struct { Kubeconfigpath string ClearEnv func() error // contains filtered or unexported fields }
func NewTestE2eConfig ¶
func PrepareE2eEnvironment ¶
func PrepareE2eEnvironment() (*TestE2eConfig, error)
PrepareE2eEnvironment will init the e2e environment and join managedcluster1 to hub.
func (*TestE2eConfig) Cluster ¶
func (tec *TestE2eConfig) Cluster() *clusterValues
func (*TestE2eConfig) Clusteradm ¶
func (tec *TestE2eConfig) Clusteradm() clusteradmInterface
func (*TestE2eConfig) CommandResult ¶
func (tec *TestE2eConfig) CommandResult() *HandledOutput
func (*TestE2eConfig) ResetEnv ¶
func (tec *TestE2eConfig) ResetEnv() error
Click to show internal directories.
Click to hide internal directories.