hbcrypto

package
v3.0.0-rc21 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package hbcrypto handles creation and updates of *atomic.Pointer[omcrypto.T] to follow the cluster name or hb secret object changes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContextWithCrypto

func ContextWithCrypto(ctx context.Context, c *atomic.Pointer[omcrypto.T]) context.Context

func CryptoFromContext

func CryptoFromContext(ctx context.Context) *atomic.Pointer[omcrypto.T]

Types

type T

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

func (*T) Start

func (t *T) Start(ctx context.Context, clusterName string, sec hbsecret.Secret) *atomic.Pointer[omcrypto.T]

func (*T) Stop

func (t *T) Stop() error

Jump to

Keyboard shortcuts

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