v1beta1

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: Apache-2.0 Imports: 20 Imported by: 10

Documentation

Overview

Package v1beta1 contains API Schema definitions for the ibp v1beta1 API group +kubebuilder:object:generate=true +groupName=ibp.com

Index

Constants

This section is empty.

Variables

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

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

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

Functions

This section is empty.

Types

type CAAction

type CAAction struct {
	// Restart action is used to restart the running CA
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Restart bool `json:"restart,omitempty"`

	// Renew action is object for certificate renewals
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Renew Renew `json:"renew,omitempty"`
}

CAAction contains actions that can be performed on CA +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*CAAction) DeepCopy

func (in *CAAction) DeepCopy() *CAAction

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

func (*CAAction) DeepCopyInto

func (in *CAAction) DeepCopyInto(out *CAAction)

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

type CAConfig

type CAConfig interface {
	UsingPKCS11() bool
}

+kubebuilder:object:generate=false

type CAConnectionProfile

type CAConnectionProfile struct {
	// Endpoints is the endpoints to talk to CA
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Endpoints CAEndpoints `json:"endpoints"`

	// TLS is the object with CA servers TLS information
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	TLS *ConnectionProfileTLS `json:"tls"`

	// CA is the object with CA crypto in connection profile
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	CA *MSP `json:"ca"`

	// TLSCA is the object with tls CA crypto in connection profile
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	TLSCA *MSP `json:"tlsca"`
}

+k8s:deepcopy-gen=true CAConnectionProfile is the object for connection profile +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*CAConnectionProfile) DeepCopy

func (in *CAConnectionProfile) DeepCopy() *CAConnectionProfile

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

func (*CAConnectionProfile) DeepCopyInto

func (in *CAConnectionProfile) DeepCopyInto(out *CAConnectionProfile)

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

type CACustomNames

type CACustomNames struct {
	// PVC is the list of PVC Names to be used for CA's deployment
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	PVC CAPVCNames `json:"pvc,omitempty"`
	// Sqlite is the sqlite path to be used for CA's deployment
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Sqlite string `json:"sqlitepath,omitempty"`
}

+k8s:deepcopy-gen=true CACustomNames is the list of preconfigured objects to be used for CA's deployment +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*CACustomNames) DeepCopy

func (in *CACustomNames) DeepCopy() *CACustomNames

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

func (*CACustomNames) DeepCopyInto

func (in *CACustomNames) DeepCopyInto(out *CACustomNames)

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

type CAEndpoints

type CAEndpoints struct {
	// API is the endpoint to communicate with CA's API
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	API string `json:"api"`
	// Operations is the endpoint to communicate with CA's Operations API
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Operations string `json:"operations"`
}

CAEndpoints is the list of endpoints to communicate with the CA +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*CAEndpoints) DeepCopy

func (in *CAEndpoints) DeepCopy() *CAEndpoints

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

func (*CAEndpoints) DeepCopyInto

func (in *CAEndpoints) DeepCopyInto(out *CAEndpoints)

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

type CAImages

type CAImages struct {
	// CAImage is the name of the CA image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	CAImage string `json:"caImage,omitempty"`
	// CATag is the tag of the CA image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	CATag string `json:"caTag,omitempty"`
	// CAInitImage is the name of the Init image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	CAInitImage string `json:"caInitImage,omitempty"`
	// CAInitTag is the tag of the Init image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	CAInitTag string `json:"caInitTag,omitempty"`
	// HSMImage is the name of the HSM image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	HSMImage string `json:"hsmImage,omitempty"`
	// HSMTag is the tag of the HSM image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	HSMTag string `json:"hsmTag,omitempty"`
	// EnrollerImage is the name of the init image for crypto generation
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	EnrollerImage string `json:"enrollerImage,omitempty"`
	// EnrollerTag is the tag of the init image for crypto generation
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	EnrollerTag string `json:"enrollerTag,omitempty"`
}

CAImages is the list of images to be used in CA deployment +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*CAImages) DeepCopy

func (in *CAImages) DeepCopy() *CAImages

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

func (*CAImages) DeepCopyInto

func (in *CAImages) DeepCopyInto(out *CAImages)

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

func (*CAImages) Override

func (i *CAImages) Override(requested *CAImages, registryURL string, arch string)

Override will look at requested images and use those to override default image values. Override also format the image tag to include arch for non-sha based tags.

type CAPVCNames

type CAPVCNames struct {
	// CA is the pvc to be used as CA's storage
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	CA string `json:"ca,omitempty"`
}

CAPVCNames is the list of PVC Names to be used for CA's deployment +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*CAPVCNames) DeepCopy

func (in *CAPVCNames) DeepCopy() *CAPVCNames

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

func (*CAPVCNames) DeepCopyInto

func (in *CAPVCNames) DeepCopyInto(out *CAPVCNames)

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

type CAResources

type CAResources struct {
	// Init is the resources provided to the init container
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Init *corev1.ResourceRequirements `json:"init,omitempty"`

	// CA is the resources provided to the CA container
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	CA *corev1.ResourceRequirements `json:"ca,omitempty"`

	// EnrollJJob is the resources provided to the enroll job container
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	EnrollJob *corev1.ResourceRequirements `json:"enrollJob,omitempty"`

	// HSMDaemon is the resources provided to the HSM daemon container
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	HSMDaemon *corev1.ResourceRequirements `json:"hsmDaemon,omitempty"`
}

+k8s:deepcopy-gen=true CAResources is the overrides to the resources of the CA +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*CAResources) DeepCopy

func (in *CAResources) DeepCopy() *CAResources

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

func (*CAResources) DeepCopyInto

func (in *CAResources) DeepCopyInto(out *CAResources)

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

type CAStorages

type CAStorages struct {
	// CA is the configuration of the storage of the CA
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	CA *StorageSpec `json:"ca,omitempty"`
}

+k8s:deepcopy-gen=true CAStorages is the overrides to the storage of the CA +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*CAStorages) DeepCopy

func (in *CAStorages) DeepCopy() *CAStorages

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

func (*CAStorages) DeepCopyInto

func (in *CAStorages) DeepCopyInto(out *CAStorages)

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

type CATLS

type CATLS struct {
	// CACert is the base64 encoded certificate
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	CACert string `json:"cacert,omitempty"`
}

CATLS contains the TLS CA certificate of the CA +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

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.

func (*CATLS) GetBytes

func (catls *CATLS) GetBytes() ([]byte, error)

type CRN

type CRN struct {
	Version      string `json:"version,omitempty"`
	CName        string `json:"c_name,omitempty"`
	CType        string `json:"c_type,omitempty"`
	Servicename  string `json:"service_name,omitempty"`
	Location     string `json:"location,omitempty"`
	AccountID    string `json:"account_id,omitempty"`
	InstanceID   string `json:"instance_id,omitempty"`
	ResourceType string `json:"resource_type,omitempty"`
	ResourceID   string `json:"resource_id,omitempty"`
}

func (*CRN) DeepCopy

func (in *CRN) DeepCopy() *CRN

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

func (*CRN) DeepCopyInto

func (in *CRN) DeepCopyInto(out *CRN)

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

func (*CRN) String

func (crn *CRN) String() string

type CRStatus

type CRStatus struct {
	// Type is true or false based on if status is valid
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
	Type IBPCRStatusType `json:"type,omitempty"`

	// Status is defined based on the current status of the component
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
	Status IBPCRStatus `json:"status,omitempty"`

	// Reason provides a reason for an error
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
	Reason string `json:"reason,omitempty"`

	// Message provides a message for the status to be shown to customer
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
	Message string `json:"message,omitempty"`

	// LastHeartbeatTime is when the controller reconciled this component
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
	LastHeartbeatTime string `json:"lastHeartbeatTime,omitempty"`

	// Version is the product (IBP) version of the component
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
	Version string `json:"version,omitempty"`

	// ErrorCode is the code of classification of errors
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
	ErrorCode int `json:"errorcode,omitempty"`

	// Versions is the operand version of the component
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
	Versions CRStatusVersion `json:"versions,omitempty"`
}

+k8s:deepcopy-gen=true CRStatus is the object that defines the status of a CR +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true

func (*CRStatus) DeepCopy

func (in *CRStatus) DeepCopy() *CRStatus

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

func (*CRStatus) DeepCopyInto

func (in *CRStatus) DeepCopyInto(out *CRStatus)

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

type CRStatusVersion

type CRStatusVersion struct {
	// Reconciled provides the reconciled version of the operand
	Reconciled string `json:"reconciled"`
}

CRStatusVersion provides the current reconciled version of the operand +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true

func (*CRStatusVersion) DeepCopy

func (in *CRStatusVersion) DeepCopy() *CRStatusVersion

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

func (*CRStatusVersion) DeepCopyInto

func (in *CRStatusVersion) DeepCopyInto(out *CRStatusVersion)

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

type CSR

type CSR struct {
	// Hosts override for CSR
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Hosts []string `json:"hosts,omitempty"`
}

+k8s:deepcopy-gen=true CSR has the Hosts for the CSR to be sent in the enrollment +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

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 ChaincodeBuilderConfig

type ChaincodeBuilderConfig map[string]string

ChaincodeBuilderConfig defines a k/v mapping scope for template substitutions referenced within a chaincode package archive. The mapping is serialized as JSON and appended to the peer env as CHAINCODE_AS_A_SERVICE_BUILDER_CONFIG. +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (ChaincodeBuilderConfig) DeepCopy

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

func (ChaincodeBuilderConfig) DeepCopyInto

func (in ChaincodeBuilderConfig) DeepCopyInto(out *ChaincodeBuilderConfig)

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

type Component

type Component string

Component is a custom type that enumerates all the components (containers)

const (
	INIT       Component = "INIT"
	CA         Component = "CA"
	ORDERER    Component = "ORDERER"
	PEER       Component = "PEER"
	GRPCPROXY  Component = "GRPCPROXY"
	FLUENTD    Component = "FLUENTD"
	DIND       Component = "DIND"
	COUCHDB    Component = "COUCHDB"
	CCLAUNCHER Component = "CCLAUNCHER"
	ENROLLER   Component = "ENROLLER"
	HSMDAEMON  Component = "HSMDAEMON"
)

type ConfigOverride

type ConfigOverride struct {
	// CA (Optional) is the overrides to CA's configuration
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	// +kubebuilder:validation:Type=object
	// +kubebuilder:validation:Schemaless
	// +kubebuilder:pruning:PreserveUnknownFields
	CA *runtime.RawExtension `json:"ca,omitempty"`
	// TLSCA (Optional) is the overrides to TLSCA's configuration
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	// +kubebuilder:validation:Type=object
	// +kubebuilder:validation:Schemaless
	// +kubebuilder:pruning:PreserveUnknownFields
	TLSCA *runtime.RawExtension `json:"tlsca,omitempty"`
	// MaxNameLength (Optional) is the maximum length of the name that the CA can have
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	MaxNameLength *int `json:"maxnamelength,omitempty"`
}

