v1

package
v0.0.0-...-a53be28 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the connectors v1 API group +kubebuilder:object:generate=true +groupName=connectors.cloud.yandex.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "connectors.cloud.yandex.com", Version: "v1"}

	// 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 YandexMessageQueue

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

	Spec   YandexMessageQueueSpec   `json:"spec,omitempty"`
	Status YandexMessageQueueStatus `json:"status,omitempty"`
}

YandexMessageQueue is the Schema for the yandex object storage API +kubebuilder:object:root=true

func (*YandexMessageQueue) DeepCopy

func (in *YandexMessageQueue) DeepCopy() *YandexMessageQueue

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

func (*YandexMessageQueue) DeepCopyInto

func (in *YandexMessageQueue) DeepCopyInto(out *YandexMessageQueue)

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

func (*YandexMessageQueue) DeepCopyObject

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

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

type YandexMessageQueueList

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

YandexMessageQueueList contains a list of YandexMessageQueue +kubebuilder:object:root=true

func (*YandexMessageQueueList) DeepCopy

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

func (*YandexMessageQueueList) DeepCopyInto

func (in *YandexMessageQueueList) DeepCopyInto(out *YandexMessageQueueList)

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

func (*YandexMessageQueueList) DeepCopyObject

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

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

type YandexMessageQueueSpec

type YandexMessageQueueSpec struct {
	// Name: must be unique in Yandex Cloud. Can consist of lowercase latin letters, dashes, dots and numbers
	// and must be up to 80 characters long. Name of FIFO queue must end with ".fifo". Must be immutable.
	// +kubebuilder:validation:MaxLength=80
	// +kubebuilder:validation:Pattern=[a-z0-9][a-z0-9-_]*[a-z0-9]
	// +kubebuilder:validation:Required
	Name string `json:"name"`

	// FifoQueue: flag that states whether queue is FIFO or not. Must be immutable.
	// +kubebuilder:default=false
	// +kubebuilder:validation:Optional
	FifoQueue bool `json:"fifoQueue"`

	// ContentBasedDeduplication: flag that enables deduplication by message contents.
	// +kubebuilder:default=false
	// +kubebuilder:validation:Optional
	ContentBasedDeduplication bool `json:"contentBasedDeduplication"`

	// DelaySeconds: Time in seconds for which messages are hidden after sending.
	// Can be from 0 to 900 seconds (15 minutes). Defaults to 0.
	// +kubebuilder:default=0
	// +kubebuilder:validation:Optional
	DelaySeconds int `json:"delaySeconds"`

	// MaximumMessageSize: maximal size of message in bytes. Can vary from 1024 (1 KiB) to 262144 bytes (256 KiB).
	// Defaults to 262144 (256 KiB).
	// +kubebuilder:default=262144
	// +kubebuilder:validation:Optional
	MaximumMessageSize int `json:"maximumMessageSize"`

	// MessageRetentionPeriod: duration of message storing. Can vary from 60 seconds (1 minute) to 1209600 seconds
	// (14 days). Defaults to: 345600 (4 days).
	// +kubebuilder:default=345600
	// +kubebuilder:validation:Optional
	MessageRetentionPeriod int `json:"messageRetentionPeriod"`

	// ReceiveMessageWaitTimeSeconds: timeout for method "ReceiveMessage" measured in seconds. Can vary from
	// 0 to 20 seconds. Defaults to 0.
	// +kubebuilder:default=0
	// +kubebuilder:validation:Optional
	ReceiveMessageWaitTimeSeconds int `json:"receiveMessageWaitTimeSeconds"`

	// VisibilityTimeout: timeout of messages visibility timeout. Can vary from 0 to 43000 seconds. Defaults to 30.
	// +kubebuilder:default=30
	// +kubebuilder:validation:Optional
	VisibilityTimeout int `json:"visibilityTimeout"`

	// SAKeyName: specifies name of the Static Access Key that is used to authenticate this
	// Yandex Object Storage in the cloud.
	// +kubebuilder:validation:Required
	SAKeyName string `json:"SAKeyName"`
}

YandexMessageQueueSpec defines the desired state of YandexMessageQueue

func (*YandexMessageQueueSpec) DeepCopy

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

func (*YandexMessageQueueSpec) DeepCopyInto

func (in *YandexMessageQueueSpec) DeepCopyInto(out *YandexMessageQueueSpec)

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

type YandexMessageQueueStatus

type YandexMessageQueueStatus struct {
	// URL of created queue
	QueueURL string `json:"queueUrl,omitempty"`
}

YandexMessageQueueStatus defines the observed state of YandexMessageQueue

func (*YandexMessageQueueStatus) DeepCopy

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

func (*YandexMessageQueueStatus) DeepCopyInto

func (in *YandexMessageQueueStatus) DeepCopyInto(out *YandexMessageQueueStatus)

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