v2beta1

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2022 License: Apache-2.0 Imports: 5 Imported by: 9

Documentation

Overview

Package v2beta1 contains API Schema definitions for the cloud v2beta1 API group +k8s:deepcopy-gen=package,register +groupName=atomix.io

Package v2beta1 contains API Schema definitions for the cloud v2beta1 API group +k8s:deepcopy-gen=package,register +groupName=atomix.io

Index

Constants

This section is empty.

Variables

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

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}

	// AddToScheme is required by the client code generator
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type DeprecatedPluginDriver added in v0.5.5

type DeprecatedPluginDriver struct {
	Image string `json:"image,omitempty"`
}

DeprecatedPluginDriver is storage plugin driver information

func (*DeprecatedPluginDriver) DeepCopy added in v0.5.5

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

func (*DeprecatedPluginDriver) DeepCopyInto added in v0.5.5

func (in *DeprecatedPluginDriver) DeepCopyInto(out *DeprecatedPluginDriver)

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

type DeprecatedPluginVersion added in v0.5.5

type DeprecatedPluginVersion struct {
	Name   string                 `json:"name,omitempty"`
	Driver DeprecatedPluginDriver `json:"driver,omitempty"`
}

DeprecatedPluginVersion is a storage plugin version

func (*DeprecatedPluginVersion) DeepCopy added in v0.5.5

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

func (*DeprecatedPluginVersion) DeepCopyInto added in v0.5.5

func (in *DeprecatedPluginVersion) DeepCopyInto(out *DeprecatedPluginVersion)

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

type DriverConfig added in v0.5.5

type DriverConfig struct {
	Group string `json:"group,omitempty"`
	Kind  string `json:"kind,omitempty"`
}

DriverConfig describes a driver configuration CRD

func (*DriverConfig) DeepCopy added in v0.5.5

func (in *DriverConfig) DeepCopy() *DriverConfig

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

func (*DriverConfig) DeepCopyInto added in v0.5.5

func (in *DriverConfig) DeepCopyInto(out *DriverConfig)

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

type PartitionStatus

type PartitionStatus struct {
	ID           uint32   `json:"id,omitempty"`
	Host         *string  `json:"host,omitempty"`
	Port         *int32   `json:"port,omitempty"`
	Replicas     []string `json:"replicas,omitempty"`
	ReadReplicas []string `json:"readReplicas,omitempty"`
	Ready        bool     `json:"ready,omitempty"`
}

PartitionStatus is a storage partition status

func (*PartitionStatus) DeepCopy

func (in *PartitionStatus) DeepCopy() *PartitionStatus

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

func (*PartitionStatus) DeepCopyInto

func (in *PartitionStatus) DeepCopyInto(out *PartitionStatus)

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

type PluginDriver

type PluginDriver struct {
	Version string        `json:"version,omitempty"`
	Image   string        `json:"image,omitempty"`
	Config  *DriverConfig `json:"config,omitempty"`
}

PluginDriver is storage plugin driver information

func (*PluginDriver) DeepCopy

func (in *PluginDriver) DeepCopy() *PluginDriver

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

func (*PluginDriver) DeepCopyInto

func (in *PluginDriver) DeepCopyInto(out *PluginDriver)

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

type PluginProtocol added in v0.5.5

type PluginProtocol struct {
	Group string `json:"group,omitempty"`
	Kind  string `json:"kind,omitempty"`
}

PluginProtocol describes a storage protocol CRD

func (*PluginProtocol) DeepCopy added in v0.5.5

func (in *PluginProtocol) DeepCopy() *PluginProtocol

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

func (*PluginProtocol) DeepCopyInto added in v0.5.5

func (in *PluginProtocol) DeepCopyInto(out *PluginProtocol)

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

type PluginSpec

type PluginSpec struct {
	Protocol PluginProtocol `json:"protocol,omitempty"`
	Drivers  []PluginDriver `json:"drivers,omitempty"`

	DeprecatedGroup    string                    `json:"group,omitempty"`
	DeprecatedKind     string                    `json:"kind,omitempty"`
	DeprecatedVersions []DeprecatedPluginVersion `json:"versions,omitempty"`
}