+k8s:deepcopy-gen=true ConfigOverride is the overrides to CA's & TLSCA's configuration +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*ConfigOverride) DeepCopy

func (in *ConfigOverride) DeepCopy() *ConfigOverride

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

func (*ConfigOverride) DeepCopyInto

func (in *ConfigOverride) DeepCopyInto(out *ConfigOverride)

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

type ConnectionProfileTLS

type ConnectionProfileTLS struct {

	// Cert is the base64 encoded tls cert of CA server
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Cert string `json:"cert"`
}

ConnectionProfileTLS is the object with CA servers TLS information +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*ConnectionProfileTLS) DeepCopy

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

func (*ConnectionProfileTLS) DeepCopyInto

func (in *ConnectionProfileTLS) DeepCopyInto(out *ConnectionProfileTLS)

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

type ConsoleAction

type ConsoleAction struct {
	Restart bool `json:"restart,omitempty"`
}

ConsoleAction contains actions that can be performed on console +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*ConsoleAction) DeepCopy

func (in *ConsoleAction) DeepCopy() *ConsoleAction

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

func (*ConsoleAction) DeepCopyInto

func (in *ConsoleAction) DeepCopyInto(out *ConsoleAction)

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

type ConsoleImages

type ConsoleImages struct {
	// ConsoleInitImage is the name of the console init image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	ConsoleInitImage string `json:"consoleInitImage,omitempty"`

	// ConsoleInitTag is the tag of the console init image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	ConsoleInitTag string `json:"consoleInitTag,omitempty"`

	// ConsoleImage is the name of the console image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	ConsoleImage string `json:"consoleImage,omitempty"`

	// ConsoleTag is the tag of the console image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	ConsoleTag string `json:"consoleTag,omitempty"`

	// ConfigtxlatorImage is the name of the configtxlator image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	ConfigtxlatorImage string `json:"configtxlatorImage,omitempty"`

	// ConfigtxlatorTag is the tag of the configtxlator image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	ConfigtxlatorTag string `json:"configtxlatorTag,omitempty"`

	// DeployerImage is the name of the deployer image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	DeployerImage string `json:"deployerImage,omitempty"`

	// DeployerTag is the tag of the deployer image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	DeployerTag string `json:"deployerTag,omitempty"`

	// CouchDBImage is the name of the couchdb image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	CouchDBImage string `json:"couchdbImage,omitempty"`

	// CouchDBTag is the tag of the couchdb image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	CouchDBTag string `json:"couchdbTag,omitempty"`

	// MustgatherImage is the name of the mustgather image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	MustgatherImage string `json:"mustgatherImage,omitempty"`

	// MustgatherTag is the tag of the mustgatherTag image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	MustgatherTag string `json:"mustgatherTag,omitempty"`
}

+k8s:deepcopy-gen=true ConsoleImages is the list of images to be used in console deployment +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*ConsoleImages) DeepCopy

func (in *ConsoleImages) DeepCopy() *ConsoleImages

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

func (*ConsoleImages) DeepCopyInto

func (in *ConsoleImages) DeepCopyInto(out *ConsoleImages)

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

type ConsoleOverrides

type ConsoleOverrides struct {
	// Console is the overrides to console configuration
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	// +kubebuilder:validation:Type=object
	// +kubebuilder:validation:Schemaless
	// +kubebuilder:pruning:PreserveUnknownFields
	Console *runtime.RawExtension `json:"console,omitempty"`

	// Deployer is the overrides to deployer configuration
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	// +kubebuilder:validation:Type=object
	// +kubebuilder:validation:Schemaless
	// +kubebuilder:pruning:PreserveUnknownFields
	Deployer *runtime.RawExtension `json:"deployer,omitempty"`

	// MaxNameLength (Optional) is the maximum length of the name that the console can have
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	MaxNameLength *int `json:"maxnamelength,omitempty"`
}

+k8s:deepcopy-gen=true ConsoleOverrides is the overrides to console configuration +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*ConsoleOverrides) DeepCopy

func (in *ConsoleOverrides) DeepCopy() *ConsoleOverrides

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

func (*ConsoleOverrides) DeepCopyInto

func (in *ConsoleOverrides) DeepCopyInto(out *ConsoleOverrides)

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

type ConsoleOverridesConsole

type ConsoleOverridesConsole struct {
	HostURL                    string `json:"hostURL,omitempty"`
	ActivityTrackerConsolePath string `json:"activityTrackerConsolePath,omitempty"`
	ActivityTrackerHostPath    string `json:"activityTrackerHostPath,omitempty"`
	HSM                        string `json:"hsm"`
}

+k8s:deepcopy-gen=true

func (*ConsoleOverridesConsole) DeepCopy

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

func (*ConsoleOverridesConsole) DeepCopyInto

func (in *ConsoleOverridesConsole) DeepCopyInto(out *ConsoleOverridesConsole)

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

type ConsoleOverridesDeployer

type ConsoleOverridesDeployer struct {
	Timeouts *DeployerTimeouts `json:"timeouts,omitempty"`
}

+k8s:deepcopy-gen=true

func (*ConsoleOverridesDeployer) DeepCopy

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

func (*ConsoleOverridesDeployer) DeepCopyInto

func (in *ConsoleOverridesDeployer) DeepCopyInto(out *ConsoleOverridesDeployer)

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

type ConsoleResources

type ConsoleResources struct {
	// Init is the resources provided to the init container
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Init *corev1.ResourceRequirements `json:"init,omitempty"`

	// CouchDB is the resources provided to the couchdb container
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	CouchDB *corev1.ResourceRequirements `json:"couchdb,omitempty"`

	// Console is the resources provided to the console container
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Console *corev1.ResourceRequirements `json:"console,omitempty"`

	// Deployer is the resources provided to the deployer container
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Deployer *corev1.ResourceRequirements `json:"deployer,omitempty"`

	// Configtxlator is the resources provided to the configtxlator container
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Configtxlator *corev1.ResourceRequirements `json:"configtxlator,omitempty"`
}

+k8s:deepcopy-gen=true ConsoleResources is the overrides to the resources of the Console +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*ConsoleResources) DeepCopy

func (in *ConsoleResources) DeepCopy() *ConsoleResources

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

func (*ConsoleResources) DeepCopyInto

func (in *ConsoleResources) DeepCopyInto(out *ConsoleResources)

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

type ConsoleStorage

type ConsoleStorage struct {
	// Console is the configuration of the storage of the console
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Console *StorageSpec `json:"console,omitempty"`
}

+k8s:deepcopy-gen=true ConsoleStorage is the overrides to the storage of the console +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*ConsoleStorage) DeepCopy

func (in *ConsoleStorage) DeepCopy() *ConsoleStorage

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

func (*ConsoleStorage) DeepCopyInto

func (in *ConsoleStorage) DeepCopyInto(out *ConsoleStorage)

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

type CoreConfig

type CoreConfig interface {
	UsingPKCS11() bool
}

type Deployer

type Deployer struct {
	Domain           string `json:"domain,omitempty"`
	ConnectionString string `json:"connectionstring,omitempty"`
	ComponentsDB     string `json:"components_db,omitempty"`
	CreateDB         bool   `json:"create_db,omitempty"`
}

func (*Deployer) DeepCopy

func (in *Deployer) DeepCopy() *Deployer

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

func (*Deployer) DeepCopyInto

func (in *Deployer) DeepCopyInto(out *Deployer)

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

type DeployerTimeouts

type DeployerTimeouts struct {
	Deployment int `json:"componentDeploy"`
	APIServer  int `json:"apiServer"`
}

func (*DeployerTimeouts) DeepCopy

func (in *DeployerTimeouts) DeepCopy() *DeployerTimeouts

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

func (*DeployerTimeouts) DeepCopyInto

func (in *DeployerTimeouts) DeepCopyInto(out *DeployerTimeouts)

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

type Enrollment

type Enrollment struct {
	// CAHost is host part of the CA to use
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	CAHost string `json:"cahost,omitempty"`

	// CAPort is port of the CA to use
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	CAPort string `json:"caport,omitempty"`

	// CAName is name of CA
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	CAName string `json:"caname,omitempty"`

	// CATLS is tls details to talk to CA endpoint
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	CATLS *CATLS `json:"catls,omitempty"`

	// EnrollID is the enrollment username
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	EnrollID string `json:"enrollid,omitempty"`

	// EnrollSecret is enrollment secret ( password )
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	EnrollSecret string `json:"enrollsecret,omitempty"`

	// AdminCerts is the base64 encoded admincerts
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	AdminCerts []string `json:"admincerts,omitempty"`

	// CSR is the CSR override object
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	CSR *CSR `json:"csr,omitempty"`
}

+k8s:deepcopy-gen=true Enrollment is the enrollment section of secret spec +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

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.

func (*Enrollment) GetCATLSBytes

func (e *Enrollment) GetCATLSBytes() ([]byte, error)

type EnrollmentSpec

type EnrollmentSpec struct {
	// Component contains ecert enrollment details
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Component *Enrollment `json:"component,omitempty"`

	// TLS contains tls enrollment details
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	TLS *Enrollment `json:"tls,omitempty"`

	// ClientAuth contains client uath enrollment details
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	ClientAuth *Enrollment `json:"clientauth,omitempty"`
}

+k8s:deepcopy-gen=true EnrollmentSpec contains all the configurations that a component needs to enroll with +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*EnrollmentSpec) DeepCopy

func (in *EnrollmentSpec) DeepCopy() *EnrollmentSpec

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

func (*EnrollmentSpec) DeepCopyInto

func (in *EnrollmentSpec) DeepCopyInto(out *EnrollmentSpec)

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

type HSM

type HSM struct {
	// PKCS11Endpoint is DEPRECATED
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	PKCS11Endpoint string `json:"pkcs11endpoint,omitempty"`
}

HSM struct is DEPRECATED +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*HSM) DeepCopy

func (in *HSM) DeepCopy() *HSM

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

func (*HSM) DeepCopyInto

func (in *HSM) DeepCopyInto(out *HSM)

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

