store

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: MIT Imports: 3 Imported by: 1

Documentation

Overview

Package store provides a TLS certificate manager for sidecars

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Key   string `default:"key.pem"`
	Cert  string `default:"cert.pem"`
	Roots string `default:"caroot.pem"`
}

Config contains information for setting up TLS clients and server

func (*Config) New

func (cfg *Config) New(logger slog.Logger) (storage.Store, error)

New creates a simple storage.Store from the config

Jump to

Keyboard shortcuts

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