v1alpha1

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2022 License: Apache-2.0 Imports: 12 Imported by: 2

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 (
	// ConditionReady has status True when the router is ready to send events.
	ConditionReady = apis.ConditionReady
	// ConditionSinkProvided has status True when the router has been configured with a sink target.
	ConditionSinkProvided apis.ConditionType = "SinkProvided"
	// ConditionDeployed has status True when the router's adapter is up and running.
	ConditionDeployed apis.ConditionType = "Deployed"
)

Status conditions

View Source
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 is set on a Deployed condition when an adapter in unavailable.
	ReasonUnavailable = "AdapterUnavailable"
	// credentials can't be found.
	ReasonNotFound = "NotFound"
)

Reasons for status conditions

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

Managed event types

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

Managed event types

View Source
const (
	// TransformationConditionReady is set when the revision is starting to materialize
	// runtime resources, and becomes true when those resources are ready.
	TransformationConditionReady = apis.ConditionReady
)
View Source
const (
	// ConditionReady is set when the runtime resources for the component
	// are ready to be used.
	XSLTTransformConditionReady = apis.ConditionReady
)
View Source
const (
	// XSLTTransformReasonWrongSpec is set when an adapter cannot be built from the spec.
	XSLTTransformReasonWrongSpec = "WrongSpec"
)

Reasons for status conditions

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

SynchronizerCondSet is the group of possible conditions

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 Path

type Path struct {
	Key   string `json:"key,omitempty"`
	Value string `json:"value,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 SynchronizerStatus `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 (s *Synchronizer) GetConditionSet() apis.ConditionSet

GetConditionSet retrieves the condition set for this resource. Implements the KRShaped interface.

func (*Synchronizer) GetGroupVersionKind added in v1.14.0

func (s *Synchronizer) GetGroupVersionKind() schema.GroupVersionKind

GetGroupVersionKind implements kmeta.OwnerRefable.

func (*Synchronizer) GetStatus added in v1.14.0

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

GetStatus retrieves the status of the resource. Implements the KRShaped interface.

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"`
	Sink           duckv1.Destination `json:"sink"`
}

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 SynchronizerStatus added in v1.14.0

type SynchronizerStatus struct {
	duckv1.SourceStatus  `json:",inline"`
	duckv1.AddressStatus `json:",inline"`
}

SynchronizerStatus communicates the observed state of the Synchronizer.

func (*SynchronizerStatus) DeepCopy added in v1.14.0

func (in *SynchronizerStatus) DeepCopy() *SynchronizerStatus

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

func (*SynchronizerStatus) DeepCopyInto added in v1.14.0

func (in *SynchronizerStatus) DeepCopyInto(out *SynchronizerStatus)

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

func (*SynchronizerStatus) IsReady added in v1.14.0

func (s *SynchronizerStatus) IsReady() bool

IsReady returns true if the resource is ready overall.

func (*SynchronizerStatus) MarkNoKService added in v1.14.0

func (s *SynchronizerStatus) MarkNoKService(reason, messageFormat string, messageA ...interface{})

MarkNoKService sets the condition that the service is not ready

func (*SynchronizerStatus) MarkNoSink added in v1.14.0

func (s *SynchronizerStatus) MarkNoSink()

MarkNoSink sets the SinkProvided condition to False.

func (*SynchronizerStatus) MarkSink added in v1.14.0

func (s *SynchronizerStatus) MarkSink(uri *apis.URL)

MarkSink sets the SinkProvided condition to True using the given URI.

func (*SynchronizerStatus) PropagateKServiceAvailability added in v1.14.0

func (s *SynchronizerStatus) PropagateKServiceAvailability(ksvc *servingv1.Service)

PropagateKServiceAvailability uses the availability of the provided KService to determine if ConditionDeployed should be marked as true or false.

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"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// Spec holds the desired state of the Transformation (from the client).
	// +optional
	Spec TransformationSpec `json:"spec,omitempty"`

	// Status communicates the observed state of the Transformation (from the controller).
	// +optional
	Status TransformationStatus `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 retrieves the condition set for this resource. Implements the KRShaped interface.

func (*Transformation) GetGroupVersionKind

func (t *Transformation) GetGroupVersionKind() schema.GroupVersionKind

GetGroupVersionKind implements kmeta.OwnerRefable

func (*Transformation) GetStatus

func (t *Transformation) GetStatus() *duckv1.Status

GetStatus retrieves the status of the resource. Implements the KRShaped interface.

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 {
	// Sink is a reference to an object that will resolve to a uri to use as the sink.
	Sink duckv1.Destination `json:"sink,omitempty"`
	// 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"`
}

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 TransformationStatus

