Documentation ¶
Overview ¶
Package config contains the multi-root configuration file parser.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrMissingPrivateKey indicates that the configuration is // missing a private key specifier. ErrMissingPrivateKey = errors.New("config: root is missing private key spec") // ErrMissingCertificatePath indicates that the configuration // is missing a certificate specifier. ErrMissingCertificatePath = errors.New("config: root is missing certificate path") // ErrMissingConfigPath indicates that the configuration lacks // a valid CFSSL configuration. ErrMissingConfigPath = errors.New("config: root is missing configuration file path") // ErrInvalidConfig indicates the configuration is invalid. ErrInvalidConfig = errors.New("config: invalid configuration") // ErrUnsupportedScheme indicates a private key scheme that is not currently supported. ErrUnsupportedScheme = errors.New("config: unsupported private key scheme") )
Functions ¶
This section is empty.
Types ¶
type RawMap ¶
RawMap is shorthand for the type used as a map from string to raw Root struct.
func ParseToRawMap ¶
ParseToRawMap takes the filename as a string and returns a RawMap.
func (*RawMap) SectionInConfig ¶
SectionInConfig determines whether a section is in the configuration.
Click to show internal directories.
Click to hide internal directories.