v1alpha1

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the cache v1alpha1 API group +kubebuilder:object:generate=true +groupName=hlf.kungfusoftware.es

Index

Constants

View Source
const (
	CouchDBState = "couchdb"
	LevelDBState = "leveldb"
)
View Source
const DefaultImagePullPolicy = corev1.PullAlways
View Source
const ServiceTypeClusterIP = "ClusterIP"
View Source
const ServiceTypeLoadBalancer = "LoadBalancer"
View Source
const ServiceTypeNodePort = "NodePort"

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion       = schema.GroupVersion{Group: "hlf.kungfusoftware.es", Version: "v1alpha1"}
	SchemeGroupVersion = schema.GroupVersion{Group: "hlf.kungfusoftware.es", 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

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type AccessMode

type AccessMode string

+kubebuilder:validation:Enum=ReadWriteOnce;ReadOnlyMany;ReadWriteMany

type ApplicationCapabilities

type ApplicationCapabilities struct {
	V2_0 bool `json:"V2_0"`
}

func (*ApplicationCapabilities) DeepCopy

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

func (*ApplicationCapabilities) DeepCopyInto

func (in *ApplicationCapabilities) DeepCopyInto(out *ApplicationCapabilities)

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

type CA

type CA struct {
	// +kubebuilder:validation:MinLength=1
	Host string `json:"host"`
	// +kubebuilder:validation:MinLength=1
	Cert string `json:"cert"`
	// +kubebuilder:validation:MinLength=1
	User string `json:"user"`
	// +kubebuilder:validation:MinLength=1
	Password string `json:"password"`
}

func (*CA) DeepCopy

func (in *CA) DeepCopy() *CA

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

func (*CA) DeepCopyInto

func (in *CA) DeepCopyInto(out *CA)

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

type Catls

type Catls struct {
	Cacert string `json:"cacert"`
}

func (*Catls) DeepCopy

func (in *Catls) DeepCopy() *Catls

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

func (*Catls) DeepCopyInto

func (in *Catls) DeepCopyInto(out *Catls)

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

type ChannelCapabilities

type ChannelCapabilities struct {
	V2_0 bool `json:"V2_0"`
}

func (*ChannelCapabilities) DeepCopy

func (in *ChannelCapabilities) DeepCopy() *ChannelCapabilities

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

func (*ChannelCapabilities) DeepCopyInto

func (in *ChannelCapabilities) DeepCopyInto(out *ChannelCapabilities)

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

type ChannelConfig

type ChannelConfig struct {
	BatchTimeout            string                  `json:"batchTimeout"`
	MaxMessageCount         int                     `json:"maxMessageCount"`
	AbsoluteMaxBytes        int                     `json:"absoluteMaxBytes"`
	PreferredMaxBytes       int                     `json:"preferredMaxBytes"`
	OrdererCapabilities     OrdererCapabilities     `json:"ordererCapabilities"`
	ApplicationCapabilities ApplicationCapabilities `json:"applicationCapabilities"`
	ChannelCapabilities     ChannelCapabilities     `json:"channelCapabilities"`
	SnapshotIntervalSize    int                     `json:"snapshotIntervalSize"`
	TickInterval            string                  `json:"tickInterval"`
	ElectionTick            int                     `json:"electionTick"`
	HeartbeatTick           int                     `json:"heartbeatTick"`
	MaxInflightBlocks       int                     `json:"maxInflightBlocks"`
}

func (*ChannelConfig) DeepCopy

func (in *ChannelConfig) DeepCopy() *ChannelConfig

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

func (*ChannelConfig) DeepCopyInto

func (in *ChannelConfig) DeepCopyInto(out *ChannelConfig)

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

type Component

type Component struct {
	// +kubebuilder:validation:MinLength=1
	Cahost string `json:"cahost"`
	// +kubebuilder:validation:MinLength=1
	Caname string `json:"caname"`
	Caport int    `json:"caport"`
	Catls  Catls  `json:"catls"`
	// +kubebuilder:validation:MinLength=1
	Enrollid string `json:"enrollid"`
	// +kubebuilder:validation:MinLength=1
	Enrollsecret string `json:"enrollsecret"`
}

func (*Component) CAUrl

func (c *Component) CAUrl() string

func (*Component) DeepCopy

func (in *Component) DeepCopy() *Component

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

func (*Component) DeepCopyInto

func (in *Component) DeepCopyInto(out *Component)

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

type Cors

type Cors struct {
	// +kubebuilder:default:=false
	Enabled bool     `json:"enabled"`
	Origins []string `json:"origins"`
}

func (*Cors) DeepCopy

func (in *Cors) DeepCopy() *Cors

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

func (*Cors) DeepCopyInto

func (in *Cors) DeepCopyInto(out *Cors)

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

type Csr

type Csr struct {
	// +optional
	Hosts []string `json:"hosts"`
	// +optional
	CN string `json:"cn"`
}

func (*Csr) DeepCopy

func (in *Csr) DeepCopy() *Csr

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

func (*Csr) DeepCopyInto

func (in *Csr) DeepCopyInto(out *Csr)

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

type DeploymentStatus

type DeploymentStatus string
const (
	PendingStatus DeploymentStatus = "PENDING"
	FailedStatus  DeploymentStatus = "FAILED"
	RunningStatus DeploymentStatus = "RUNNING"
	UnknownStatus DeploymentStatus = "UNKNOWN"
)

type Enrollment

type Enrollment struct {
	Component Component `json:"component"`
	TLS       TLS       `json:"tls"`
}

func (*Enrollment) DeepCopy

func (in *Enrollment) DeepCopy() *Enrollment

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

func (*Enrollment) DeepCopyInto

func (in *Enrollment) DeepCopyInto(out *Enrollment)

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

type ExternalBuilder added in v1.1.1

type ExternalBuilder struct {
	Name string `json:"name"`
	Path string `json:"path"`
	// +nullable
	// +kubebuilder:validation:Optional
	// +optional
	// +kubebuilder:validation:Default={}
	PropagateEnvironment []string `json:"propagateEnvironment"`
}

func (*ExternalBuilder) DeepCopy added in v1.1.1

func (in *ExternalBuilder) DeepCopy() *ExternalBuilder

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

func (*ExternalBuilder) DeepCopyInto added in v1.1.1

func (in *ExternalBuilder) DeepCopyInto(out *ExternalBuilder)

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

type FabricCA

type FabricCA struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              FabricCASpec   `json:"spec,omitempty"`
	Status            FabricCAStatus `json:"status,omitempty"`
}

