Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider interface { BindPFlag(key string, flag *pflag.Flag) error GetString(key string) string GetInt(key string) int GetBool(key string) bool GetStringMap(key string) map[string]interface{} GetStringMapString(key string) map[string]string GetStringSlice(key string) []string Get(key string) interface{} Set(key string, value interface{}) IsSet(key string) bool }
Provider provides the configuration settings for Kosher
type Settings ¶
type Settings struct { Environments Provider Pages Provider Selectors Provider Settings Provider FileSystem *fs.Fs }
Settings wraps references to all setting providers required by Kosher
func NewSettings ¶
NewSettings attempts to build a Settings object based on the given Fs object
func (*Settings) GetEnvironmentBaseURL ¶
GetEnvironmentBaseURL returns the base URL for the environment of the current run
Click to show internal directories.
Click to hide internal directories.