Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KnDynamicClient ¶
type KnDynamicClient interface { // Namespace in which this client is operating for Namespace() string // ListCRDs returns list of CRDs with their type and name ListCRDs(options metav1.ListOptions) (*unstructured.UnstructuredList, error) // ListSourceCRDs returns list of eventing sources CRDs ListSourcesTypes() (*unstructured.UnstructuredList, error) // ListSources returns list of available source objects ListSources(types ...WithType) (*unstructured.UnstructuredList, error) // RawClient returns the raw dynamic client interface RawClient() dynamic.Interface }
KnDynamicClient to client-go Dynamic client. All methods are relative to the namespace specified during construction
func NewKnDynamicClient ¶
func NewKnDynamicClient(client dynamic.Interface, namespace string) KnDynamicClient
NewKnDynamicClient is to invoke Eventing Sources Client API to create object
type TypesFilter ¶ added in v0.13.0
type TypesFilter []string
TypesFilter for keeping list of sources types to filter upo
type WithType ¶ added in v0.13.0
type WithType func(filters *TypesFilter)
WithType function for easy filtering on source types
func WithTypeFilter ¶ added in v0.13.0
WithTypeFilter can be used to filter based on source type name
Click to show internal directories.
Click to hide internal directories.