type TransformationStatus struct {
	duckv1.SourceStatus `json:",inline"`

	// Address holds the information needed to connect this Addressable up to receive events.
	// +optional
	Address *duckv1.Addressable `json:"address,omitempty"`
}

TransformationStatus communicates the observed state of the Transformation (from the controller).

func (*TransformationStatus) DeepCopy

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

func (*TransformationStatus) DeepCopyInto

func (in *TransformationStatus) DeepCopyInto(out *TransformationStatus)

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

func (*TransformationStatus) InitializeConditions

func (ts *TransformationStatus) InitializeConditions()

InitializeConditions sets the initial values to the conditions.

func (*TransformationStatus) MarkServiceAvailable

func (ts *TransformationStatus) MarkServiceAvailable()

MarkServiceAvailable sets Transformation condition to ready.

func (*TransformationStatus) MarkServiceUnavailable

func (ts *TransformationStatus) MarkServiceUnavailable(name string)

MarkServiceUnavailable marks Transformation as not ready with ServiceUnavailable reason.

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"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// Spec holds the desired state of the XMLToJSONTransformation (from the client).
	// +optional
	Spec XMLToJSONTransformationSpec `json:"spec,omitempty"`

	// Status communicates the observed state of the XMLToJSONTransformation (from the controller).
	// +optional
	Status XMLToJSONTransformationStatus `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) GetConditionSet added in v1.14.0

func (t *XMLToJSONTransformation) GetConditionSet() apis.ConditionSet

GetConditionSet retrieves the condition set for this resource. Implements the KRShaped interface.

func (*XMLToJSONTransformation) GetGroupVersionKind added in v1.14.0

func (t *XMLToJSONTransformation) GetGroupVersionKind() schema.GroupVersionKind

GetGroupVersionKind implements kmeta.OwnerRefable

func (*XMLToJSONTransformation) GetStatus added in v1.14.0

func (t *XMLToJSONTransformation) GetStatus() *duckv1.Status

GetStatus retrieves the status of the resource. Implements the KRShaped interface.

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

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

	// Sink is a reference to an object that will resolve to a uri to use as the sink.
	// +optional
	Sink *duckv1.Destination `json:"sink,omitempty"`
}

XMLToJSONTransformationSpec holds the desired state of the XMLToJSONTransformation (from the client).

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 XMLToJSONTransformationStatus added in v1.14.0

type XMLToJSONTransformationStatus struct {
	duckv1.SourceStatus  `json:",inline"`
	duckv1.AddressStatus `json:",inline"`
}

XMLToJSONTransformationStatus communicates the observed state of the XMLToJSONTransformation (from the controller).

func (*XMLToJSONTransformationStatus) DeepCopy added in v1.14.0

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

func (*XMLToJSONTransformationStatus) DeepCopyInto added in v1.14.0

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

func (*XMLToJSONTransformationStatus) IsReady added in v1.14.0

func (ts *XMLToJSONTransformationStatus) IsReady() bool

IsReady returns true if the resource is ready overall.

func (*XMLToJSONTransformationStatus) MarkNoKService added in v1.14.0

func (ts *XMLToJSONTransformationStatus) MarkNoKService(reason, messageFormat string, messageA ...interface{})

MarkNoKService sets the condition that the service is not ready

func (*XMLToJSONTransformationStatus) MarkServiceUnavailable added in v1.14.0

func (ts *XMLToJSONTransformationStatus) MarkServiceUnavailable(name string)

MarkServiceUnavailable marks XMLToJSONTransformation as not ready with ServiceUnavailable reason.

func (*XMLToJSONTransformationStatus) PropagateKServiceAvailability added in v1.14.0

func (ts *XMLToJSONTransformationStatus) PropagateKServiceAvailability(ksvc *servingv1.Service)

PropagateKServiceAvailability uses the availability of the provided KService to determine if ConditionDeployed should be marked as true or false.

type XSLTTransform added in v1.12.0

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

	// Spec holds the desired state of the XSLTTransform object.
	Spec XSLTTransformSpec `json:"spec"`

	// Status communicates the observed state of the XSLTTransform object.
	// +optional
	Status XSLTTransformStatus `json:"status,omitempty"`
}

XSLTTransform is the Schema for an XSLT transformation target.

func (*XSLTTransform) DeepCopy added in v1.12.0

func (in *XSLTTransform) DeepCopy() *XSLTTransform

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

func (*XSLTTransform) DeepCopyInto added in v1.12.0

func (in *XSLTTransform) DeepCopyInto(out *XSLTTransform)

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

func (*XSLTTransform) DeepCopyObject added in v1.12.0

func (in *XSLTTransform) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*XSLTTransform) GetConditionSet added in v1.12.0

func (*XSLTTransform) GetConditionSet() apis.ConditionSet

GetConditionSet retrieves the condition set for this resource. Implements the KRShaped interface.

func (*XSLTTransform) GetGroupVersionKind added in v1.12.0

func (*XSLTTransform) GetGroupVersionKind() schema.GroupVersionKind

GetGroupVersionKind returns the GroupVersionKind.

func (*XSLTTransform) GetStatus added in v1.12.0

func (o *XSLTTransform) GetStatus() *duckv1.Status

GetStatus retrieves the status of the resource. Implements the KRShaped interface.

func (*XSLTTransform) SetDefaults added in v1.12.0

func (o *XSLTTransform) SetDefaults(ctx context.Context)

SetDefaults implements apis.Defaultable

func (*XSLTTransform) Validate added in v1.12.0

func (o *XSLTTransform) Validate(ctx context.Context) *apis.FieldError

Validate implements apis.Validatable

type XSLTTransformList added in v1.12.0

type XSLTTransformList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []XSLTTransform `json:"items"`
}

XSLTTransformList is a list of XSLTTransform resources

func (*XSLTTransformList) DeepCopy added in v1.12.0

func (in *XSLTTransformList) DeepCopy() *XSLTTransformList

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

func (*XSLTTransformList) DeepCopyInto added in v1.12.0

func (in *XSLTTransformList) DeepCopyInto(out *XSLTTransformList)

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

func (*XSLTTransformList) DeepCopyObject added in v1.12.0

func (in *XSLTTransformList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type XSLTTransformSpec added in v1.12.0

type XSLTTransformSpec 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"`
}