PluginSpec is a storage plugin specification

func (*PluginSpec) DeepCopy

func (in *PluginSpec) DeepCopy() *PluginSpec

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

func (*PluginSpec) DeepCopyInto

func (in *PluginSpec) DeepCopyInto(out *PluginSpec)

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

type Primitive

type Primitive struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PrimitiveSpec `json:"spec,omitempty"`
}

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

func (*Primitive) DeepCopy

func (in *Primitive) DeepCopy() *Primitive

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

func (*Primitive) DeepCopyInto

func (in *Primitive) DeepCopyInto(out *Primitive)

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

func (*Primitive) DeepCopyObject

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

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

type PrimitiveList

type PrimitiveList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	// Items is the list of Primitive items in the list
	Items []Primitive `json:"items"`
}

PrimitiveList contains a list of Primitive

func (*PrimitiveList) DeepCopy

func (in *PrimitiveList) DeepCopy() *PrimitiveList

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

func (*PrimitiveList) DeepCopyInto

func (in *PrimitiveList) DeepCopyInto(out *PrimitiveList)

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

func (*PrimitiveList) DeepCopyObject

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

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

type PrimitiveSpec

type PrimitiveSpec struct {
	Type  string         `json:"type,omitempty"`
	Store PrimitiveStore `json:"store,omitempty"`
}

PrimitiveSpec is the spec for a Primitive

func (*PrimitiveSpec) DeepCopy

func (in *PrimitiveSpec) DeepCopy() *PrimitiveSpec

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

func (*PrimitiveSpec) DeepCopyInto

func (in *PrimitiveSpec) DeepCopyInto(out *PrimitiveSpec)

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

type PrimitiveStore added in v0.5.5

type PrimitiveStore struct {
	corev1.ObjectReference `json:",inline"`
	Config                 map[string]runtime.RawExtension `json:"config,omitempty"`
}

PrimitiveStore is a primitive store configuration

func (*PrimitiveStore) DeepCopy added in v0.5.5

func (in *PrimitiveStore) DeepCopy() *PrimitiveStore

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

func (*PrimitiveStore) DeepCopyInto added in v0.5.5

func (in *PrimitiveStore) DeepCopyInto(out *PrimitiveStore)

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

type ProtocolStatus

type ProtocolStatus struct {
	Revision   int64             `json:"revision,omitempty"`
	Replicas   []ReplicaStatus   `json:"replicas,omitempty"`
	Partitions []PartitionStatus `json:"partitions,omitempty"`
}

ProtocolStatus is a protocol status

func (*ProtocolStatus) DeepCopy

func (in *ProtocolStatus) DeepCopy() *ProtocolStatus

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

func (*ProtocolStatus) DeepCopyInto

func (in *ProtocolStatus) DeepCopyInto(out *ProtocolStatus)

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

type ReplicaStatus

type ReplicaStatus struct {
	ID         string           `json:"id,omitempty"`
	NodeID     string           `json:"nodeId,omitempty"`
	Host       *string          `json:"host,omitempty"`
	Port       *int32           `json:"port,omitempty"`
	ExtraPorts map[string]int32 `json:"extraPorts,omitempty"`
	Ready      bool             `json:"ready,omitempty"`
}

ReplicaStatus is a storage replica status

func (*ReplicaStatus) DeepCopy

func (in *ReplicaStatus) DeepCopy() *ReplicaStatus

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

func (*ReplicaStatus) DeepCopyInto

func (in *ReplicaStatus) DeepCopyInto(out *ReplicaStatus)

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

type StoragePlugin

type StoragePlugin struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PluginSpec `json:"spec,omitempty"`
}

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

func (*StoragePlugin) DeepCopy

func (in *StoragePlugin) DeepCopy() *StoragePlugin

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

func (*StoragePlugin) DeepCopyInto

func (in *StoragePlugin) DeepCopyInto(out *StoragePlugin)

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

func (*StoragePlugin) DeepCopyObject

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

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

type StoragePluginList