type IBPCA

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

	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Spec IBPCASpec `json:"spec,omitempty"`

	// Status is the observed state of IBPCA
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
	Status IBPCAStatus `json:"status,omitempty"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:deepcopy-gen=true +kubebuilder:storageversion Certificate Authorities issue certificates for all the identities to transact on the network. Warning: CA deployment using this tile is not supported. Please use the IBP Console to deploy a CA. +kubebuilder:subresource:status +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true +operator-sdk:gen-csv:customresourcedefinitions.displayName="IBP CA" +operator-sdk:gen-csv:customresourcedefinitions.resources=`Deployments,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`Ingresses,v1beta1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`PersistentVolumeClaim,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`Role,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`RoleBinding,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`Route,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`Services,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`ServiceAccounts,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`ConfigMaps,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`Secrets,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`Pods,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`Replicasets,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`IBPCA,v1beta1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`IBPPeer,v1beta1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`IBPOrderer,v1beta1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`IBPConsole,v1beta1,""`

func (*IBPCA) DeepCopy

func (in *IBPCA) DeepCopy() *IBPCA

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

func (*IBPCA) DeepCopyInto

func (in *IBPCA) DeepCopyInto(out *IBPCA)

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

func (*IBPCA) DeepCopyObject

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

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

func (*IBPCA) GetArch

func (s *IBPCA) GetArch() []string

func (*IBPCA) GetFabricVersion

func (s *IBPCA) GetFabricVersion() string

GetFabricVersion returns fabric version from CR spec

func (*IBPCA) GetLabels

func (s *IBPCA) GetLabels() map[string]string

func (*IBPCA) GetMSPID

func (s *IBPCA) GetMSPID() string

GetMSPID returns empty string as we don't currently store the orgname/MSPID of the CA in its spec

func (*IBPCA) GetNumSecondsWarningPeriod

func (s *IBPCA) GetNumSecondsWarningPeriod() int64

func (*IBPCA) GetPullSecrets

func (s *IBPCA) GetPullSecrets() []corev1.LocalObjectReference

func (*IBPCA) GetRegistryURL

func (s *IBPCA) GetRegistryURL() string

func (*IBPCA) GetResource

func (s *IBPCA) GetResource(comp Component) corev1.ResourceRequirements

GetResource returns resources defined in spec for request component, if no resources defined returns blank but initialized instance of resources

func (*IBPCA) GetTLSCAConfigOverride

func (s *IBPCA) GetTLSCAConfigOverride() (CAConfig, error)

func (*IBPCA) ImagesSet

func (s *IBPCA) ImagesSet() bool

ImagesSet returns true if the spec has images defined

func (*IBPCA) IsHSMEnabled

func (s *IBPCA) IsHSMEnabled() bool

func (*IBPCA) IsHSMEnabledForType

func (s *IBPCA) IsHSMEnabledForType(caType config.Type) bool

func (*IBPCA) PVCName

func (s *IBPCA) PVCName() string

PVCName returns pvc name associated with instance

func (*IBPCA) ResetRestart

func (s *IBPCA) ResetRestart()

func (*IBPCA) ResetTLSRenew

func (s *IBPCA) ResetTLSRenew()

func (*IBPCA) SetFabricVersion

func (s *IBPCA) SetFabricVersion(version string)

SetFabricVersion sets fabric version on spec

func (*IBPCA) UsingHSMProxy

func (s *IBPCA) UsingHSMProxy() bool

type IBPCAList

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

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:deepcopy-gen=true IBPCAList contains a list of IBPCA +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*IBPCAList) DeepCopy

func (in *IBPCAList) DeepCopy() *IBPCAList

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

func (*IBPCAList) DeepCopyInto

func (in *IBPCAList) DeepCopyInto(out *IBPCAList)

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

func (*IBPCAList) DeepCopyObject

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

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

type IBPCASpec

type IBPCASpec struct {
	// License should be accepted by the user to be able to setup CA
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	License License `json:"license"`

	// Images (Optional) lists the images to be used for CA's deployment
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Images *CAImages `json:"images,omitempty"`

	// RegistryURL is registry url used to pull images
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	RegistryURL string `json:"registryURL,omitempty"`

	// ImagePullSecrets (Optional) is the list of ImagePullSecrets to be used for CA's deployment
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	ImagePullSecrets []string `json:"imagePullSecrets,omitempty"`

	// Replicas (Optional - default 1) is the number of CA replicas to be setup
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Replicas *int32 `json:"replicas,omitempty"`

	// Resources (Optional) is the amount of resources to be provided to CA deployment
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Resources *CAResources `json:"resources,omitempty"`

	// Service (Optional) is the override object for CA's service
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Service *Service `json:"service,omitempty"`

	// Storage (Optional - uses default storageclass if not provided) is the override object for CA's PVC config
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Storage *CAStorages `json:"storage,omitempty"`

	// ConfigOverride (Optional) is the object to provide overrides to CA & TLSCA config
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	ConfigOverride *ConfigOverride `json:"configoverride,omitempty"`

	// HSM (Optional) is DEPRECATED
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	HSM *HSM `json:"hsm,omitempty"`

	// CustomNames (Optional) is to use pre-configured resources for CA's deployment
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	CustomNames CACustomNames `json:"customNames,omitempty"`

	// NumSecondsWarningPeriod (Optional - default 30 days) is used to define certificate expiry warning period.
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	NumSecondsWarningPeriod int64 `json:"numSecondsWarningPeriod,omitempty"`

	// FabricVersion (Optional) set the fabric version you want to use.
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	FabricVersion string `json:"version"`

	// Domain is the sub-domain used for CA's deployment
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Domain string `json:"domain,omitempty"`

	// Ingress (Optional) is ingress object for ingress overrides
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Ingress Ingress `json:"ingress,omitempty"`

	// Arch (Optional) is the architecture of the nodes where CA should be deployed
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Arch []string `json:"arch,omitempty"`

	// Region (Optional) is the region of the nodes where the CA should be deployed
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Region string `json:"region,omitempty"`

	// Zone (Optional) is the zone of the nodes where the CA should be deployed
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Zone string `json:"zone,omitempty"`

	// Action (Optional) is action object for trigerring actions
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Action CAAction `json:"action,omitempty"`
}

IBPCASpec defines the desired state of IBP CA +k8s:deepcopy-gen=true +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*IBPCASpec) CAResourcesSet

func (s *IBPCASpec) CAResourcesSet() bool

func (*IBPCASpec) DeepCopy

func (in *IBPCASpec) DeepCopy() *IBPCASpec

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

func (*IBPCASpec) DeepCopyInto

func (in *IBPCASpec) DeepCopyInto(out *IBPCASpec)

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

func (*IBPCASpec) DomainSet

func (s *IBPCASpec) DomainSet() bool

func (*IBPCASpec) GetCAConfigOverride

func (s *IBPCASpec) GetCAConfigOverride() (CAConfig, error)

func (*IBPCASpec) HSMSet

func (s *IBPCASpec) HSMSet() bool

func (*IBPCASpec) InitResourcesSet

func (s *IBPCASpec) InitResourcesSet() bool

type IBPCAStatus

type IBPCAStatus struct {
	// CRStatus is the status of the CA resource
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
	CRStatus `json:",inline"`
}

+k8s:deepcopy-gen=true IBPCAStatus defines the observed state of IBPCA +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*IBPCAStatus) DeepCopy

func (in *IBPCAStatus) DeepCopy() *IBPCAStatus

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

func (*IBPCAStatus) DeepCopyInto

func (in *IBPCAStatus) DeepCopyInto(out *IBPCAStatus)

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

func (*IBPCAStatus) HasType

func (c *IBPCAStatus) HasType() bool

type IBPCRStatus

type IBPCRStatus string

IBPCRStatus is the string that defines if status is set by the controller +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true

const (
	// True means that the status is set by the controller successfully
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
	True IBPCRStatus = "True"

	// False stands for the status which is not correctly set and should be ignored
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
	False IBPCRStatus = "False"

	// Unknown stands for unknown status
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
	Unknown IBPCRStatus = "Unknown"
)

type IBPCRStatusType

type IBPCRStatusType string

IBPCRStatusType is the string that stores teh status +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true

const (
	// Deploying is the status when component is being deployed
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
	Deploying IBPCRStatusType = "Deploying"

	// Deployed is the status when the component's deployment is done successfully
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
	Deployed IBPCRStatusType = "Deployed"

	// Precreated is the status of the orderers when they are waiting for config block
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
	Precreated IBPCRStatusType = "Precreated"

	// Error is the status when a component's deployment has failed due to an error
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
	Error IBPCRStatusType = "Error"

	// Warning is the status when a component is running, but will fail in future
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
	Warning IBPCRStatusType = "Warning"

	// Initializing is the status when a component is initializing
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
	Initializing IBPCRStatusType = "Initializing"
)

type IBPConsole

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

	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Spec IBPConsoleSpec `json:"spec,omitempty"`

	// Status is the observed state of IBPConsole
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
	Status IBPConsoleStatus `json:"status,omitempty"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:openapi-gen=true +kubebuilder:storageversion +kubebuilder:subresource:status +k8s:deepcopy-gen=true The Console is used to deploy and manage the CA, peer, ordering nodes. +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true +operator-sdk:gen-csv:customresourcedefinitions.displayName="IBP Console" +operator-sdk:gen-csv:customresourcedefinitions.resources=`Deployments,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`Ingresses,v1beta1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`PersistentVolumeClaim,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`Role,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`RoleBinding,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`Route,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`Services,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`ServiceAccounts,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`ConfigMaps,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`Secrets,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`Pods,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`Replicasets,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`IBPCA,v1beta1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`IBPPeer,v1beta1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`IBPOrderer,v1beta1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`IBPConsole,v1beta1,""`

func (*IBPConsole) DeepCopy

func (in *IBPConsole) DeepCopy() *IBPConsole

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

func (*IBPConsole) DeepCopyInto

func (in *IBPConsole) DeepCopyInto(out *IBPConsole)

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

func (*IBPConsole) DeepCopyObject

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

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

func (*IBPConsole) GetMSPID

func (s *IBPConsole) GetMSPID() string

GetMSPID returns empty string as no orgs are associated with console (implemented for the restart manager logic)

func (*IBPConsole) ResetRestart

func (s *IBPConsole) ResetRestart()

func (*IBPConsole) UseTags

func (s *IBPConsole) UseTags() bool

type IBPConsoleList

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

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:deepcopy-gen=true IBPConsoleList contains a list of IBP Console +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*IBPConsoleList) DeepCopy

func (in *IBPConsoleList) DeepCopy() *IBPConsoleList

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

func (*IBPConsoleList) DeepCopyInto

func (in *IBPConsoleList) DeepCopyInto(out *IBPConsoleList)

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

func (*IBPConsoleList) DeepCopyObject

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

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

type IBPConsoleSpec

