Documentation ¶
Index ¶
Constants ¶
View Source
const ( CertificateSecretKey = "tls.crt" PrivateKeySecretKey = "tls.key" RootCertSecretKey = "tlsroot.crt" )
Variables ¶
View Source
var (
ErrClientK8s = errors.New("k8sAPIClientError")
)
Functions ¶
func CreateChaincodeCryptoMaterial ¶
func CreateChaincodeCryptoMaterial(conf *hlfv1alpha1.FabricChaincode, caName string, caurl string, enrollID string, enrollSecret string, tlsCertString string, hosts []string) (*x509.Certificate, *ecdsa.PrivateKey, *x509.Certificate, error)
Types ¶
type FabricChaincodeDeployReconciler ¶
type FabricChaincodeDeployReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme Config *rest.Config }
FabricChaincodeDeployReconciler reconciles a FabricChaincode object
func (*FabricChaincodeDeployReconciler) SetupWithManager ¶
func (r *FabricChaincodeDeployReconciler) SetupWithManager(mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.