Documentation ¶
Index ¶
Constants ¶
View Source
const TypeName = "go2chef.config_source.http"
TypeName is the name of this configuration source
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigSource ¶
type ConfigSource struct {
URL string
}
ConfigSource loads configuration data from JSON files from an http source
func (*ConfigSource) InitFlags ¶
func (c *ConfigSource) InitFlags(set *pflag.FlagSet)
InitFlags sets the command-line flags for http configuration sources
func (*ConfigSource) ReadConfig ¶
func (c *ConfigSource) ReadConfig() (map[string]interface{}, error)
ReadConfig loads the configuration file from http
Click to show internal directories.
Click to hide internal directories.