credhub

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2018 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsCommsRelatedError

func IsCommsRelatedError(err error) bool

func IsNotFoundError

func IsNotFoundError(err error) bool

Types

type Client

type Client struct {
	ClientID       string   `yaml:"client_id"`
	ClientSecret   string   `yaml:"client_secret"`
	UAAURL         string   `yaml:"uaa_url"`                 // URL to access
	UAACACerts     []string `yaml:"uaa_ca_certificates"`     // CA certs for credhub host
	CredHubURL     string   `yaml:"credhub_url"`             // URL to access
	CredHubCACerts []string `yaml:"credhub_ca_certificates"` // CA certs for credhub host
	// contains filtered or unexported fields
}

func (*Client) DeleteRequest

func (ch *Client) DeleteRequest(path string, params url.Values) error

func (*Client) Init

func (c *Client) Init() error

func (*Client) MakeRequest

func (ch *Client) MakeRequest(path string, params url.Values, rv interface{}) error

func (*Client) PutRequest

func (ch *Client) PutRequest(path string, val, rv interface{}) error

Jump to

Keyboard shortcuts

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