read

package
v0.0.0-...-b7fcf81 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

type Reader struct {
	// Logger is the logrus logger pass to the reader
	Logger *logrus.Logger
}

Reader is the struct for the common reader library

func (Reader) Read

func (r Reader) Read(spec *v1alpha1.OCIBuilderSpec, overlayPath string, filepaths ...string) error

Read is responsible for reading in the specification files, either combined in ocibuilder.yaml or separated in login.yaml, build.yaml and push.yaml. The passed in OCIBuilderSpec reference is populated If a filepath is not specified the current working directory is used

Jump to

Keyboard shortcuts

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