Documentation ¶
Index ¶
- func LoadBytes(src []byte, filename string) (*config.Couper, error)
- func LoadBytesEnv(src []byte, filename, env string) (*config.Couper, error)
- func LoadConfig(body *hclsyntax.Body) (*config.Couper, error)
- func LoadFile(file, env string) (*config.Couper, error)
- func LoadFiles(filesList []string, env string, logger *logrus.Entry) (*config.Couper, error)
- func PrepareBackend(helper *helper, attrName, attrValue string, block config.Body) (*hclsyntax.Body, error)
- func ValidateConfigSchema(body hcl.Body, obj interface{}) hcl.Diagnostics
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadBytesEnv ¶ added in v1.11.0
func PrepareBackend ¶ added in v1.9.0
func PrepareBackend(helper *helper, attrName, attrValue string, block config.Body) (*hclsyntax.Body, error)
PrepareBackend is a method which is mandatory to call for preparing any kind of backend. This applies to defined, reference, anonymous and endpoint/url related configurations. This method will be called recursively and is used as wrapped injector for access-control backends via config.PrepareBackendFunc.
func ValidateConfigSchema ¶
func ValidateConfigSchema(body hcl.Body, obj interface{}) hcl.Diagnostics
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.