Documentation ¶
Overview ¶
Package v2beta1 contains API Schema definitions for the cloud v2beta1 API group +k8s:deepcopy-gen=package,register +groupName=storage.atomix.io
Package v2beta1 contains API Schema definitions for the cloud v2beta1 API group +k8s:deepcopy-gen=package,register +groupName=storage.atomix.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "storage.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 EpochClock ¶
type EpochClock struct {
Election corev1.LocalObjectReference `json:"election,omitempty"`
}
EpochClock configures an epoch-based clock for the gossip protocol
func (*EpochClock) DeepCopy ¶
func (in *EpochClock) DeepCopy() *EpochClock
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EpochClock.
func (*EpochClock) DeepCopyInto ¶
func (in *EpochClock) DeepCopyInto(out *EpochClock)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GossipClock ¶
type GossipClock struct { Logical *LogicalClock `json:"logical,omitempty"` Physical *PhysicalClock `json:"physical,omitempty"` Epoch *EpochClock `json:"epoch,omitempty"` }
GossipClock is a gossip clock configuration
func (*GossipClock) DeepCopy ¶
func (in *GossipClock) DeepCopy() *GossipClock
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GossipClock.
func (*GossipClock) DeepCopyInto ¶
func (in *GossipClock) DeepCopyInto(out *GossipClock)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GossipConfig ¶
type GossipConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Clock GossipClock `json:"clock,omitempty"` ReplicationFactor int32 `json:"replicationFactor,omitempty"` }
GossipConfig is the Schema for the GossipConfig API +k8s:openapi-gen=true
func (*GossipConfig) DeepCopy ¶
func (in *GossipConfig) DeepCopy() *GossipConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GossipConfig.
func (*GossipConfig) DeepCopyInto ¶
func (in *GossipConfig) DeepCopyInto(out *GossipConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GossipConfig) DeepCopyObject ¶
func (in *GossipConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GossipConfigList ¶
type GossipConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is the GossipConfig of items in the list Items []GossipConfig `json:"items"` }
GossipConfigList contains a list of GossipConfig
func (*GossipConfigList) DeepCopy ¶
func (in *GossipConfigList) DeepCopy() *GossipConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GossipConfigList.
func (*GossipConfigList) DeepCopyInto ¶
func (in *GossipConfigList) DeepCopyInto(out *GossipConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GossipConfigList) DeepCopyObject ¶
func (in *GossipConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GossipProtocol ¶
type GossipProtocol struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec GossipProtocolSpec `json:"spec,omitempty"` Status GossipProtocolStatus `json:"status,omitempty"` }
GossipProtocol is the Schema for the GossipProtocol API +k8s:openapi-gen=true
func (*GossipProtocol) DeepCopy ¶
func (in *GossipProtocol) DeepCopy() *GossipProtocol
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GossipProtocol.
func (*GossipProtocol) DeepCopyInto ¶
func (in *GossipProtocol) DeepCopyInto(out *GossipProtocol)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GossipProtocol) DeepCopyObject ¶
func (in *GossipProtocol) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GossipProtocolList ¶
type GossipProtocolList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is the GossipProtocol of items in the list Items []GossipProtocol `json:"items"` }
GossipProtocolList contains a list of GossipProtocol
func (*GossipProtocolList) DeepCopy ¶
func (in *GossipProtocolList) DeepCopy() *GossipProtocolList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GossipProtocolList.
func (*GossipProtocolList) DeepCopyInto ¶
func (in *GossipProtocolList) DeepCopyInto(out *GossipProtocolList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GossipProtocolList) DeepCopyObject ¶
func (in *GossipProtocolList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GossipProtocolSpec ¶
type GossipProtocolSpec struct { // Replicas is the number of replicas Replicas int32 `json:"replicas,omitempty"` // Partitions is the number of partitions Partitions int32 `json:"partitions,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"` // ImagePullSecrets is a list of secrets for pulling images ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"` }
GossipProtocolSpec specifies a GossipProtocol configuration
func (*GossipProtocolSpec) DeepCopy ¶
func (in *GossipProtocolSpec) DeepCopy() *GossipProtocolSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GossipProtocolSpec.
func (*GossipProtocolSpec) DeepCopyInto ¶
func (in *GossipProtocolSpec) DeepCopyInto(out *GossipProtocolSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GossipProtocolStatus ¶
type GossipProtocolStatus struct { *v2beta1.ProtocolStatus `json:",inline"` Pods []PodStatus `json:"pods,omitempty"` }
GossipProtocolStatus defines the status of a GossipProtocol
func (*GossipProtocolStatus) DeepCopy ¶
func (in *GossipProtocolStatus) DeepCopy() *GossipProtocolStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GossipProtocolStatus.
func (*GossipProtocolStatus) DeepCopyInto ¶
func (in *GossipProtocolStatus) DeepCopyInto(out *GossipProtocolStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LogicalClock ¶
type LogicalClock struct{}
LogicalClock configures a logical clock for the gossip protocol
func (*LogicalClock) DeepCopy ¶
func (in *LogicalClock) DeepCopy() *LogicalClock
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogicalClock.
func (*LogicalClock) DeepCopyInto ¶
func (in *LogicalClock) DeepCopyInto(out *LogicalClock)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PhysicalClock ¶
type PhysicalClock struct{}
PhysicalClock configures a physical clock for the gossip protocol
func (*PhysicalClock) DeepCopy ¶
func (in *PhysicalClock) DeepCopy() *PhysicalClock
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PhysicalClock.
func (*PhysicalClock) DeepCopyInto ¶
func (in *PhysicalClock) DeepCopyInto(out *PhysicalClock)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PodStatus ¶
type PodStatus struct { corev1.ObjectReference `json:",inline"` Revision int64 `json:"revision,omitempty"` }
PodStatus represents the status of the protocol configuration for a pod