hkclient

package
v0.13.0-clearcare-2 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2019 License: BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HomePath

func HomePath() string

Types

type Clients

type Clients struct {
	ApiURL string
	Client *heroku.Client
}

func New

func New(nrc *NetRc, agent string) (*Clients, error)

type NetRc

type NetRc struct {
	netrc.Netrc
}

func LoadNetRc

func LoadNetRc() (nrc *NetRc, err error)

func (*NetRc) GetCreds

func (nrc *NetRc) GetCreds(apiURL *url.URL) (user, pass string, err error)

func (*NetRc) RemoveCreds

func (nrc *NetRc) RemoveCreds(host string) error

func (*NetRc) SaveCreds

func (nrc *NetRc) SaveCreds(address, user, pass string) error

Jump to

Keyboard shortcuts

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