Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API. +groupName=kfilter.mattmoor.io
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Filter
- type FilterList
- type FilterSpec
- type FilterStatus
- func (in *FilterStatus) DeepCopy() *FilterStatus
- func (in *FilterStatus) DeepCopyInto(out *FilterStatus)
- func (rs *FilterStatus) GetCondition(t duckv1alpha1.ConditionType) *duckv1alpha1.Condition
- func (rs *FilterStatus) InitializeConditions()
- func (rs *FilterStatus) PropagateServiceStatus(ss v1alpha1.ServiceStatus)
- type Transform
- type TransformList
- type TransformSpec
- type TransformStatus
- func (in *TransformStatus) DeepCopy() *TransformStatus
- func (in *TransformStatus) DeepCopyInto(out *TransformStatus)
- func (rs *TransformStatus) GetCondition(t duckv1alpha1.ConditionType) *duckv1alpha1.Condition
- func (rs *TransformStatus) InitializeConditions()
- func (rs *TransformStatus) PropagateServiceStatus(ss v1alpha1.ServiceStatus)
Constants ¶
const ( // TransformConditionReady is set when the service is configured // and has available backends ready to receive traffic. ConditionReady = duckv1alpha1.ConditionReady // TransformConditionServiceReady is set to whether the underlying // Service has come up. ConditionServiceReady duckv1alpha1.ConditionType = "ServiceReady" )
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: kfilter.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Filter ¶
type Filter struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FilterSpec `json:"spec"` Status FilterStatus `json:"status"` }
Filter is a specification for a Filter resource
func (*Filter) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Filter.
func (*Filter) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Filter) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Filter) GetGroupVersionKind ¶
func (r *Filter) GetGroupVersionKind() schema.GroupVersionKind
type FilterList ¶
type FilterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Filter `json:"items"` }
FilterList is a list of Filter resources
func (*FilterList) DeepCopy ¶
func (in *FilterList) DeepCopy() *FilterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterList.
func (*FilterList) DeepCopyInto ¶
func (in *FilterList) DeepCopyInto(out *FilterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FilterList) DeepCopyObject ¶
func (in *FilterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FilterSpec ¶
type FilterSpec struct { // The cloud event type to keep // +optional EventType string `json:"eventType,omitempty"` // The filter to apply. // TODO(mattmoor): More detailed description. // +optional Body json.RawMessage `json:"body,omitempty"` }
FilterSpec is the spec for a Filter resource
func (*FilterSpec) DeepCopy ¶
func (in *FilterSpec) DeepCopy() *FilterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterSpec.
func (*FilterSpec) DeepCopyInto ¶
func (in *FilterSpec) DeepCopyInto(out *FilterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FilterStatus ¶
type FilterStatus struct { // Address holds the information needed for a Filter to be the target of an event. // +optional Address *duckv1alpha1.Addressable `json:"address,omitempty"` // Conditions communicates information about ongoing/complete // reconciliation processes that bring the "spec" inline with the observed // state of the world. // +optional Conditions duckv1alpha1.Conditions `json:"conditions,omitempty"` }
FilterStatus is the status for a Filter resource
func (*FilterStatus) DeepCopy ¶
func (in *FilterStatus) DeepCopy() *FilterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterStatus.
func (*FilterStatus) DeepCopyInto ¶
func (in *FilterStatus) DeepCopyInto(out *FilterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FilterStatus) GetCondition ¶
func (rs *FilterStatus) GetCondition(t duckv1alpha1.ConditionType) *duckv1alpha1.Condition
func (*FilterStatus) InitializeConditions ¶
func (rs *FilterStatus) InitializeConditions()
func (*FilterStatus) PropagateServiceStatus ¶
func (rs *FilterStatus) PropagateServiceStatus(ss v1alpha1.ServiceStatus)
type Transform ¶
type Transform struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TransformSpec `json:"spec"` Status TransformStatus `json:"status"` }
Transform is a specification for a Transform resource
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.
func (*Transform) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Transform) GetGroupVersionKind ¶
func (r *Transform) GetGroupVersionKind() schema.GroupVersionKind
type TransformList ¶
type TransformList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Transform `json:"items"` }
TransformList is a list of Transform resources
func (*TransformList) DeepCopy ¶
func (in *TransformList) DeepCopy() *TransformList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransformList.
func (*TransformList) DeepCopyInto ¶
func (in *TransformList) DeepCopyInto(out *TransformList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TransformList) DeepCopyObject ¶
func (in *TransformList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TransformSpec ¶
type TransformSpec struct {
Template string `json:"template,omitempty"`
}
TransformSpec is the spec for a Transform resource
func (*TransformSpec) DeepCopy ¶
func (in *TransformSpec) DeepCopy() *TransformSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransformSpec.
func (*TransformSpec) DeepCopyInto ¶
func (in *TransformSpec) DeepCopyInto(out *TransformSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TransformStatus ¶
type TransformStatus struct { // Address holds the information needed for a Transform to be the target of an event. // +optional Address *duckv1alpha1.Addressable `json:"address,omitempty"` // Conditions communicates information about ongoing/complete // reconciliation processes that bring the "spec" inline with the observed // state of the world. // +optional Conditions duckv1alpha1.Conditions `json:"conditions,omitempty"` }
TransformStatus is the status for a Transform resource
func (*TransformStatus) DeepCopy ¶
func (in *TransformStatus) DeepCopy() *TransformStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransformStatus.
func (*TransformStatus) DeepCopyInto ¶
func (in *TransformStatus) DeepCopyInto(out *TransformStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TransformStatus) GetCondition ¶
func (rs *TransformStatus) GetCondition(t duckv1alpha1.ConditionType) *duckv1alpha1.Condition
func (*TransformStatus) InitializeConditions ¶
func (rs *TransformStatus) InitializeConditions()
func (*TransformStatus) PropagateServiceStatus ¶
func (rs *TransformStatus) PropagateServiceStatus(ss v1alpha1.ServiceStatus)