type IBPConsoleSpec struct {
	// License should be accepted by the user to be able to setup console
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	License License `json:"license"`

	// Images (Optional) lists the images to be used for console's deployment
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Images *ConsoleImages `json:"images,omitempty"`

	// ImagePullSecrets (Optional) is the list of ImagePullSecrets to be used for console's deployment
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	ImagePullSecrets []string `json:"imagePullSecrets,omitempty"`

	// Replicas (Optional - default 1) is the number of console replicas to be setup
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Replicas *int32 `json:"replicas,omitempty"`

	// Resources (Optional) is the amount of resources to be provided to console deployment
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Resources *ConsoleResources `json:"resources,omitempty"`

	// Service (Optional) is the override object for console's service
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Service *Service `json:"service,omitempty"`

	// ServiceAccountName defines serviceaccount used for console deployment
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	ServiceAccountName string `json:"serviceAccountName,omitempty"`

	// Storage (Optional - uses default storageclass if not provided) is the override object for CA's PVC config
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Storage *ConsoleStorage `json:"storage,omitempty"`

	// NetworkInfo is object for network overrides
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	NetworkInfo *NetworkInfo `json:"networkinfo,omitempty"`

	// Ingress (Optional) is ingress object for ingress overrides
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Ingress Ingress `json:"ingress,omitempty"`

	/* console settings */
	// AuthScheme is auth scheme for console access
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	AuthScheme string `json:"authScheme,omitempty"`

	// AllowDefaultPassword, if true, will bypass the password reset flow
	// on the first connection to the console GUI.  By default (false), all
	// consoles require a password reset at the first login.
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	AllowDefaultPassword bool `json:"allowDefaultPassword,omitempty"`

	// Components is database name used for components
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Components string `json:"components,omitempty"`

	// ClusterData is object cluster data information
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	ClusterData *consolev1.IBPConsoleClusterData `json:"clusterdata,omitempty"`

	// ConfigtxlatorURL is url for configtxlator server
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	ConfigtxlatorURL string `json:"configtxlator,omitempty"`

	// ConnectionString is connection url for backend database
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	ConnectionString string `json:"connectionString,omitempty"`

	// DeployerTimeout is timeout value for deployer calls
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	DeployerTimeout int32 `json:"deployerTimeout,omitempty"`

	// DeployerURL is url for deployer server
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	DeployerURL string `json:"deployerUrl,omitempty"`

	// Email is the email used for initial access
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Email string `json:"email,omitempty"`

	// FeatureFlags is object for feature flag settings
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	FeatureFlags *consolev1.FeatureFlags `json:"featureflags,omitempty"`

	IAMApiKey       string           `json:"iamApiKey,omitempty"`
	SegmentWriteKey string           `json:"segmentWriteKey,omitempty"`
	IBMID           *consolev1.IBMID `json:"ibmid,omitempty"`
	Proxying        *bool            `json:"proxying,omitempty"`

	// Password is initial password to access console
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Password string `json:"password,omitempty"`

	// PasswordSecretName is secretname where password is stored
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	PasswordSecretName string `json:"passwordSecretName,omitempty"`

	// Sessions is sessions database name to use
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Sessions string `json:"sessions,omitempty"`

	// System is system database name to use
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	System string `json:"system,omitempty"`

	// SystemChannel is default systemchannel name
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	SystemChannel string `json:"systemChannel,omitempty"`

	// TLSSecretName is secret name to load custom tls certs
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	TLSSecretName string `json:"tlsSecretName,omitempty"`

	CRN                  *CRN      `json:"crn,omitempty"`
	Kubeconfig           *[]byte   `json:"kubeconfig,omitempty"`
	KubeconfigSecretName string    `json:"kubeconfigsecretname,omitempty"`
	Versions             *Versions `json:"versions,omitempty"`
	KubeconfigNamespace  string    `json:"kubeconfignamespace,omitempty"`

	// RegistryURL is registry url used to pull images
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	RegistryURL string `json:"registryURL,omitempty"`

	// Deployer is object for deployer configs
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Deployer *Deployer `json:"deployer,omitempty"`

	// Arch (Optional) is the architecture of the nodes where console should be deployed
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Arch []string `json:"arch,omitempty"`

	// Region (Optional) is the region of the nodes where the console should be deployed
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Region string `json:"region,omitempty"`

	// Zone (Optional) is the zone of the nodes where the console should be deployed
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Zone string `json:"zone,omitempty"`

	// ConfigOverride (Optional) is the object to provide overrides
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	ConfigOverride *ConsoleOverrides `json:"configoverride,omitempty"`

	// Action (Optional) is action object for trigerring actions
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Action ConsoleAction `json:"action,omitempty"`

	// Version (Optional) is version for the console
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Version string `json:"version"`

	// UseTags (Optional) is a flag to switch between image digests and tags
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	UseTags *bool `json:"usetags"`
}

+k8s:openapi-gen=true +k8s:deepcopy-gen=true IBPConsoleSpec defines the desired state of IBPConsole +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*IBPConsoleSpec) DeepCopy

func (in *IBPConsoleSpec) DeepCopy() *IBPConsoleSpec

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

func (*IBPConsoleSpec) DeepCopyInto

func (in *IBPConsoleSpec) DeepCopyInto(out *IBPConsoleSpec)

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

func (*IBPConsoleSpec) GetOverridesConsole

func (s *IBPConsoleSpec) GetOverridesConsole() (*ConsoleOverridesConsole, error)

func (*IBPConsoleSpec) GetOverridesDeployer

func (s *IBPConsoleSpec) GetOverridesDeployer() (*ConsoleOverridesDeployer, error)

func (*IBPConsoleSpec) UsingRemoteDB

func (s *IBPConsoleSpec) UsingRemoteDB() bool

type IBPConsoleStatus

type IBPConsoleStatus struct {
	CRStatus `json:",inline"`
}

+k8s:openapi-gen=true +k8s:deepcopy-gen=true IBPConsoleStatus defines the observed state of IBP Console +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true

func (*IBPConsoleStatus) DeepCopy

func (in *IBPConsoleStatus) DeepCopy() *IBPConsoleStatus

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

func (*IBPConsoleStatus) DeepCopyInto

func (in *IBPConsoleStatus) DeepCopyInto(out *IBPConsoleStatus)

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

func (*IBPConsoleStatus) HasType

func (c *IBPConsoleStatus) HasType() bool

type IBPOrderer

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

	Spec IBPOrdererSpec `json:"spec,omitempty"`
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
	Status IBPOrdererStatus `json:"status,omitempty"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:openapi-gen=true +kubebuilder:storageversion +kubebuilder:subresource:status +k8s:deepcopy-gen=true Ordering nodes create the blocks that form the ledger and send them to peers. Warning: Orderer deployment using this tile is not supported. Please use the IBP Console to deploy an orderer. +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true +operator-sdk:gen-csv:customresourcedefinitions.displayName="IBP Orderer" +operator-sdk:gen-csv:customresourcedefinitions.resources=`Deployments,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`Ingresses,v1beta1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`PersistentVolumeClaim,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`Role,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`RoleBinding,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`Route,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`Services,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`ServiceAccounts,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`ConfigMaps,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`Secrets,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`Pods,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`Replicasets,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`IBPCA,v1beta1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`IBPPeer,v1beta1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`IBPOrderer,v1beta1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`IBPConsole,v1beta1,""`

func (*IBPOrderer) ClientAuthCryptoSet

func (o *IBPOrderer) ClientAuthCryptoSet() bool

func (*IBPOrderer) DeepCopy

func (in *IBPOrderer) DeepCopy() *IBPOrderer

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

func (*IBPOrderer) DeepCopyInto

func (in *IBPOrderer) DeepCopyInto(out *IBPOrderer)

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

func (*IBPOrderer) DeepCopyObject

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

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

func (*IBPOrderer) EnrollerImage

func (o *IBPOrderer) EnrollerImage() string

func (*IBPOrderer) GetArch

func (s *IBPOrderer) GetArch() []string

func (*IBPOrderer) GetConfigOverride

func (o *IBPOrderer) GetConfigOverride() (interface{}, error)

func (*IBPOrderer) GetFabricVersion

func (s *IBPOrderer) GetFabricVersion() string

GetFabricVersion returns fabric version from CR spec

func (*IBPOrderer) GetMSPID

func (s *IBPOrderer) GetMSPID() string

func (*IBPOrderer) GetPullSecrets

func (s *IBPOrderer) GetPullSecrets() []corev1.LocalObjectReference

func (*IBPOrderer) GetRegistryURL

func (s *IBPOrderer) GetRegistryURL() string

func (*IBPOrderer) GetResource

func (s *IBPOrderer) GetResource(comp Component) corev1.ResourceRequirements

GetResource returns resources defined in spec for request component, if no resources defined returns blank but initialized instance of resources

func (*IBPOrderer) ImagesSet

func (s *IBPOrderer) ImagesSet() bool

ImagesSet returns true if the spec has images defined

func (*IBPOrderer) IsHSMEnabled

func (o *IBPOrderer) IsHSMEnabled() bool

func (*IBPOrderer) PVCName

func (s *IBPOrderer) PVCName() string

PVCName returns pvc name associated with instance

func (*IBPOrderer) ResetEcertEnroll

func (s *IBPOrderer) ResetEcertEnroll()

func (*IBPOrderer) ResetEcertReenroll

func (s *IBPOrderer) ResetEcertReenroll()

func (*IBPOrderer) ResetRestart

func (s *IBPOrderer) ResetRestart()

func (*IBPOrderer) ResetTLSEnroll

func (s *IBPOrderer) ResetTLSEnroll()

func (*IBPOrderer) ResetTLSReenroll

func (s *IBPOrderer) ResetTLSReenroll()

func (*IBPOrderer) SetFabricVersion

func (s *IBPOrderer) SetFabricVersion(version string)

SetFabricVersion sets fabric version on spec

func (*IBPOrderer) UsingHSMImage

func (o *IBPOrderer) UsingHSMImage() bool

func (*IBPOrderer) UsingHSMProxy

func (o *IBPOrderer) UsingHSMProxy() bool

type IBPOrdererClusterLocation

type IBPOrdererClusterLocation struct {
	// Zone (Optional) is the zone of the nodes where the orderer should be deployed
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Zone string `json:"zone,omitempty"`

	// Region (Optional) is the region of the nodes where the orderer should be deployed
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Region string `json:"region,omitempty"`
}

IBPOrdererClusterLocation (Optional) is object of cluster location settings for cluster +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*IBPOrdererClusterLocation) DeepCopy

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

func (*IBPOrdererClusterLocation) DeepCopyInto

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

type IBPOrdererList

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

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:deepcopy-gen=true IBPOrdererList contains a list of IBPOrderer

func (*IBPOrdererList) DeepCopy

func (in *IBPOrdererList) DeepCopy() *IBPOrdererList

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

func (*IBPOrdererList) DeepCopyInto

