Documentation ¶
Index ¶
- type ChillService
- type Dependency
- type IncrementalConfig
- type LocalDependency
- type ProjectConfig
- type RemoteDependency
- func (rd *RemoteDependency) Cache() cache.CachedSource
- func (rd *RemoteDependency) GetName() string
- func (rd *RemoteDependency) GetSpecificVersion() *version.Version
- func (rd *RemoteDependency) GetVersion() constraint.Constraint
- func (rd *RemoteDependency) SetSpecificVersion(v *version.Version) error
- type Stage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChillService ¶
type ChillService interface { GetBuildTag() string UpdateDependencies(ctx cache.LocalCacheContext) error }
type Dependency ¶
type Dependency interface { GetName() string GetVersion() constraint.Constraint GetSpecificVersion() *version.Version SetSpecificVersion(*version.Version) error Cache() cache.CachedSource }
type IncrementalConfig ¶
type IncrementalConfig interface {
ApplyIdempotent(c *ProjectConfig) error
}
type LocalDependency ¶
type LocalDependency struct { Name string Path string Version constraint.Constraint SpecificVersion *version.Version }
func (*LocalDependency) Cache ¶
func (ld *LocalDependency) Cache() cache.CachedSource
func (*LocalDependency) GetName ¶
func (ld *LocalDependency) GetName() string
func (*LocalDependency) GetSpecificVersion ¶
func (ld *LocalDependency) GetSpecificVersion() *version.Version
func (*LocalDependency) GetVersion ¶
func (ld *LocalDependency) GetVersion() constraint.Constraint
func (*LocalDependency) SetSpecificVersion ¶
func (ld *LocalDependency) SetSpecificVersion(v *version.Version) error
type ProjectConfig ¶
type ProjectConfig struct { Name string Registry string Clients map[string]string BaseVersion *version.Version CurrentVersion *version.Version Stage Stage Integration string Dependencies map[Dependency]bool TrafficTargets map[version.Version]int Secrets []string }
func (*ProjectConfig) ApplyIdempotent ¶
func (pc *ProjectConfig) ApplyIdempotent(c *ProjectConfig) error
func (*ProjectConfig) GetBuildTag ¶
func (pc *ProjectConfig) GetBuildTag(forceLocal bool) (string, bool)
func (*ProjectConfig) GetTrafficTargets ¶
func (pc *ProjectConfig) GetTrafficTargets() (map[version.Version]int, error)
func (*ProjectConfig) UpdateDependencies ¶
func (pc *ProjectConfig) UpdateDependencies(ctx cache.LocalCacheContext) error
type RemoteDependency ¶
type RemoteDependency struct { Name string Git string Version constraint.Constraint SpecificVersion *version.Version }
func (*RemoteDependency) Cache ¶
func (rd *RemoteDependency) Cache() cache.CachedSource
func (*RemoteDependency) GetName ¶
func (rd *RemoteDependency) GetName() string
func (*RemoteDependency) GetSpecificVersion ¶
func (rd *RemoteDependency) GetSpecificVersion() *version.Version
func (*RemoteDependency) GetVersion ¶
func (rd *RemoteDependency) GetVersion() constraint.Constraint
func (*RemoteDependency) SetSpecificVersion ¶
func (rd *RemoteDependency) SetSpecificVersion(v *version.Version) error
Click to show internal directories.
Click to hide internal directories.