Documentation
¶
Overview ¶
Package config contains copy of some files from https://github.com/kubeshop/botkube/tree/efd7cd55ea37c1d01ec9bbc4a014f0960e663925/internal/config. At later point we might move the package out from internal directory on Botkube repo and then use it directly.
Index ¶
Constants ¶
View Source
const (
// EnvProviderConfigPathsEnvKey holds config paths separated by comma.
EnvProviderConfigPathsEnvKey = "BOTKUBE_CONFIG_PATHS"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvProvider ¶
type EnvProvider struct {
}
EnvProvider environment config source provider
func NewEnvProvider ¶
func NewEnvProvider() *EnvProvider
NewEnvProvider initializes new environment config source provider
type FileSystemProvider ¶
type FileSystemProvider struct {
Files []string
}
FileSystemProvider allows consumer to pass config files statically
func NewFileSystemProvider ¶
func NewFileSystemProvider(configs []string) *FileSystemProvider
NewFileSystemProvider initializes new static config source provider
Click to show internal directories.
Click to hide internal directories.