v1alpha1

package
v0.0.0-...-800f1fe Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 License: MIT Imports: 3 Imported by: 2

Documentation

Overview

+k8s:deepcopy-gen=package +k8s:defaulter-gen=TypeMeta +groupName=keas.io

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemeBuilder runtime.SchemeBuilder
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{
	Group:   "keas.io",
	Version: "v1alpha1",
}

Functions

func Resource

func Resource(resource string) schema.GroupResource

Types

type EventType

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

	Spec EventTypeSpecification `json:"spec"`
}

+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:printcolumn:name="URI",type="string",JSONPath=".spec.schemaUri",description="The schema uri that's mapped to the dataschema property of cloudevents" +kubebuilder:printcolumn:name="Description",type="string",JSONPath=".spec.description",description="The description of the event type and/or schema"

func (*EventType) DeepCopy

func (in *EventType) DeepCopy() *EventType

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

func (*EventType) DeepCopyInto

func (in *EventType) DeepCopyInto(out *EventType)

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

func (*EventType) DeepCopyObject

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

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

type EventTypeList

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

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

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*EventTypeList) DeepCopy

func (in *EventTypeList) DeepCopy() *EventTypeList

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

func (*EventTypeList) DeepCopyInto

func (in *EventTypeList) DeepCopyInto(out *EventTypeList)

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

func (*EventTypeList) DeepCopyObject

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

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

type EventTypeSpecification

type EventTypeSpecification struct {
	Schema string `json:"schema"`
	// +kubebuilder:validation:Format=uri
	SchemaUri string `json:"schemaUri"`
	// +kubebuilder:validation:Pattern=`^[\w .,&\-'"]*$`
	Description string `json:"description,omitempty"`
}

func (*EventTypeSpecification) DeepCopy

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

func (*EventTypeSpecification) DeepCopyInto

func (in *EventTypeSpecification) DeepCopyInto(out *EventTypeSpecification)

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

type IngestionPolicy

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

	Spec IngestionPolicySpecification `json:"spec"`
}

+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:printcolumn:name="Description",type="string",JSONPath=".spec.description",description="The description of the ingestion policy" +kubebuilder:printcolumn:name="Default Allow",type="boolean",JSONPath=".spec.defaults.allow",description="The default value for allow"

func (*IngestionPolicy) DeepCopy

func (in *IngestionPolicy) DeepCopy() *IngestionPolicy

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

func (*IngestionPolicy) DeepCopyInto

func (in *IngestionPolicy) DeepCopyInto(out *IngestionPolicy)

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

func (*IngestionPolicy) DeepCopyObject

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

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

type IngestionPolicyDefaults

type IngestionPolicyDefaults struct {
	Allow bool `json:"allow,omitempty"`
}

func (*IngestionPolicyDefaults) DeepCopy

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

func (*IngestionPolicyDefaults) DeepCopyInto

func (in *IngestionPolicyDefaults) DeepCopyInto(out *IngestionPolicyDefaults)

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

type IngestionPolicyList

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

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

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*IngestionPolicyList) DeepCopy

func (in *IngestionPolicyList) DeepCopy() *IngestionPolicyList

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

func (*IngestionPolicyList) DeepCopyInto

func (in *IngestionPolicyList) DeepCopyInto(out *IngestionPolicyList)

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

func (*IngestionPolicyList) DeepCopyObject

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

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

type IngestionPolicySpecification

type IngestionPolicySpecification struct {
	Policy      string                  `json:"policy"`
	Description string                  `json:"description,omitempty"`
	Defaults    IngestionPolicyDefaults `json:"defaults,omitempty"`
}

func (*IngestionPolicySpecification) DeepCopy

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

func (*IngestionPolicySpecification) DeepCopyInto

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

Jump to

Keyboard shortcuts

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