Documentation
¶
Index ¶
- func AssertBackfillRequestCompleted(t *testing.T, k8sClient client.Client, objectName types.NamespacedName)
- func AssertBackfillRequestNotCompleted(t *testing.T, k8sClient client.Client, objectName types.NamespacedName)
- func AssertCronJobExists(t *testing.T, k8sClient client.Client, name types.NamespacedName, ...)
- func AssertCronJobNotExists(t *testing.T, k8sClient client.Client, name types.NamespacedName)
- func AssertJobConfiguration(t *testing.T, k8sClient client.Client, name types.NamespacedName, ...)
- func AssertJobExists(t *testing.T, k8sClient client.Client, name types.NamespacedName)
- func AssertJobNotExists(t *testing.T, k8sClient client.Client, name types.NamespacedName)
- func AssertStreamDefinitionPhase(t *testing.T, k8sClient client.Client, name types.NamespacedName, ...)
- func Combined(funcs ...func(definition *testv2.MockStreamDefinition)) func(definition *testv2.MockStreamDefinition)
- func CombinedB(funcs ...func(definition *crfake.ClientBuilder)) func(definition *crfake.ClientBuilder)
- func SetupClient(objectName types.NamespacedName, ...) client.Client
- func WithBackfillRequest(n types.NamespacedName) func(definition *crfake.ClientBuilder)
- func WithCompletedJob(n types.NamespacedName) func(definition *crfake.ClientBuilder)
- func WithConsistentCronJob(n types.NamespacedName, hash string) func(definition *crfake.ClientBuilder)
- func WithConsistentJob(n types.NamespacedName, hash string) func(definition *crfake.ClientBuilder)
- func WithFailedJob(n types.NamespacedName) func(definition *crfake.ClientBuilder)
- func WithNamedStreamDefinition(n types.NamespacedName) func(definition *testv2.MockStreamDefinition)
- func WithOutdatedCronJob(n types.NamespacedName) func(definition *crfake.ClientBuilder)
- func WithOutdatedJob(n types.NamespacedName) func(definition *crfake.ClientBuilder)
- func WithPhase(phase stream.Phase) func(definition *testv2.MockStreamDefinition)
- func WithSchedule(schedule string) func(definition *testv2.MockStreamDefinition)
- func WithSuspendedSpec(spec bool) func(definition *testv2.MockStreamDefinition)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertCronJobExists ¶
func AssertCronJobNotExists ¶
func AssertJobConfiguration ¶
func AssertJobExists ¶
func AssertJobNotExists ¶
func Combined ¶
func Combined(funcs ...func(definition *testv2.MockStreamDefinition)) func(definition *testv2.MockStreamDefinition)
func CombinedB ¶
func CombinedB(funcs ...func(definition *crfake.ClientBuilder)) func(definition *crfake.ClientBuilder)
func SetupClient ¶
func SetupClient(objectName types.NamespacedName, definition func(definition *testv2.MockStreamDefinition), addResources func(client2 *crfake.ClientBuilder)) client.Client
func WithBackfillRequest ¶
func WithBackfillRequest(n types.NamespacedName) func(definition *crfake.ClientBuilder)
func WithCompletedJob ¶
func WithCompletedJob(n types.NamespacedName) func(definition *crfake.ClientBuilder)
func WithConsistentCronJob ¶
func WithConsistentCronJob(n types.NamespacedName, hash string) func(definition *crfake.ClientBuilder)
func WithConsistentJob ¶
func WithConsistentJob(n types.NamespacedName, hash string) func(definition *crfake.ClientBuilder)
func WithFailedJob ¶
func WithFailedJob(n types.NamespacedName) func(definition *crfake.ClientBuilder)
func WithNamedStreamDefinition ¶
func WithNamedStreamDefinition(n types.NamespacedName) func(definition *testv2.MockStreamDefinition)
func WithOutdatedCronJob ¶
func WithOutdatedCronJob(n types.NamespacedName) func(definition *crfake.ClientBuilder)
func WithOutdatedJob ¶
func WithOutdatedJob(n types.NamespacedName) func(definition *crfake.ClientBuilder)
func WithSchedule ¶
func WithSchedule(schedule string) func(definition *testv2.MockStreamDefinition)
func WithSuspendedSpec ¶
func WithSuspendedSpec(spec bool) func(definition *testv2.MockStreamDefinition)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.