Documentation ¶
Index ¶
Constants ¶
View Source
const ( //ConfigMapConfigSourceConst is a variable of type string ConfigMapConfigSourceConst = "ConfigMapSource" //DefaultConfigMapPriority as default priority DefaultConfigMapPriority = 0 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigInfo ¶
type ConfigInfo struct { FilePath string Value interface{} }
ConfigInfo is s struct
type ConfigMapFileSourceTypes ¶
type ConfigMapFileSourceTypes string
ConfigMapFileSourceTypes is a string
const ( //RegularFile as regular file RegularFile ConfigMapFileSourceTypes = "RegularFile" //Directory is directory Directory ConfigMapFileSourceTypes = "Directory" //InvalidFileType type InvalidType InvalidFileType ConfigMapFileSourceTypes = "InvalidType" )
type ConfigMapSource ¶
type ConfigMapSource interface { source.ConfigSource AddFile(filePath string, priority uint32, handler util.FileHandler) error }
ConfigMapSource is interface
func NewConfigMapSource ¶
func NewConfigMapSource() ConfigMapSource
NewConfigMapSource creates a source which can handler recurse directory
Click to show internal directories.
Click to hide internal directories.