v1alpha1

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2021 License: Apache-2.0 Imports: 7 Imported by: 2

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 (
	BootstrapMethodNone = "none"
	BootstrapMethodFile = "file"
)
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 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 BootstrapMethod added in v1.2.1

type BootstrapMethod string

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"
	UpdatingVersion      DeploymentStatus = "UPDATING_VERSION"
	UpdatingCertificates DeploymentStatus = "UPDATING_CERTIFICATES"
)

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 FabricCAClientAuth added in v1.2.1

type FabricCAClientAuth struct {
	// NoClientCert, RequestClientCert, RequireAnyClientCert, VerifyClientCertIfGiven and RequireAndVerifyClientCert.
	Type     string   `json:"type"`
	CertFile []string `json:"cert_file"`
}

func (*FabricCAClientAuth) DeepCopy added in v1.2.1

func (in *FabricCAClientAuth) DeepCopy() *FabricCAClientAuth

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

func (*FabricCAClientAuth) DeepCopyInto added in v1.2.1

func (in *FabricCAClientAuth) DeepCopyInto(out *FabricCAClientAuth)

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

type FabricCACrypto added in v1.2.1

type FabricCACrypto struct {
	Key   string `json:"key"`
	Cert  string `json:"cert"`
	Chain string `json:"chain"`
}

func (*FabricCACrypto) DeepCopy added in v1.2.1

func (in *FabricCACrypto) DeepCopy() *FabricCACrypto

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

func (*FabricCACrypto) DeepCopyInto added in v1.2.1

func (in *FabricCACrypto) DeepCopyInto(out *FabricCACrypto)

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 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"`
	// +optional
	// +kubebuilder:validation:Optional
	// +nullable
	CA *FabricCACrypto `json:"ca"`
	// +optional
	// +kubebuilder:validation:Optional
	// +nullable
	TlsCA *FabricTLSCACrypto `json:"tlsCa"`
}

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
	// +nullable
	ServiceMonitor *ServiceMonitor `json:"serviceMonitor"`
	// +optional
	// +kubebuilder:validation:Optional
	// +nullable
	Istio    *FabricIstio     `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 corev1.ResourceRequirements `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 corev1.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"`

	// +optional
	NodePort int `json:"nodePort"`
	// 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 FabricIstio added in v1.2.1

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

func (*FabricIstio) DeepCopy added in v1.2.1

func (in *FabricIstio) DeepCopy() *FabricIstio

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

func (*FabricIstio) DeepCopyInto added in v1.2.1

func (in *FabricIstio) DeepCopyInto(out *FabricIstio)

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 {
	// +optional
	// +nullable
	UpdateCertificateTime *metav1.Time `json:"updateCertificateTime"`
	// +optional
	// +nullable
	ServiceMonitor *ServiceMonitor `json:"serviceMonitor"`
	// +optional
	// +nullable
	HostAliases []corev1.HostAlias `json:"hostAliases"`

	Resources corev1.ResourceRequirements `json:"resources"`

	// +kubebuilder:default:=1
	Replicas int `json:"replicas"`
	// +kubebuilder:validation:MinLength=1
	Image string `json:"image"`
	// +kubebuilder:validation:MinLength=1
	Tag string `json:"tag"`
	// +kubebuilder:default:="IfNotPresent"
	PullPolicy corev1.PullPolicy `json:"pullPolicy,omitempty"`
	// +kubebuilder:validation:MinLength=3
	MspID string `json:"mspID"`

	Genesis                     string             `json:"genesis"`
	BootstrapMethod             BootstrapMethod    `json:"bootstrapMethod"`
	ChannelParticipationEnabled bool               `json:"channelParticipationEnabled"`
	Storage                     Storage            `json:"storage"`
	Service                     OrdererNodeService `json:"service"`
	// +optional
	// +kubebuilder:validation:Optional
	// +nullable
	Secret *Secret `json:"secret"`
	// +optional
	// +kubebuilder:validation:Optional
	// +nullable
	Istio *FabricIstio `json:"istio"`
	// +optional
	// +kubebuilder:validation:Optional
	// +nullable
	AdminIstio *FabricIstio `json:"adminIstio"`
}