FabricCA is the Schema for the hlfs API

func (*FabricCA) DeepCopy

func (in *FabricCA) DeepCopy() *FabricCA

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

func (*FabricCA) DeepCopyInto

func (in *FabricCA) DeepCopyInto(out *FabricCA)

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

func (*FabricCA) DeepCopyObject

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

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

type FabricCABCCSP

type FabricCABCCSP struct {
	// +kubebuilder:default:="SW"
	Default string          `json:"default"`
	SW      FabricCABCCSPSW `json:"sw"`
}

func (*FabricCABCCSP) DeepCopy

func (in *FabricCABCCSP) DeepCopy() *FabricCABCCSP

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

func (*FabricCABCCSP) DeepCopyInto

func (in *FabricCABCCSP) DeepCopyInto(out *FabricCABCCSP)

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

type FabricCABCCSPSW

type FabricCABCCSPSW struct {
	// +kubebuilder:default:="SHA2"
	Hash string `json:"hash"`
	// +kubebuilder:default:="256"
	Security string `json:"security"`
}

func (*FabricCABCCSPSW) DeepCopy

func (in *FabricCABCCSPSW) DeepCopy() *FabricCABCCSPSW

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

func (*FabricCABCCSPSW) DeepCopyInto

func (in *FabricCABCCSPSW) DeepCopyInto(out *FabricCABCCSPSW)

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

type FabricCACFG

type FabricCACFG struct {
	Identities   FabricCACFGIdentities  `json:"identities"`
	Affiliations FabricCACFGAffilitions `json:"affiliations"`
}

func (*FabricCACFG) DeepCopy

func (in *FabricCACFG) DeepCopy() *FabricCACFG

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

func (*FabricCACFG) DeepCopyInto

func (in *FabricCACFG) DeepCopyInto(out *FabricCACFG)

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

type FabricCACFGAffilitions

type FabricCACFGAffilitions struct {
	// +kubebuilder:default:=true
	AllowRemove bool `json:"allowRemove"`
}

func (*FabricCACFGAffilitions) DeepCopy

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

func (*FabricCACFGAffilitions) DeepCopyInto

func (in *FabricCACFGAffilitions) DeepCopyInto(out *FabricCACFGAffilitions)

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

type FabricCACFGIdentities

type FabricCACFGIdentities struct {
	// +kubebuilder:default:=true
	AllowRemove bool `json:"allowRemove"`
}

func (*FabricCACFGIdentities) DeepCopy

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

func (*FabricCACFGIdentities) DeepCopyInto

func (in *FabricCACFGIdentities) DeepCopyInto(out *FabricCACFGIdentities)

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

type FabricCACRL

type FabricCACRL struct {
	// +kubebuilder:default:="24h"
	Expiry string `json:"expiry"`
}

func (*FabricCACRL) DeepCopy

func (in *FabricCACRL) DeepCopy() *FabricCACRL

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

func (*FabricCACRL) DeepCopyInto

func (in *FabricCACRL) DeepCopyInto(out *FabricCACRL)

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

type FabricCACSR

type FabricCACSR struct {
	// +kubebuilder:default:="ca"
	CN string `json:"cn"`
	// +kubebuilder:default:={"localhost"}
	Hosts []string        `json:"hosts"`
	Names []FabricCANames `json:"names"`
	CA    FabricCACSRCA   `json:"ca"`
}

func (*FabricCACSR) DeepCopy

func (in *FabricCACSR) DeepCopy() *FabricCACSR

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

func (*FabricCACSR) DeepCopyInto

func (in *FabricCACSR) DeepCopyInto(out *FabricCACSR)

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

type FabricCACSRCA

type FabricCACSRCA struct {
	// +kubebuilder:default:="131400h"
	Expiry string `json:"expiry"`
	// +kubebuilder:default:=0
	PathLength int `json:"pathLength"`
}

