Documentation
¶
Overview ¶
Package file implements the functions, types, and interfaces for the module.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFileSource ¶ added in v0.2.6
func NewFileSource(cfg *sourcev1.SourceConfig, opts ...options.Option) (kratosconfig.Source, error)
NewFileSource creates a new file source based on configuration. It adapts to the new bootstrap mechanism.
func NewSource ¶
func NewSource(path string, opts ...Option) kratosconfig.Source
NewSource creates a new file source instance
func WithFormatter ¶ added in v0.2.1
func WithIgnores ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.