Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultCacheDir = ".helmfile/cache"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GoGetter ¶
type GoGetter struct {
Logger *zap.SugaredLogger
}
type InvalidURLError ¶
type InvalidURLError struct {
// contains filtered or unexported fields
}
func (InvalidURLError) Error ¶
func (e InvalidURLError) Error() string
type Remote ¶
type Remote struct { Logger *zap.SugaredLogger // Home is the home directory for helmfile. Usually this points to $HOME of the user running helmfile. // Helmfile saves fetched remote files into .helmfile/cache under home Home string // Getter is the underlying implementation of getter used for fetching remote files Getter Getter // ReadFile is the implementation of the file reader that reads a local file from the specified path. // Inject any implementation of your choice, like an im-memory impl for testing, ioutil.ReadFile for the real-world use. ReadFile func(string) ([]byte, error) DirExists func(string) bool FileExists func(string) bool }
Click to show internal directories.
Click to hide internal directories.