func (*FabricCACSRCA) DeepCopy

func (in *FabricCACSRCA) DeepCopy() *FabricCACSRCA

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

func (*FabricCACSRCA) DeepCopyInto

func (in *FabricCACSRCA) DeepCopyInto(out *FabricCACSRCA)

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

type FabricCADatabase

type FabricCADatabase struct {
	Type       string `json:"type"`
	Datasource string `json:"datasource"`
}

func (*FabricCADatabase) DeepCopy

func (in *FabricCADatabase) DeepCopy() *FabricCADatabase

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

func (*FabricCADatabase) DeepCopyInto

func (in *FabricCADatabase) DeepCopyInto(out *FabricCADatabase)

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

type FabricCAIdentity

type FabricCAIdentity struct {
	Name string `json:"name"`
	Pass string `json:"pass"`
	Type string `json:"type"`
	// +kubebuilder:default:=""
	Affiliation string                `json:"affiliation"`
	Attrs       FabricCAIdentityAttrs `json:"attrs"`
}

func (*FabricCAIdentity) DeepCopy

func (in *FabricCAIdentity) DeepCopy() *FabricCAIdentity

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

func (*FabricCAIdentity) DeepCopyInto

func (in *FabricCAIdentity) DeepCopyInto(out *FabricCAIdentity)

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

type FabricCAIdentityAttrs

type FabricCAIdentityAttrs struct {
	// +kubebuilder:default:="*"
	RegistrarRoles string `json:"hf.Registrar.Roles"`
	// +kubebuilder:default:="*"
	DelegateRoles string `json:"hf.Registrar.DelegateRoles"`
	// +kubebuilder:default:="*"
	Attributes string `json:"hf.Registrar.Attributes"`
	// +kubebuilder:default:=true
	Revoker bool `json:"hf.Revoker"`
	// +kubebuilder:default:=true
	IntermediateCA bool `json:"hf.IntermediateCA"`
	// +kubebuilder:default:=true
	GenCRL bool `json:"hf.GenCRL"`
	// +kubebuilder:default:=true
	AffiliationMgr bool `json:"hf.AffiliationMgr"`
}

func (*FabricCAIdentityAttrs) DeepCopy

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

func (*FabricCAIdentityAttrs) DeepCopyInto

func (in *FabricCAIdentityAttrs) DeepCopyInto(out *FabricCAIdentityAttrs)

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

type FabricCAIntermediate

type FabricCAIntermediate struct {
	ParentServer FabricCAIntermediateParentServer `json:"parentServer"`
}

func (*FabricCAIntermediate) DeepCopy

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

func (*FabricCAIntermediate) DeepCopyInto

func (in *FabricCAIntermediate) DeepCopyInto(out *FabricCAIntermediate)

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

type FabricCAIntermediateEnrollment

type FabricCAIntermediateEnrollment struct {
	Hosts   string `json:"hosts"`
	Profile string `json:"profile"`
	Label   string `json:"label"`
}

func (*FabricCAIntermediateEnrollment) DeepCopy

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

func (*FabricCAIntermediateEnrollment) DeepCopyInto

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

type FabricCAIntermediateParentServer

type FabricCAIntermediateParentServer struct {
	URL    string `json:"url"`
	CAName string `json:"caName"`
}

func (*FabricCAIntermediateParentServer) DeepCopy

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

func (*FabricCAIntermediateParentServer) DeepCopyInto

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

type FabricCAIntermediateTLS

type FabricCAIntermediateTLS struct {
	CertFiles []string                      `json:"certFiles"`
	Client    FabricCAIntermediateTLSClient `json:"client"`
}

func (*FabricCAIntermediateTLS) DeepCopy

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

func (*FabricCAIntermediateTLS) DeepCopyInto

func (in *FabricCAIntermediateTLS) DeepCopyInto(out *FabricCAIntermediateTLS)

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

type FabricCAIntermediateTLSClient

type FabricCAIntermediateTLSClient struct {
	CertFile string `json:"certFile"`
	KeyFile  string `json:"keyFile"`
}

func (*FabricCAIntermediateTLSClient) DeepCopy

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

func (*FabricCAIntermediateTLSClient) DeepCopyInto

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

type FabricCAIstio added in v1.1.0

type FabricCAIstio struct {
	// +kubebuilder:validation:Optional
	// +optional
	// +nullable
	Port int `json:"port"`
	// +nullable
	// +kubebuilder:validation:Optional
	// +optional
	// +kubebuilder:validation:Default={}
	Hosts []string `json:"hosts"`
}

func (*FabricCAIstio) DeepCopy added in v1.1.0

func (in *FabricCAIstio) DeepCopy() *FabricCAIstio

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

func (*FabricCAIstio) DeepCopyInto added in v1.1.0

func (in *FabricCAIstio) DeepCopyInto(out *FabricCAIstio)

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

type FabricCAItemConf

type FabricCAItemConf struct {
	Name         string               `json:"name"`
	CFG          FabricCACFG          `json:"cfg"`
	Subject      FabricCASubject      `json:"subject"`
	CSR          FabricCACSR          `json:"csr"`
	CRL          FabricCACRL          `json:"crl"`
	Registry     FabricCARegistry     `json:"registry"`
	Intermediate FabricCAIntermediate `json:"intermediate"`
	BCCSP        FabricCABCCSP        `json:"bccsp"`
}

