reader

package
v2.16.4 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 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 struct {
	// contains filtered or unexported fields
}

func New

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

func (*ConfigReader) Read

func (r *ConfigReader) Read(configFilePath string, cfg *aqua.Config) error

func (*ConfigReader) ReadToUpdate added in v2.16.3

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