certcache

package
v0.0.0-...-afcd4c4 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SecretCache

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

This kubernetes secrets based certifacte store backend BE VERY CAREFULL: do not use zerlog logging here. I don't actually know the reason, but a single call to the logger will break the functionlity of this object. Very Very Weird! The issue seems to affect zerlog only. If you need to put out some text for debugging purposes, please use go logger

func NewSecretCache

func NewSecretCache(kubeconfig string) *SecretCache

func (*SecretCache) Delete

func (s *SecretCache) Delete(ctx context.Context, key string) error

func (*SecretCache) Get

func (s *SecretCache) Get(ctx context.Context, key string) ([]byte, error)

func (*SecretCache) Put

func (s *SecretCache) Put(ctx context.Context, key string, data []byte) error

Jump to

Keyboard shortcuts

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