func (*FabricCAItemConf) DeepCopy

func (in *FabricCAItemConf) DeepCopy() *FabricCAItemConf

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

func (*FabricCAItemConf) DeepCopyInto

func (in *FabricCAItemConf) DeepCopyInto(out *FabricCAItemConf)

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

type FabricCAList

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

FabricCAList contains a list of FabricCA

func (*FabricCAList) DeepCopy

func (in *FabricCAList) DeepCopy() *FabricCAList

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

func (*FabricCAList) DeepCopyInto

func (in *FabricCAList) DeepCopyInto(out *FabricCAList)

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

func (*FabricCAList) DeepCopyObject

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

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

type FabricCAMetrics

type FabricCAMetrics struct {
	// +kubebuilder:default:="disabled"
	Provider string `json:"provider"`
	// +optional
	Statsd FabricCAMetricsStatsd `json:"statsd"`
}

func (*FabricCAMetrics) DeepCopy

func (in *FabricCAMetrics) DeepCopy() *FabricCAMetrics

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

func (*FabricCAMetrics) DeepCopyInto

func (in *FabricCAMetrics) DeepCopyInto(out *FabricCAMetrics)

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

type FabricCAMetricsStatsd

type FabricCAMetricsStatsd struct {
	// +kubebuilder:validation:Enum=udp;tcp
	// +kubebuilder:default:="udp"
	Network string `json:"network"`
	// +optional
	Address string `json:"address"`
	// +optional
	// +kubebuilder:default:="10s"
	WriteInterval string `json:"writeInterval"`
	// +optional
	// +kubebuilder:default:=""
	Prefix string `json:"prefix"`
}

func (*FabricCAMetricsStatsd) DeepCopy

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

func (*FabricCAMetricsStatsd) DeepCopyInto

func (in *FabricCAMetricsStatsd) DeepCopyInto(out *FabricCAMetricsStatsd)

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

type FabricCANames

type FabricCANames struct {
	// +kubebuilder:default:="US"
	C string `json:"C"`
	// +kubebuilder:default:="North Carolina"
	ST string `json:"ST"`
	// +kubebuilder:default:="Hyperledger"
	O string `json:"O"`
	// +kubebuilder:default:="Raleigh"
	L string `json:"L"`
	// +kubebuilder:default:="Fabric"
	OU string `json:"OU"`
}

func (*FabricCANames) DeepCopy

func (in *FabricCANames) DeepCopy() *FabricCANames

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

func (*FabricCANames) DeepCopyInto

func (in *FabricCANames) DeepCopyInto(out *FabricCANames)

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

type FabricCARegistry

type FabricCARegistry struct {
	MaxEnrollments int                `json:"max_enrollments"`
	Identities     []FabricCAIdentity `json:"identities"`
}

func (*FabricCARegistry) DeepCopy

func (in *FabricCARegistry) DeepCopy() *FabricCARegistry

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

func (*FabricCARegistry) DeepCopyInto

func (in *FabricCARegistry) DeepCopyInto(out *FabricCARegistry)

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

type FabricCASpec

type FabricCASpec struct {
	// +optional
	// +kubebuilder:validation:Optional
	// +nullable
	Istio    *FabricCAIstio   `json:"istio"`
	Database FabricCADatabase `json:"db"`
	// +kubebuilder:validation:MinItems=1
	// Hosts for the Fabric CA
	Hosts   []string            `json:"hosts"`
	Service FabricCASpecService `json:"service"`
	// +kubebuilder:validation:MinLength=1
	Image string `json:"image"`
	// +kubebuilder:validation:MinLength=1
	Version string `json:"version"`
	// +kubebuilder:default:=false
	Debug bool `json:"debug"`
	// +kubebuilder:default:=512000
	CLRSizeLimit int              `json:"clrSizeLimit"`
	TLS          FabricCATLSConf  `json:"rootCA"`
	CA           FabricCAItemConf `json:"ca"`
	TLSCA        FabricCAItemConf `json:"tlsCA"`
	Cors         Cors             `json:"cors"`
	Resources    Resources        `json:"resources"`
	Storage      Storage          `json:"storage"`
	Metrics      FabricCAMetrics  `json:"metrics"`
}

FabricCASpec defines the desired state of FabricCA

func (*FabricCASpec) DeepCopy

func (in *FabricCASpec) DeepCopy() *FabricCASpec

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

func (*FabricCASpec) DeepCopyInto

func (in *FabricCASpec) DeepCopyInto(out *FabricCASpec)

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

type FabricCASpecService

type FabricCASpecService struct {
	ServiceType ServiceType `json:"type"`
}

func (*FabricCASpecService) DeepCopy

func (in *FabricCASpecService) DeepCopy() *FabricCASpecService

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

func (*FabricCASpecService) DeepCopyInto

func (in *FabricCASpecService) DeepCopyInto(out *FabricCASpecService)

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

type FabricCAStatus

