stategetter

package
v0.54.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StateGetter

type StateGetter struct {
	Logger   log.Logger
	Contents *state.UpstreamContents
	Fs       afero.Afero
}

func NewStateGetter

func NewStateGetter(fs afero.Afero, logger log.Logger, contents *state.UpstreamContents) *StateGetter

func (*StateGetter) GetFiles

func (g *StateGetter) GetFiles(
	ctx context.Context,
	upstream string,
	destinationPath string,
) (string, error)

Jump to

Keyboard shortcuts

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