Versions in this module Expand all Collapse all v1 v1.0.1 Aug 15, 2024 Changes in this version + type CIV3BuildArtifact struct + ClusterName string + Content string + CreatedAt time.Time + ID int64 + IdentityText string + PipelineID uint64 + Sha256 string + Type apistructs.BuildArtifactType + UpdatedAt time.Time + func (*CIV3BuildArtifact) TableName() string + func (artifact *CIV3BuildArtifact) Convert2PB() *pb.BuildArtifact + type CIV3BuildCache struct + ClusterName string + CreatedAt time.Time + DeletedAt time.Time + ID int64 + LastPullAt time.Time + Name string + UpdatedAt time.Time + func (*CIV3BuildCache) TableName() string + type Client struct + func (client *Client) DeleteArtifact(id int64, ops ...mysqlxorm.SessionOption) error + func (client *Client) DeleteArtifactsByImages(_type apistructs.BuildArtifactType, images []string, ...) error + func (client *Client) DeleteBuildCache(id int64, ops ...mysqlxorm.SessionOption) (err error) + func (client *Client) GetBuildArtifactBySha256(sha256 string, ops ...mysqlxorm.SessionOption) (artifact CIV3BuildArtifact, err error) + func (client *Client) GetBuildCache(clusterName, imageName string, ops ...mysqlxorm.SessionOption) (cache CIV3BuildCache, err error) + func (client *Client) NewArtifact(sha, identityText string, t apistructs.BuildArtifactType, content string, ...) (CIV3BuildArtifact, error)