bean

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL