identity

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2025 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrClientK8s = errors.New("k8sAPIClientError")
)

Functions

func CreateSignCryptoMaterial added in v1.13.0

func CreateSignCryptoMaterial(client *kubernetes.Clientset, conf *hlfv1alpha1.FabricIdentity) (*x509.Certificate, *ecdsa.PrivateKey, *x509.Certificate, error)

func ReenrollSignCryptoMaterial added in v1.13.0

func ReenrollSignCryptoMaterial(
	client *kubernetes.Clientset,
	conf *hlfv1alpha1.FabricIdentity,
	signCertPem string,
	privateKey *ecdsa.PrivateKey,
) (*x509.Certificate, *ecdsa.PrivateKey, *x509.Certificate, error)

Types

type FabricIdentityReconciler

type FabricIdentityReconciler struct {
	client.Client
	Log                        logr.Logger
	Scheme                     *runtime.Scheme
	Config                     *rest.Config
	AutoRenewCertificates      bool
	AutoRenewCertificatesDelta time.Duration
}

FabricIdentityReconciler reconciles a FabricIdentity object

func (*FabricIdentityReconciler) Reconcile

+kubebuilder:rbac:groups=hlf.kungfusoftware.es,resources=fabricidentities,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=hlf.kungfusoftware.es,resources=fabricidentities/status,verbs=get;update;patch +kubebuilder:rbac:groups=hlf.kungfusoftware.es,resources=fabricidentities/finalizers,verbs=get;update;patch

func (*FabricIdentityReconciler) SetupWithManager

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

type Pem

type Pem struct {
	Pem string
}

Jump to

Keyboard shortcuts

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