Documentation ¶
Index ¶
- Constants
- Variables
- type COS
- 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
Constants ¶
View Source
const (
CosProvider = "cos"
)
Variables ¶
View Source
var SupportedProviders = []string{CosProvider}
Functions ¶
This section is empty.
Types ¶
type COS ¶
type COS struct {
// contains filtered or unexported fields
}
func (*COS) HeadArtifact ¶
func (*COS) SetAccessKey ¶
func (*COS) SetSecretKey ¶
func (*COS) UploadArtifact ¶
type Client ¶
type Client interface { SetAccessKey(accessKey string) SetSecretKey(secretKey string) Validate(bucket string, region string) error UploadArtifact(bucket string, region string, storageClass string, storePath string, artifactPath string) error HeadArtifact(bucket string, region string, ossPath string) error }
Click to show internal directories.
Click to hide internal directories.