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 ¶
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 PartitionStatus ¶
type PartitionStatus struct { ID uint32 `json:"id,omitempty"` Replicas []string `json:"replicas,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 {
Image string `json:"image,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 PluginSpec ¶
type PluginSpec struct { Group string `json:"group,omitempty"` Kind string `json:"kind,omitempty"` Versions []PluginVersion `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 PluginVersion ¶
type PluginVersion struct { Name string `json:"name,omitempty"` Driver PluginDriver `json:"driver,omitempty"` }
PluginVersion is a storage plugin version
func (*PluginVersion) DeepCopy ¶
func (in *PluginVersion) DeepCopy() *PluginVersion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PluginVersion.
func (*PluginVersion) DeepCopyInto ¶
func (in *PluginVersion) DeepCopyInto(out *PluginVersion)
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 ¶
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 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 corev1.ObjectReference `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 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 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Store.
func (*Store) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Store) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StoreList.
func (*StoreList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StoreList) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StoreSpec.
func (*StoreSpec) DeepCopyInto ¶
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.