reader

package
v2.16.1-1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 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 (r *ConfigReaderImpl) Read(configFilePath string, cfg *aqua.Config) error

func (*ConfigReaderImpl) ReadToUpdate added in v2.14.0

func (r *ConfigReaderImpl) ReadToUpdate(configFilePath string, cfg *aqua.Config) (map[string]*aqua.Config, error)

type MockConfigReader

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

func (*MockConfigReader) Read

func (r *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