posix

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IssuersStorage

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

IssuersStorage is a key value store backed by files to store issuer chains.

func NewIssuerStorage

func NewIssuerStorage(ctx context.Context, dir string) (*IssuersStorage, error)

NewIssuerStorage creates a new POSIX based issuer storage.

The issuers will be stored in a directory called "issuer" within the provided root directory.

func (*IssuersStorage) AddIssuersIfNotExist

func (s *IssuersStorage) AddIssuersIfNotExist(ctx context.Context, kv []storage.KV) error

AddIssuers stores Issuers values under their Key if there isn't an object under Key already.

Jump to

Keyboard shortcuts

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