cos

package
v1.4.34 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2023 License: GPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CosSet = wire.NewSet(
	NewCosSDK,
)

Functions

This section is empty.

Types

type CosSDK added in v1.4.27

type CosSDK struct {
	// contains filtered or unexported fields
}

func NewCosSDK added in v1.4.27

func NewCosSDK(config *config.Config) (*CosSDK, error)

func (*CosSDK) BatchImageAuditing added in v1.4.27

func (s *CosSDK) BatchImageAuditing(ctx context.Context, opt *cos.BatchImageAuditingOptions) (*cos.BatchImageAuditingJobResult, *cos.Response, error)

func (*CosSDK) Delete added in v1.4.27

func (s *CosSDK) Delete(ctx context.Context, name string, opt ...*cos.ObjectDeleteOptions) (*cos.Response, error)

func (*CosSDK) GetCredential added in v1.4.27

func (s *CosSDK) GetCredential(ctx context.Context, opt *sts.CredentialOptions) (*sts.CredentialResult, error)

func (*CosSDK) GetPresignedURL added in v1.4.27

func (s *CosSDK) GetPresignedURL(ctx context.Context, httpMethod, name, ak, sk string, expired time.Duration, opt interface{}, signHost ...bool) (*url.URL, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL