v1alpha1

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the core v1alpha1 API group +kubebuilder:object:generate=true +groupName=test.katanomi.dev

Index

Constants

View Source
const (
	// indicates trigger name on subscription
	TriggerLabel string = "core.katanomi.dev/trigger"
	// indicates git trigger name on subscription
	GitTriggerLabel string = "core.katanomi.dev/gitTrigger"
	// indicates artifact trigger name on subscription
	ArtifactTriggerLabel string = "core.katanomi.dev/artifactTrigger"
	// indicates broker name on subscription
	BrokerLabel string = "eventing.knative.dev/broker"
	// indicates integration class name
	IntegrationClassLabel = metav1alpha1.IntegrationClassLabelKey
)
View Source
const (
	// ReconcileTriggeredAnnotation adds an annotations to trigger reconcile of an object
	ReconcileTriggeredAnnotation = metav1alpha1.ReconcileTriggeredAnnotationKey
	// WebhookAutoGenerateAnnotation indicates that will auto generate webhook
	WebhookAutoGenerateAnnotation string = "core.katanomi.dev/webhook.autoGenerate"
	// WebhookOwnerHashAnnotation indicates the webhook owner's hash code, if changed, should be reconciled.
	WebhookOwnerHashAnnotation string = "core.katanomi.dev/webhook.owner.hash"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "test.katanomi.dev", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type FooBar

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

	Spec   FooBarSpec   `json:"spec,omitempty"`
	Status FooBarStatus `json:"status,omitempty"`
}

FooBar is a random type

func (*FooBar) DeepCopy

func (in *FooBar) DeepCopy() *FooBar

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

func (*FooBar) DeepCopyInto

func (in *FooBar) DeepCopyInto(out *FooBar)

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

func (*FooBar) DeepCopyObject

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

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

func (*FooBar) Default

func (i *FooBar) Default(ctx context.Context)

Default add default values for IntegationClass during create and update

func (*FooBar) ValidateCreate

func (i *FooBar) ValidateCreate(ctx context.Context) error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*FooBar) ValidateDelete

func (i *FooBar) ValidateDelete(ctx context.Context) error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*FooBar) ValidateUpdate

func (i *FooBar) ValidateUpdate(ctx context.Context, old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type FooBarList

type FooBarList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []FooBar `json:"items"`
}

FooBarList contains a list of FooBar

func (*FooBarList) DeepCopy

func (in *FooBarList) DeepCopy() *FooBarList

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

func (*FooBarList) DeepCopyInto

func (in *FooBarList) DeepCopyInto(out *FooBarList)

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

func (*FooBarList) DeepCopyObject

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

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

type FooBarSpec

type FooBarSpec struct {
	Text string `json:"text,omitempty"`
}

FooBarSpec defines the desired state of FooBar

func (*FooBarSpec) DeepCopy

func (in *FooBarSpec) DeepCopy() *FooBarSpec

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

func (*FooBarSpec) DeepCopyInto

func (in *FooBarSpec) DeepCopyInto(out *FooBarSpec)

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

type FooBarStatus

type FooBarStatus struct {
	// inherits duck/v1 Status, which currently provides:
	// * ObservedGeneration - the 'Generation' of the Broker that was last processed by the controller.
	// * Conditions - the latest available observations of a resource's current state.
	duckv1.Status `json:",inline"`

	Data map[string]string `json:"data,omitempty"`
}

FooBarStatus defines the observed state of FooBar

func (*FooBarStatus) DeepCopy

func (in *FooBarStatus) DeepCopy() *FooBarStatus

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

func (*FooBarStatus) DeepCopyInto

func (in *FooBarStatus) DeepCopyInto(out *FooBarStatus)

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