Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MTAResolver ¶
MTAResolver is used to resolve MTA properties' variables
func NewMTAResolver ¶
func NewMTAResolver(m *mta.MTA, workspaceDir string) *MTAResolver
NewMTAResolver is a factory function for MTAResolver
func (*MTAResolver) ResolveProperties ¶ added in v0.1.3
func (m *MTAResolver) ResolveProperties(module *mta.Module, envFilePath string)
ResolveProperties is the main function to trigger the resolution
type ResolveContext ¶
type ResolveContext struct {
// contains filtered or unexported fields
}
ResolveContext holds context info during resolving of properties
type ResolveResult ¶ added in v1.0.1
type ResolveResult struct {
Properties map[string]string `json:"properties"`
Messages []string `json:"messages"`
}
ResolveResult is the result of the Resolve function. This is serialized to json when requested.
Click to show internal directories.
Click to hide internal directories.