type FabricCAStatus struct {
	Conditions status.Conditions `json:"conditions"`
	Message    string            `json:"message"`
	// Status of the FabricCA
	Status DeploymentStatus `json:"status"`
	// URL accessible for the FabricCA
	URL string `json:"url"`
	// Host of the FabricCA
	Host string `json:"host"`
	// Port of the FabricCA
	Port int `json:"port"`

	// TLS Certificate to connect to the FabricCA
	TlsCert string `json:"tls_cert"`
	// Root certificate for Sign certificates generated by FabricCA
	CACert string `json:"ca_cert"`
	// Root certificate for TLS certificates generated by FabricCA
	TLSCACert string `json:"tlsca_cert"`
}

FabricCAStatus defines the observed state of FabricCA

func (*FabricCAStatus) DeepCopy

func (in *FabricCAStatus) DeepCopy() *FabricCAStatus

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

func (*FabricCAStatus) DeepCopyInto

func (in *FabricCAStatus) DeepCopyInto(out *FabricCAStatus)

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

type FabricCASubject

type FabricCASubject struct {
	// +kubebuilder:default:="ca"
	CN string `json:"cn"`
	// +kubebuilder:default:="US"
	C string `json:"C"`
	// +kubebuilder:default:="North Carolina"
	ST string `json:"ST"`
	// +kubebuilder:default:="Hyperledger"
	O string `json:"O"`
	// +kubebuilder:default:="Raleigh"
	L string `json:"L"`
	// +kubebuilder:default:="Fabric"
	OU string `json:"OU"`
}

func (*FabricCASubject) DeepCopy

func (in *FabricCASubject) DeepCopy() *FabricCASubject

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

func (*FabricCASubject) DeepCopyInto

func (in *FabricCASubject) DeepCopyInto(out *FabricCASubject)

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

type FabricCATLSConf

type FabricCATLSConf struct {
	Subject FabricCASubject `json:"subject"`
}

func (*FabricCATLSConf) DeepCopy

func (in *FabricCATLSConf) DeepCopy() *FabricCATLSConf

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

func (*FabricCATLSConf) DeepCopyInto

func (in *FabricCATLSConf) DeepCopyInto(out *FabricCATLSConf)

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

type FabricOrdererNode

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

	Spec   FabricOrdererNodeSpec   `json:"spec,omitempty"`
	Status FabricOrdererNodeStatus `json:"status,omitempty"`
}

FabricOrdererNode is the Schema for the hlfs API

func (*FabricOrdererNode) DeepCopy

func (in *FabricOrdererNode) DeepCopy() *FabricOrdererNode

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

func (*FabricOrdererNode) DeepCopyInto

func (in *FabricOrdererNode) DeepCopyInto(out *FabricOrdererNode)

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

func (*FabricOrdererNode) DeepCopyObject

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

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

func (*FabricOrdererNode) FullName

func (n *FabricOrdererNode) FullName() string

type FabricOrdererNodeList

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

FabricOrdererNodeList contains a list of FabricOrdererNode

func (*FabricOrdererNodeList) DeepCopy

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

func (*FabricOrdererNodeList) DeepCopyInto

func (in *FabricOrdererNodeList) DeepCopyInto(out *FabricOrdererNodeList)

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

func (*FabricOrdererNodeList) DeepCopyObject

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

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

type FabricOrdererNodeSpec

type FabricOrdererNodeSpec struct {
	// +kubebuilder:validation:MinLength=1
	Image string `json:"image"`
	// +kubebuilder:validation:MinLength=1
	Tag string `json:"tag"`
	// +kubebuilder:default:="IfNotPresent"
	PullPolicy string `json:"pullPolicy,omitempty"`
	// +kubebuilder:validation:MinLength=3
	MspID string `json:"mspID"`

	Genesis string `json:"genesis"`

	Storage     Storage            `json:"storage"`
	Service     OrdererNodeService `json:"service"`
	TLSCert     string             `json:"tlsCert"`
	TLSKey      string             `json:"tlsKey"`
	TLSRootCert string             `json:"tlsRootCert"`

	SignCert     string   `json:"signCert"`
	SignKey      string   `json:"signKey"`
	SignRootCert string   `json:"signRootCert"`
	Hosts        []string `json:"hosts"`
}

FabricOrderingServiceSpec defines the desired state of FabricOrderingService

func (*FabricOrdererNodeSpec) DeepCopy

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

func (*FabricOrdererNodeSpec) DeepCopyInto

func (in *FabricOrdererNodeSpec) DeepCopyInto(out *FabricOrdererNodeSpec)

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

type FabricOrdererNodeStatus

type FabricOrdererNodeStatus struct {
	Conditions status.Conditions `json:"conditions"`
	Status     DeploymentStatus  `json:"status"`
	URL        string            `json:"url"`
	// +optional
	Host string `json:"host"`
	// +optional
	Port int `json:"port"`
}

FabricOrdererNodeStatus defines the observed state of FabricOrdererNode

func (*FabricOrdererNodeStatus) DeepCopy

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

func (*FabricOrdererNodeStatus) DeepCopyInto

func (in *FabricOrdererNodeStatus) DeepCopyInto(out *FabricOrdererNodeStatus)

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

type FabricOrderingService

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

	Spec   FabricOrderingServiceSpec   `json:"spec,omitempty"`
	Status FabricOrderingServiceStatus `json:"status,omitempty"`
}

