Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ControllerConfigurationPathRefs ¶
func ControllerConfigurationPathRefs(cfg *config.ControllerConfiguration) ([]*string, error)
ControllerConfigurationPathRefs returns pointers to all the ControllerConfiguration fields that contain filepaths. You might use this, for example, to resolve all relative paths against some common root before passing the configuration to the application. This method must be kept up to date as new fields are added.
Types ¶
type ControllerConfigFile ¶
type ControllerConfigFile struct {
Config *config.ControllerConfiguration
}
func New ¶
func New() *ControllerConfigFile
func (*ControllerConfigFile) DecodeAndConfigure ¶
func (cfg *ControllerConfigFile) DecodeAndConfigure(data []byte) error
func (*ControllerConfigFile) GetPathRefs ¶
func (cfg *ControllerConfigFile) GetPathRefs() ([]*string, error)
Click to show internal directories.
Click to hide internal directories.