v1alpha1

package
v0.0.0-...-204d889 Latest Latest
Warning

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

Go to latest
Published: May 4, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API. +groupName=kfilter.mattmoor.io

Index

Constants

View Source
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

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: kfilter.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 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

func (in *Filter) DeepCopy() *Filter

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

func (*Filter) DeepCopyInto

func (in *Filter) DeepCopyInto(out *Filter)

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

func (*Filter) DeepCopyObject

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

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 (*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

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.

func (*Transform) DeepCopyObject

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

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 (*TransformStatus) InitializeConditions

func (rs *TransformStatus) InitializeConditions()

func (*TransformStatus) PropagateServiceStatus

func (rs *TransformStatus) PropagateServiceStatus(ss v1alpha1.ServiceStatus)

Jump to

Keyboard shortcuts

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