certholder

package
v0.25.43 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 6 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultHolder = New(filepath.Join(os.TempDir(), "certs"))

Functions

This section is empty.

Types

type CertHolder

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

func New

func New(certDir string) *CertHolder

func (*CertHolder) ForResource

type Paths

type Paths struct {
	CACert string
	Cert   string
	Key    string
	Pem    string
}

type ResourceCerts

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

func (*ResourceCerts) Get

func (c *ResourceCerts) Get(secretName string) (*Paths, error)

func (*ResourceCerts) Save

func (c *ResourceCerts) Save(secret *core.Secret) (*Paths, error)

Jump to

Keyboard shortcuts

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