Documentation ¶
Overview ¶
Package v1beta3 contains API Schema definitions for the cloud v1beta3 API group +k8s:deepcopy-gen=package,register +groupName=cloud.atomix.io
Package v1beta3 contains API Schema definitions for the k8s v1beta3 API group +k8s:deepcopy-gen=package,register +groupName=cloud.atomix.io
Index ¶
- Variables
- func SetDatabaseDefaults(database *Database)
- type Database
- type DatabaseList
- type DatabaseSpec
- type DatabaseStatus
- type Member
- type MemberList
- type MemberProperties
- type Partition
- type PartitionList
- type PartitionSpec
- type PartitionStatus
- type Primitive
- type PrimitiveList
- type PrimitiveProperties
- type PrimitiveType
- type StorageClassReference
- type StorageController
- type StorageControllerList
- type StorageControllerSpec
- type StorageControllerStatus
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "cloud.atomix.io", Version: "v1beta3"} // 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 ¶
func SetDatabaseDefaults ¶
func SetDatabaseDefaults(database *Database)
SetDatabaseDefaults sets the defaults for the given Database
Types ¶
type Database ¶
type Database struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Spec is the Database specification Spec DatabaseSpec `json:"spec,omitempty"` // Status if the current status of the Database Status DatabaseStatus `json:"status,omitempty"` }
Database is the Schema for the Database API +k8s:openapi-gen=true
func (*Database) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Database.
func (*Database) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Database) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DatabaseList ¶
type DatabaseList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is the set of items in the list Items []Database `json:"items"` }
DatabaseList contains a list of Database
func (*DatabaseList) DeepCopy ¶
func (in *DatabaseList) DeepCopy() *DatabaseList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseList.
func (*DatabaseList) DeepCopyInto ¶
func (in *DatabaseList) DeepCopyInto(out *DatabaseList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DatabaseList) DeepCopyObject ¶
func (in *DatabaseList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DatabaseSpec ¶
type DatabaseSpec struct { // Partitions is the number of partitions in the database Partitions int32 `json:"partitions,omitempty"` // StorageClass is a reference to the storage class StorageClass StorageClassReference `json:"storageClass,omitempty"` }
DatabaseSpec is the k8s spec for a Database resource
func (*DatabaseSpec) DeepCopy ¶
func (in *DatabaseSpec) DeepCopy() *DatabaseSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseSpec.
func (*DatabaseSpec) DeepCopyInto ¶
func (in *DatabaseSpec) DeepCopyInto(out *DatabaseSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseStatus ¶
type DatabaseStatus struct { // ReadyPartitions is the number of clusters in the database that have been marked ready ReadyPartitions int32 `json:"readyPartitions,omitempty"` }
DatabaseStatus defines the observed state of Partition
func (*DatabaseStatus) DeepCopy ¶
func (in *DatabaseStatus) DeepCopy() *DatabaseStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseStatus.
func (*DatabaseStatus) DeepCopyInto ¶
func (in *DatabaseStatus) DeepCopyInto(out *DatabaseStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Member ¶
type Member struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Properties MemberProperties `json:"properties,omitempty"` }
Member is the Schema for the member API +k8s:openapi-gen=true
func (*Member) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Member.
func (*Member) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Member) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MemberList ¶
type MemberList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is the set of items in the list Items []Member `json:"items"` }
MemberList contains a list of MembershipGroup
func (*MemberList) DeepCopy ¶
func (in *MemberList) DeepCopy() *MemberList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemberList.
func (*MemberList) DeepCopyInto ¶
func (in *MemberList) DeepCopyInto(out *MemberList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MemberList) DeepCopyObject ¶
func (in *MemberList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MemberProperties ¶
type MemberProperties struct { metav1.ObjectMeta `json:"metadata,omitempty"` Service string `json:"service,omitempty"` Port intstr.IntOrString `json:"port,omitempty"` }
MemberProperties describes immutable member properties
func (*MemberProperties) DeepCopy ¶
func (in *MemberProperties) DeepCopy() *MemberProperties
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemberProperties.
func (*MemberProperties) DeepCopyInto ¶
func (in *MemberProperties) DeepCopyInto(out *MemberProperties)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Partition ¶
type Partition struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Spec is the spec for the partition Spec PartitionSpec `json:"spec,omitempty"` // Status is the status of the partition Status PartitionStatus `json:"status,omitempty"` }
Partition is the Schema for the atomixclusters API +k8s:openapi-gen=true
func (*Partition) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Partition.
func (*Partition) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Partition) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PartitionList ¶
type PartitionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is the set of items in the list Items []Partition `json:"items"` }
PartitionList contains a list of Partition
func (*PartitionList) DeepCopy ¶
func (in *PartitionList) DeepCopy() *PartitionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PartitionList.
func (*PartitionList) DeepCopyInto ¶
func (in *PartitionList) DeepCopyInto(out *PartitionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PartitionList) DeepCopyObject ¶
func (in *PartitionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PartitionSpec ¶
type PartitionSpec struct { // PartitionID is the partition identifier PartitionID int32 `json:"partitionId,omitempty"` // ServiceName is the partition service name ServiceName string `json:"serviceName,omitempty"` }
PartitionSpec is the k8s configuration for a single partition
func (*PartitionSpec) DeepCopy ¶
func (in *PartitionSpec) DeepCopy() *PartitionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PartitionSpec.
func (*PartitionSpec) DeepCopyInto ¶
func (in *PartitionSpec) DeepCopyInto(out *PartitionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PartitionStatus ¶
type PartitionStatus struct { // Ready indicates whether the partition is ready Ready bool `json:"ready,omitempty"` }
PartitionStatus defines the observed state of Partition
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 Primitive ¶
type Primitive struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Properties PrimitiveProperties `json:"properties,omitempty"` }
Primitive is the Schema for the primitive API +k8s:openapi-gen=true
func (*Primitive) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Primitive.
func (*Primitive) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Primitive) DeepCopyObject ¶
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 set of 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 PrimitiveProperties ¶
type PrimitiveProperties struct { metav1.ObjectMeta `json:"metadata,omitempty"` Database string `json:"database,omitempty"` Type PrimitiveType `json:"type,omitempty"` }
PrimitiveProperties contains the properties for a Primitive resource
func (*PrimitiveProperties) DeepCopy ¶
func (in *PrimitiveProperties) DeepCopy() *PrimitiveProperties
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrimitiveProperties.
func (*PrimitiveProperties) DeepCopyInto ¶
func (in *PrimitiveProperties) DeepCopyInto(out *PrimitiveProperties)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrimitiveType ¶
type PrimitiveType string
PrimitiveType is the type of a primitive
const ( // PrimitiveTypeUnknown is the default unknown primitive type PrimitiveTypeUnknown PrimitiveType = "Unknown" // PrimitiveTypeCounter is the primitive type for a counter PrimitiveTypeCounter PrimitiveType = "Counter" // PrimitiveTypeElection is the primitive type for an election PrimitiveTypeElection PrimitiveType = "Election" // PrimitiveTypeIndexedMap is the primitive type for an indexed map PrimitiveTypeIndexedMap PrimitiveType = "IndexedMap" // PrimitiveTypeLeaderLatch is the primitive type for a leader latch PrimitiveTypeLeaderLatch PrimitiveType = "LeaderLatch" // PrimitiveTypeList is the primitive type for a list PrimitiveTypeList PrimitiveType = "List" // PrimitiveTypeLock is the primitive type for a lock PrimitiveTypeLock PrimitiveType = "Lock" // PrimitiveTypeLog is the primitive type for a log PrimitiveTypeLog PrimitiveType = "Log" // PrimitiveTypeMap is the primitive type for a map PrimitiveTypeMap PrimitiveType = "Map" // PrimitiveTypeSet is the primitive type for a set PrimitiveTypeSet PrimitiveType = "Set" // PrimitiveTypeValue is the primitive type for a value PrimitiveTypeValue PrimitiveType = "Value" )
func GetPrimitiveType ¶
func GetPrimitiveType(t primitive.PrimitiveType) PrimitiveType
GetPrimitiveType returns the primitive type for the given Protobuf type
func (PrimitiveType) Proto ¶
func (t PrimitiveType) Proto() primitive.PrimitiveType
Proto returns the primitive type proto
type StorageClassReference ¶
type StorageClassReference struct { metav1.GroupVersionKind `json:",inline"` Namespace string `json:"namespace,omitempty"` Name string `json:"name,omitempty"` }
StorageClassReference is a reference to a storage configuration
func (*StorageClassReference) DeepCopy ¶
func (in *StorageClassReference) DeepCopy() *StorageClassReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClassReference.
func (*StorageClassReference) DeepCopyInto ¶
func (in *StorageClassReference) DeepCopyInto(out *StorageClassReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageController ¶
type StorageController struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Type is the storage controller type Type StorageControllerSpec `json:"type,omitempty"` }
StorageController is the Schema for the StorageController API +k8s:openapi-gen=true
func (*StorageController) DeepCopy ¶
func (in *StorageController) DeepCopy() *StorageController
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageController.
func (*StorageController) DeepCopyInto ¶
func (in *StorageController) DeepCopyInto(out *StorageController)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StorageController) DeepCopyObject ¶
func (in *StorageController) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type StorageControllerList ¶
type StorageControllerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is the set of items in the list Items []StorageController `json:"items"` }
StorageControllerList contains a list of StorageControllers
func (*StorageControllerList) DeepCopy ¶
func (in *StorageControllerList) DeepCopy() *StorageControllerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageControllerList.
func (*StorageControllerList) DeepCopyInto ¶
func (in *StorageControllerList) DeepCopyInto(out *StorageControllerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StorageControllerList) DeepCopyObject ¶
func (in *StorageControllerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type StorageControllerSpec ¶
type StorageControllerSpec struct {
metav1.GroupVersionKind `json:",inline"`
}
StorageControllerSpec is the k8s spec for a StorageController resource
func (*StorageControllerSpec) DeepCopy ¶
func (in *StorageControllerSpec) DeepCopy() *StorageControllerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageControllerSpec.
func (*StorageControllerSpec) DeepCopyInto ¶
func (in *StorageControllerSpec) DeepCopyInto(out *StorageControllerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageControllerStatus ¶
type StorageControllerStatus struct{}
StorageControllerStatus defines the observed state of StorageController
func (*StorageControllerStatus) DeepCopy ¶
func (in *StorageControllerStatus) DeepCopy() *StorageControllerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageControllerStatus.
func (*StorageControllerStatus) DeepCopyInto ¶
func (in *StorageControllerStatus) DeepCopyInto(out *StorageControllerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.