Versions in this module Expand all Collapse all v0 v0.0.8 Sep 14, 2025 Changes in this version + const ANNOTATION_CLUSTER_ID + const ANNOTATION_DEPLOY_ID + const APP_NAME + const DEPLOY_LABEL_KEY + func RegisterRunner(t cluster.TYPE, r Runner) + type DeployRecord struct + CreateAt time.Time + DeployTasks []*task.Task + Id string + func NewDeployRecord(req DeployRequest) *DeployRecord + func (d *DeployRecord) AddDeployTask(tasks ...*task.Task) *DeployRecord + func (d *DeployRecord) String() string + func (d DeployRecord) TableName() string + type DeployRequest struct + ArtifcatId string + ClusterId string + func NewDeployRequest() *DeployRequest + func (d *DeployRequest) String() string + type DescribeDeployRecordRequest struct + Id string + func NewDescribeDeployRecordRequest(id string) *DescribeDeployRecordRequest + type QueryDeployRecordRequest struct + func NewQueryDeployRecordRequest() *QueryDeployRecordRequest + type Runner interface + RunDeploy func(ctx context.Context, req *DeployRequest) (*DeployRecord, error) + func GetRunner(t cluster.TYPE) Runner + type Service interface + Deploy func(context.Context, *DeployRequest) (*DeployRecord, error) + DescribeDeployRecord func(context.Context, *DescribeDeployRecordRequest) (*DeployRecord, error) + QueryDeployRecord func(context.Context, *QueryDeployRecordRequest) (*types.Set[*DeployRecord], error) + func GetService() Service