config

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// key is the release key, and value the target folder where the release
	// should be deployed.
	Entries map[string]string `json:"entries"`
}

Config defines the structure of the configuration needed by Hodor.

func (*Config) LoadFromJSON

func (c *Config) LoadFromJSON(filepath string) error

LoadFromJSON updates the config from the filepath.

Jump to

Keyboard shortcuts

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