certholder

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2022 License: Apache-2.0 Imports: 7 Imported by: 7

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