FabricOrderingService is the Schema for the hlfs API

func (*FabricOrderingService) DeepCopy

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

func (*FabricOrderingService) DeepCopyInto

func (in *FabricOrderingService) DeepCopyInto(out *FabricOrderingService)

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

func (*FabricOrderingService) DeepCopyObject

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

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

func (*FabricOrderingService) FullName

func (s *FabricOrderingService) FullName() string

type FabricOrderingServiceList

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

FabricOrderingServiceList contains a list of FabricOrderingService

func (*FabricOrderingServiceList) DeepCopy

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

func (*FabricOrderingServiceList) DeepCopyInto

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

func (*FabricOrderingServiceList) DeepCopyObject

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

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

type FabricOrderingServiceSpec

type FabricOrderingServiceSpec struct {
	// +kubebuilder:validation:MinLength=1
	Image string `json:"image"`
	// +kubebuilder:validation:MinLength=1
	Tag string `json:"tag"`
	// +kubebuilder:validation:MinLength=3
	MspID         string               `json:"mspID"`
	Enrollment    OrdererEnrollment    `json:"enrollment"`
	Nodes         []OrdererNode        `json:"nodes"`
	Service       OrdererService       `json:"service"`
	Storage       Storage              `json:"storage"`
	SystemChannel OrdererSystemChannel `json:"systemChannel"`
}

FabricOrderingServiceSpec defines the desired state of FabricOrderingService

func (*FabricOrderingServiceSpec) DeepCopy

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

func (*FabricOrderingServiceSpec) DeepCopyInto

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

type FabricOrderingServiceStatus

type FabricOrderingServiceStatus struct {
	Conditions status.Conditions `json:"conditions"`
	Status     DeploymentStatus  `json:"status"`
}

FabricOrderingServiceStatus defines the observed state of FabricOrderingService

func (*FabricOrderingServiceStatus) DeepCopy

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

func (*FabricOrderingServiceStatus) DeepCopyInto

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"`
	Status FabricPeerStatus `json:"status,omitempty"`
}

FabricPeer is the Schema for the hlfs 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.

func (*FabricPeer) FullName

func (p *FabricPeer) FullName() string

type FabricPeerCouchDB

type FabricPeerCouchDB struct {
	User     string `json:"user"`
	Password string `json:"password"`
}

func (*FabricPeerCouchDB) DeepCopy

func (in *FabricPeerCouchDB) DeepCopy() *FabricPeerCouchDB

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

func (*FabricPeerCouchDB) DeepCopyInto

func (in *FabricPeerCouchDB) DeepCopyInto(out *FabricPeerCouchDB)

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

type FabricPeerDiscovery

type FabricPeerDiscovery struct {
	Period      string `json:"period"`
	TouchPeriod string `json:"touchPeriod"`
}

func (*FabricPeerDiscovery) DeepCopy

func (in *FabricPeerDiscovery) DeepCopy() *FabricPeerDiscovery

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

func (*FabricPeerDiscovery) DeepCopyInto

func (in *FabricPeerDiscovery) DeepCopyInto(out *FabricPeerDiscovery)

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

type FabricPeerIstio

type FabricPeerIstio struct {
	// +optional
	// +nullable
	Port int `json:"port"`
	// +nullable
	// +kubebuilder:validation:Optional
	// +optional
	// +kubebuilder:validation:Default={}
	Hosts []string `json:"hosts,omitempty"`
}

func (*FabricPeerIstio) DeepCopy

func (in *FabricPeerIstio) DeepCopy() *FabricPeerIstio

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

func (*FabricPeerIstio) DeepCopyInto

func (in *FabricPeerIstio) DeepCopyInto(out *FabricPeerIstio)

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

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 FabricPeerLogging

type FabricPeerLogging struct {
	Level    string `json:"level"`
	Peer     string `json:"peer"`
	Cauthdsl string `json:"cauthdsl"`
	Gossip   string `json:"gossip"`
	Grpc     string `json:"grpc"`
	Ledger   string `json:"ledger"`
	Msp      string `json:"msp"`
	Policies string `json:"policies"`
}

func (*FabricPeerLogging) DeepCopy

func (in *FabricPeerLogging) DeepCopy() *FabricPeerLogging

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

func (*FabricPeerLogging) DeepCopyInto

func (in *FabricPeerLogging) DeepCopyInto(out *FabricPeerLogging)

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

type FabricPeerResources

type FabricPeerResources struct {
	Peer      Resources `json:"peer"`
	CouchDB   Resources `json:"couchdb"`
	Chaincode Resources `json:"chaincode"`
}

func (*FabricPeerResources) DeepCopy

func (in *FabricPeerResources) DeepCopy() *FabricPeerResources

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

func (*FabricPeerResources) DeepCopyInto

func (in *FabricPeerResources) DeepCopyInto(out *FabricPeerResources)

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

type FabricPeerSpec

