Documentation
¶
Index ¶
Constants ¶
View Source
const ( MemoryPattern = `"1000Mi" or "1Gi"` CpuPattern = `"50m" or "0.05"` Cpu = "cpu" Memory = "memory" FlaggerCanary = "flaggerCanary" EnabledFlag = "enabled" TrueFlag = "true" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Charts ¶ added in v1.1.0
type Charts struct {
Id int
AppId int
ChartRepoId int
ChartName string
ChartVersion string
ChartRepo string
ChartRepoUrl string
Values string //json format // used at for release. this should be always updated
GlobalOverride string //json format // global overrides visible to user only
ReleaseOverride string //json format //image descriptor template used for injecting tigger metadata injection
PipelineOverride string //json format // pipeline values -> strategy values
Status models.ChartStatus //(new , deployment-in-progress, deployed-To-production, error )
Active bool
GitRepoUrl string // Deprecated; use deployment_config table instead //git repository where chart is stored
ChartLocation string //location within git repo where current chart is pointing
ReferenceTemplate string
ImageDescriptorTemplate string
ChartRefId int
Latest bool
Previous bool
ReferenceChart []byte
IsBasicViewLocked bool
CurrentViewEditor models.ChartsViewEditorType
IsCustomGitRepository bool // Deprecated; use deployment_config table instead
ResolvedGlobalOverride string
CreatedOn time.Time
CreatedBy int32
UpdatedOn time.Time
UpdatedBy int32
}
type EnvConfigOverride ¶ added in v1.1.0
type EnvConfigOverride struct {
Id int
ChartId int
TargetEnvironment int //target environment
EnvOverrideValues string
EnvOverridePatchValues string
Status models.ChartStatus //new, deployment-in-progress, error, rollbacked, su
ManualReviewed bool
Active bool
Namespace string
Chart *chartRepoRepository.Chart
Environment *repository2.Environment
Latest bool
Previous bool
IsOverride bool
IsBasicViewLocked bool
CurrentViewEditor models.ChartsViewEditorType
CreatedOn time.Time
CreatedBy int32
UpdatedOn time.Time
UpdatedBy int32
ResolvedEnvOverrideValues string
MergeStrategy models.MergeStrategy
VariableSnapshot map[string]string
//ResolvedEnvOverrideValuesForCM string
VariableSnapshotForCM map[string]string
//ResolvedEnvOverrideValuesForCS string
VariableSnapshotForCS map[string]string
}
func (*EnvConfigOverride) IsOverridden ¶ added in v1.4.0
func (e *EnvConfigOverride) IsOverridden() bool
Click to show internal directories.
Click to hide internal directories.