Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CollaborationInstance ¶
type CollaborationInstance struct { ID primitive.ObjectID `bson:"_id,omitempty" json:"id,omitempty"` ProjectName string `bson:"project_name" json:"project_name"` CreateTime int64 `bson:"create_time" json:"create_time"` UpdateTime int64 `bson:"update_time" json:"update_time"` LastVisitTime int64 `bson:"last_visit_time" json:"last_visit_time"` CollaborationName string `bson:"collaboration_name" json:"collaboration_name"` RecycleDay int64 `bson:"recycle_day" json:"recycle_day"` Revision int64 `bson:"revision" json:"revision"` UserUID string `bson:"user_uid" json:"user_uid"` PolicyName string `bson:"policy_name" json:"policy_name"` Workflows []WorkflowCIItem `bson:"workflows" json:"workflows"` Products []ProductCIItem `bson:"products" json:"products"` }
func (CollaborationInstance) TableName ¶
func (CollaborationInstance) TableName() string
type CollaborationMode ¶
type CollaborationMode struct { ID primitive.ObjectID `bson:"_id,omitempty" json:"id,omitempty"` //foreign key:template_product/product_name ProjectName string `bson:"project_name" json:"project_name"` CreateTime int64 `bson:"create_time" json:"create_time"` UpdateTime int64 `bson:"update_time" json:"update_time"` Name string `bson:"name" json:"name"` Revision int64 `bson:"revision" json:"revision"` Members []string `bson:"members" json:"members"` IsDeleted bool `bson:"is_deleted" json:"is_deleted"` DeployType string `bson:"deploy_type" json:"deploy_type"` RecycleDay int64 `bson:"recycle_day" json:"recycle_day"` Workflows []WorkflowCMItem `bson:"workflows" json:"workflows" ` Products []ProductCMItem `bson:"products" json:"products"` CreateBy string `bson:"create_by" json:"create_by"` UpdateBy string `bson:"update_by" json:"update_by"` }
func (CollaborationMode) TableName ¶
func (CollaborationMode) TableName() string
type ProductCIItem ¶
type ProductCIItem struct { Name string `bson:"name" json:"name"` BaseName string `bson:"base_name" json:"base_name"` CollaborationType config.CollaborationType `bson:"collaboration_type" json:"collaboration_type"` RecycleDay int64 `bson:"recycle_day" json:"recycle_day"` Verbs []string `bson:"verbs" json:"verbs"` }
type ProductCMItem ¶
type ProductCMItem struct { Name string `bson:"name" json:"name"` CollaborationType config.CollaborationType `bson:"collaboration_type" json:"collaboration_type"` RecycleDay int64 `bson:"recycle_day" json:"recycle_day"` Verbs []string `bson:"verbs" json:"verbs"` }
type WorkflowCIItem ¶
type WorkflowCIItem struct { WorkflowType string `bson:"workflow_type" json:"workflow_type"` Name string `bson:"name" json:"name"` // workflow display name, it can be modified by users, so we don't save it. DisplayName string `bson:"-" json:"display_name"` BaseName string `bson:"base_name" json:"base_name"` CollaborationType config.CollaborationType `bson:"collaboration_type" json:"collaboration_type"` Verbs []string `bson:"verbs" json:"verbs"` }
type WorkflowCMItem ¶
type WorkflowCMItem struct { WorkflowType string `bson:"workflow_type" json:"workflow_type"` Name string `bson:"name" json:"name"` // workflow display name, it can be modified by users, so we don't save it. DisplayName string `bson:"-" json:"display_name"` CollaborationType config.CollaborationType `bson:"collaboration_type" json:"collaboration_type"` Verbs []string `bson:"verbs" json:"verbs"` }
Click to show internal directories.
Click to hide internal directories.