Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertChainKeyPair

type CertChainKeyPair struct {
	CertChain  string
	PrivateKey string
}

type Librarian

type Librarian interface {
	Locate() ([]PemInfo, error)
	Stow() error
}

    go:generate counterfeiter -o fakes/locator.go --fake-name Locator . Librarian

    type Locator

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

    func NewLocator

    func NewLocator(destinationDir string, pairs []CertChainKeyPair) *Locator

    func (*Locator) Locate

    func (l *Locator) Locate() (paths []PemInfo, err error)

    func (*Locator) Stow

    func (l *Locator) Stow() error

    type PemInfo

    type PemInfo struct {
    	Hosts    []string
    	CertPath string
    	KeyPath  string
    	Dir      string
    }

    Source Files

    Directories

    Path Synopsis
    Code generated by counterfeiter.
    Code generated by counterfeiter.