Documentation ¶
Index ¶
- func LoadBytes(src []byte, filename string) (*config.Couper, error)
- func LoadConfig(body hcl.Body, src []byte, filename string) (*config.Couper, error)
- func LoadFile(filePath string) (*config.Couper, error)
- func SetWorkingDirectory(configFile string) (string, error)
- func ValidateConfigSchema(body hcl.Body, obj interface{}, src []byte) hcl.Diagnostics
- type Backend
- type Backends
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶
func SetWorkingDirectory ¶
SetWorkingDirectory sets the working directory to the given configuration file path.
func ValidateConfigSchema ¶
func ValidateConfigSchema(body hcl.Body, obj interface{}, src []byte) hcl.Diagnostics
Types ¶
type Backend ¶
type Backend struct { Config hcl.Body // contains filtered or unexported fields }
func NewBackend ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.