storage

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 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 FormattedFS

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

func NewFormattedFS

func NewFormattedFS(fs boshsys.FileSystem, parser Storage) FormattedFS

func (FormattedFS) Get

func (s FormattedFS) Get(path string, get interface{}) error

func (FormattedFS) Put

func (s FormattedFS) Put(path string, put interface{}) (string, error)

type Storage

type Storage interface {
	Get(string, interface{}) error
	Put(string, interface{}) (string, error)
}

type YAMLFormat

type YAMLFormat struct{}

func (YAMLFormat) Get

func (s YAMLFormat) Get(data string, get interface{}) error

func (YAMLFormat) Put

func (l YAMLFormat) Put(_ string, put interface{}) (string, error)

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