resolvers

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IOResolver

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

IOResolver implements a variable resolver that resolves using input from an io.Reader and outputs to an io.Writer.

func NewIOResolver

func NewIOResolver(reader io.Reader, writer io.Writer) *IOResolver

NewIOResolver returns a new instance of an IOResolver.

func (*IOResolver) Resolve

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

Resolve resolves variables.

type Resolver

type Resolver interface {

	// Resolve resolves variables.
	Resolve([]repositories.Variable) map[string]string
}

Resolver provides an interface for resolving variables.

Jump to

Keyboard shortcuts

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