creds

package
v3.4.1-wings+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ManagerFactories

func ManagerFactories() map[string]ManagerFactory

func Register

func Register(name string, managerFactory ManagerFactory)

Types

type Manager

type Manager interface {
	IsConfigured() bool
	Validate() error

	NewVariablesFactory(lager.Logger) (VariablesFactory, error)
}

type ManagerFactory

type ManagerFactory interface {
	AddConfig(*flags.Group) Manager
}

type Managers

type Managers map[string]Manager

type Source

type Source struct {
	// contains filtered or unexported fields
}

func NewSource

func NewSource(variables Variables, source atc.Source) Source

func (Source) Evaluate

func (s Source) Evaluate() (atc.Source, error)

type TaskParams

type TaskParams struct {
	// contains filtered or unexported fields
}

func NewTaskParams

func NewTaskParams(variables Variables, params map[string]string) TaskParams

func (TaskParams) Evaluate

func (s TaskParams) Evaluate() (map[string]string, error)

type Variables

type Variables interface {
	Get(template.VariableDefinition) (interface{}, bool, error)
	List() ([]template.VariableDefinition, error)
}

type VariablesFactory

type VariablesFactory interface {
	NewVariables(string, string) Variables
}

type VersionedResourceType

type VersionedResourceType struct {
	atc.VersionedResourceType

	Source Source
}

type VersionedResourceTypes

type VersionedResourceTypes []VersionedResourceType

func NewVersionedResourceTypes

func NewVersionedResourceTypes(variables Variables, rawTypes atc.VersionedResourceTypes) VersionedResourceTypes

func (VersionedResourceTypes) Lookup

func (VersionedResourceTypes) Without

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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