Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CAInjectorConfigurationPathRefs ¶
func CAInjectorConfigurationPathRefs(cfg *config.CAInjectorConfiguration) ([]*string, error)
CAInjectorConfigurationPathRefs returns pointers to all the CAInjectorConfiguration 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 CAInjectorConfigFile ¶
type CAInjectorConfigFile struct {
Config *config.CAInjectorConfiguration
}
func New ¶
func New() *CAInjectorConfigFile
func (*CAInjectorConfigFile) DecodeAndConfigure ¶
func (cfg *CAInjectorConfigFile) DecodeAndConfigure(data []byte) error
func (*CAInjectorConfigFile) GetPathRefs ¶
func (cfg *CAInjectorConfigFile) GetPathRefs() ([]*string, error)
Click to show internal directories.
Click to hide internal directories.