Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the flow/v1alpha1 API group.
+k8s:deepcopy-gen=package +groupName=flow.triggermesh.io
Index ¶
- Constants
- Variables
- func IsMultiTenant(r Reconcilable) bool
- func Kind(kind string) schema.GroupKind
- func NewTargetConditionSet(cts ...apis.ConditionType) apis.ConditionSet
- func Resource(resource string) schema.GroupResource
- func ServiceAccountOptions(r Reconcilable) []resource.ServiceAccountOption
- func WantsOwnServiceAccount(r Reconcilable) bool
- func WithReconcilable(ctx context.Context, r Reconcilable) context.Context
- type CloudEventStatus
- type Correlation
- type DataWeaveTransformation
- func (in *DataWeaveTransformation) DeepCopy() *DataWeaveTransformation
- func (in *DataWeaveTransformation) DeepCopyInto(out *DataWeaveTransformation)
- func (in *DataWeaveTransformation) DeepCopyObject() runtime.Object
- func (t *DataWeaveTransformation) GetConditionSet() apis.ConditionSet
- func (*DataWeaveTransformation) GetGroupVersionKind() schema.GroupVersionKind
- func (t *DataWeaveTransformation) GetSink() *duckv1.Destination
- func (t *DataWeaveTransformation) GetStatus() *duckv1.Status
- func (t *DataWeaveTransformation) GetStatusManager() *StatusManager
- type DataWeaveTransformationList
- type DataWeaveTransformationSpec
- type EventOptions
- type EventReceiver
- type EventSender
- type EventSource
- type JQTransformation
- func (in *JQTransformation) DeepCopy() *JQTransformation
- func (in *JQTransformation) DeepCopyInto(out *JQTransformation)
- func (in *JQTransformation) DeepCopyObject() runtime.Object
- func (t *JQTransformation) GetConditionSet() apis.ConditionSet
- func (*JQTransformation) GetGroupVersionKind() schema.GroupVersionKind
- func (t *JQTransformation) GetSink() *duckv1.Destination
- func (t *JQTransformation) GetStatus() *duckv1.Status
- func (t *JQTransformation) GetStatusManager() *StatusManager
- type JQTransformationList
- type JQTransformationSpec
- type JQTransformationStatus
- type Path
- type Reconcilable
- type Response
- type StatusManager
- type Synchronizer
- func (in *Synchronizer) DeepCopy() *Synchronizer
- func (in *Synchronizer) DeepCopyInto(out *Synchronizer)
- func (in *Synchronizer) DeepCopyObject() runtime.Object
- func (t *Synchronizer) GetConditionSet() apis.ConditionSet
- func (*Synchronizer) GetGroupVersionKind() schema.GroupVersionKind
- func (t *Synchronizer) GetSink() *duckv1.Destination
- func (t *Synchronizer) GetStatus() *duckv1.Status
- func (t *Synchronizer) GetStatusManager() *StatusManager
- type SynchronizerList
- type SynchronizerSpec
- type TargetStatus
- type Transform
- type Transformation
- func (in *Transformation) DeepCopy() *Transformation
- func (in *Transformation) DeepCopyInto(out *Transformation)
- func (in *Transformation) DeepCopyObject() runtime.Object
- func (t *Transformation) GetConditionSet() apis.ConditionSet
- func (*Transformation) GetGroupVersionKind() schema.GroupVersionKind
- func (t *Transformation) GetSink() *duckv1.Destination
- func (t *Transformation) GetStatus() *duckv1.Status
- func (t *Transformation) GetStatusManager() *StatusManager
- func (t *Transformation) SetDefaults(ctx context.Context)
- func (t *Transformation) Validate(ctx context.Context) *apis.FieldError
- type TransformationList
- type TransformationSpec
- type ValueFromField
- func (in *ValueFromField) DeepCopy() *ValueFromField
- func (in *ValueFromField) DeepCopyInto(out *ValueFromField)
- func (v *ValueFromField) IsInformed() bool
- func (v *ValueFromField) ToEnvironmentVariable(name string) *corev1.EnvVar
- func (v *ValueFromField) Validate(_ context.Context) *apis.FieldError
- type XMLToJSONTransformation
- func (in *XMLToJSONTransformation) DeepCopy() *XMLToJSONTransformation
- func (in *XMLToJSONTransformation) DeepCopyInto(out *XMLToJSONTransformation)
- func (in *XMLToJSONTransformation) DeepCopyObject() runtime.Object
- func (t *XMLToJSONTransformation) GetConditionSet() apis.ConditionSet
- func (*XMLToJSONTransformation) GetGroupVersionKind() schema.GroupVersionKind
- func (t *XMLToJSONTransformation) GetSink() *duckv1.Destination
- func (t *XMLToJSONTransformation) GetStatus() *duckv1.Status
- func (t *XMLToJSONTransformation) GetStatusManager() *StatusManager
- type XMLToJSONTransformationList
- type XMLToJSONTransformationSpec
- type XSLTTransformation
- func (in *XSLTTransformation) DeepCopy() *XSLTTransformation
- func (in *XSLTTransformation) DeepCopyInto(out *XSLTTransformation)
- func (in *XSLTTransformation) DeepCopyObject() runtime.Object
- func (t *XSLTTransformation) GetConditionSet() apis.ConditionSet
- func (*XSLTTransformation) GetGroupVersionKind() schema.GroupVersionKind
- func (t *XSLTTransformation) GetSink() *duckv1.Destination
- func (t *XSLTTransformation) GetStatus() *duckv1.Status
- func (t *XSLTTransformation) GetStatusManager() *StatusManager
- func (t *XSLTTransformation) SetDefaults(ctx context.Context)
- func (t *XSLTTransformation) Validate(ctx context.Context) *apis.FieldError
- type XSLTTransformationList
- type XSLTTransformationSpec
Constants ¶
const ( // ConditionReady has status True when the component is ready to receive/send events. ConditionReady = apis.ConditionReady // ConditionSinkProvided has status True when the component has been configured with an event sink. ConditionSinkProvided apis.ConditionType = "SinkProvided" // ConditionDeployed has status True when the component's adapter is up and running. ConditionDeployed apis.ConditionType = "Deployed" )
Status conditions
const ( // ReasonSinkNotFound is set on a SinkProvided condition when a sink does not exist. ReasonSinkNotFound = "SinkNotFound" // ReasonSinkEmpty is set on a SinkProvided condition when a sink URI is empty. ReasonSinkEmpty = "EmptySinkURI" // ReasonRBACNotBound is set on a Deployed condition when an adapter's // ServiceAccount cannot be bound. ReasonRBACNotBound = "RBACNotBound" ReasonUnavailable = "AdapterUnavailable" // credentials can't be found. ReasonNotFound = "NotFound" )
Reasons for status conditions
const (
EventTypeXMLToJSONGenericResponse = "io.triggermesh.xmltojsontransformation.error"
)
Managed event types
const (
EventTypeXSLTTransformation = "io.triggermesh.xslt.transform"
)
Managed 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 SchemeGroupVersion = schema.GroupVersion{Group: flow.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func IsMultiTenant ¶ added in v1.16.0
func IsMultiTenant(r Reconcilable) bool
IsMultiTenant returns whether the given component type is multi-tenant.
func NewTargetConditionSet ¶ added in v1.16.0
func NewTargetConditionSet(cts ...apis.ConditionType) apis.ConditionSet
NewTargetConditionSet returns a set of status conditions for a target. Default conditions can be augmented by passing condition types as function arguments.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
func ServiceAccountOptions ¶ added in v1.16.0
func ServiceAccountOptions(r Reconcilable) []resource.ServiceAccountOption
ServiceAccountOptions returns functional options for mutating the ServiceAccount associated with a given component instance.
func WantsOwnServiceAccount ¶ added in v1.16.0
func WantsOwnServiceAccount(r Reconcilable) bool
WantsOwnServiceAccount returns whether the given component instance should have a dedicated ServiceAccount associated with its receive adapter.
func WithReconcilable ¶ added in v1.16.0
func WithReconcilable(ctx context.Context, r Reconcilable) context.Context
WithReconcilable returns a copy of the parent context in which the value associated with the reconcilableInstanceKey is the given component instance.
Types ¶
type CloudEventStatus ¶ added in v1.16.0
type CloudEventStatus struct { // AcceptedEventTypes are the CloudEvent types that a target can process. // +optional AcceptedEventTypes []string `json:"acceptedEventTypes,omitempty"` }
CloudEventStatus contains attributes that target types can embed to declare the event types they accept.
func (*CloudEventStatus) DeepCopy ¶ added in v1.16.0
func (in *CloudEventStatus) DeepCopy() *CloudEventStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudEventStatus.
func (*CloudEventStatus) DeepCopyInto ¶ added in v1.16.0
func (in *CloudEventStatus) DeepCopyInto(out *CloudEventStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Correlation ¶ added in v1.14.0
Correlation holds the request-response matching parameters.
func (*Correlation) DeepCopy ¶ added in v1.14.0
func (in *Correlation) DeepCopy() *Correlation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Correlation.
func (*Correlation) DeepCopyInto ¶ added in v1.14.0
func (in *Correlation) DeepCopyInto(out *Correlation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataWeaveTransformation ¶ added in v1.16.0
type DataWeaveTransformation struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DataWeaveTransformationSpec `json:"spec"` Status TargetStatus `json:"status,omitempty"` }
DataWeaveTransformation is the Schema for an DataWeave transformation target.
func (*DataWeaveTransformation) DeepCopy ¶ added in v1.16.0
func (in *DataWeaveTransformation) DeepCopy() *DataWeaveTransformation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataWeaveTransformation.
func (*DataWeaveTransformation) DeepCopyInto ¶ added in v1.16.0
func (in *DataWeaveTransformation) DeepCopyInto(out *DataWeaveTransformation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DataWeaveTransformation) DeepCopyObject ¶ added in v1.16.0
func (in *DataWeaveTransformation) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DataWeaveTransformation) GetConditionSet ¶ added in v1.16.0
func (t *DataWeaveTransformation) GetConditionSet() apis.ConditionSet
GetConditionSet implements duckv1.KRShaped.
func (*DataWeaveTransformation) GetGroupVersionKind ¶ added in v1.16.0
func (*DataWeaveTransformation) GetGroupVersionKind() schema.GroupVersionKind
GetGroupVersionKind implements kmeta.OwnerRefable.
func (*DataWeaveTransformation) GetSink ¶ added in v1.16.0
func (t *DataWeaveTransformation) GetSink() *duckv1.Destination
GetSink implements EventSender.
func (*DataWeaveTransformation) GetStatus ¶ added in v1.16.0
func (t *DataWeaveTransformation) GetStatus() *duckv1.Status
GetStatus implements duckv1.KRShaped.
func (*DataWeaveTransformation) GetStatusManager ¶ added in v1.16.0
func (t *DataWeaveTransformation) GetStatusManager() *StatusManager
GetStatusManager implements Reconcilable.
type DataWeaveTransformationList ¶ added in v1.16.0
type DataWeaveTransformationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []DataWeaveTransformation `json:"items"` }
DataWeaveTransformationList is a list of DataWeaveTransformation resources
func (*DataWeaveTransformationList) DeepCopy ¶ added in v1.16.0
func (in *DataWeaveTransformationList) DeepCopy() *DataWeaveTransformationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataWeaveTransformationList.
func (*DataWeaveTransformationList) DeepCopyInto ¶ added in v1.16.0
func (in *DataWeaveTransformationList) DeepCopyInto(out *DataWeaveTransformationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DataWeaveTransformationList) DeepCopyObject ¶ added in v1.16.0
func (in *DataWeaveTransformationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DataWeaveTransformationSpec ¶ added in v1.16.0
type DataWeaveTransformationSpec struct { // DataWeave spell that will be used by default for transformation. DwSpell ValueFromField `json:"dw_spell"` // Content type for incoming transformation. IncomingContentType string `json:"incoming_content_type"` // Content type for transformation Output. OutputContentType string `json:"output_content_type"` // Support sending to an event sink instead of replying. duckv1.SourceSpec `json:",inline"` }
DataWeaveTransformationSpec holds the desired state of the DataWeaveTransformation.
func (*DataWeaveTransformationSpec) DeepCopy ¶ added in v1.16.0
func (in *DataWeaveTransformationSpec) DeepCopy() *DataWeaveTransformationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataWeaveTransformationSpec.
func (*DataWeaveTransformationSpec) DeepCopyInto ¶ added in v1.16.0
func (in *DataWeaveTransformationSpec) DeepCopyInto(out *DataWeaveTransformationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventOptions ¶ added in v1.14.0
type EventOptions struct { // PayloadPolicy indicates if replies from the target should include // a payload if available. Possible values are: // // - always: will return a with the reply payload if avaliable. // - errors: will only reply with payload in case of an error. // - never: will not reply with payload. // // +optional PayloadPolicy *cloudevents.PayloadPolicy `json:"payloadPolicy,omitempty"` }
EventOptions modifies CloudEvents management at Targets.
func (*EventOptions) DeepCopy ¶ added in v1.14.0
func (in *EventOptions) DeepCopy() *EventOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventOptions.
func (*EventOptions) DeepCopyInto ¶ added in v1.14.0
func (in *EventOptions) DeepCopyInto(out *EventOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventReceiver ¶ added in v1.16.0
type EventReceiver interface { // AcceptedEventTypes returns the event types accepted by the target. AcceptedEventTypes() []string }
EventReceiver is implemented by types that receive and process events.
type EventSender ¶ added in v1.16.0
type EventSender interface { // GetSink returns the component's event sink. GetSink() *duckv1.Destination }
EventSender is implemented by types that send events to a sink.
type EventSource ¶ added in v1.16.0
type EventSource interface { // GetEventTypes returns the event types generated by the component. GetEventTypes() []string // AsEventSource returns a unique reference to the component suitable // for use as a CloudEvent 'source' attribute. AsEventSource() string }
EventSource is implemented by types that emit events, either by sending them to a sink or by replying to incoming event requests.
type JQTransformation ¶ added in v1.16.0
type JQTransformation struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ObjectMeta `json:"metadata,omitempty"` Spec JQTransformationSpec `json:"spec"` Status TargetStatus `json:"status,omitempty"` }
func (*JQTransformation) DeepCopy ¶ added in v1.16.0
func (in *JQTransformation) DeepCopy() *JQTransformation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JQTransformation.
func (*JQTransformation) DeepCopyInto ¶ added in v1.16.0
func (in *JQTransformation) DeepCopyInto(out *JQTransformation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*JQTransformation) DeepCopyObject ¶ added in v1.16.0
func (in *JQTransformation) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*JQTransformation) GetConditionSet ¶ added in v1.16.0
func (t *JQTransformation) GetConditionSet() apis.ConditionSet
GetConditionSet implements duckv1.KRShaped.
func (*JQTransformation) GetGroupVersionKind ¶ added in v1.16.0
func (*JQTransformation) GetGroupVersionKind() schema.GroupVersionKind
GetGroupVersionKind implements kmeta.OwnerRefable.
func (*JQTransformation) GetSink ¶ added in v1.16.0
func (t *JQTransformation) GetSink() *duckv1.Destination
GetSink implements EventSender.
func (*JQTransformation) GetStatus ¶ added in v1.16.0
func (t *JQTransformation) GetStatus() *duckv1.Status
GetStatus implements duckv1.KRShaped.
func (*JQTransformation) GetStatusManager ¶ added in v1.16.0
func (t *JQTransformation) GetStatusManager() *StatusManager
GetStatusManager implements Reconcilable.
type JQTransformationList ¶ added in v1.16.0
type JQTransformationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []JQTransformation `json:"items"` }
JQTransformationList is a list of JQTransformation resources
func (*JQTransformationList) DeepCopy ¶ added in v1.16.0
func (in *JQTransformationList) DeepCopy() *JQTransformationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JQTransformationList.
func (*JQTransformationList) DeepCopyInto ¶ added in v1.16.0
func (in *JQTransformationList) DeepCopyInto(out *JQTransformationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*JQTransformationList) DeepCopyObject ¶ added in v1.16.0
func (in *JQTransformationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type JQTransformationSpec ¶ added in v1.16.0
type JQTransformationSpec struct { // The query that gets passed to the JQ library Query string `json:"query"` // EventOptions for targets EventOptions *EventOptions `json:"eventOptions,omitempty"` // Support sending to an event sink instead of replying. duckv1.SourceSpec `json:",inline"` }
JQTransformationSpec holds the desired state of the JQTransformation (from the client).
func (*JQTransformationSpec) DeepCopy ¶ added in v1.16.0
func (in *JQTransformationSpec) DeepCopy() *JQTransformationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JQTransformationSpec.
func (*JQTransformationSpec) DeepCopyInto ¶ added in v1.16.0
func (in *JQTransformationSpec) DeepCopyInto(out *JQTransformationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JQTransformationStatus ¶ added in v1.16.0
type JQTransformationStatus struct { duckv1.SourceStatus `json:",inline"` duckv1.AddressStatus `json:",inline"` }
JQTransformationStatus communicates the observed state of the JQTransformation (from the controller).
func (*JQTransformationStatus) DeepCopy ¶ added in v1.16.0
func (in *JQTransformationStatus) DeepCopy() *JQTransformationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JQTransformationStatus.
func (*JQTransformationStatus) DeepCopyInto ¶ added in v1.16.0
func (in *JQTransformationStatus) DeepCopyInto(out *JQTransformationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Path ¶
Path is a key-value pair that represents JSON object path
func (*Path) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Path.
func (*Path) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Reconcilable ¶ added in v1.16.0
type Reconcilable interface { metav1.Object runtime.Object // OwnerRefable is used to construct a generic reconciler for each // component type, and convert custom objects to owner references. kmeta.OwnerRefable // KRShaped is used by generated reconcilers to perform pre and // post-reconcile status updates. duckv1.KRShaped // GetStatusManager returns a manager for the component's status. GetStatusManager() *StatusManager }
Reconcilable is implemented by all TriggerMesh components.
func ReconcilableFromContext ¶ added in v1.16.0
func ReconcilableFromContext(ctx context.Context) Reconcilable
ReconcilableFromContext returns the component instance stored in the context.
type Response ¶ added in v1.14.0
Response defines the response handling configuration.
func (*Response) DeepCopy ¶ added in v1.14.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Response.
func (*Response) DeepCopyInto ¶ added in v1.14.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StatusManager ¶ added in v1.16.0
type StatusManager struct { apis.ConditionSet *TargetStatus }
StatusManager manages the status of a TriggerMesh component.
+k8s:deepcopy-gen=false
func (*StatusManager) MarkNoSink ¶ added in v1.16.0
func (m *StatusManager) MarkNoSink()
MarkNoSink sets the SinkProvided condition to False.
func (*StatusManager) MarkRBACNotBound ¶ added in v1.16.0
func (m *StatusManager) MarkRBACNotBound()
MarkRBACNotBound sets the Deployed condition to False, indicating that the adapter's ServiceAccount couldn't be bound.
func (*StatusManager) MarkSink ¶ added in v1.16.0
func (m *StatusManager) MarkSink(uri *apis.URL)
MarkSink sets the SinkProvided condition to True using the given URI.
func (*StatusManager) PropagateServiceAvailability ¶ added in v1.16.0
func (m *StatusManager) PropagateServiceAvailability(ksvc *servingv1.Service)
PropagateServiceAvailability uses the readiness of the provided Service to determine whether the Deployed condition should be marked as True or False.
func (*StatusManager) SetRoute ¶ added in v1.16.0
func (m *StatusManager) SetRoute(urlPath string)
SetRoute appends the given URL path to the current target's URL.
type Synchronizer ¶ added in v1.14.0
type Synchronizer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SynchronizerSpec `json:"spec"` Status TargetStatus `json:"status,omitempty"` }
Synchronizer is the Schema for the Synchronizer target.
func (*Synchronizer) DeepCopy ¶ added in v1.14.0
func (in *Synchronizer) DeepCopy() *Synchronizer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Synchronizer.
func (*Synchronizer) DeepCopyInto ¶ added in v1.14.0
func (in *Synchronizer) DeepCopyInto(out *Synchronizer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Synchronizer) DeepCopyObject ¶ added in v1.14.0
func (in *Synchronizer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Synchronizer) GetConditionSet ¶ added in v1.14.0
func (t *Synchronizer) GetConditionSet() apis.ConditionSet
GetConditionSet implements duckv1.KRShaped.
func (*Synchronizer) GetGroupVersionKind ¶ added in v1.14.0
func (*Synchronizer) GetGroupVersionKind() schema.GroupVersionKind
GetGroupVersionKind implements kmeta.OwnerRefable.
func (*Synchronizer) GetSink ¶ added in v1.16.0
func (t *Synchronizer) GetSink() *duckv1.Destination
GetSink implements EventSender.
func (*Synchronizer) GetStatus ¶ added in v1.14.0
func (t *Synchronizer) GetStatus() *duckv1.Status
GetStatus implements duckv1.KRShaped.
func (*Synchronizer) GetStatusManager ¶ added in v1.16.0
func (t *Synchronizer) GetStatusManager() *StatusManager
GetStatusManager implements Reconcilable.
type SynchronizerList ¶ added in v1.14.0
type SynchronizerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Synchronizer `json:"items"` }
SynchronizerList is a list of Synchronizer instances.
func (*SynchronizerList) DeepCopy ¶ added in v1.14.0
func (in *SynchronizerList) DeepCopy() *SynchronizerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SynchronizerList.
func (*SynchronizerList) DeepCopyInto ¶ added in v1.14.0
func (in *SynchronizerList) DeepCopyInto(out *SynchronizerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SynchronizerList) DeepCopyObject ¶ added in v1.14.0
func (in *SynchronizerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SynchronizerSpec ¶ added in v1.14.0
type SynchronizerSpec struct { CorrelationKey Correlation `json:"correlationKey"` Response Response `json:"response"` // Support sending to an event sink instead of replying. duckv1.SourceSpec `json:",inline"` }
SynchronizerSpec holds the desired state of the Synchronizer.
func (*SynchronizerSpec) DeepCopy ¶ added in v1.14.0
func (in *SynchronizerSpec) DeepCopy() *SynchronizerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SynchronizerSpec.
func (*SynchronizerSpec) DeepCopyInto ¶ added in v1.14.0
func (in *SynchronizerSpec) DeepCopyInto(out *SynchronizerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TargetStatus ¶ added in v1.16.0
type TargetStatus struct { duckv1.SourceStatus `json:",inline"` duckv1.AddressStatus `json:",inline"` // Accepted CloudEvent attributes CloudEventStatus `json:",inline"` }
TargetStatus defines the observed state of an event target.
func (*TargetStatus) DeepCopy ¶ added in v1.16.0
func (in *TargetStatus) DeepCopy() *TargetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetStatus.
func (*TargetStatus) DeepCopyInto ¶ added in v1.16.0
func (in *TargetStatus) DeepCopyInto(out *TargetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Transform ¶
Transform describes transformation schemes for different CE types.
func (*Transform) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Transform.
func (*Transform) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Transformation ¶
type Transformation struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TransformationSpec `json:"spec,omitempty"` Status TargetStatus `json:"status,omitempty"` }
Transformation is a Knative abstraction that encapsulates the interface by which Knative components express a desire to have a particular image cached.
func (*Transformation) DeepCopy ¶
func (in *Transformation) DeepCopy() *Transformation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Transformation.
func (*Transformation) DeepCopyInto ¶
func (in *Transformation) DeepCopyInto(out *Transformation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Transformation) DeepCopyObject ¶
func (in *Transformation) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Transformation) GetConditionSet ¶
func (t *Transformation) GetConditionSet() apis.ConditionSet
GetConditionSet implements duckv1.KRShaped.
func (*Transformation) GetGroupVersionKind ¶
func (*Transformation) GetGroupVersionKind() schema.GroupVersionKind
GetGroupVersionKind implements kmeta.OwnerRefable.
func (*Transformation) GetSink ¶ added in v1.16.0
func (t *Transformation) GetSink() *duckv1.Destination
GetSink implements EventSender.
func (*Transformation) GetStatus ¶
func (t *Transformation) GetStatus() *duckv1.Status
GetStatus implements duckv1.KRShaped.
func (*Transformation) GetStatusManager ¶ added in v1.16.0
func (t *Transformation) GetStatusManager() *StatusManager
GetStatusManager implements Reconcilable.
func (*Transformation) SetDefaults ¶
func (t *Transformation) SetDefaults(ctx context.Context)
SetDefaults implements apis.Defaultable
func (*Transformation) Validate ¶
func (t *Transformation) Validate(ctx context.Context) *apis.FieldError
Validate implements apis.Validatable
type TransformationList ¶
type TransformationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Transformation `json:"items"` }
TransformationList is a list of Transformation resources
func (*TransformationList) DeepCopy ¶
func (in *TransformationList) DeepCopy() *TransformationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransformationList.
func (*TransformationList) DeepCopyInto ¶
func (in *TransformationList) DeepCopyInto(out *TransformationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TransformationList) DeepCopyObject ¶
func (in *TransformationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TransformationSpec ¶
type TransformationSpec struct { // Context contains Transformations that must be applied on CE Context Context []Transform `json:"context,omitempty"` // Data contains Transformations that must be applied on CE Data Data []Transform `json:"data,omitempty"` // Support sending to an event sink instead of replying. duckv1.SourceSpec `json:",inline"` }
TransformationSpec holds the desired state of the Transformation (from the client).
func (*TransformationSpec) DeepCopy ¶
func (in *TransformationSpec) DeepCopy() *TransformationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransformationSpec.
func (*TransformationSpec) DeepCopyInto ¶
func (in *TransformationSpec) DeepCopyInto(out *TransformationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TransformationSpec) Validate ¶
func (ts *TransformationSpec) Validate(ctx context.Context) *apis.FieldError
Validate implements apis.Validatable
type ValueFromField ¶ added in v1.12.0
type ValueFromField struct { // Field value. // +optional Value string `json:"value,omitempty"` // Field value from a Kubernetes Secret. // +optional ValueFromSecret *corev1.SecretKeySelector `json:"valueFromSecret,omitempty"` // Field value from a Kubernetes ConfigMap. // +optional ValueFromConfigMap *corev1.ConfigMapKeySelector `json:"valueFromConfigMap,omitempty"` }
ValueFromField is a struct field that can have its value either defined explicitly or sourced from another entity.
func (*ValueFromField) DeepCopy ¶ added in v1.12.0
func (in *ValueFromField) DeepCopy() *ValueFromField
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValueFromField.
func (*ValueFromField) DeepCopyInto ¶ added in v1.12.0
func (in *ValueFromField) DeepCopyInto(out *ValueFromField)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ValueFromField) IsInformed ¶ added in v1.12.0
func (v *ValueFromField) IsInformed() bool
IsInformed returns if the value is informed in any of the available choices.
func (*ValueFromField) ToEnvironmentVariable ¶ added in v1.12.0
func (v *ValueFromField) ToEnvironmentVariable(name string) *corev1.EnvVar
ToEnvironmentVariable returns a kubernetes environment variable from a ValueFromField.
func (*ValueFromField) Validate ¶ added in v1.12.0
func (v *ValueFromField) Validate(_ context.Context) *apis.FieldError
Validate makes sure that only one of the choices is properly informed.
type XMLToJSONTransformation ¶ added in v1.14.0
type XMLToJSONTransformation struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec XMLToJSONTransformationSpec `json:"spec,omitempty"` Status TargetStatus `json:"status,omitempty"` }
XMLToJSONTransformation is the schema for the event transformer.
func (*XMLToJSONTransformation) DeepCopy ¶ added in v1.14.0
func (in *XMLToJSONTransformation) DeepCopy() *XMLToJSONTransformation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new XMLToJSONTransformation.
func (*XMLToJSONTransformation) DeepCopyInto ¶ added in v1.14.0
func (in *XMLToJSONTransformation) DeepCopyInto(out *XMLToJSONTransformation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*XMLToJSONTransformation) DeepCopyObject ¶ added in v1.14.0
func (in *XMLToJSONTransformation) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*XMLToJSONTransformation) GetConditionSet ¶ added in v1.14.0
func (t *XMLToJSONTransformation) GetConditionSet() apis.ConditionSet
GetConditionSet implements duckv1.KRShaped.
func (*XMLToJSONTransformation) GetGroupVersionKind ¶ added in v1.14.0
func (*XMLToJSONTransformation) GetGroupVersionKind() schema.GroupVersionKind
GetGroupVersionKind implements kmeta.OwnerRefable.
func (*XMLToJSONTransformation) GetSink ¶ added in v1.16.0
func (t *XMLToJSONTransformation) GetSink() *duckv1.Destination
GetSink implements EventSender.
func (*XMLToJSONTransformation) GetStatus ¶ added in v1.14.0
func (t *XMLToJSONTransformation) GetStatus() *duckv1.Status
GetStatus implements duckv1.KRShaped.
func (*XMLToJSONTransformation) GetStatusManager ¶ added in v1.16.0
func (t *XMLToJSONTransformation) GetStatusManager() *StatusManager
GetStatusManager implements Reconcilable.
type XMLToJSONTransformationList ¶ added in v1.14.0
type XMLToJSONTransformationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []XMLToJSONTransformation `json:"items"` }
XMLToJSONTransformationList is a list of XMLToJSONTransformation resources
func (*XMLToJSONTransformationList) DeepCopy ¶ added in v1.14.0
func (in *XMLToJSONTransformationList) DeepCopy() *XMLToJSONTransformationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new XMLToJSONTransformationList.
func (*XMLToJSONTransformationList) DeepCopyInto ¶ added in v1.14.0
func (in *XMLToJSONTransformationList) DeepCopyInto(out *XMLToJSONTransformationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*XMLToJSONTransformationList) DeepCopyObject ¶ added in v1.14.0
func (in *XMLToJSONTransformationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type XMLToJSONTransformationSpec ¶ added in v1.14.0
type XMLToJSONTransformationSpec struct { // EventOptions for targets EventOptions *EventOptions `json:"eventOptions,omitempty"` // Support sending to an event sink instead of replying. duckv1.SourceSpec `json:",inline"` }
XMLToJSONTransformationSpec holds the desired state of the XMLToJSONTransformation (from the client).
func (*XMLToJSONTransformationSpec) DeepCopy ¶ added in v1.14.0
func (in *XMLToJSONTransformationSpec) DeepCopy() *XMLToJSONTransformationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new XMLToJSONTransformationSpec.
func (*XMLToJSONTransformationSpec) DeepCopyInto ¶ added in v1.14.0
func (in *XMLToJSONTransformationSpec) DeepCopyInto(out *XMLToJSONTransformationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type XSLTTransformation ¶ added in v1.14.1
type XSLTTransformation struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec XSLTTransformationSpec `json:"spec"` Status TargetStatus `json:"status,omitempty"` }
XSLTTransformation is the Schema for an XSLT transformation target.
func (*XSLTTransformation) DeepCopy ¶ added in v1.14.1
func (in *XSLTTransformation) DeepCopy() *XSLTTransformation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new XSLTTransformation.
func (*XSLTTransformation) DeepCopyInto ¶ added in v1.14.1
func (in *XSLTTransformation) DeepCopyInto(out *XSLTTransformation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*XSLTTransformation) DeepCopyObject ¶ added in v1.14.1
func (in *XSLTTransformation) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*XSLTTransformation) GetConditionSet ¶ added in v1.14.1
func (t *XSLTTransformation) GetConditionSet() apis.ConditionSet
GetConditionSet implements duckv1.KRShaped.
func (*XSLTTransformation) GetGroupVersionKind ¶ added in v1.14.1
func (*XSLTTransformation) GetGroupVersionKind() schema.GroupVersionKind
GetGroupVersionKind implements kmeta.OwnerRefable.
func (*XSLTTransformation) GetSink ¶ added in v1.16.0
func (t *XSLTTransformation) GetSink() *duckv1.Destination
GetSink implements EventSender.
func (*XSLTTransformation) GetStatus ¶ added in v1.14.1
func (t *XSLTTransformation) GetStatus() *duckv1.Status
GetStatus implements duckv1.KRShaped.
func (*XSLTTransformation) GetStatusManager ¶ added in v1.16.0
func (t *XSLTTransformation) GetStatusManager() *StatusManager
GetStatusManager implements Reconcilable.
func (*XSLTTransformation) SetDefaults ¶ added in v1.14.1
func (t *XSLTTransformation) SetDefaults(ctx context.Context)
SetDefaults implements apis.Defaultable
func (*XSLTTransformation) Validate ¶ added in v1.14.1
func (t *XSLTTransformation) Validate(ctx context.Context) *apis.FieldError
Validate implements apis.Validatable
type XSLTTransformationList ¶ added in v1.14.1
type XSLTTransformationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []XSLTTransformation `json:"items"` }
XSLTTransformationList is a list of XSLTTransformation resources
func (*XSLTTransformationList) DeepCopy ¶ added in v1.14.1
func (in *XSLTTransformationList) DeepCopy() *XSLTTransformationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new XSLTTransformationList.
func (*XSLTTransformationList) DeepCopyInto ¶ added in v1.14.1
func (in *XSLTTransformationList) DeepCopyInto(out *XSLTTransformationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*XSLTTransformationList) DeepCopyObject ¶ added in v1.14.1
func (in *XSLTTransformationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type XSLTTransformationSpec ¶ added in v1.14.1
type XSLTTransformationSpec struct { // XSLT document that will be used by default for transformation. // Can be omited if the XSLT is informed at each event. // +optional XSLT *ValueFromField `json:"xslt,omitempty"` // Whether the default XSLT can be overriden at each event // +optional AllowPerEventXSLT *bool `json:"allowPerEventXSLT,omitempty"` // Support sending to an event sink instead of replying. duckv1.SourceSpec `json:",inline"` }
XSLTTransformationSpec holds the desired state of the XSLTTransformation.
func (*XSLTTransformationSpec) DeepCopy ¶ added in v1.14.1
func (in *XSLTTransformationSpec) DeepCopy() *XSLTTransformationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new XSLTTransformationSpec.
func (*XSLTTransformationSpec) DeepCopyInto ¶ added in v1.14.1
func (in *XSLTTransformationSpec) DeepCopyInto(out *XSLTTransformationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*XSLTTransformationSpec) SetDefaults ¶ added in v1.14.1
func (s *XSLTTransformationSpec) SetDefaults(ctx context.Context)
SetDefaults implements apis.Defaultable
func (*XSLTTransformationSpec) Validate ¶ added in v1.14.1
func (s *XSLTTransformationSpec) Validate(ctx context.Context) *apis.FieldError
Validate XSLT spec
Source Files
¶
- common_lifecycle.go
- common_types.go
- common_validation.go
- conditions.go
- dataweavetransformation_lifecycle.go
- dataweavetransformation_types.go
- deepcopy_generated.go
- doc.go
- interfaces.go
- jqtransformation_lifecycle.go
- jqtransformation_types.go
- register.go
- synchronizer_lifecycle.go
- synchronizer_types.go
- transformation_defaults.go
- transformation_lifecycle.go
- transformation_types.go
- transformation_validation.go
- xmltojsontransformation_lifecycle.go
- xmltojsontransformation_types.go
- xslt_defaults.go
- xslt_lifecycle.go
- xslt_types.go
- xslt_validation.go