type FabricPeerSpec struct {
	// +kubebuilder:default:="/var/run/docker.sock"
	DockerSocketPath string `json:"dockerSocketPath"`
	// +kubebuilder:validation:MinLength=1
	Image string `json:"image"`
	// +nullable
	// +kubebuilder:validation:Optional
	// +optional
	// +kubebuilder:validation:Default={}
	ExternalBuilders []ExternalBuilder `json:"externalBuilders"`
	// +optional
	// +kubebuilder:validation:Optional
	// +nullable
	Istio            *FabricPeerIstio     `json:"istio"`
	Gossip           FabricPeerSpecGossip `json:"gossip"`
	ExternalEndpoint string               `json:"externalEndpoint"`
	// +kubebuilder:validation:MinLength=1
	Tag                      string            `json:"tag"`
	ImagePullPolicy          corev1.PullPolicy `json:"imagePullPolicy,omitempty"`
	ExternalChaincodeBuilder bool              `json:"external_chaincode_builder"`
	CouchDB                  FabricPeerCouchDB `json:"couchdb"`
	// +kubebuilder:validation:MinLength=3
	MspID          string              `json:"mspID"`
	Secret         Secret              `json:"secret"`
	Service        PeerService         `json:"service"`
	StateDb        StateDB             `json:"stateDb"`
	Storage        FabricPeerStorage   `json:"storage"`
	Discovery      FabricPeerDiscovery `json:"discovery"`
	Logging        FabricPeerLogging   `json:"logging"`
	Resources      FabricPeerResources `json:"resources"`
	Hosts          []string            `json:"hosts"`
	OperationHosts []string            `json:"operationHosts"`
	OperationIPs   []string            `json:"operationIPs"`
}

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 FabricPeerSpecGossip

type FabricPeerSpecGossip struct {
	ExternalEndpoint  string `json:"externalEndpoint"`
	Bootstrap         string `json:"bootstrap"`
	Endpoint          string `json:"endpoint"`
	UseLeaderElection bool   `json:"useLeaderElection"`
	OrgLeader         bool   `json:"orgLeader"`
}

func (*FabricPeerSpecGossip) DeepCopy

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

func (*FabricPeerSpecGossip) DeepCopyInto

func (in *FabricPeerSpecGossip) DeepCopyInto(out *FabricPeerSpecGossip)

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

type FabricPeerStatus

type FabricPeerStatus struct {
	Conditions status.Conditions `json:"conditions"`
	Message    string            `json:"message"`
	Status     DeploymentStatus  `json:"status"`
	URL        string            `json:"url"`
	TlsCert    string            `json:"tls_cert"`
}

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.

type FabricPeerStorage

type FabricPeerStorage struct {
	CouchDB   Storage `json:"couchdb"`
	Peer      Storage `json:"peer"`
	Chaincode Storage `json:"chaincode"`
}

func (*FabricPeerStorage) DeepCopy

func (in *FabricPeerStorage) DeepCopy() *FabricPeerStorage

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

func (*FabricPeerStorage) DeepCopyInto

func (in *FabricPeerStorage) DeepCopyInto(out *FabricPeerStorage)

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

type FabricVersion

type FabricVersion string

+kubebuilder:validation:Enum="2.1.1";"2.2.0"

type MetricsProvider

type MetricsProvider string

+kubebuilder:validation:Enum=statsd;prometheus;disabled

type OrdererCapabilities

type OrdererCapabilities struct {
	V2_0 bool `json:"V2_0"`
}

func (*OrdererCapabilities) DeepCopy

func (in *OrdererCapabilities) DeepCopy() *OrdererCapabilities

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

func (*OrdererCapabilities) DeepCopyInto

func (in *OrdererCapabilities) DeepCopyInto(out *OrdererCapabilities)

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

type OrdererEnrollment

type OrdererEnrollment struct {
	Component Component `json:"component"`
	TLS       TLS       `json:"tls"`
}

func (*OrdererEnrollment) DeepCopy

func (in *OrdererEnrollment) DeepCopy() *OrdererEnrollment

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

func (*OrdererEnrollment) DeepCopyInto

func (in *OrdererEnrollment) DeepCopyInto(out *OrdererEnrollment)

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

type OrdererNode

type OrdererNode struct {
	// +kubebuilder:validation:MinLength=1
	ID string `json:"id"`
	// +optional
	Host string `json:"host"`
	// +optional
	Port       int                   `json:"port"`
	Enrollment OrdererNodeEnrollment `json:"enrollment"`
}

func (*OrdererNode) DeepCopy

func (in *OrdererNode) DeepCopy() *OrdererNode

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

func (*OrdererNode) DeepCopyInto

func (in *OrdererNode) DeepCopyInto(out *OrdererNode)

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

type OrdererNodeEnrollment

type OrdererNodeEnrollment struct {
	TLS OrdererNodeEnrollmentTLS `json:"tls"`
}

func (*OrdererNodeEnrollment) DeepCopy

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

func (*OrdererNodeEnrollment) DeepCopyInto

func (in *OrdererNodeEnrollment) DeepCopyInto(out *OrdererNodeEnrollment)

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

type OrdererNodeEnrollmentTLS

type OrdererNodeEnrollmentTLS struct {
	// +optional
	Csr Csr `json:"csr"`
}

func (*OrdererNodeEnrollmentTLS) DeepCopy

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

func (*OrdererNodeEnrollmentTLS) DeepCopyInto

