Documentation ¶
Index ¶
- func NewMattermostInstance(t *testing.T, k8sClient client.Client, mattermost *mmv1beta.Mattermost) *mattermostInstance
- func WaitForMattermostStable(t *testing.T, k8sClient client.Client, mmKey types.NamespacedName, ...) error
- func WaitForMattermostToReconcile(t *testing.T, k8sClient client.Client, mmKey types.NamespacedName, ...) error
- type TestEnvironment
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMattermostInstance ¶ added in v1.19.0
func WaitForMattermostStable ¶
Types ¶
type TestEnvironment ¶
type TestEnvironment struct { TestEnv *envtest.Environment Cfg *rest.Config K8sClient client.Client }
func SetupTest ¶
func SetupTest() (TestEnvironment, error)
Click to show internal directories.
Click to hide internal directories.