Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the routing/v1alpha1 API group.
+k8s:deepcopy-gen=package +groupName=routing.typhoon.zeiss.com
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type CloudEventContext
- type Filter
- func (f *Filter) AsEventSource() string
- func (in *Filter) DeepCopy() *Filter
- func (in *Filter) DeepCopyInto(out *Filter)
- func (in *Filter) DeepCopyObject() runtime.Object
- func (f *Filter) GetAdapterOverrides() *v1alpha1.AdapterOverrides
- func (*Filter) GetConditionSet() apis.ConditionSet
- func (*Filter) GetEventTypes() []string
- func (*Filter) GetGroupVersionKind() schema.GroupVersionKind
- func (f *Filter) GetSink() *duckv1.Destination
- func (f *Filter) GetStatus() *duckv1.Status
- func (f *Filter) GetStatusManager() *v1alpha1.StatusManager
- func (*Filter) IsMultiTenant() bool
- func (f *Filter) SetDefaults(ctx context.Context)
- func (f *Filter) Validate(ctx context.Context) *apis.FieldError
- type FilterList
- type FilterSpec
- type Splitter
- func (s *Splitter) AsEventSource() string
- func (in *Splitter) DeepCopy() *Splitter
- func (in *Splitter) DeepCopyInto(out *Splitter)
- func (in *Splitter) DeepCopyObject() runtime.Object
- func (s *Splitter) GetAdapterOverrides() *v1alpha1.AdapterOverrides
- func (*Splitter) GetConditionSet() apis.ConditionSet
- func (*Splitter) GetEventTypes() []string
- func (*Splitter) GetGroupVersionKind() schema.GroupVersionKind
- func (s *Splitter) GetSink() *duckv1.Destination
- func (s *Splitter) GetStatus() *duckv1.Status
- func (s *Splitter) GetStatusManager() *v1alpha1.StatusManager
- func (*Splitter) IsMultiTenant() bool
- func (s *Splitter) SetDefaults(ctx context.Context)
- func (s *Splitter) Validate(ctx context.Context) *apis.FieldError
- type SplitterList
- type SplitterSpec
Constants ¶
const (
FilterGenericEventType = "com.zeiss.routing.filter"
)
Supported event types
const (
SplitterGenericEventType = "com.zeiss.routing.splitter"
)
Supported event types
Variables ¶
var ( // SchemeBuilder creates a Scheme builder that is used to register types for this custom API. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme registers the types stored in SchemeBuilder. AddToScheme = SchemeBuilder.AddToScheme )
var AllTypes = []v1alpha1.GroupObject{ {Single: &Filter{}, List: &FilterList{}}, {Single: &Splitter{}, List: &SplitterList{}}, }
AllTypes is a list of all the types defined in this package.
var SchemeGroupVersion = schema.GroupVersion{Group: routing.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type CloudEventContext ¶
type CloudEventContext struct { Type string `json:"type"` Source string `json:"source"` Extensions map[string]string `json:"extensions"` }
CloudEventContext declares context attributes that will be propagated to resulting events.
func (*CloudEventContext) DeepCopy ¶
func (in *CloudEventContext) DeepCopy() *CloudEventContext
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudEventContext.
func (*CloudEventContext) DeepCopyInto ¶
func (in *CloudEventContext) DeepCopyInto(out *CloudEventContext)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Filter ¶
type Filter struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FilterSpec `json:"spec,omitempty"` Status v1alpha1.Status `json:"status,omitempty"` }
Filter is an addressable object that filters incoming events according to provided Common Language Expression
func (*Filter) AsEventSource ¶
AsEventSource implements EventSource.
func (*Filter) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Filter.
func (*Filter) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Filter) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Filter) GetAdapterOverrides ¶
func (f *Filter) GetAdapterOverrides() *v1alpha1.AdapterOverrides
GetAdapterOverrides implements AdapterConfigurable.
func (*Filter) GetConditionSet ¶
func (*Filter) GetConditionSet() apis.ConditionSet
GetConditionSet implements duckv1.KRShaped.
func (*Filter) GetEventTypes ¶
GetEventTypes implements EventSource.
func (*Filter) GetGroupVersionKind ¶
func (*Filter) GetGroupVersionKind() schema.GroupVersionKind
GetGroupVersionKind implements kmeta.OwnerRefable
func (*Filter) GetSink ¶
func (f *Filter) GetSink() *duckv1.Destination
GetSink implements EventSender.
func (*Filter) GetStatusManager ¶
func (f *Filter) GetStatusManager() *v1alpha1.StatusManager
GetStatusManager implements Reconcilable.
func (*Filter) IsMultiTenant ¶
IsMultiTenant implements MultiTenant.
func (*Filter) SetDefaults ¶
SetDefaults implements apis.Defaultable
type FilterList ¶
type FilterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Filter `json:"items"` }
FilterList is a list of component instances.
func (*FilterList) DeepCopy ¶
func (in *FilterList) DeepCopy() *FilterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterList.
func (*FilterList) DeepCopyInto ¶
func (in *FilterList) DeepCopyInto(out *FilterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FilterList) DeepCopyObject ¶
func (in *FilterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FilterSpec ¶
type FilterSpec struct { Expression string `json:"expression"` // Sink is a reference to an object that will resolve to a domain name to use as the sink. Sink *duckv1.Destination `json:"sink"` // Adapter spec overrides parameters. // +optional AdapterOverrides *v1alpha1.AdapterOverrides `json:"adapterOverrides,omitempty"` }
FilterSpec defines the desired state of the component.
func (*FilterSpec) DeepCopy ¶
func (in *FilterSpec) DeepCopy() *FilterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterSpec.
func (*FilterSpec) DeepCopyInto ¶
func (in *FilterSpec) DeepCopyInto(out *FilterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FilterSpec) Validate ¶
func (fs *FilterSpec) Validate(ctx context.Context) *apis.FieldError
Validate implements apis.Validatable
type Splitter ¶
type Splitter struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SplitterSpec `json:"spec,omitempty"` Status v1alpha1.Status `json:"status,omitempty"` }
Splitter is an addressable object that splits incoming events according to provided specification.
func (*Splitter) AsEventSource ¶
AsEventSource implements EventSource.
func (*Splitter) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Splitter.
func (*Splitter) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Splitter) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Splitter) GetAdapterOverrides ¶
func (s *Splitter) GetAdapterOverrides() *v1alpha1.AdapterOverrides
GetAdapterOverrides implements AdapterConfigurable.
func (*Splitter) GetConditionSet ¶
func (*Splitter) GetConditionSet() apis.ConditionSet
GetConditionSet implements duckv1.KRShaped.
func (*Splitter) GetEventTypes ¶
GetEventTypes implements EventSource.
func (*Splitter) GetGroupVersionKind ¶
func (*Splitter) GetGroupVersionKind() schema.GroupVersionKind
GetGroupVersionKind implements kmeta.OwnerRefable
func (*Splitter) GetSink ¶
func (s *Splitter) GetSink() *duckv1.Destination
GetSink implements EventSender.
func (*Splitter) GetStatusManager ¶
func (s *Splitter) GetStatusManager() *v1alpha1.StatusManager
GetStatusManager implements Reconcilable.
func (*Splitter) IsMultiTenant ¶
IsMultiTenant implements MultiTenant.
func (*Splitter) SetDefaults ¶
SetDefaults implements apis.Defaultable
type SplitterList ¶
type SplitterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Splitter `json:"items"` }
SplitterList is a list of component instances.
func (*SplitterList) DeepCopy ¶
func (in *SplitterList) DeepCopy() *SplitterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SplitterList.
func (*SplitterList) DeepCopyInto ¶
func (in *SplitterList) DeepCopyInto(out *SplitterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SplitterList) DeepCopyObject ¶
func (in *SplitterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SplitterSpec ¶
type SplitterSpec struct { Path string `json:"path"` CEContext CloudEventContext `json:"ceContext"` Sink *duckv1.Destination `json:"sink"` // Adapter spec overrides parameters. // +optional AdapterOverrides *v1alpha1.AdapterOverrides `json:"adapterOverrides,omitempty"` }
SplitterSpec defines the desired state of the component.
func (*SplitterSpec) DeepCopy ¶
func (in *SplitterSpec) DeepCopy() *SplitterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SplitterSpec.
func (*SplitterSpec) DeepCopyInto ¶
func (in *SplitterSpec) DeepCopyInto(out *SplitterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SplitterSpec) Validate ¶
func (ss *SplitterSpec) Validate(ctx context.Context) *apis.FieldError
Validate implements apis.Validatable