Documentation
¶
Index ¶
Constants ¶
View Source
const LockConfigName = ".chill-lock.yaml"
View Source
const ProjectConfigName = "chill.yaml"
Variables ¶
This section is empty.
Functions ¶
func ParseConfig ¶
Types ¶
type SerializedDependency ¶
type SerializedLockFile ¶
type SerializedLockFile struct {
Service SerializedService
}
type SerializedService ¶
type SerializedService struct {
Name string `yaml:"name,omitempty"`
Registry string `yaml:"registry,omitempty"`
Remote string `yaml:"remote,omitempty"`
Clients map[string]string `yaml:"clients,omitempty"`
BaseVersion string `yaml:"baseVersion,omitempty"`
CurrentVersion string `yaml:"currentVersion,omitempty"`
Stage string `yaml:"stage"`
Integration string `yaml:"integration"`
Dependencies map[string]SerializedDependency `yaml:"dependencies"`
TrafficTargets map[string]int `yaml:"trafficTargets,omitempty"`
Secrets []string `yaml:"secrets,omitempty"`
}
func ProcessConfig ¶
func ProcessConfig(c *service2.ProjectConfig) (*SerializedService, error)
func (*SerializedService) SaveToFile ¶
func (s *SerializedService) SaveToFile(path string, lock bool) error
Click to show internal directories.
Click to hide internal directories.