deploy

package
v1.11.0-beta8 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 27 Imported by: 0

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) Reconcile

func (*FabricChaincodeDeployReconciler) SetupWithManager

func (r *FabricChaincodeDeployReconciler) SetupWithManager(mgr ctrl.Manager) error

type SecretChaincodeData

type SecretChaincodeData struct {
	Updated     bool
	Enabled     bool
	Certificate []byte
	PrivateKey  []byte
	RootCert    []byte
}

Jump to

Keyboard shortcuts

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