v1alpha1

package
v0.0.0-...-19f0831 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the fabric v1alpha1 API group +kubebuilder:object:generate=true +groupName=fabric.kompitech.com

Index

Constants

View Source
const (
	StateCreating  string = "Creating"
	StateRunning   string = "Running"
	StateUpdating  string = "Updating"
	StateError     string = "Error"
	StateSuspended string = "Suspended"
)

SUPPORT

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "fabric.kompitech.com", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type CertificateSecret

type CertificateSecret struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

func (*CertificateSecret) DeepCopy

func (in *CertificateSecret) DeepCopy() *CertificateSecret

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

func (*CertificateSecret) DeepCopyInto

func (in *CertificateSecret) DeepCopyInto(out *CertificateSecret)

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

type FabricOrderer

type FabricOrderer struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   FabricOrdererSpec   `json:"spec,omitempty"`
	State  string              `json:"state,omitempty"`
	Status FabricOrdererStatus `json:"status,omitempty"`
}

FabricOrderer is the Schema for the fabricorderers API

func (*FabricOrderer) DeepCopy

func (in *FabricOrderer) DeepCopy() *FabricOrderer

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

func (*FabricOrderer) DeepCopyInto

func (in *FabricOrderer) DeepCopyInto(out *FabricOrderer)

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

func (*FabricOrderer) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FabricOrdererList

type FabricOrdererList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []FabricOrderer `json:"items"`
}

FabricOrdererList contains a list of FabricOrderer

func (*FabricOrdererList) DeepCopy

func (in *FabricOrdererList) DeepCopy() *FabricOrdererList

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

func (*FabricOrdererList) DeepCopyInto

func (in *FabricOrdererList) DeepCopyInto(out *FabricOrdererList)

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

func (*FabricOrdererList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FabricOrdererSpec

type FabricOrdererSpec struct {
	Image          string              `json:"image"`
	MetricsImage   string              `json:"metricsimage"`
	Replicas       int32               `json:"replicas"`
	DataVolumeSize resource.Quantity   `json:"datavolumesize"`
	CertVolumeSize resource.Quantity   `json:"cavolumesize"`
	Organization   string              `json:"organization"`
	MspId          string              `json:"mspid"`
	CommonName     string              `json:"commonname"`
	SvcType        corev1.ServiceType  `json:"SvcType,omitempty"`
	Certificate    []CertificateSecret `json:"certificate"`
	TLSCertificate []CertificateSecret `json:"tlscertificate"`
	Genesis        string              `json:"genesis"`
	Containers     []corev1.Container  `json:"containers"`
	NodeOUsEnabled bool                `json:"nodeousenabled"`
}

FabricOrdererSpec defines the desired state of FabricOrderer

func (*FabricOrdererSpec) DeepCopy

func (in *FabricOrdererSpec) DeepCopy() *FabricOrdererSpec

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

func (*FabricOrdererSpec) DeepCopyInto

func (in *FabricOrdererSpec) DeepCopyInto(out *FabricOrdererSpec)

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

type FabricOrdererStatus

type FabricOrdererStatus struct {

	// Nodes store the name of the pods which are running FabricOrderer instances
	Nodes []string `json:"nodes,omitempty"`
	State string   `json:"state,omitempty"`
}

FabricOrdererStatus defines the observed state of FabricOrderer

func (*FabricOrdererStatus) DeepCopy

func (in *FabricOrdererStatus) DeepCopy() *FabricOrdererStatus

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

func (*FabricOrdererStatus) DeepCopyInto

func (in *FabricOrdererStatus) DeepCopyInto(out *FabricOrdererStatus)

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

type FabricPeer

type FabricPeer struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   FabricPeerSpec   `json:"spec,omitempty"`
	State  string           `json:"state,omitempty"`
	Status FabricPeerStatus `json:"status,omitempty"`
}

FabricPeer is the Schema for the fabricpeers API

func (*FabricPeer) DeepCopy

func (in *FabricPeer) DeepCopy() *FabricPeer

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

func (*FabricPeer) DeepCopyInto

func (in *FabricPeer) DeepCopyInto(out *FabricPeer)

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

func (*FabricPeer) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FabricPeerList

type FabricPeerList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []FabricPeer `json:"items"`
}

FabricPeerList contains a list of FabricPeer

func (*FabricPeerList) DeepCopy

func (in *FabricPeerList) DeepCopy() *FabricPeerList

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

func (*FabricPeerList) DeepCopyInto

func (in *FabricPeerList) DeepCopyInto(out *FabricPeerList)

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

func (*FabricPeerList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FabricPeerSpec

type FabricPeerSpec struct {
	Image                string              `json:"image"`
	BuilderImage         string              `json:"builderimage"`
	RuntimeImage         string              `json:"runtimeimage"`
	CouchDBImage         string              `json:"couchdbimage"`
	DINDImage            string              `json:"dindimage"`
	MetricsImage         string              `json:"metricsimage"`
	Replicas             int32               `json:"replicas"`
	DataVolumeSize       resource.Quantity   `json:"datavolumesize,omitempty"`
	CertVolumeSize       resource.Quantity   `json:"certvolumesize,omitempty"`
	Organization         string              `json:"organization"`
	MspId                string              `json:"mspid"`
	CommonName           string              `json:"commonname"`
	BootstrapNodeAddress string              `json:"bootstrapnodeaddress"`
	SvcType              corev1.ServiceType  `json:"SvcType,omitempty"`
	Certificate          []CertificateSecret `json:"certificate"`
	TLSCertificate       []CertificateSecret `json:"tlscertificate"`
	Containers           []corev1.Container  `json:"containers"`
	NodeOUsEnabled       bool                `json:"nodeousenabled"`
}

FabricPeerSpec defines the desired state of FabricPeer

func (*FabricPeerSpec) DeepCopy

func (in *FabricPeerSpec) DeepCopy() *FabricPeerSpec

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

func (*FabricPeerSpec) DeepCopyInto

func (in *FabricPeerSpec) DeepCopyInto(out *FabricPeerSpec)

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

type FabricPeerStatus

type FabricPeerStatus struct {

	// Nodes store the name of the pods which are running FabricPeer instances
	Nodes []string `json:"nodes,omitempty"`
	State string   `json:"state,omitempty"`
}

FabricPeerStatus defines the observed state of FabricPeer

func (*FabricPeerStatus) DeepCopy

func (in *FabricPeerStatus) DeepCopy() *FabricPeerStatus

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

func (*FabricPeerStatus) DeepCopyInto

func (in *FabricPeerStatus) DeepCopyInto(out *FabricPeerStatus)

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