networkconfig

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2026 License: Apache-2.0 Imports: 24 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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