bean

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEFAULT_CLUSTER_ID                     = 1
	SOURCE_DEVTRON_APP       SourceAppType = "devtron-app"
	SOURCE_HELM_APP          SourceAppType = "helm-app"
	SOURCE_EXTERNAL_HELM_APP SourceAppType = "external-helm-app"
	SOURCE_UNKNOWN           SourceAppType = "unknown"
	ErrReleaseNotFound       string        = "release: not found"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AppDetailAndInstalledAppInfo

type AppDetailAndInstalledAppInfo struct {
	InstalledAppInfo *InstalledAppInfo `json:"installedAppInfo"`
	AppDetail        *gRPC.AppDetail   `json:"appDetail"`
}

type DeploymentHistoryAndInstalledAppInfo

type DeploymentHistoryAndInstalledAppInfo struct {
	InstalledAppInfo  *InstalledAppInfo               `json:"installedAppInfo"`
	DeploymentHistory []*gRPC.HelmAppDeploymentDetail `json:"deploymentHistory"`
}

type InstalledAppInfo

type InstalledAppInfo struct {
	AppId                 int    `json:"appId"`
	InstalledAppId        int    `json:"installedAppId"`
	InstalledAppVersionId int    `json:"installedAppVersionId"`
	AppStoreChartId       int    `json:"appStoreChartId"`
	EnvironmentName       string `json:"environmentName"`
	AppOfferingMode       string `json:"appOfferingMode"`
	ClusterId             int    `json:"clusterId"`
	EnvironmentId         int    `json:"environmentId"`
	AppStoreChartRepoName string `json:"appStoreChartRepoName"`
	AppStoreChartName     string `json:"appStoreChartName"`
	TeamId                int    `json:"teamId"`
	TeamName              string `json:"teamName"`
	DeploymentType        string `json:"deploymentType"`
	HelmPackageName       string `json:"helmPackageName"`
}

func ConvertToInstalledAppInfo

func ConvertToInstalledAppInfo(installedApp *appStoreBean.InstallAppVersionDTO) *InstalledAppInfo

type ReleaseAndInstalledAppInfo

type ReleaseAndInstalledAppInfo struct {
	InstalledAppInfo *InstalledAppInfo `json:"installedAppInfo"`
	ReleaseInfo      *gRPC.ReleaseInfo `json:"releaseInfo"`
}

type SourceAppType

type SourceAppType string

type UpdateApplicationRequestDto

type UpdateApplicationRequestDto struct {
	*openapi.UpdateReleaseRequest
	SourceAppType SourceAppType `json:"-"`
}

type UpdateApplicationWithChartInfoRequestDto

type UpdateApplicationWithChartInfoRequestDto struct {
	*gRPC.InstallReleaseRequest
	SourceAppType SourceAppType `json:"-"`
}

Jump to

Keyboard shortcuts

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