func (in *OrdererNodeEnrollmentTLS) DeepCopyInto(out *OrdererNodeEnrollmentTLS)

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

type OrdererNodeService

type OrdererNodeService struct {
	Type               string `json:"type"`
	NodePortOperations int    `json:"nodePortOperations,omitempty"`
	NodePortRequest    int    `json:"nodePortRequest,omitempty"`
}

func (*OrdererNodeService) DeepCopy

func (in *OrdererNodeService) DeepCopy() *OrdererNodeService

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

func (*OrdererNodeService) DeepCopyInto

func (in *OrdererNodeService) DeepCopyInto(out *OrdererNodeService)

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

type OrdererService

type OrdererService struct {
	// +kubebuilder:validation:Enum=NodePort;ClusterIP;LoadBalancer
	// +kubebuilder:default:NodePort
	Type ServiceType `json:"type"`
}

func (*OrdererService) DeepCopy

func (in *OrdererService) DeepCopy() *OrdererService

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

func (*OrdererService) DeepCopyInto

func (in *OrdererService) DeepCopyInto(out *OrdererService)

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

type OrdererSystemChannel

type OrdererSystemChannel struct {
	// +kubebuilder:validation:MinLength=3
	Name   string        `json:"name"`
	Config ChannelConfig `json:"config"`
}

func (*OrdererSystemChannel) DeepCopy

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

func (*OrdererSystemChannel) DeepCopyInto

func (in *OrdererSystemChannel) DeepCopyInto(out *OrdererSystemChannel)

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

type PeerService

type PeerService struct {
	// +kubebuilder:validation:Enum=NodePort;ClusterIP;LoadBalancer
	// +kubebuilder:default:NodePort
	Type ServiceType `json:"type"`
}

func (*PeerService) DeepCopy

func (in *PeerService) DeepCopy() *PeerService

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

func (*PeerService) DeepCopyInto

func (in *PeerService) DeepCopyInto(out *PeerService)

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

type Requests

type Requests struct {
	// +kubebuilder:default:="10m"
	CPU string `json:"cpu"`
	// +kubebuilder:default:="256Mi"
	Memory string `json:"memory"`
}

func (*Requests) DeepCopy

func (in *Requests) DeepCopy() *Requests

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

func (*Requests) DeepCopyInto

func (in *Requests) DeepCopyInto(out *Requests)

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

type RequestsLimit

type RequestsLimit struct {
	// +kubebuilder:default:="2"
	CPU string `json:"cpu"`
	// +kubebuilder:default:="4Gi"
	Memory string `json:"memory"`
}

func (*RequestsLimit) DeepCopy

func (in *RequestsLimit) DeepCopy() *RequestsLimit

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

func (*RequestsLimit) DeepCopyInto

func (in *RequestsLimit) DeepCopyInto(out *RequestsLimit)

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

type Resources

type Resources struct {
	Requests Requests      `json:"requests"`
	Limits   RequestsLimit `json:"limits"`
}

func (*Resources) DeepCopy

func (in *Resources) DeepCopy() *Resources

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

func (*Resources) DeepCopyInto

func (in *Resources) DeepCopyInto(out *Resources)

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

type Secret

type Secret struct {
	Enrollment Enrollment `json:"enrollment"`
}

func (*Secret) DeepCopy

func (in *Secret) DeepCopy() *Secret

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

func (*Secret) DeepCopyInto

func (in *Secret) DeepCopyInto(out *Secret)

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

type Service

type Service struct {
	Type ServiceType `json:"type"`
}

func (*Service) DeepCopy

func (in *Service) DeepCopy() *Service

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

func (*Service) DeepCopyInto

func (in *Service) DeepCopyInto(out *Service)

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

type ServiceType added in v1.1.0

type ServiceType string

+kubebuilder:validation:Enum=NodePort;ClusterIP;LoadBalancer +kubebuilder:default:NodePort

type StateDB

type StateDB string

+kubebuilder:validation:Enum=couchdb;leveldb

const StateDBCouchDB StateDB = "couchdb"

Use CouchDB database

const StateDBLevelDB StateDB = "leveldb"

Use LevelDB database

type Storage

type Storage struct {
	// +kubebuilder:default:="5Gi"
	Size string `json:"size"`
	// +kubebuilder:default:=""
	// +optional
	StorageClass string `json:"storageClass"`
	// +kubebuilder:default:="ReadWriteOnce"
	AccessMode AccessMode `json:"accessMode"`
}

func (*Storage) DeepCopy

func (in *Storage) DeepCopy() *Storage

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

func (*Storage) DeepCopyInto

func (in *Storage) DeepCopyInto(out *Storage)

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

type TLS

type TLS struct {
	Cahost string `json:"cahost"`
	Caname string `json:"caname"`
	Caport int    `json:"caport"`
	Catls  Catls  `json:"catls"`
	// +optional
	Csr          Csr    `json:"csr"`
	Enrollid     string `json:"enrollid"`
	Enrollsecret string `json:"enrollsecret"`
}

func (*TLS) DeepCopy

func (in *TLS) DeepCopy() *TLS

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

func (*TLS) DeepCopyInto

func (in *TLS) DeepCopyInto(out *TLS)

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