Versions in this module Expand all Collapse all v1 v1.0.1 Aug 15, 2024 Changes in this version + const DefaultMode + const DeployModeEnvName + const FirstBatch + const I18nAddonDoesNotExist + const I18nAddonFormatIllegal + const I18nAddonPlanIllegal + const I18nApplicationDeploying + const I18nCustomAddonNotReady + const I18nEmptyErdaYaml + const I18nFailedToParseErdaYaml + const I18nPermissionDeniedKey + type DeploymentOrder struct + func New(options ...Option) *DeploymentOrder + func (d *DeploymentOrder) Cancel(ctx context.Context, req *apistructs.DeploymentOrderCancelRequest) (*dbclient.DeploymentOrder, error) + func (d *DeploymentOrder) ContinueDeployOrder(orderId string) error + func (d *DeploymentOrder) Create(ctx context.Context, req *apistructs.DeploymentOrderCreateRequest) (*apistructs.DeploymentOrderCreateResponse, error) + func (d *DeploymentOrder) Deploy(ctx context.Context, req *apistructs.DeploymentOrderDeployRequest) (*dbclient.DeploymentOrder, error) + func (d *DeploymentOrder) FetchDeploymentConfigDetail(namespace string) ([]apistructs.EnvConfig, []apistructs.EnvConfig, error) + func (d *DeploymentOrder) Get(ctx context.Context, userId string, orderId string) (*apistructs.DeploymentOrderDetail, error) + func (d *DeploymentOrder) List(userId string, orgId uint64, ...) (*apistructs.DeploymentOrderListData, error) + func (d *DeploymentOrder) PushOnDeploymentOrderPolling() (abort bool, err0 error) + func (d *DeploymentOrder) RenderDetail(ctx context.Context, id, userId, releaseId, workspace string, projectId uint64, ...) (*apistructs.DeploymentOrderDetail, error) + type Option func(*DeploymentOrder) + func WithAddon(a *addon.Addon) Option + func WithBundle(bdl *bundle.Bundle) Option + func WithDBClient(db *dbclient.DBClient) Option + func WithDeployment(deploy *deployment.Deployment) Option + func WithEnvConfig(envConfig *environment.EnvConfig) Option + func WithQueue(queue *queue.PusherQueue) Option + func WithReleaseSvc(svc pb.ReleaseServiceServer) Option + func WithRuntime(rt *runtime.Runtime) Option