v1alpha1

package
v0.33.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "ucp.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 QueueMessage

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

	Spec QueueMessageSpec `json:"spec,omitempty"`
}

QueueMessage is the Schema for QueueMessage API. +k8s:openapi-gen=true

func (*QueueMessage) DeepCopy

func (in *QueueMessage) DeepCopy() *QueueMessage

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

func (*QueueMessage) DeepCopyInto

func (in *QueueMessage) DeepCopyInto(out *QueueMessage)

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

func (*QueueMessage) DeepCopyObject

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

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

type QueueMessageList

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

QueueMessageList contains a list of OperationQueue

func (*QueueMessageList) DeepCopy

func (in *QueueMessageList) DeepCopy() *QueueMessageList

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

func (*QueueMessageList) DeepCopyInto

func (in *QueueMessageList) DeepCopyInto(out *QueueMessageList)

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

func (*QueueMessageList) DeepCopyObject

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

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

type QueueMessageSpec

type QueueMessageSpec struct {
	// DequeueCount represents the number of dequeue.
	DequeueCount int `json:"dequeueCount"`
	// EnqueueAt represents the time when enqueuing the message
	EnqueueAt metav1.Time `json:"enqueueAt"`
	// ExpireAt represents the expiry of the message.
	ExpireAt metav1.Time `json:"expireAt"`

	// ContentType represents the content-type of Data.
	ContentType string `json:"contentType"`
	// +kubebuilder:pruning:PreserveUnknownFields
	// +kubebuilder:validation:PreserveUnknownFields
	Data *runtime.RawExtension `json:"data"`
}

func (*QueueMessageSpec) DeepCopy

func (in *QueueMessageSpec) DeepCopy() *QueueMessageSpec

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

func (*QueueMessageSpec) DeepCopyInto

func (in *QueueMessageSpec) DeepCopyInto(out *QueueMessageSpec)

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

type Resource

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

	Entries []ResourceEntry `json:"entries,omitempty"`
}

Resource is the Schema for the resources API +k8s:openapi-gen=true

func (*Resource) DeepCopy

func (in *Resource) DeepCopy() *Resource

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

func (*Resource) DeepCopyInto

func (in *Resource) DeepCopyInto(out *Resource)

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

func (*Resource) DeepCopyObject

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

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

type ResourceEntry

type ResourceEntry struct {
	ID          string `json:"id"`
	APIVersion  string `json:"apiVersion"`
	ETag        string `json:"etag"`
	ContentType string `json:"contentType"`

	// +kubebuilder:pruning:PreserveUnknownFields
	// +kubebuilder:validation:PreserveUnknownFields
	Data *runtime.RawExtension `json:"data,omitempty"`
}

func (*ResourceEntry) DeepCopy

func (in *ResourceEntry) DeepCopy() *ResourceEntry

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

func (*ResourceEntry) DeepCopyInto

func (in *ResourceEntry) DeepCopyInto(out *ResourceEntry)

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

type ResourceList

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

ResourceList contains a list of Resource

func (*ResourceList) DeepCopy

func (in *ResourceList) DeepCopy() *ResourceList

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

func (*ResourceList) DeepCopyInto

func (in *ResourceList) DeepCopyInto(out *ResourceList)

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

func (*ResourceList) DeepCopyObject

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

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

Jump to

Keyboard shortcuts

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