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 FabricChaincodeReconciler ¶
type FabricChaincodeReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme Config *rest.Config }
FabricChaincodeReconciler reconciles a FabricChaincode object
func (*FabricChaincodeReconciler) Reconcile ¶
+kubebuilder:rbac:groups=hlf.kungfusoftware.es,resources=fabricchaincodes,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=hlf.kungfusoftware.es,resources=fabricchaincodes/status,verbs=get;update;patch +kubebuilder:rbac:groups=hlf.kungfusoftware.es,resources=fabricchaincodes/finalizers,verbs=get;update;patch
func (*FabricChaincodeReconciler) SetupWithManager ¶
func (r *FabricChaincodeReconciler) SetupWithManager(mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.