client

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const AuthorizationNone = "none"

Variables

This section is empty.

Functions

func NewAuthTransport

func NewAuthTransport(runtime Runtime, serviceManager service.Manager, base http.RoundTripper) http.RoundTripper

Types

type AuthTransport

type AuthTransport struct {
	Runtime Runtime
	Base    http.RoundTripper
	// contains filtered or unexported fields
}

func (*AuthTransport) RoundTrip

func (t *AuthTransport) RoundTrip(req *http.Request) (*http.Response, error)

type ExecutableFinder

type ExecutableFinder interface {
	Find() (string, error)
}

type Runtime

type Runtime interface {
	GetEnvironment() (config.EnvironmentState, error)
	GetEnvironmentName() string
	GetConfigManager() (config.Manager, error)

	GetClient() (httpclient.Client, error)
	GetAuthInterceptClient() (httpclient.Client, error)

	GetUI() ui.UI

	GetStderr() io.Writer
	GetStdout() io.Writer
	GetStdin() io.Reader
}

Directories

Path Synopsis
This file was generated by counterfeiter This file was generated by counterfeiter
This file was generated by counterfeiter This file was generated by counterfeiter
configfakes
This file was generated by counterfeiter
This file was generated by counterfeiter
servicefakes
This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter
This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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