Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Configuration ¶
type Configuration struct { DefaultChannel string `yaml:"default_channel"` Repositories map[string]string `yaml:"repositories"` }
Configuration holds the general configuration for the executable
func GetConfiguration ¶
func GetConfiguration() Configuration
GetConfiguration returns the current configuration
func (Configuration) GetChannel ¶
func (c Configuration) GetChannel(repoFullName string) string
GetChannel returns the specific channel for the repo, or the default one if there is no specific set.
Click to show internal directories.
Click to hide internal directories.