Versions in this module Expand all Collapse all v0 v0.0.1 May 5, 2024 Changes in this version + const CosProvider + var SupportedProviders = []string + type COS struct + func (c *COS) HeadArtifact(bucket string, region string, ossPath string) error + func (c *COS) SetAccessKey(accessKey string) + func (c *COS) SetSecretKey(secretKey string) + func (c *COS) UploadArtifact(bucket string, region string, storageClass string, storePath string, ...) error + func (c *COS) Validate(bucket string, region string) error + type Client interface + HeadArtifact func(bucket string, region string, ossPath string) error + SetAccessKey func(accessKey string) + SetSecretKey func(secretKey string) + UploadArtifact func(bucket string, region string, storageClass string, storePath string, ...) error + Validate func(bucket string, region string) error + func NewCOS(accessKey, secretKey string) Client