Documentation ¶
Overview ¶
Copyright (c) 2020 Swisscom Blockchain AG Licensed under MIT License Package v1alpha1 contains API Schema definitions for the polkadot v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=polkadot.swisscomblockchain.com
Package v1alpha1 contains API Schema definitions for the polkadot v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=polkadot.swisscomblockchain.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "polkadot.swisscomblockchain.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
This section is empty.
Types ¶
type DataPersistenceSupport ¶
type DataPersistenceSupport struct { Enabled bool `json:"enabled"` PersistentVolumeClaim corev1.PersistentVolumeClaim `json:"persistentVolumeClaim,omitempty" protobuf:"bytes,name=volumeClaimTemplates"` }
func (*DataPersistenceSupport) DeepCopy ¶
func (in *DataPersistenceSupport) DeepCopy() *DataPersistenceSupport
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataPersistenceSupport.
func (*DataPersistenceSupport) DeepCopyInto ¶
func (in *DataPersistenceSupport) DeepCopyInto(out *DataPersistenceSupport)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetricsSupport ¶
type MetricsSupport struct {
Enabled bool `json:"enabled"`
}
func (*MetricsSupport) DeepCopy ¶
func (in *MetricsSupport) DeepCopy() *MetricsSupport
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsSupport.
func (*MetricsSupport) DeepCopyInto ¶
func (in *MetricsSupport) DeepCopyInto(out *MetricsSupport)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Polkadot ¶
type Polkadot struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PolkadotSpec `json:"spec,omitempty"` Status PolkadotStatus `json:"status,omitempty"` }
Polkadot is the Schema for the polkadots API +kubebuilder:subresource:status +kubebuilder:resource:path=polkadots,scope=Namespaced
func (*Polkadot) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Polkadot.
func (*Polkadot) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Polkadot) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PolkadotList ¶
type PolkadotList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Polkadot `json:"items"` }
PolkadotList contains a list of Polkadot
func (*PolkadotList) DeepCopy ¶
func (in *PolkadotList) DeepCopy() *PolkadotList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolkadotList.
func (*PolkadotList) DeepCopyInto ¶
func (in *PolkadotList) DeepCopyInto(out *PolkadotList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PolkadotList) DeepCopyObject ¶
func (in *PolkadotList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PolkadotSpec ¶
type PolkadotSpec struct { ClientVersion string `json:"clientVersion"` Kind string `json:"kind"` Validator Validator `json:"validator,omitempty"` Sentry Sentry `json:"sentry,omitempty"` MetricsSupport MetricsSupport `json:"metricsSupport"` SecureCommunicationSupport SecureCommunicationSupport `json:"secureCommunicationSupport"` }
PolkadotSpec defines the desired state of Polkadot
func (*PolkadotSpec) DeepCopy ¶
func (in *PolkadotSpec) DeepCopy() *PolkadotSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolkadotSpec.
func (*PolkadotSpec) DeepCopyInto ¶
func (in *PolkadotSpec) DeepCopyInto(out *PolkadotSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolkadotStatus ¶
type PolkadotStatus struct { // Nodes are the names of the CustomResource pods... ?? to check Nodes []string `json:"nodes"` }
PolkadotStatus defines the observed state of Polkadot
func (*PolkadotStatus) DeepCopy ¶
func (in *PolkadotStatus) DeepCopy() *PolkadotStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolkadotStatus.
func (*PolkadotStatus) DeepCopyInto ¶
func (in *PolkadotStatus) DeepCopyInto(out *PolkadotStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecureCommunicationSupport ¶
type SecureCommunicationSupport struct {
Enabled bool `json:"enabled"`
}
func (*SecureCommunicationSupport) DeepCopy ¶
func (in *SecureCommunicationSupport) DeepCopy() *SecureCommunicationSupport
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecureCommunicationSupport.
func (*SecureCommunicationSupport) DeepCopyInto ¶
func (in *SecureCommunicationSupport) DeepCopyInto(out *SecureCommunicationSupport)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Sentry ¶
type Sentry struct { Replicas int32 `json:"replicas"` ClientName string `json:"clientName"` NodeKey string `json:"nodeKey"` ReservedValidatorID string `json:"reservedValidatorID,omitempty"` Resources corev1.ResourceRequirements `json:"resources,omitempty" protobuf:"bytes,opt,name=resources"` DataPersistenceSupport DataPersistenceSupport `json:"dataPersistenceSupport"` }
func (*Sentry) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sentry.
func (*Sentry) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Validator ¶
type Validator struct { ClientName string `json:"clientName"` NodeKey string `json:"nodeKey"` ReservedSentryID string `json:"reservedSentryID,omitempty"` Resources corev1.ResourceRequirements `json:"resources,omitempty" protobuf:"bytes,opt,name=resources"` DataPersistenceSupport DataPersistenceSupport `json:"dataPersistenceSupport"` }
func (*Validator) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Validator.
func (*Validator) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.