v1alpha1

package
v1.24.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: Apache-2.0 Imports: 11 Imported by: 2 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the flow/v1alpha1 API group.

+k8s:deepcopy-gen=package +groupName=flow.triggermesh.io

Index

Constants

View Source
const (
	EventTypeXMLToJSONGenericResponse = "io.triggermesh.xmltojsontransformation.error"
)

Managed event types

View Source
const (
	EventTypeXSLTTransformation = "io.triggermesh.xslt.transform"
)

Managed event types

Variables

View Source
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
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: flow.GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Correlation added in v1.14.0

type Correlation struct {
	Attribute string `json:"attribute"`
	Length    int    `json:"length"`
}

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 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 JQTransformation added in v1.16.0

type JQTransformation struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   JQTransformationSpec `json:"spec"`
	Status v1alpha1.Status      `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) GetAdapterOverrides added in v1.16.1

func (t *JQTransformation) GetAdapterOverrides() *v1alpha1.AdapterOverrides

GetAdapterOverrides implements AdapterConfigurable.

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() *v1alpha1.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 component instances.

func (*JQTransformationList) DeepCopy added in v1.16.0

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"`

	// Adapter spec overrides parameters.
	// +optional
	AdapterOverrides *v1alpha1.AdapterOverrides `json:"adapterOverrides,omitempty"`
}

JQTransformationSpec defines the desired state of the component.

func (*JQTransformationSpec) DeepCopy added in v1.16.0

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 Path

type Path struct {
	Key       string `json:"key,omitempty"`
	Value     string `json:"value,omitempty"`
	Separator string `json:"separator,omitempty"`
}

Path is a key-value pair that represents JSON object path

func (*Path) DeepCopy

func (in *Path) DeepCopy() *Path

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Path.

func (*Path) DeepCopyInto

func (in *Path) DeepCopyInto(out *Path)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Response added in v1.14.0

type Response struct {
	Timeout apis.Duration `json:"timeout"`
}

Response defines the response handling configuration.

func (*Response) DeepCopy added in v1.14.0

func (in *Response) DeepCopy() *Response

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Response.

func (*Response) DeepCopyInto added in v1.14.0

func (in *Response) DeepCopyInto(out *Response)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Synchronizer added in v1.14.0

type Synchronizer struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   SynchronizerSpec `json:"spec"`
	Status v1alpha1.Status  `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) GetAdapterOverrides added in v1.16.1

func (s *Synchronizer) GetAdapterOverrides() *v1alpha1.AdapterOverrides

GetAdapterOverrides implements AdapterConfigurable.

func (*Synchronizer) GetConditionSet added in v1.14.0

func (s *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 (s *Synchronizer) GetSink() *duckv1.Destination

GetSink implements EventSender.

func (*Synchronizer) GetStatus added in v1.14.0

func (s *Synchronizer) GetStatus() *duckv1.Status

GetStatus implements duckv1.KRShaped.

func (*Synchronizer) GetStatusManager added in v1.16.0

func (s *Synchronizer) GetStatusManager() *v1alpha1.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 component 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"`

	// Adapter spec overrides parameters.
	// +optional
	AdapterOverrides *v1alpha1.AdapterOverrides `json:"adapterOverrides,omitempty"`
}

SynchronizerSpec defines the desired state of the component.

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 Transform

type Transform struct {
	Operation string `json:"operation"`
	Paths     []Path `json:"paths"`
}

Transform describes transformation schemes for different CE types.

func (*Transform) DeepCopy

func (in *Transform) DeepCopy() *Transform

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Transform.

func (*Transform) DeepCopyInto

func (in *Transform) DeepCopyInto(out *Transform)

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 v1alpha1.Status    `json:"status,omitempty"`
}

Transformation allows to declaratively perform data transformations on CloudEvents.

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) GetAdapterOverrides added in v1.16.1

func (t *Transformation) GetAdapterOverrides() *v1alpha1.AdapterOverrides

GetAdapterOverrides implements AdapterConfigurable.

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() *v1alpha1.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 component instances.

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"`

	// Adapter spec overrides parameters.
	// +optional
	AdapterOverrides *v1alpha1.AdapterOverrides `json:"adapterOverrides,omitempty"`
}

TransformationSpec defines the desired state of the component.

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 v1alpha1.Status             `json:"status,omitempty"`
}

XMLToJSONTransformation is the schema for the event transformer.

func (*XMLToJSONTransformation) DeepCopy added in v1.14.0

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) GetAdapterOverrides added in v1.16.1

func (t *XMLToJSONTransformation) GetAdapterOverrides() *v1alpha1.AdapterOverrides

GetAdapterOverrides implements AdapterConfigurable.

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

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() *v1alpha1.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 component instances.

func (*XMLToJSONTransformationList) DeepCopy added in v1.14.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new XMLToJSONTransformationList.

func (*XMLToJSONTransformationList) DeepCopyInto added in v1.14.0

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"`

	// Adapter spec overrides parameters.
	// +optional
	AdapterOverrides *v1alpha1.AdapterOverrides `json:"adapterOverrides,omitempty"`
}

XMLToJSONTransformationSpec defines the desired state of the component.

func (*XMLToJSONTransformationSpec) DeepCopy added in v1.14.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new XMLToJSONTransformationSpec.

func (*XMLToJSONTransformationSpec) DeepCopyInto added in v1.14.0

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 v1alpha1.Status        `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) GetAdapterOverrides added in v1.16.1

func (t *XSLTTransformation) GetAdapterOverrides() *v1alpha1.AdapterOverrides

GetAdapterOverrides implements AdapterConfigurable.

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() *v1alpha1.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 component instances.

func (*XSLTTransformationList) DeepCopy added in v1.14.1

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"`

	// Adapter spec overrides parameters.
	// +optional
	AdapterOverrides *v1alpha1.AdapterOverrides `json:"adapterOverrides,omitempty"`
}

XSLTTransformationSpec defines the desired state of the component.

func (*XSLTTransformationSpec) DeepCopy added in v1.14.1

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

Validate XSLT spec

Jump to

Keyboard shortcuts

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