Documentation
¶
Index ¶
- Constants
- Variables
- type ChartDataInfo
- type ChartDto
- type ChartRefAutocompleteDto
- type ChartRefAutocompleteResponse
- type ChartRefDto
- type ChartRefMetaData
- type ChartRefSwitchRequest
- type ChartYamlStruct
- type CustomChartRefDto
- type Deployment
- type DeploymentType
- type PipelineStrategy
- type ReservedChartList
Constants ¶
View Source
const ( DeploymentChartType = "Deployment" RolloutChartType = "Rollout Deployment" StatefulSetChartType = "StatefulSet" JobsCronjobsChartType = "Cron Job & Job" ReferenceChart = "reference-chart" RefChartDirPath = "scripts/devtron-reference-helm-charts" ChartAlreadyExistsInternalError = "Chart exists already, try uploading another chart" ChartNameReservedInternalError = "Change the name of the chart and try uploading again" )
Variables ¶
View Source
var CHART_YAML_FILE = "Chart.yaml"
View Source
var ReservedChartRefNamesList *[]ReservedChartList
Functions ¶
This section is empty.
Types ¶
type ChartDataInfo ¶
type ChartRefAutocompleteDto ¶
type ChartRefAutocompleteResponse ¶
type ChartRefAutocompleteResponse struct {
ChartRefs []ChartRefAutocompleteDto `json:"chartRefs"`
LatestChartRef int `json:"latestChartRef"`
LatestAppChartRef int `json:"latestAppChartRef"`
LatestEnvChartRef int `json:"latestEnvChartRef,omitempty"`
ChartsMetadata map[string]ChartRefMetaData `json:"chartMetadata"` // chartName vs Metadata
CompatibleChartTypes []string `json:"compatibleChartTypes,omitempty"`
}
type ChartRefDto ¶
type ChartRefDto struct {
Id int `json:"id"`
Location string `json:"location"`
Version string `json:"version"`
Default bool `json:"isDefault"`
Name string `json:"name"`
ChartData []byte `json:"chartData"`
ChartDescription string `json:"chartDescription"`
UserUploaded bool `json:"userUploaded,notnull"`
IsAppMetricsSupported bool `json:"isAppMetricsSupported"`
DeploymentStrategyPath string `json:"deploymentStrategyPath"`
JsonPathForStrategy string `json:"jsonPathForStrategy"`
}
type ChartRefMetaData ¶
type ChartRefMetaData struct {
ChartDescription string `json:"chartDescription"`
}
type ChartRefSwitchRequest ¶ added in v1.5.0
func (*ChartRefSwitchRequest) IsFlaggerCanarySupported ¶ added in v1.5.0
func (c *ChartRefSwitchRequest) IsFlaggerCanarySupported() bool
type ChartYamlStruct ¶
type CustomChartRefDto ¶
type CustomChartRefDto struct {
Id int `sql:"id,pk"`
Location string `sql:"location"`
Version string `sql:"version"`
Active bool `sql:"active,notnull"`
Default bool `sql:"is_default,notnull"`
Name string `sql:"name"`
ChartData []byte `sql:"chart_data"`
ChartDescription string `sql:"chart_description"`
UserUploaded bool `sql:"user_uploaded,notnull"`
IsAppMetricsSupported bool `sql:"is_app_metrics_supported,notnull"`
DeploymentStrategyPath string `sql:"deployment_strategy_path"`
JsonPathForStrategy string `sql:"json_path_for_strategy"`
sql.AuditLog
}
type Deployment ¶ added in v1.5.0
type Deployment struct {
Strategy map[string]interface{} `json:"strategy"`
}
type DeploymentType ¶ added in v1.5.0
type DeploymentType struct {
Deployment Deployment `json:"deployment"`
}
type PipelineStrategy ¶ added in v1.5.0
type PipelineStrategy struct {
DeploymentTemplate chartRepoRepository.DeploymentStrategy `json:"deploymentTemplate,omitempty"` //
Config json.RawMessage `json:"config"`
Default bool `json:"default"`
}
type ReservedChartList ¶
Click to show internal directories.
Click to hide internal directories.