Documentation ¶
Index ¶
Constants ¶
View Source
const (
FileName = "procyon"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func (*Config) PropertySource ¶
type DefaultResourceResolver ¶
type DefaultResourceResolver struct {
// contains filtered or unexported fields
}
func NewDefaultResourceResolver ¶ added in v0.0.17
func NewDefaultResourceResolver(loaders []property.SourceLoader) *DefaultResourceResolver
func (*DefaultResourceResolver) ResolveResources ¶
type FileLoader ¶
type FileLoader struct { }
func NewFileLoader ¶ added in v0.0.17
func NewFileLoader() *FileLoader
func (*FileLoader) IsLoadable ¶
func (l *FileLoader) IsLoadable(resource Resource) bool
func (*FileLoader) LoadConfig ¶
type FileResource ¶
type FileResource struct {
// contains filtered or unexported fields
}
func (*FileResource) File ¶
func (r *FileResource) File() fs.File
func (*FileResource) Loader ¶
func (r *FileResource) Loader() property.SourceLoader
func (*FileResource) Location ¶
func (r *FileResource) Location() string
func (*FileResource) Name ¶
func (r *FileResource) Name() string
func (*FileResource) Profile ¶
func (r *FileResource) Profile() string
type Importer ¶
type Importer struct {
// contains filtered or unexported fields
}
func NewImporter ¶ added in v0.0.17
func NewImporter(resolvers []ResourceResolver, loaders []Loader) *Importer
Click to show internal directories.
Click to hide internal directories.