func (in *IBPOrdererList) DeepCopyInto(out *IBPOrdererList)

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

func (*IBPOrdererList) DeepCopyObject

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

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

type IBPOrdererSpec

type IBPOrdererSpec struct {
	// License should be accepted by the user to be able to setup orderer
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	License License `json:"license"`

	// Images (Optional) lists the images to be used for orderer's deployment
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Images *OrdererImages `json:"images,omitempty"`

	// RegistryURL is registry url used to pull images
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	RegistryURL string `json:"registryURL,omitempty"`

	// ImagePullSecrets (Optional) is the list of ImagePullSecrets to be used for orderer's deployment
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	ImagePullSecrets []string `json:"imagePullSecrets,omitempty"`

	// Replicas (Optional - default 1) is the number of orderer replicas to be setup
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Replicas *int32 `json:"replicas,omitempty"`

	// Resources (Optional) is the amount of resources to be provided to orderer deployment
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Resources *OrdererResources `json:"resources,omitempty"`

	// Service (Optional) is the override object for orderer's service
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Service *Service `json:"service,omitempty"`

	// Storage (Optional - uses default storageclass if not provided) is the override object for CA's PVC config
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Storage *OrdererStorages `json:"storage,omitempty"`

	// GenesisBlock (Optional) is genesis block to start the orderer
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	GenesisBlock   string `json:"genesisBlock,omitempty"`
	GenesisProfile string `json:"genesisProfile,omitempty"`
	UseChannelLess *bool  `json:"useChannelLess,omitempty"`

	// MSPID is the msp id of the orderer
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	MSPID string `json:"mspID,omitempty"`

	// OrdererType is type of orderer you want to start
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	OrdererType string `json:"ordererType,omitempty"`

	// OrgName is the organization name of the orderer
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	OrgName string `json:"orgName,omitempty"`

	// SystemChannelName is the name of systemchannel
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	SystemChannelName string `json:"systemChannelName,omitempty"`

	// Secret is object for msp crypto
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Secret *SecretSpec `json:"secret,omitempty"`

	// ConfigOverride (Optional) is the object to provide overrides to core yaml config
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	// +kubebuilder:validation:Type=object
	// +kubebuilder:validation:Schemaless
	// +kubebuilder:pruning:PreserveUnknownFields
	ConfigOverride *runtime.RawExtension `json:"configoverride,omitempty"`

	// HSM (Optional) is DEPRECATED
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	HSM *HSM `json:"hsm,omitempty"`

	// IsPrecreate (Optional) defines if orderer is in precreate state
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	IsPrecreate *bool `json:"isprecreate,omitempty"`

	// FabricVersion (Optional) is fabric version for the orderer
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	FabricVersion string `json:"version"`

	// NumSecondsWarningPeriod (Optional - default 30 days) is used to define certificate expiry warning period.
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	NumSecondsWarningPeriod int64 `json:"numSecondsWarningPeriod,omitempty"`

	// ClusterSize (Optional) number of orderers if a cluster
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	ClusterSize int `json:"clusterSize,omitempty"`

	// ClusterLocation (Optional) is array of cluster location settings for cluster
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	ClusterLocation []IBPOrdererClusterLocation `json:"location,omitempty"`

	// ClusterConfigOverride (Optional) is array of config overrides for cluster
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	// +kubebuilder:pruning:PreserveUnknownFields
	ClusterConfigOverride []*runtime.RawExtension `json:"clusterconfigoverride,omitempty"`

	// ClusterSecret (Optional) is array of msp crypto for cluster
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	ClusterSecret []*SecretSpec `json:"clustersecret,omitempty"`

	// NodeNumber (Optional) is the number of this node in cluster - used internally
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	NodeNumber *int `json:"number,omitempty"`

	// Ingress (Optional) is ingress object for ingress overrides
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Ingress Ingress `json:"ingress,omitempty"`

	// Domain is the sub-domain used for orderer's deployment
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Domain string `json:"domain,omitempty"`

	// Arch (Optional) is the architecture of the nodes where orderer should be deployed
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Arch []string `json:"arch,omitempty"`

	// Zone (Optional) is the zone of the nodes where the orderer should be deployed
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Zone string `json:"zone,omitempty"`

	// Region (Optional) is the region of the nodes where the orderer should be deployed
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Region string `json:"region,omitempty"`

	// DisableNodeOU (Optional) is used to switch nodeou on and off
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	DisableNodeOU *bool `json:"disablenodeou,omitempty"`

	// CustomNames (Optional) is to use pre-configured resources for orderer's deployment
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	CustomNames OrdererCustomNames `json:"customNames,omitempty"`

	// Action (Optional) is object for orderer actions
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Action OrdererAction `json:"action,omitempty"`

	// ExternalAddress (Optional) is used internally
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	ExternalAddress string `json:"externalAddress,omitempty"`
}

+k8s:openapi-gen=true +k8s:deepcopy-gen=true IBPOrdererSpec defines the desired state of IBPOrderer +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*IBPOrdererSpec) DeepCopy

func (in *IBPOrdererSpec) DeepCopy() *IBPOrdererSpec

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

func (*IBPOrdererSpec) DeepCopyInto

func (in *IBPOrdererSpec) DeepCopyInto(out *IBPOrdererSpec)

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

func (*IBPOrdererSpec) DomainSet

func (s *IBPOrdererSpec) DomainSet() bool

func (*IBPOrdererSpec) GetNumSecondsWarningPeriod

func (s *IBPOrdererSpec) GetNumSecondsWarningPeriod() int64

func (*IBPOrdererSpec) HSMSet

func (s *IBPOrdererSpec) HSMSet() bool

func (*IBPOrdererSpec) IsPrecreateOrderer

func (s *IBPOrdererSpec) IsPrecreateOrderer() bool

func (*IBPOrdererSpec) IsUsingChannelLess

func (s *IBPOrdererSpec) IsUsingChannelLess() bool

func (*IBPOrdererSpec) NodeOUDisabled

func (s *IBPOrdererSpec) NodeOUDisabled() bool

type IBPOrdererStatus

type IBPOrdererStatus struct {
	CRStatus `json:",inline"`
}

+k8s:openapi-gen=true +k8s:deepcopy-gen=true IBPOrdererStatus defines the observed state of IBPOrderer +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true

func (*IBPOrdererStatus) DeepCopy

func (in *IBPOrdererStatus) DeepCopy() *IBPOrdererStatus

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

func (*IBPOrdererStatus) DeepCopyInto

func (in *IBPOrdererStatus) DeepCopyInto(out *IBPOrdererStatus)

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

func (*IBPOrdererStatus) HasType

func (o *IBPOrdererStatus) HasType() bool

type IBPPeer

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

	Spec IBPPeerSpec `json:"spec"`
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
	Status IBPPeerStatus `json:"status,omitempty"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:openapi-gen=true +kubebuilder:storageversion +k8s:deepcopy-gen=true +kubebuilder:subresource:status IBPPeer is the Schema for the ibppeers API. Warning: Peer deployment using this tile is not supported. Please use the IBP Console to deploy a Peer. +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true +operator-sdk:gen-csv:customresourcedefinitions.displayName="IBP Peer" +operator-sdk:gen-csv:customresourcedefinitions.resources=`Deployments,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`Ingresses,v1beta1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`PersistentVolumeClaim,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`Role,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`RoleBinding,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`Route,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`Services,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`ServiceAccounts,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`ConfigMaps,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`Secrets,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`Pods,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`Replicasets,v1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`IBPCA,v1beta1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`IBPPeer,v1beta1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`IBPOrderer,v1beta1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`IBPConsole,v1beta1,""` +operator-sdk:gen-csv:customresourcedefinitions.resources=`clusterversions,v1,""`

func (*IBPPeer) ClientAuthCryptoSet

func (p *IBPPeer) ClientAuthCryptoSet() bool

func (*IBPPeer) DeepCopy

func (in *IBPPeer) DeepCopy() *IBPPeer

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

func (*IBPPeer) DeepCopyInto

func (in *IBPPeer) DeepCopyInto(out *IBPPeer)

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

func (*IBPPeer) DeepCopyObject

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

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

func (*IBPPeer) EnrollerImage

func (p *IBPPeer) EnrollerImage() string

func (*IBPPeer) GetArch

func (s *IBPPeer) GetArch() []string

func (*IBPPeer) GetConfigOverride

func (s *IBPPeer) GetConfigOverride() (interface{}, error)

func (*IBPPeer) GetFabricVersion

func (s *IBPPeer) GetFabricVersion() string

GetFabricVersion returns fabric version from CR spec

func (*IBPPeer) GetMSPID

func (s *IBPPeer) GetMSPID() string

func (*IBPPeer) GetPullSecrets

func (s *IBPPeer) GetPullSecrets() []corev1.LocalObjectReference

func (*IBPPeer) GetRegistryURL

func (s *IBPPeer) GetRegistryURL() string

func (*IBPPeer) GetResource

func (s *IBPPeer) GetResource(comp Component) corev1.ResourceRequirements

GetResource returns resources defined in spec for request component, if no resources defined returns blank but initialized instance of resources

func (*IBPPeer) ImagesSet

func (s *IBPPeer) ImagesSet() bool

ImagesSet returns true if the spec has images defined

func (*IBPPeer) IsHSMEnabled

func (s *IBPPeer) IsHSMEnabled() bool

func (*IBPPeer) PVCName

func (s *IBPPeer) PVCName() string

PVCName returns pvc name associated with instance

func (*IBPPeer) ResetEcertEnroll

func (s *IBPPeer) ResetEcertEnroll()

func (*IBPPeer) ResetEcertReenroll

func (s *IBPPeer) ResetEcertReenroll()

func (*IBPPeer) ResetRestart

func (s *IBPPeer) ResetRestart()

func (*IBPPeer) ResetTLSEnroll

func (s *IBPPeer) ResetTLSEnroll()

func (*IBPPeer) ResetTLSReenroll

func (s *IBPPeer) ResetTLSReenroll()

func (*IBPPeer) ResetUpgradeDBs

func (s *IBPPeer) ResetUpgradeDBs()

func (*IBPPeer) SetFabricVersion

func (s *IBPPeer) SetFabricVersion(version string)

SetFabricVersion sets fabric version on spec

func (*IBPPeer) UsingCCLauncherImage

func (p *IBPPeer) UsingCCLauncherImage() bool

func (*IBPPeer) UsingCouchDB

func (s *IBPPeer) UsingCouchDB() bool

func (*IBPPeer) UsingHSMImage

func (p *IBPPeer) UsingHSMImage() bool

func (*IBPPeer) UsingHSMProxy

func (p *IBPPeer) UsingHSMProxy() bool

