controller

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AddToManagerFuncs []func(manager.Manager, func(team string) (concourse.Client, error)) error

AddToManagerFuncs is a list of functions to add all Controllers to the Manager

Functions

func AddToManager

func AddToManager(m manager.Manager) error

AddToManager adds all Controllers to the Manager

func NewClientFromEnv

func NewClientFromEnv(team string) (concourse.Client, error)

Types

type ConcourseAuthTransport

type ConcourseAuthTransport struct {
	AccessToken     string
	TokenType       string
	TLSClientConfig *tls.Config
}

func (ConcourseAuthTransport) RoundTrip

func (bat ConcourseAuthTransport) RoundTrip(req *http.Request) (*http.Response, error)

RoundTrip modifies the behaviour of the http.DefaultTransport by injecting Authorization header.

type ConcourseClientConfig

type ConcourseClientConfig struct {
	ATCAddr            string
	Username           string
	Password           string
	TeamName           string
	InsecureSkipVerify bool
	EnableTracing      bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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