XSLTTransformSpec holds the desired state of the XSLTTransform.

func (*XSLTTransformSpec) DeepCopy added in v1.12.0

func (in *XSLTTransformSpec) DeepCopy() *XSLTTransformSpec

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

func (*XSLTTransformSpec) DeepCopyInto added in v1.12.0

func (in *XSLTTransformSpec) DeepCopyInto(out *XSLTTransformSpec)

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

func (*XSLTTransformSpec) SetDefaults added in v1.12.0

func (s *XSLTTransformSpec) SetDefaults(ctx context.Context)

SetDefaults implements apis.Defaultable

func (*XSLTTransformSpec) Validate added in v1.12.0

func (s *XSLTTransformSpec) Validate(ctx context.Context) *apis.FieldError

Validate XSLT spec

type XSLTTransformStatus added in v1.12.0

type XSLTTransformStatus struct {
	// Although this is not a source, it is a CloudEvents producing entity.
	duckv1.SourceStatus `json:",inline"`
	// AddressStatus fulfills the Addressable contract.
	// +optional
	duckv1.AddressStatus `json:",inline"`
}

XSLTTransformStatus communicates the observed state of the component.

func (*XSLTTransformStatus) DeepCopy added in v1.12.0

func (in *XSLTTransformStatus) DeepCopy() *XSLTTransformStatus

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

func (*XSLTTransformStatus) DeepCopyInto added in v1.12.0

func (in *XSLTTransformStatus) DeepCopyInto(out *XSLTTransformStatus)

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

func (*XSLTTransformStatus) InitializeConditions added in v1.12.0

func (s *XSLTTransformStatus) InitializeConditions()

InitializeConditions sets relevant unset conditions to Unknown state.

func (*XSLTTransformStatus) MarkNotDeployed added in v1.12.0

func (s *XSLTTransformStatus) MarkNotDeployed(reason, messageFormat string, messageA ...interface{})

MarkNotDeployed sets the condition that the service has not been deployed.

func (*XSLTTransformStatus) PropagateAvailability added in v1.12.0

func (s *XSLTTransformStatus) PropagateAvailability(ksvc *servingv1.Service)

PropagateAvailability uses the readiness of the provided Knative Service to determine whether the Deployed condition should be marked as true or false.

Jump to

Keyboard shortcuts

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