type IBPPeerList

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

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:deepcopy-gen=true IBPPeerList contains a list of IBPPeer

func (*IBPPeerList) DeepCopy

func (in *IBPPeerList) DeepCopy() *IBPPeerList

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

func (*IBPPeerList) DeepCopyInto

func (in *IBPPeerList) DeepCopyInto(out *IBPPeerList)

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

func (*IBPPeerList) DeepCopyObject

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

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

type IBPPeerSpec

type IBPPeerSpec struct {
	// License should be accepted by the user to be able to setup Peer
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	License License `json:"license"`

	// Images (Optional) lists the images to be used for peer's deployment
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Images *PeerImages `json:"images,omitempty"`

	// RegistryURL is registry url used to pull images
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	RegistryURL string `json:"registryURL,omitempty"`

	// ImagePullSecrets (Optional) is the list of ImagePullSecrets to be used for peer's deployment
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	ImagePullSecrets []string `json:"imagePullSecrets,omitempty"`

	// Replicas (Optional - default 1) is the number of peer replicas to be setup
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Replicas *int32 `json:"replicas,omitempty"`

	// Resources (Optional) is the amount of resources to be provided to peer deployment
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Resources *PeerResources `json:"resources,omitempty"`

	// Service (Optional) is the override object for peer's service
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Service *Service `json:"service,omitempty"`

	// Storage (Optional - uses default storageclass if not provided) is the override object for peer's PVC config
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Storage *PeerStorages `json:"storage,omitempty"`

	/* peer specific configs */
	// MSPID is the msp id of the peer
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	MSPID string `json:"mspID,omitempty"`

	// StateDb (Optional) is the statedb used for peer, can be couchdb or leveldb
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	StateDb string `json:"stateDb,omitempty"`

	// ConfigOverride (Optional) is the object to provide overrides to core yaml config
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	// +kubebuilder:validation:Type=object
	// +kubebuilder:validation:Schemaless
	// +kubebuilder:pruning:PreserveUnknownFields
	ConfigOverride *runtime.RawExtension `json:"configoverride,omitempty"`

	// HSM (Optional) is DEPRECATED
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	HSM *HSM `json:"hsm,omitempty"`

	// DisableNodeOU (Optional) is used to switch nodeou on and off
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	DisableNodeOU *bool `json:"disablenodeou,omitempty"`

	// CustomNames (Optional) is to use pre-configured resources for peer's deployment
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	CustomNames PeerCustomNames `json:"customNames,omitempty"`

	// FabricVersion (Optional) is fabric version for the peer
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	FabricVersion string `json:"version"`

	// NumSecondsWarningPeriod (Optional - default 30 days) is used to define certificate expiry warning period.
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	NumSecondsWarningPeriod int64 `json:"numSecondsWarningPeriod,omitempty"`

	/* msp data can be passed in secret on in spec */
	// MSPSecret (Optional) is secret used to store msp crypto
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	MSPSecret string `json:"mspSecret,omitempty"`

	// Secret is object for msp crypto
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Secret *SecretSpec `json:"secret,omitempty"`

	/* proxy ip passed if not OCP, domain for OCP */
	// Domain is the sub-domain used for peer's deployment
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Domain string `json:"domain,omitempty"`

	// Ingress (Optional) is ingress object for ingress overrides
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Ingress Ingress `json:"ingress,omitempty"`

	// PeerExternalEndpoint (Optional) is used to override peer external endpoint
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	PeerExternalEndpoint string `json:"peerExternalEndpoint,omitempty"`

	/* cluster related configs */
	// Arch (Optional) is the architecture of the nodes where peer should be deployed
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Arch []string `json:"arch,omitempty"`

	// Region (Optional) is the region of the nodes where the peer should be deployed
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Region string `json:"region,omitempty"`

	// Zone (Optional) is the zone of the nodes where the peer should be deployed
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Zone string `json:"zone,omitempty"`

	/* advanced configs */
	// DindArgs (Optional) is used to override args passed to dind container
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	DindArgs []string `json:"dindArgs,omitempty"`

	// Action (Optional) is object for peer actions
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Action PeerAction `json:"action,omitempty"`

	// ChaincodeBuilderConfig (Optional) is a k/v map providing a scope for template
	// substitutions defined in chaincode-as-a-service package metadata files.
	// The map will be serialized as JSON and set in the peer deployment
	// CHAINCODE_AS_A_SERVICE_BUILDER_CONFIG env variable.
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	ChaincodeBuilderConfig ChaincodeBuilderConfig `json:"chaincodeBuilderConfig,omitempty"`
}

+k8s:openapi-gen=true +k8s:deepcopy-gen=true IBPPeerSpec defines the desired state of IBPPeer +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*IBPPeerSpec) DeepCopy

func (in *IBPPeerSpec) DeepCopy() *IBPPeerSpec

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

func (*IBPPeerSpec) DeepCopyInto

func (in *IBPPeerSpec) DeepCopyInto(out *IBPPeerSpec)

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

func (*IBPPeerSpec) DomainSet

func (s *IBPPeerSpec) DomainSet() bool

func (*IBPPeerSpec) GetNumSecondsWarningPeriod

func (s *IBPPeerSpec) GetNumSecondsWarningPeriod() int64

func (*IBPPeerSpec) HSMSet

func (s *IBPPeerSpec) HSMSet() bool

func (*IBPPeerSpec) NodeOUDisabled

func (s *IBPPeerSpec) NodeOUDisabled() bool

func (*IBPPeerSpec) UsingLevelDB

func (s *IBPPeerSpec) UsingLevelDB() bool

type IBPPeerStatus

type IBPPeerStatus struct {
	CRStatus `json:",inline"`
}

+k8s:openapi-gen=true +k8s:deepcopy-gen=true IBPPeerStatus defines the observed state of IBPPeer +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true

func (*IBPPeerStatus) DeepCopy

func (in *IBPPeerStatus) DeepCopy() *IBPPeerStatus

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

func (*IBPPeerStatus) DeepCopyInto

func (in *IBPPeerStatus) DeepCopyInto(out *IBPPeerStatus)

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

func (*IBPPeerStatus) HasType

func (p *IBPPeerStatus) HasType() bool

type Ingress

type Ingress struct {
	// TlsSecretName (Optional) is the secret name to be used for tls certificates
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	TlsSecretName string `json:"tlsSecretName,omitempty"`

	// Class (Optional) is the class to set for ingress
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Class string `json:"class,omitempty"`
}

Ingress (Optional) is the list of overrides for ingress of the components +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*Ingress) DeepCopy

func (in *Ingress) DeepCopy() *Ingress

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

func (*Ingress) DeepCopyInto

func (in *Ingress) DeepCopyInto(out *Ingress)

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

type License

type License struct {
	// Accept should be set to true to accept the license.
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:com.tectonic.ui:checkbox"
	// +kubebuilder:validation:Enum=true
	Accept bool `json:"accept,omitempty"`
}

License should be accepted to install custom resources +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*License) DeepCopy

func (in *License) DeepCopy() *License

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

func (*License) DeepCopyInto

func (in *License) DeepCopyInto(out *License)

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

type MSP

type MSP struct {
	// KeyStore is base64 encoded private key
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	KeyStore string `json:"keystore,omitempty"`

	// SignCerts is base64 encoded sign cert
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	SignCerts string `json:"signcerts,omitempty"`

	// CACerts is base64 encoded cacerts array
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	CACerts []string `json:"cacerts,omitempty"`

	// IntermediateCerts is base64 encoded intermediate certs array
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	IntermediateCerts []string `json:"intermediatecerts,omitempty"`

	// AdminCerts is base64 encoded admincerts array
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	AdminCerts []string `json:"admincerts,omitempty"`
}

+k8s:deepcopy-gen=true MSP contains the common definitions crypto material for the component +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*MSP) DeepCopy

func (in *MSP) DeepCopy() *MSP

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

func (*MSP) DeepCopyInto

func (in *MSP) DeepCopyInto(out *MSP)

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

type MSPSpec

type MSPSpec struct {
	// Component contains crypto for ecerts
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Component *MSP `json:"component,omitempty"`

	// TLS contains crypto for tls certs
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	TLS *MSP `json:"tls,omitempty"`

	// ClientAuth contains crypto for client auth certs
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	ClientAuth *MSP `json:"clientauth,omitempty"`
}

+k8s:deepcopy-gen=true MSPSpec contains the configuration for the component to start with all the certificates +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*MSPSpec) DeepCopy

func (in *MSPSpec) DeepCopy() *MSPSpec

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

func (*MSPSpec) DeepCopyInto

func (in *MSPSpec) DeepCopyInto(out *MSPSpec)

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

type NetworkInfo

type NetworkInfo struct {
	// Domain for the components
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Domain string `json:"domain,omitempty"`

	// ConsolePort is the port to access the console
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	ConsolePort int32 `json:"consolePort,omitempty"`

	// ConfigtxlatorPort is the port to access configtxlator
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	ConfigtxlatorPort int32 `json:"configtxlatorPort,omitempty"`

	// ProxyPort is the port to access console proxy
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	ProxyPort int32 `json:"proxyPort,omitempty"`
}

NetworkInfo is the overrides for the network of the component +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*NetworkInfo) DeepCopy

func (in *NetworkInfo) DeepCopy() *NetworkInfo

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

func (*NetworkInfo) DeepCopyInto

func (in *NetworkInfo) DeepCopyInto(out *NetworkInfo)

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

type OrdererAction

type OrdererAction struct {
	// Restart action is used to restart orderer deployment
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Restart bool `json:"restart,omitempty"`

	// Reenroll contains actions for triggering crypto reenroll
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Reenroll OrdererReenrollAction `json:"reenroll,omitempty"`

	// Enroll contains actions for triggering crypto enroll
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Enroll OrdererEnrollAction `json:"enroll,omitempty"`
}

Action contains actions that can be performed on orderer +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*OrdererAction) DeepCopy

func (in *OrdererAction) DeepCopy() *OrdererAction

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

func (*OrdererAction) DeepCopyInto

func (in *OrdererAction) DeepCopyInto(out *OrdererAction)

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

type OrdererConfig

type OrdererConfig interface {
	UsingPKCS11() bool
}

+kubebuilder:object:generate=false

type OrdererConnectionProfile

type OrdererConnectionProfile struct {
	// Endpoints is list of endpoints to communicate with the orderer
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Endpoints OrdererEndpoints `json:"endpoints"`

	// TLS is object with tls crypto material for orderer
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	TLS *MSP `json:"tls"`

	// Component is object with ecert crypto material for orderer
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Component *MSP `json:"component"`
}

+k8s:deepcopy-gen=true OrdererConnectionProfile provides necessary information to connect to the orderer +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*OrdererConnectionProfile) DeepCopy

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

