reader

package
v2.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigReader

type ConfigReader interface {
	Read(configFilePath string, cfg *aqua.Config) error
}

type ConfigReaderImpl

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

func New

func New(fs afero.Fs, param *config.Param) *ConfigReaderImpl

func (*ConfigReaderImpl) Read

func (reader *ConfigReaderImpl) Read(configFilePath string, cfg *aqua.Config) error

type MockConfigReader

type MockConfigReader struct {
	Cfg *aqua.Config
	Err error
}

func (*MockConfigReader) Read

func (reader *MockConfigReader) Read(configFilePath string, cfg *aqua.Config) error

Jump to

Keyboard shortcuts

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