Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Label ¶
type Label struct { ID primitive.ObjectID `bson:"_id,omitempty" json:"id,omitempty"` Type setting.ResourceType `bson:"type" json:"type"` Key string `bson:"key" json:"key"` Value string `bson:"value" json:"value"` CreateBy string `bson:"create_by" json:"create_by"` CreateTime int64 `bson:"create_time" json:"create_time"` ProjectName string `bson:"project_name" json:"project_name"` }
type LabelBinding ¶
type LabelBinding struct { ID primitive.ObjectID `bson:"_id,omitempty" json:"id,omitempty"` ResourceType string `bson:"resource_type" json:"resource_type"` ResourceName string `bson:"resource_name" json:"resource_name"` ProjectName string `bson:"project_name" json:"project_name"` LabelID string `bson:"label_id" json:"label_id"` CreateBy string `bson:"create_by" json:"create_by"` CreateTime int64 `bson:"create_time" json:"create_time"` }
func (LabelBinding) TableName ¶
func (LabelBinding) TableName() string
Click to show internal directories.
Click to hide internal directories.