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 RegistryStatus

type RegistryStatus string
const (
	Creating RegistryStatus = "CREATING"
	Active   RegistryStatus = "ACTIVE"
	Deleting RegistryStatus = "DELETING"
)

type YandexContainerRegistry

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

	Spec   YandexContainerRegistrySpec   `json:"spec,omitempty"`
	Status YandexContainerRegistryStatus `json:"status,omitempty"`
}

YandexContainerRegistry is the Schema for the yandexcontainerregistries API +kubebuilder:object:root=true +kubebuilder:resource:shortName=yc-registry

func (*YandexContainerRegistry) DeepCopy

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

func (*YandexContainerRegistry) DeepCopyInto

func (in *YandexContainerRegistry) DeepCopyInto(out *YandexContainerRegistry)

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

func (*YandexContainerRegistry) DeepCopyObject

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

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

type YandexContainerRegistryList

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

YandexContainerRegistryList contains a list of YandexContainerRegistry +kubebuilder:object:root=true

func (*YandexContainerRegistryList) DeepCopy

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

func (*YandexContainerRegistryList) DeepCopyInto

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

func (*YandexContainerRegistryList) DeepCopyObject

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

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

type YandexContainerRegistrySpec

type YandexContainerRegistrySpec struct {
	// Name: name of registry
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:MinLength=3
	// +kubebuilder:validation:MaxLength=63
	Name string `json:"name"`

	// FolderID: id of a folder in which registry is located. Must be immutable.
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:
	FolderID string `json:"folderId"`
}

YandexContainerRegistrySpec defines the desired state of YandexContainerRegistry

func (*YandexContainerRegistrySpec) DeepCopy

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

func (*YandexContainerRegistrySpec) DeepCopyInto

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

type YandexContainerRegistryStatus

type YandexContainerRegistryStatus struct {
	// ID: id of registry
	ID string `json:"id,omitempty"`

	// Status: status of registry.
	// Valid values are:
	// - CREATING
	// - ACTIVE
	// - DELETING
	Status RegistryStatus `json:"status,omitempty"`

	// CreatedAt: RFC3339-formatted string, representing creation time of resource
	CreatedAt string `json:"createdAt,omitempty"`

	// Labels: registry labels in key:value form. Maximum of 64 labels for resource is allowed
	Labels map[string]string `json:"labels,omitempty"`
}

YandexContainerRegistryStatus defines the observed state of YandexContainerRegistry

func (*YandexContainerRegistryStatus) DeepCopy

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

func (*YandexContainerRegistryStatus) 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