Documentation ¶
Index ¶
- Constants
- type AllDeploymentConfigurationDetail
- type ComponentLevelHistoryDetailDto
- type ConfigMapAndSecretHistoryDto
- type DeployedHistoryComponentMetadataDto
- type DeploymentConfigurationDto
- type DeploymentTemplateHistoryDto
- type HistoryComponent
- type HistoryDetailConfig
- type HistoryDetailDto
- type PipelineStrategyHistoryDto
- type PrePostCdScriptHistoryDto
- type PrePostStageConfigMapSecretNames
Constants ¶
View Source
const ( DataDisplayName = "Data" ESOSecretDataDisplayName = "ESO Secret Data" ExternalSecretDisplayName = "External Secret Data" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllDeploymentConfigurationDetail ¶
type AllDeploymentConfigurationDetail struct { DeploymentTemplateConfig *HistoryDetailDto `json:"deploymentTemplate"` ConfigMapConfig []*ComponentLevelHistoryDetailDto `json:"configMap"` SecretConfig []*ComponentLevelHistoryDetailDto `json:"secret"` StrategyConfig *HistoryDetailDto `json:"pipelineStrategy"` WfrId int `json:"wfrId"` }
type ComponentLevelHistoryDetailDto ¶
type ComponentLevelHistoryDetailDto struct { ComponentName string `json:"componentName"` HistoryConfig *HistoryDetailDto `json:"config"` }
type ConfigMapAndSecretHistoryDto ¶
type ConfigMapAndSecretHistoryDto struct { Id int `json:"id"` PipelineId int `json:"pipelineId"` AppId int `json:"appId"` DataType string `json:"dataType,omitempty"` ConfigData []*bean.ConfigData `json:"configData,omitempty"` Deployed bool `json:"deployed"` DeployedOn time.Time `json:"deployedOn"` DeployedBy int32 `json:"deployedBy"` EmailId string `json:"emailId"` }
type DeploymentConfigurationDto ¶
type DeploymentConfigurationDto struct { Id int `json:"id,omitempty"` Name HistoryComponent `json:"name"` ChildComponentNames []string `json:"childList,omitempty"` }
type DeploymentTemplateHistoryDto ¶
type DeploymentTemplateHistoryDto struct { Id int `json:"id"` PipelineId int `json:"pipelineId"` AppId int `json:"appId"` ImageDescriptorTemplate string `json:"imageDescriptorTemplate,omitempty"` Template string `json:"template,omitempty"` TemplateName string `json:"templateName,omitempty"` TemplateVersion string `json:"templateVersion,omitempty"` IsAppMetricsEnabled bool `json:"isAppMetricsEnabled"` TargetEnvironment int `json:"targetEnvironment,omitempty"` Deployed bool `json:"deployed"` DeployedOn time.Time `json:"deployedOn"` DeployedBy int32 `json:"deployedBy"` EmailId string `json:"emailId"` DeploymentStatus string `json:"deploymentStatus,omitempty"` WfrId int `json:"wfrId,omitempty"` WorkflowType string `json:"workflowType,omitempty"` }
type HistoryComponent ¶
type HistoryComponent string
const ( DEPLOYMENT_TEMPLATE_TYPE_HISTORY_COMPONENT HistoryComponent = "DEPLOYMENT_TEMPLATE" CONFIGMAP_TYPE_HISTORY_COMPONENT HistoryComponent = "CONFIGMAP" SECRET_TYPE_HISTORY_COMPONENT HistoryComponent = "SECRET" PIPELINE_STRATEGY_TYPE_HISTORY_COMPONENT HistoryComponent = "PIPELINE_STRATEGY" )
type HistoryDetailConfig ¶
type HistoryDetailDto ¶
type HistoryDetailDto struct { //for deployment template TemplateName string `json:"templateName,omitempty"` TemplateVersion string `json:"templateVersion,omitempty"` IsAppMetricsEnabled *bool `json:"isAppMetricsEnabled,omitempty"` //for pipeline strategy PipelineTriggerType pipelineConfig.TriggerType `json:"pipelineTriggerType,omitempty"` Strategy string `json:"strategy,omitempty"` //for configmap and secret Type string `json:"type,omitempty"` External *bool `json:"external,omitempty"` MountPath string `json:"mountPath,omitempty"` ExternalSecretType string `json:"externalType,omitempty"` RoleARN string `json:"roleARN,omitempty"` SubPath *bool `json:"subPath,omitempty"` ESOSubPath []string `json:"esoSubPath,omitempty"` FilePermission string `json:"filePermission,omitempty"` CodeEditorValue *HistoryDetailConfig `json:"codeEditorValue"` SecretViewAccess bool `json:"secretViewAccess"` // this is being used to check whether a user can see obscured secret values or not. }
type PipelineStrategyHistoryDto ¶
type PipelineStrategyHistoryDto struct { Id int `json:"id"` PipelineId int `json:"pipelineId"` Strategy string `json:"strategy,omitempty"` Config string `json:"config,omitempty"` Default bool `json:"default,omitempty"` Deployed bool `json:"deployed"` DeployedOn time.Time `json:"deployedOn"` DeployedBy int32 `json:"deployedBy"` EmailId string `json:"emailId"` }
type PrePostCdScriptHistoryDto ¶
type PrePostCdScriptHistoryDto struct { Id int `json:"id"` PipelineId int `json:"pipelineId"` Script string `json:"script"` Stage string `json:"stage"` ConfigMapSecretNames PrePostStageConfigMapSecretNames `json:"configmapSecretNames"` ConfigMapData []*bean.ConfigData `json:"configmapData"` SecretData []*bean.ConfigData `json:"secretData"` TriggerType string `json:"triggerType"` ExecInEnv bool `json:"execInEnv"` Deployed bool `json:"deployed"` DeployedOn time.Time `json:"deployedOn"` DeployedBy int32 `json:"deployedBy"` }
Click to show internal directories.
Click to hide internal directories.