func (*OrdererConnectionProfile) DeepCopyInto

func (in *OrdererConnectionProfile) DeepCopyInto(out *OrdererConnectionProfile)

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

type OrdererCustomNames

type OrdererCustomNames struct {
	// PVC is the list of PVC Names to be used for orderer's deployment
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	PVC OrdererPVCNames `json:"pvc,omitempty"`
}

+k8s:deepcopy-gen=true OrdererCustomNames is the list of preconfigured objects to be used for orderer's deployment +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*OrdererCustomNames) DeepCopy

func (in *OrdererCustomNames) DeepCopy() *OrdererCustomNames

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

func (*OrdererCustomNames) DeepCopyInto

func (in *OrdererCustomNames) DeepCopyInto(out *OrdererCustomNames)

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

type OrdererEndpoints

type OrdererEndpoints struct {
	// API is the endpoint to communicate with orderer's API
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	API string `json:"api"`

	// Operations is the endpoint to communicate with orderer's Operations API
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Operations string `json:"operations"`

	// Grpcweb is the endpoint to communicate with orderer's grpcweb proxy API
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Grpcweb string `json:"grpcweb"`

	// Admin is the endpoint to communicate with orderer's admin service API
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Admin string `json:"admin"`
}

OrdererEndpoints is the list of endpoints to communicate with the orderer +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*OrdererEndpoints) DeepCopy

func (in *OrdererEndpoints) DeepCopy() *OrdererEndpoints

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

func (*OrdererEndpoints) DeepCopyInto

func (in *OrdererEndpoints) DeepCopyInto(out *OrdererEndpoints)

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

type OrdererEnrollAction

type OrdererEnrollAction struct {
	// Ecert is used to trigger enroll for ecert
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Ecert bool `json:"ecert,omitempty"`

	// TLSCert is used to trigger enroll for tls certs
	TLSCert bool `json:"tlscert,omitempty"`
}

OrdererEnrollAction contains actions for enrolling crypto +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*OrdererEnrollAction) DeepCopy

func (in *OrdererEnrollAction) DeepCopy() *OrdererEnrollAction

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

func (*OrdererEnrollAction) DeepCopyInto

func (in *OrdererEnrollAction) DeepCopyInto(out *OrdererEnrollAction)

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

type OrdererImages

type OrdererImages struct {
	// OrdererInitImage is the name of the orderer init image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	OrdererInitImage string `json:"ordererInitImage,omitempty"`

	// OrdererInitTag is the tag of the orderer init image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	OrdererInitTag string `json:"ordererInitTag,omitempty"`

	// OrdererImage is the name of the orderer image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	OrdererImage string `json:"ordererImage,omitempty"`

	// OrdererTag is the tag of the orderer image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	OrdererTag string `json:"ordererTag,omitempty"`

	// GRPCWebImage is the name of the grpc web proxy image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	GRPCWebImage string `json:"grpcwebImage,omitempty"`

	// GRPCWebTag is the tag of the grpc web proxy image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	GRPCWebTag string `json:"grpcwebTag,omitempty"`

	// HSMImage is the name of the hsm image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	HSMImage string `json:"hsmImage,omitempty"`

	// HSMTag is the tag of the hsm image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	HSMTag string `json:"hsmTag,omitempty"`

	// EnrollerImage is the name of the init image for crypto generation
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	EnrollerImage string `json:"enrollerImage,omitempty"`

	// EnrollerTag is the tag of the init image for crypto generation
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	EnrollerTag string `json:"enrollerTag,omitempty"`
}

OrdererImages is the list of images to be used in orderer deployment +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*OrdererImages) DeepCopy

func (in *OrdererImages) DeepCopy() *OrdererImages

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

func (*OrdererImages) DeepCopyInto

func (in *OrdererImages) DeepCopyInto(out *OrdererImages)

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

func (*OrdererImages) Override

func (i *OrdererImages) Override(requested *OrdererImages, registryURL string, arch string)

type OrdererPVCNames

type OrdererPVCNames struct {
	// Orderer is the pvc to be used as orderer's storage
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Orderer string `json:"orderer,omitempty"`
}

OrdererPVCNames is the list of PVC Names to be used for orderer's deployment +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*OrdererPVCNames) DeepCopy

func (in *OrdererPVCNames) DeepCopy() *OrdererPVCNames

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

func (*OrdererPVCNames) DeepCopyInto

func (in *OrdererPVCNames) DeepCopyInto(out *OrdererPVCNames)

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

type OrdererReenrollAction

type OrdererReenrollAction struct {
	// Ecert is used to trigger reenroll for ecert
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Ecert bool `json:"ecert,omitempty"`

	// EcertNewKey is used to trigger reenroll for ecert and also generating
	// a new private key
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	EcertNewKey bool `json:"ecertNewKey,omitempty"`

	// TLSCert is used to trigger reenroll for tlscert
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	TLSCert bool `json:"tlscert,omitempty"`

	// TLSCertNewKey is used to trigger reenroll for tlscert and also generating
	// a new private key
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	TLSCertNewKey bool `json:"tlscertNewKey,omitempty"`
}

OrdererReenrollAction contains actions for reenrolling crypto +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*OrdererReenrollAction) DeepCopy

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

func (*OrdererReenrollAction) DeepCopyInto

func (in *OrdererReenrollAction) DeepCopyInto(out *OrdererReenrollAction)

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

type OrdererResources

type OrdererResources struct {
	// Init (Optional) is the resources provided to the init container
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Init *corev1.ResourceRequirements `json:"init,omitempty"`

	// Orderer (Optional) is the resources provided to the orderer container
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Orderer *corev1.ResourceRequirements `json:"orderer,omitempty"`

	// GRPCProxy (Optional) is the resources provided to the proxy container
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	GRPCProxy *corev1.ResourceRequirements `json:"proxy,omitempty"`

	// Enroller (Optional) is the resources provided to the enroller container
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Enroller *corev1.ResourceRequirements `json:"enroller,omitempty"`

	// HSMDaemon (Optional) is the resources provided to the HSM Daemon container
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	HSMDaemon *corev1.ResourceRequirements `json:"hsmdaemon,omitempty"`
}

+k8s:deepcopy-gen=true OrdererResources is the overrides to the resources of the orderer +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*OrdererResources) DeepCopy

func (in *OrdererResources) DeepCopy() *OrdererResources

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

func (*OrdererResources) DeepCopyInto

func (in *OrdererResources) DeepCopyInto(out *OrdererResources)

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

type OrdererStorages

type OrdererStorages struct {
	// Orderer (Optional) is the configuration of the storage of the orderer
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Orderer *StorageSpec `json:"orderer,omitempty"`
}

+k8s:deepcopy-gen=true OrdererStorages is the overrides to the storage of the orderer +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*OrdererStorages) DeepCopy

func (in *OrdererStorages) DeepCopy() *OrdererStorages

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

func (*OrdererStorages) DeepCopyInto

func (in *OrdererStorages) DeepCopyInto(out *OrdererStorages)

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

type PeerAction

type PeerAction struct {
	// Restart action is used to restart peer deployment
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Restart bool `json:"restart,omitempty"`

	// Reenroll contains actions for triggering crypto reenroll
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Reenroll PeerReenrollAction `json:"reenroll,omitempty"`

	// Enroll contains actions for triggering crypto enroll
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Enroll PeerEnrollAction `json:"enroll,omitempty"`

	// UpgradeDBs action is used to trigger peer node upgrade-dbs command
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	UpgradeDBs bool `json:"upgradedbs,omitempty"`
}

Action contains actions that can be performed on peer +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*PeerAction) DeepCopy

func (in *PeerAction) DeepCopy() *PeerAction

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

func (*PeerAction) DeepCopyInto

func (in *PeerAction) DeepCopyInto(out *PeerAction)

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

type PeerConnectionProfile

type PeerConnectionProfile struct {
	// Endpoints is list of endpoints to communicate with the peer
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Endpoints PeerEndpoints `json:"endpoints"`

	// TLS is object with tls crypto material for peer
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	TLS *MSP `json:"tls"`

	// Component is object with ecert crypto material for peer
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Component *MSP `json:"component"`
}

+k8s:deepcopy-gen=true PeerConnectionProfile provides necessary information to connect to the peer +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*PeerConnectionProfile) DeepCopy

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

func (*PeerConnectionProfile) DeepCopyInto

func (in *PeerConnectionProfile) DeepCopyInto(out *PeerConnectionProfile)

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

type PeerCustomNames

type PeerCustomNames struct {
	// PVC is the list of PVC Names to be used for peer's deployment
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	PVC PeerPVCNames `json:"pvc,omitempty"`
}

+k8s:deepcopy-gen=true PeerCustomNames is the list of preconfigured objects to be used for peer's deployment +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*PeerCustomNames) DeepCopy

func (in *PeerCustomNames) DeepCopy() *PeerCustomNames

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

func (*PeerCustomNames) DeepCopyInto

func (in *PeerCustomNames) DeepCopyInto(out *PeerCustomNames)

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

type PeerEndpoints

type PeerEndpoints struct {
	// API is the endpoint to communicate with peer's API
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	API string `json:"api"`

	// Operations is the endpoint to communicate with peer's Operations API
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Operations string `json:"operations"`

	// Grpcweb is the endpoint to communicate with peers's grpcweb proxy API
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Grpcweb string `json:"grpcweb"`
}

PeerEndpoints is the list of endpoints to communicate with the peer +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*PeerEndpoints) DeepCopy

func (in *PeerEndpoints) DeepCopy() *PeerEndpoints

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

func (*PeerEndpoints) DeepCopyInto

func (in *PeerEndpoints) DeepCopyInto(out *PeerEndpoints)

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

type PeerEnrollAction

type PeerEnrollAction struct {
	// Ecert is used to trigger enroll for ecert
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Ecert bool `json:"ecert,omitempty"`

	// TLSCert is used to trigger enroll for tlscert
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	TLSCert bool `json:"tlscert,omitempty"`
}

PeerReenrollAction contains actions for enrolling crypto +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*PeerEnrollAction) DeepCopy

func (in *PeerEnrollAction) DeepCopy() *PeerEnrollAction

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

func (*PeerEnrollAction) DeepCopyInto

func (in *PeerEnrollAction) DeepCopyInto(out *PeerEnrollAction)

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

type PeerImages

