path

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Home

type Home string

Home describes the location of a CLI configuration. This helper builds paths relative to a dockument Home directory.

func (Home) Path

func (h Home) Path(elem ...string) string

Path returns Home with elements appended.

func (Home) String

func (h Home) String() string

String returns Home as a string. Implements fmt.Stringer.

func (Home) TLSCaCert

func (h Home) TLSCaCert() string

TLSCaCert returns the path to fetch the CA certificate.

func (Home) TLSCert

func (h Home) TLSCert() string

TLSCert returns the path to fetch the client certificate.

func (Home) TLSKey

func (h Home) TLSKey() string

TLSKey returns the path to fetch the client public key.

Jump to

Keyboard shortcuts

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