v1alpha1

package
v0.0.0-...-b0206a0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2020 License: MIT Imports: 5 Imported by: 0

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

View Source
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

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

func (in *Polkadot) DeepCopy() *Polkadot

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

func (*Polkadot) DeepCopyInto

func (in *Polkadot) DeepCopyInto(out *Polkadot)

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

func (*Polkadot) DeepCopyObject

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

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

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

func (*SecureCommunicationSupport) DeepCopyInto

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

func (in *Sentry) DeepCopy() *Sentry

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

func (*Sentry) DeepCopyInto

func (in *Sentry) DeepCopyInto(out *Sentry)

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

func (in *Validator) DeepCopy() *Validator

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

func (*Validator) DeepCopyInto

func (in *Validator) DeepCopyInto(out *Validator)

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