delegating

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resolver

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

Resolver implements a variable resolver that delegates variable resolution to one or more resolvers. The variables returned by the first non-erroring resolver are returned.

func NewResolver

func NewResolver(resolver ...resolvers.Resolver) *Resolver

NewResolver returns a new instance of an Resovler.

func (*Resolver) Resolve

func (r *Resolver) Resolve(variables []repositories.Variable) (map[string]string, error)

Resolve resolves variables.

Jump to

Keyboard shortcuts

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