networkconfig

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2025 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

This section is empty.

Types

type ConfigValidator added in v1.13.1

type ConfigValidator struct{}

ConfigValidator validates network config configuration

func (*ConfigValidator) ValidateNetworkConfig added in v1.13.1

func (v *ConfigValidator) ValidateNetworkConfig(nc *hlfv1alpha1.FabricNetworkConfig) error

type FabricNetworkConfigReconciler

type FabricNetworkConfigReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
	Config *rest.Config
}

FabricNetworkConfigReconciler reconciles a FabricNetworkConfig object

func (*FabricNetworkConfigReconciler) Reconcile

func (*FabricNetworkConfigReconciler) SetupWithManager

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

type LeaseManager added in v1.13.1

type LeaseManager struct {
	// contains filtered or unexported fields
}

LeaseManager manages certificate renewal leases

func NewLeaseManager added in v1.13.1

func NewLeaseManager(client kubernetes.Interface, leaseName, namespace string, logger logr.Logger) *LeaseManager

func (*LeaseManager) AcquireWithRetry added in v1.13.1

func (lm *LeaseManager) AcquireWithRetry(ctx context.Context, holderIdentity string, ttl int32, maxRetries int) (bool, error)

func (*LeaseManager) Release added in v1.13.1

func (lm *LeaseManager) Release(ctx context.Context, holderIdentity string) error

Jump to

Keyboard shortcuts

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