type StoragePluginList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	// Items is the list of StoragePlugin items in the list
	Items []StoragePlugin `json:"items"`
}

StoragePluginList contains a list of StoragePlugin

func (*StoragePluginList) DeepCopy

func (in *StoragePluginList) DeepCopy() *StoragePluginList

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

func (*StoragePluginList) DeepCopyInto

func (in *StoragePluginList) DeepCopyInto(out *StoragePluginList)

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

func (*StoragePluginList) DeepCopyObject

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

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

type StorageProfile added in v0.5.4

type StorageProfile struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              StorageProfileSpec `json:"spec,omitempty"`
}

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

func (*StorageProfile) DeepCopy added in v0.5.4

func (in *StorageProfile) DeepCopy() *StorageProfile

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

func (*StorageProfile) DeepCopyInto added in v0.5.4

func (in *StorageProfile) DeepCopyInto(out *StorageProfile)

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

func (*StorageProfile) DeepCopyObject added in v0.5.4

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

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

type StorageProfileList added in v0.5.4

type StorageProfileList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	// Items is the list of StorageProfile items in the list
	Items []StorageProfile `json:"items"`
}

StorageProfileList contains a list of StorageProfile

func (*StorageProfileList) DeepCopy added in v0.5.4

func (in *StorageProfileList) DeepCopy() *StorageProfileList

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

func (*StorageProfileList) DeepCopyInto added in v0.5.4

func (in *StorageProfileList) DeepCopyInto(out *StorageProfileList)

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

func (*StorageProfileList) DeepCopyObject added in v0.5.4

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

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

type StorageProfileSpec added in v0.5.4

type StorageProfileSpec struct {
	Selector *metav1.LabelSelector `json:"selector,omitempty"`
	Drivers  []string              `json:"drivers,omitempty"`
}

StorageProfileSpec is the spec for a StorageProfile

func (*StorageProfileSpec) DeepCopy added in v0.5.4

func (in *StorageProfileSpec) DeepCopy() *StorageProfileSpec

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

func (*StorageProfileSpec) DeepCopyInto added in v0.5.4

func (in *StorageProfileSpec) DeepCopyInto(out *StorageProfileSpec)

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

type Store

type Store struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              StoreSpec   `json:"spec,omitempty"`
	Status            StoreStatus `json:"status,omitempty"`
}

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

func (*Store) DeepCopy

func (in *Store) DeepCopy() *Store

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

func (*Store) DeepCopyInto

func (in *Store) DeepCopyInto(out *Store)

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

func (*Store) DeepCopyObject

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

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

type StoreList

type StoreList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	// Items is the list of Store items in the list
	Items []Store `json:"items"`
}

StoreList contains a list of Store

func (*StoreList) DeepCopy

func (in *StoreList) DeepCopy() *StoreList

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

func (*StoreList) DeepCopyInto

func (in *StoreList) DeepCopyInto(out *StoreList)

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

func (*StoreList) DeepCopyObject

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

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

type StoreSpec

type StoreSpec struct {
	Protocol runtime.RawExtension `json:"protocol,omitempty"`
}

StoreSpec is a storage protocol specification

func (*StoreSpec) DeepCopy

func (in *StoreSpec) DeepCopy() *StoreSpec

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

func (*StoreSpec) DeepCopyInto

func (in *StoreSpec) DeepCopyInto(out *StoreSpec)

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

type StoreStatus

type StoreStatus struct {
	Ready           bool           `json:"ready,omitempty"`
	Replicas        int32          `json:"replicas,omitempty"`
	ReadyReplicas   int32          `json:"readyReplicas,omitempty"`
	Partitions      int32          `json:"partitions,omitempty"`
	ReadyPartitions int32          `json:"readyPartitions,omitempty"`
	Protocol        ProtocolStatus `json:"protocol,omitempty"`
}

StoreStatus is a store status

func (*StoreStatus) DeepCopy

func (in *StoreStatus) DeepCopy() *StoreStatus

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

func (*StoreStatus) DeepCopyInto

func (in *StoreStatus) DeepCopyInto(out *StoreStatus)

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