Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the core v1alpha1 API group +kubebuilder:object:generate=true +groupName=test.katanomi.dev
Index ¶
- Constants
- Variables
- type FooBar
- func (in *FooBar) DeepCopy() *FooBar
- func (in *FooBar) DeepCopyInto(out *FooBar)
- func (in *FooBar) DeepCopyObject() runtime.Object
- func (i *FooBar) Default(ctx context.Context)
- func (i *FooBar) ValidateCreate(ctx context.Context) error
- func (i *FooBar) ValidateDelete(ctx context.Context) error
- func (i *FooBar) ValidateUpdate(ctx context.Context, old runtime.Object) error
- type FooBarList
- type FooBarSpec
- type FooBarStatus
Constants ¶
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 )
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 ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FooBar.
func (*FooBar) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FooBar) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*FooBar) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*FooBar) ValidateDelete ¶
ValidateDelete 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.