Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the fabric v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=fabric.hyperledger.org
Package v1alpha1 contains API Schema definitions for the fabric v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=fabric.hyperledger.org
Package v1alpha1 contains API Schema definitions for the fabric v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=fabric.hyperledger.org
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "fabric.hyperledger.org", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
This section is empty.
Types ¶
type CA ¶
type CA struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CASpec `json:"spec,omitempty"` Status NodeStatus `json:"status,omitempty"` }
CA is the Schema for the cas API +k8s:openapi-gen=true +kubebuilder:subresource:status
func (*CA) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CA.
func (*CA) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CA) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CACerts ¶
type CACerts struct { Cert string `json:"cert,omitempty"` Key string `json:"key,omitempty"` TLSCert string `json:"tlsCert,omitempty"` TLSKey string `json:"tlsKey,omitempty"` }
CACerts defines the desired state of CA +k8s:openapi-gen=true
func (*CACerts) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CACerts.
func (*CACerts) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CAList ¶
type CAList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []CA `json:"items"` }
CAList contains a list of CA
func (*CAList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAList.
func (*CAList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CAList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CASpec ¶
type CASpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file // Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html Admin string `json:"admin"` AdminPassword string `json:"adminPassword"` Certs *CACerts `json:"certs,omitempty"` NodeSpec `json:"nodeSpec,omitempty"` }
CASpec defines the desired state of CA +k8s:openapi-gen=true
func (*CASpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CASpec.
func (*CASpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CommonSpec ¶
type CommonSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file // Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html MSP `json:"msp"` TLS `json:"tls"` NodeSpec `json:"nodeSpec,omitempty"` }
+k8s:openapi-gen=true
func (*CommonSpec) DeepCopy ¶
func (in *CommonSpec) DeepCopy() *CommonSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonSpec.
func (*CommonSpec) DeepCopyInto ¶
func (in *CommonSpec) DeepCopyInto(out *CommonSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigParam ¶
+k8s:openapi-gen=true
func (*ConfigParam) DeepCopy ¶
func (in *ConfigParam) DeepCopy() *ConfigParam
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigParam.
func (*ConfigParam) DeepCopyInto ¶
func (in *ConfigParam) DeepCopyInto(out *ConfigParam)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MSP ¶
type MSP struct { // Administrator's certificates AdminCerts []string `json:"adminCerts,required"` // CA certificates CaCerts []string `json:"caCerts,required"` // node private key KeyStore string `json:"keyStore,required"` // node certificate SignCerts string `json:"signCerts,required"` // ca tls certificates TLSCacerts []string `json:"tlsCacerts,omitempty"` }
The corresponding msp structure for node such as orderer or peer +k8s:openapi-gen=true
func (*MSP) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MSP.
func (*MSP) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeSpec ¶
type NodeSpec struct { Image string `json:"image"` ConfigParams []ConfigParam `json:"configParams"` Hosts []string `json:"hosts,omitempty"` Resources corev1.ResourceRequirements `json:"resources,omitempty"` StorageClass string `json:"storageClass,omitempty"` StorageSize string `json:"storageSize,omitempty"` }
+k8s:openapi-gen=true
func (*NodeSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSpec.
func (*NodeSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeStatus ¶
type NodeStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file // Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html AccessPoint string `json:"accessPoint"` }
NodeStatus defines the observed state of CA +k8s:openapi-gen=true
func (*NodeStatus) DeepCopy ¶
func (in *NodeStatus) DeepCopy() *NodeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeStatus.
func (*NodeStatus) DeepCopyInto ¶
func (in *NodeStatus) DeepCopyInto(out *NodeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Orderer ¶
type Orderer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CommonSpec `json:"spec"` Status NodeStatus `json:"status,omitempty"` }
Orderer is the Schema for the orderers API +k8s:openapi-gen=true +kubebuilder:subresource:status
func (*Orderer) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Orderer.
func (*Orderer) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Orderer) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OrdererList ¶
type OrdererList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Orderer `json:"items"` }
OrdererList contains a list of Orderer
func (*OrdererList) DeepCopy ¶
func (in *OrdererList) DeepCopy() *OrdererList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrdererList.
func (*OrdererList) DeepCopyInto ¶
func (in *OrdererList) DeepCopyInto(out *OrdererList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OrdererList) DeepCopyObject ¶
func (in *OrdererList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Peer ¶
type Peer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CommonSpec `json:"spec"` Status NodeStatus `json:"status,omitempty"` }
Peer is the Schema for the peers API +k8s:openapi-gen=true +kubebuilder:subresource:status
func (*Peer) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Peer.
func (*Peer) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Peer) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PeerList ¶
type PeerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Peer `json:"items"` }
PeerList contains a list of Peer
func (*PeerList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeerList.
func (*PeerList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PeerList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TLS ¶
type TLS struct { // node certificate TLSCert string `json:"tlsCert,required"` // node private key TLSKey string `json:"tlsKey,required"` }
+k8s:openapi-gen=true
func (*TLS) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLS.
func (*TLS) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.