type PeerImages struct {
	// PeerInitImage is the name of the peer init image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	PeerInitImage string `json:"peerInitImage,omitempty"`

	// PeerInitTag is the tag of the peer init image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	PeerInitTag string `json:"peerInitTag,omitempty"`

	// PeerImage is the name of the peer image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	PeerImage string `json:"peerImage,omitempty"`

	// PeerTag is the tag of the peer image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	PeerTag string `json:"peerTag,omitempty"`

	// DindImage is the name of the dind image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	DindImage string `json:"dindImage,omitempty"`

	// DindTag is the tag of the dind image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	DindTag string `json:"dindTag,omitempty"`

	// GRPCWebImage is the name of the grpc web proxy image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	GRPCWebImage string `json:"grpcwebImage,omitempty"`

	// GRPCWebTag is the tag of the grpc web proxy image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	GRPCWebTag string `json:"grpcwebTag,omitempty"`

	// FluentdImage is the name of the fluentd logger image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	FluentdImage string `json:"fluentdImage,omitempty"`

	// FluentdTag is the tag of the fluentd logger image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	FluentdTag string `json:"fluentdTag,omitempty"`

	// CouchDBImage is the name of the couchdb image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	CouchDBImage string `json:"couchdbImage,omitempty"`

	// CouchDBTag is the tag of the couchdb image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	CouchDBTag string `json:"couchdbTag,omitempty"`

	// CCLauncherImage is the name of the chaincode launcher image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	CCLauncherImage string `json:"chaincodeLauncherImage,omitempty"`

	// CCLauncherTag is the tag of the chaincode launcher image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	CCLauncherTag string `json:"chaincodeLauncherTag,omitempty"`

	// FileTransferImage is the name of the file transfer image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	FileTransferImage string `json:"fileTransferImage,omitempty"`

	// FileTransferTag is the tag of the file transfer image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	FileTransferTag string `json:"fileTransferTag,omitempty"`

	// BuilderImage is the name of the builder image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	BuilderImage string `json:"builderImage,omitempty"`

	// BuilderTag is the tag of the builder image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	BuilderTag string `json:"builderTag,omitempty"`

	// GoEnvImage is the name of the goenv image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	GoEnvImage string `json:"goEnvImage,omitempty"`

	// GoEnvTag is the tag of the goenv image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	GoEnvTag string `json:"goEnvTag,omitempty"`

	// JavaEnvImage is the name of the javaenv image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	JavaEnvImage string `json:"javaEnvImage,omitempty"`

	// JavaEnvTag is the tag of the javaenv image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	JavaEnvTag string `json:"javaEnvTag,omitempty"`

	// NodeEnvImage is the name of the nodeenv image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	NodeEnvImage string `json:"nodeEnvImage,omitempty"`

	// NodeEnvTag is the tag of the nodeenv image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	NodeEnvTag string `json:"nodeEnvTag,omitempty"`

	// HSMImage is the name of the hsm image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	HSMImage string `json:"hsmImage,omitempty"`

	// HSMTag is the tag of the hsm image
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	HSMTag string `json:"hsmTag,omitempty"`

	// EnrollerImage is the name of the init image for crypto generation
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	EnrollerImage string `json:"enrollerImage,omitempty"`

	// EnrollerTag is the tag of the init image for crypto generation
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	EnrollerTag string `json:"enrollerTag,omitempty"`
}

PeerImages is the list of images to be used in peer deployment +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*PeerImages) DeepCopy

func (in *PeerImages) DeepCopy() *PeerImages

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

func (*PeerImages) DeepCopyInto

func (in *PeerImages) DeepCopyInto(out *PeerImages)

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

func (*PeerImages) Override

func (i *PeerImages) Override(requested *PeerImages, registryURL string, arch string)

type PeerPVCNames

type PeerPVCNames struct {
	// Peer is the pvc to be used as peer's storage
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Peer string `json:"peer,omitempty"`

	// StateDB is the pvc to be used as statedb's storage
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	StateDB string `json:"statedb,omitempty"`
}

PeerPVCNames is the list of PVC Names to be used for peer's deployment +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*PeerPVCNames) DeepCopy

func (in *PeerPVCNames) DeepCopy() *PeerPVCNames

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

func (*PeerPVCNames) DeepCopyInto

func (in *PeerPVCNames) DeepCopyInto(out *PeerPVCNames)

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

type PeerReenrollAction

type PeerReenrollAction struct {
	// Ecert is used to trigger reenroll for ecert
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Ecert bool `json:"ecert,omitempty"`

	// EcertNewKey is used to trigger reenroll for ecert and also generating
	// a new private key
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	EcertNewKey bool `json:"ecertNewKey,omitempty"`

	// TLSCert is used to trigger reenroll for tlscert
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	TLSCert bool `json:"tlscert,omitempty"`

	// TLSCertNewKey is used to trigger reenroll for tlscert and also generating
	// a new private key
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	TLSCertNewKey bool `json:"tlscertNewKey,omitempty"`
}

PeerReenrollAction contains actions for reenrolling crypto +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*PeerReenrollAction) DeepCopy

func (in *PeerReenrollAction) DeepCopy() *PeerReenrollAction

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

func (*PeerReenrollAction) DeepCopyInto

func (in *PeerReenrollAction) DeepCopyInto(out *PeerReenrollAction)

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

type PeerResources

type PeerResources struct {
	// Init (Optional) is the resources provided to the init container
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Init *corev1.ResourceRequirements `json:"init,omitempty"`

	/// Peer (Optional) is the resources provided to the peer container
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Peer *corev1.ResourceRequirements `json:"peer,omitempty"`

	// GRPCProxy (Optional) is the resources provided to the proxy container
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	GRPCProxy *corev1.ResourceRequirements `json:"proxy,omitempty"`

	// FluentD (Optional) is the resources provided to the fluentd container
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	FluentD *corev1.ResourceRequirements `json:"fluentd,omitempty"`

	// DinD (Optional) is the resources provided to the dind container
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	DinD *corev1.ResourceRequirements `json:"dind,omitempty"`

	// CouchDB (Optional) is the resources provided to the couchdb container
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	CouchDB *corev1.ResourceRequirements `json:"couchdb,omitempty"`

	// CCLauncher (Optional) is the resources provided to the cclauncher container
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	CCLauncher *corev1.ResourceRequirements `json:"chaincodelauncher,omitempty"`

	// Enroller (Optional) is the resources provided to the enroller container
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Enroller *corev1.ResourceRequirements `json:"enroller,omitempty"`

	// HSMDaemon (Optional) is the resources provided to the HSM Daemon container
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	HSMDaemon *corev1.ResourceRequirements `json:"hsmdaemon,omitempty"`
}

+k8s:deepcopy-gen=true PeerResources is the overrides to the resources of the peer +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*PeerResources) DeepCopy

func (in *PeerResources) DeepCopy() *PeerResources

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

func (*PeerResources) DeepCopyInto

func (in *PeerResources) DeepCopyInto(out *PeerResources)

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

type PeerStorages

type PeerStorages struct {
	// StateDB (Optional) is the configuration of the storage of the statedb
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	StateDB *StorageSpec `json:"statedb,omitempty"`

	// Peer (Optional) is the configuration of the storage of the peer
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Peer *StorageSpec `json:"peer,omitempty"`
}

+k8s:deepcopy-gen=true PeerStorages is the overrides to the storage of the peer +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*PeerStorages) DeepCopy

func (in *PeerStorages) DeepCopy() *PeerStorages

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

func (*PeerStorages) DeepCopyInto

func (in *PeerStorages) DeepCopyInto(out *PeerStorages)

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

type Renew

type Renew struct {
	// TLSCert action is used to renew TLS crypto for CA server
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	TLSCert bool `json:"tlscert,omitempty"`
}

Renew is object for certificate renewals +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*Renew) DeepCopy

func (in *Renew) DeepCopy() *Renew

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

func (*Renew) DeepCopyInto

func (in *Renew) DeepCopyInto(out *Renew)

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

type SecretSpec

type SecretSpec struct {
	// Enrollment defines enrollment part of secret spec
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Enrollment *EnrollmentSpec `json:"enrollment,omitempty"`

	// MSP defines msp part of secret spec
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	MSP *MSPSpec `json:"msp,omitempty"`
}

+k8s:deepcopy-gen=true SecretSpec defines the crypto spec to pass to components +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*SecretSpec) DeepCopy

func (in *SecretSpec) DeepCopy() *SecretSpec

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

func (*SecretSpec) DeepCopyInto

func (in *SecretSpec) DeepCopyInto(out *SecretSpec)

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

type Service

type Service struct {
	// The "type" of the service to be used
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Type corev1.ServiceType `json:"type,omitempty"`
}

Service is the overrides to be used for Service of the component +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

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 StorageSpec

type StorageSpec struct {
	// Size of storage
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Size string `json:"size,omitempty"`

	// Class is the storage class
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Class string `json:"class,omitempty"`
}

StorageSpec is the overrides to be used for storage of the component +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true

func (*StorageSpec) DeepCopy

func (in *StorageSpec) DeepCopy() *StorageSpec

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

func (*StorageSpec) DeepCopyInto

func (in *StorageSpec) DeepCopyInto(out *StorageSpec)

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

type VersionCA

type VersionCA struct {
	Default bool     `json:"default"`
	Version string   `json:"version"`
	Image   CAImages `json:"image,omitempty"`
}

func (*VersionCA) DeepCopy

func (in *VersionCA) DeepCopy() *VersionCA

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

func (*VersionCA) DeepCopyInto

func (in *VersionCA) DeepCopyInto(out *VersionCA)

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

type VersionOrderer

type VersionOrderer struct {
	Default bool          `json:"default"`
	Version string        `json:"version"`
	Image   OrdererImages `json:"image,omitempty"`
}

func (*VersionOrderer) DeepCopy

func (in *VersionOrderer) DeepCopy() *VersionOrderer

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

func (*VersionOrderer) DeepCopyInto

func (in *VersionOrderer) DeepCopyInto(out *VersionOrderer)

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

type VersionPeer

type VersionPeer struct {
	Default bool       `json:"default"`
	Version string     `json:"version"`
	Image   PeerImages `json:"image,omitempty"`
}

func (*VersionPeer) DeepCopy

func (in *VersionPeer) DeepCopy() *VersionPeer

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

func (*VersionPeer) DeepCopyInto

func (in *VersionPeer) DeepCopyInto(out *VersionPeer)

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

type Versions

type Versions struct {
	CA      map[string]VersionCA      `json:"ca"`
	Peer    map[string]VersionPeer    `json:"peer"`
	Orderer map[string]VersionOrderer `json:"orderer"`
}

+k8s:deepcopy-gen=true

func (*Versions) DeepCopy

func (in *Versions) DeepCopy() *Versions

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

func (*Versions) DeepCopyInto

func (in *Versions) DeepCopyInto(out *Versions)

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

func (*Versions) Override

func (v *Versions) Override(requestedVersions *Versions, registryURL string, arch string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL