apiserversource

package
v0.38.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2023 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ApiServerSourceNameKey = "apiServerSourceName"
)

Variables

This section is empty.

Functions

func CreateWithInvalidSpec

func CreateWithInvalidSpec() *feature.Feature

func DataPlane_EventModes

func DataPlane_EventModes() *feature.FeatureSet

func DataPlane_ResourceMatching

func DataPlane_ResourceMatching() *feature.FeatureSet

func DataPlane_SinkTypes

func DataPlane_SinkTypes() *feature.FeatureSet

func GoesReady

func GoesReady(name string) *feature.Feature

GoesReady returns a feature testing if an ApiServerSource becomes ready.

func Install

func Install(name string, cfg ...manifest.CfgFn) *feature.Feature

Install returns a feature creating an ApiServerSource

func SendEventsForLabelExpressionMatchingResources

func SendEventsForLabelExpressionMatchingResources() *feature.Feature

func SendsEventsForAllResources

func SendsEventsForAllResources() *feature.Feature

func SendsEventsForAllResourcesWithEmptyNamespaceSelector added in v0.36.0

func SendsEventsForAllResourcesWithEmptyNamespaceSelector() *feature.Feature

SendsEventsForAllResourcesWithEmptyNamespaceSelector tests an APIServerSource with an empty namespace selector which will target all namespaces

func SendsEventsForAllResourcesWithNamespaceSelector added in v0.36.0

func SendsEventsForAllResourcesWithNamespaceSelector() *feature.Feature

func SendsEventsForLabelMatchingResources

func SendsEventsForLabelMatchingResources() *feature.Feature

func SendsEventsWithEventTypes added in v0.34.0

func SendsEventsWithEventTypes() *feature.Feature

SendsEventsWithEventTypes tests apiserversource to a ready broker.

func SendsEventsWithObjectReferencePayload

func SendsEventsWithObjectReferencePayload() *feature.Feature

func SendsEventsWithResourceEventPayload

func SendsEventsWithResourceEventPayload() *feature.Feature

func SendsEventsWithRetries added in v0.25.0

func SendsEventsWithRetries() *feature.Feature

func SendsEventsWithSinkRef

func SendsEventsWithSinkRef() *feature.Feature

func SendsEventsWithSinkUri

func SendsEventsWithSinkUri() *feature.Feature

func SendsEventsWithTLS added in v0.38.0

func SendsEventsWithTLS() *feature.Feature

func UpdateWithInvalidSpec

func UpdateWithInvalidSpec(name string) *feature.Feature

Types

type SourcesClient

type SourcesClient struct {
	ApiServerSources sourcesclientsetv1.ApiServerSourceInterface
}

func Client

func Client(ctx context.Context) *SourcesClient

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL