v1beta1

package
v0.0.0-...-ab8c438 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1beta2 contains API Schema definitions for the storage.cloud.atomix.io v1beta2 API group +kubebuilder:object:generate=true +groupName=storage.cloud.atomix.io

Index

Constants

View Source
const RedisStorageClassGroup = "storage.cloud.atomix.io"

RedisStorageClassGroup cache storage class group

View Source
const RedisStorageClassKind = "RedisStorageClass"

RedisStorageClassKind cache storage class kind

View Source
const RedisStorageClassVersion = "v1beta1"

RedisStorageClassVersion cache storage class version

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "storage.cloud.atomix.io", Version: "v1beta1"}

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

type Backend struct {

	// Replicas is the number of raft replicas
	Replicas int32 `json:"replicas,omitempty"`
	// Image is the image to run
	Image string `json:"image,omitempty"`

	// ImagePullPolicy is the pull policy to apply
	ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"`
}

Backend is a proxy configuration

type BackendStatus

type BackendStatus struct {
	// Ready indicates whether the proxy is ready
	Ready bool `json:"ready,omitempty"`
}

BackendStatus is the cluster proxy status

type Proxy

type Proxy struct {
	// Image is the image to run
	Image string `json:"image,omitempty"`

	// ImagePullPolicy is the pull policy to apply
	ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"`
}

Proxy is a proxy configuration

type ProxyStatus

type ProxyStatus struct {
	// Ready indicates whether the proxy is ready
	Ready bool `json:"ready,omitempty"`
}

ProxyStatus is the cluster proxy status

type RedisStorageClass

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

	Spec   RedisStorageClassSpec   `json:"spec,omitempty"`
	Status RedisStorageClassStatus `json:"status,omitempty"`
}

RedisStorage is the Schema for the redisstoragess API

func (*RedisStorageClass) DeepCopy

func (in *RedisStorageClass) DeepCopy() *RedisStorageClass

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

func (*RedisStorageClass) DeepCopyInto

func (in *RedisStorageClass) DeepCopyInto(out *RedisStorageClass)

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

func (*RedisStorageClass) DeepCopyObject

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

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

type RedisStorageClassList

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

RedisStorageClassList contains a list of RedisStorage

func (*RedisStorageClassList) DeepCopy

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

func (*RedisStorageClassList) DeepCopyInto

func (in *RedisStorageClassList) DeepCopyInto(out *RedisStorageClassList)

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

func (*RedisStorageClassList) DeepCopyObject

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

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

type RedisStorageClassSpec

type RedisStorageClassSpec struct {

	// Proxy is the redis proxy
	Proxy Proxy `json:"proxy,omitempty"`

	Backend Backend `json:"backend,omitempty"`

	RedisStorageStatus RedisStorageClassStatus `json:"redis,omitempty"`
}

RedisStorageClassSpec defines the desired state of RedisStorage

func (*RedisStorageClassSpec) DeepCopy

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

func (*RedisStorageClassSpec) DeepCopyInto

func (in *RedisStorageClassSpec) DeepCopyInto(out *RedisStorageClassSpec)

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

type RedisStorageClassStatus

type RedisStorageClassStatus struct {

	// Proxy is the proxy status
	Proxy *ProxyStatus `json:"proxy,omitempty"`

	Backend *BackendStatus `json:"backend,omitempty"`
}

RedisStorageClassStatus defines the observed state of RedisStorage

func (*RedisStorageClassStatus) DeepCopy

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

func (*RedisStorageClassStatus) DeepCopyInto

func (in *RedisStorageClassStatus) DeepCopyInto(out *RedisStorageClassStatus)

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