Documentation
¶
Index ¶
- Variables
- func FilePath(name string) (string, error)
- func ParseConfig(configYaml []byte) (map[string]map[string]any, error)
- func ReadCatalog() ([]byte, error)
- func ReadCatalogFile(name string) ([]byte, error)
- func ReadConfig(ctx context.Context, docker docker.Client) ([]byte, error)
- func ReadConfigFile(ctx context.Context, docker docker.Client, name string) ([]byte, error)
- func ReadRegistry(ctx context.Context, docker docker.Client) ([]byte, error)
- func RemoveCatalogFile(name string) error
- func WriteCatalog(content []byte) error
- func WriteCatalogFile(name string, content []byte) error
- func WriteConfig(content []byte) error
- func WriteRegistry(content []byte) error
- type ExitCodeErr
- type Registry
- type Tile
Constants ¶
This section is empty.
Variables ¶
View Source
var CmdOutput = func(cmd *exec.Cmd) ([]byte, error) {
return cmd.Output()
}
CmdOutput is used for testing purposes to allow mocking the output of the command execution.
Functions ¶
func ReadCatalog ¶
func ReadCatalogFile ¶
func ReadConfigFile ¶
func RemoveCatalogFile ¶
func WriteCatalog ¶
func WriteCatalogFile ¶
func WriteConfig ¶
func WriteRegistry ¶
Types ¶
type ExitCodeErr ¶
type ExitCodeErr interface {
ExitCode() int
}
Click to show internal directories.
Click to hide internal directories.