FabricOrdererNodeSpec defines the desired state of FabricOrdererNode

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"`

	// +optional
	// +nullable
	LastCertificateUpdate *metav1.Time `json:"lastCertificateUpdate"`

	// +optional
	SignCert string `json:"signCert"`
	// +optional
	TlsCert string `json:"tlsCert"`
	// +optional
	TlsAdminCert string `json:"tlsAdminCert"`
	// +optional
	OperationsPort int `json:"operationsPort"`
	// +optional
	AdminPort int `json:"adminPort"`
	// +optional
	NodePort int `json:"port"`
	// +optional
	Message string `json:"message"`
}

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 (in *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 FabricPeerCouchdbExporter added in v1.3.0

type FabricPeerCouchdbExporter struct {
	// +kubebuilder:default:=false
	Enabled bool `json:"enabled"`
	// +kubebuilder:default:="gesellix/couchdb-prometheus-exporter"
	Image string `json:"image"`
	// +kubebuilder:default:="v30.0.0"
	Tag string `json:"tag"`
	// +kubebuilder:default:="IfNotPresent"
	ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy"`
}

func (*FabricPeerCouchdbExporter) DeepCopy added in v1.3.0

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

func (*FabricPeerCouchdbExporter) DeepCopyInto added in v1.3.0

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 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      corev1.ResourceRequirements `json:"peer"`
	CouchDB   corev1.ResourceRequirements `json:"couchdb"`
	Chaincode corev1.ResourceRequirements `json:"chaincode"`
	// +optional
	// +nullable
	CouchDBExporter *corev1.ResourceRequirements `json:"couchdbExporter"`
}

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 {
	// +optional
	// +nullable
	UpdateCertificateTime *metav1.Time `json:"updateCertificateTime"`

	// +optional
	// +nullable
	ServiceMonitor *ServiceMonitor `json:"serviceMonitor"`
	// +optional
	// +nullable
	HostAliases []corev1.HostAlias `json:"hostAliases"`

	// +optional
	// +nullable
	CouchDBExporter *FabricPeerCouchdbExporter `json:"couchDBexporter"`

	// +kubebuilder:default:=1
	Replicas int `json:"replicas"`
	// +kubebuilder:default:=""
	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            *FabricIstio         `json:"istio"`
	Gossip           FabricPeerSpecGossip `json:"gossip"`
	ExternalEndpoint string               `json:"externalEndpoint"`
	// +kubebuilder:validation:MinLength=1
	Tag string `json:"tag"`
	// +kubebuilder:default:="IfNotPresent"
	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"`
}

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"`

	// +optional
	// +nullable
	LastCertificateUpdate *metav1.Time `json:"lastCertificateUpdate"`

	// +optional
	SignCert string `json:"signCert"`
	// +optional
	TlsCert string `json:"tlsCert"`
	// +optional
	TlsCACert string `json:"tlsCaCert"`
	// +optional
	SignCACert string `json:"signCaCert"`
	// +optional
	NodePort int `json:"port"`
}

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 FabricTLSCACrypto added in v1.2.1

type FabricTLSCACrypto struct {
	Key        string             `json:"key"`
	Cert       string             `json:"cert"`
	ClientAuth FabricCAClientAuth `json:"clientAuth"`
}

func (*FabricTLSCACrypto) DeepCopy added in v1.2.1

func (in *FabricTLSCACrypto) DeepCopy() *FabricTLSCACrypto

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

func (*FabricTLSCACrypto) DeepCopyInto added in v1.2.1

func (in *FabricTLSCACrypto) DeepCopyInto(out *FabricTLSCACrypto)

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               corev1.ServiceType `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 corev1.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 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 ServiceMonitor added in v1.2.1

type ServiceMonitor struct {
	// +kubebuilder:default:=false
	Enabled bool `json:"enabled"`
	// +optional
	Labels map[string]string `json:"labels"`
	// +kubebuilder:default:=0
	SampleLimit int `json:"sampleLimit"`
	// +kubebuilder:default:="10s"
	Interval string `json:"interval"`
	// +kubebuilder:default:="10s"
	ScrapeTimeout string `json:"scrapeTimeout"`
}

func (*ServiceMonitor) DeepCopy added in v1.2.1

func (in *ServiceMonitor) DeepCopy() *ServiceMonitor

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

func (*ServiceMonitor) DeepCopyInto added in v1.2.1

func (in *ServiceMonitor) DeepCopyInto(out *ServiceMonitor)

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 corev1.PersistentVolumeAccessMode `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