Documentation ¶
Index ¶
- Constants
- func Destroy()
- func NewOssClientBuilder(endpoint, secretName string, provider *OssPluginCredentialsProvider, ...) *ossClientBuilder
- func NewOssPluginCredentials(accessKeyId, accessKeySecret string) *ossPluginCredentials
- func NewSecretsManagerOssPlugin() *secretsManagerOssPlugin
- type OssAKExpireHandler
- type OssPluginCredentialsProvider
- type ProxyBucket
- func (bucket ProxyBucket) AppendObject(objectKey string, reader io.Reader, appendPosition int64, ...) (int64, error)
- func (bucket ProxyBucket) CopyObject(srcObjectKey, destObjectKey string, options ...osssdk.Option) (osssdk.CopyObjectResult, error)
- func (bucket ProxyBucket) CopyObjectFrom(srcBucketName, srcObjectKey, destObjectKey string, options ...osssdk.Option) (osssdk.CopyObjectResult, error)
- func (bucket ProxyBucket) CopyObjectTo(destBucketName, destObjectKey, srcObjectKey string, options ...osssdk.Option) (osssdk.CopyObjectResult, error)
- func (bucket ProxyBucket) DeleteObject(objectKey string, options ...osssdk.Option) error
- func (bucket ProxyBucket) DeleteObjectTagging(objectKey string, options ...osssdk.Option) error
- func (bucket ProxyBucket) DeleteObjectVersions(objectVersions []osssdk.DeleteObject, options ...osssdk.Option) (osssdk.DeleteObjectVersionsResult, error)
- func (bucket ProxyBucket) DeleteObjects(objectKeys []string, options ...osssdk.Option) (osssdk.DeleteObjectsResult, error)
- func (bucket ProxyBucket) Do(method, objectName string, params map[string]interface{}, ...) (*osssdk.Response, error)
- func (bucket ProxyBucket) DoAppendObject(request *osssdk.AppendObjectRequest, options []osssdk.Option) (*osssdk.AppendObjectResult, error)
- func (bucket ProxyBucket) DoGetObject(request *osssdk.GetObjectRequest, options []osssdk.Option) (*osssdk.GetObjectResult, error)
- func (bucket ProxyBucket) DoGetObjectWithURL(signedURL string, options []osssdk.Option) (*osssdk.GetObjectResult, error)
- func (bucket ProxyBucket) DoPutObject(request *osssdk.PutObjectRequest, options []osssdk.Option) (*osssdk.Response, error)
- func (bucket ProxyBucket) DoPutObjectWithURL(signedURL string, reader io.Reader, options []osssdk.Option) (*osssdk.Response, error)
- func (bucket ProxyBucket) GetObject(objectKey string, options ...osssdk.Option) (io.ReadCloser, error)
- func (bucket ProxyBucket) GetObjectACL(objectKey string, options ...osssdk.Option) (osssdk.GetObjectACLResult, error)
- func (bucket ProxyBucket) GetObjectDetailedMeta(objectKey string, options ...osssdk.Option) (http.Header, error)
- func (bucket ProxyBucket) GetObjectMeta(objectKey string, options ...osssdk.Option) (http.Header, error)
- func (bucket ProxyBucket) GetObjectTagging(objectKey string, options ...osssdk.Option) (osssdk.GetObjectTaggingResult, error)
- func (bucket ProxyBucket) GetObjectToFile(objectKey, filePath string, options ...osssdk.Option) error
- func (bucket ProxyBucket) GetObjectToFileWithURL(signedURL, filePath string, options ...osssdk.Option) error
- func (bucket ProxyBucket) GetObjectWithURL(signedURL string, options ...osssdk.Option) (io.ReadCloser, error)
- func (bucket ProxyBucket) GetSymlink(objectKey string, options ...osssdk.Option) (http.Header, error)
- func (bucket ProxyBucket) IsObjectExist(objectKey string, options ...osssdk.Option) (bool, error)
- func (bucket ProxyBucket) ListObjectVersions(options ...osssdk.Option) (osssdk.ListObjectVersionsResult, error)
- func (bucket ProxyBucket) ListObjects(options ...osssdk.Option) (osssdk.ListObjectsResult, error)
- func (bucket ProxyBucket) ListObjectsV2(options ...osssdk.Option) (osssdk.ListObjectsResultV2, error)
- func (bucket ProxyBucket) OptionsMethod(objectKey string, options ...osssdk.Option) (http.Header, error)
- func (bucket ProxyBucket) ProcessObject(objectKey string, process string, options ...osssdk.Option) (osssdk.ProcessObjectResult, error)
- func (bucket ProxyBucket) PutObject(objectKey string, reader io.Reader, options ...osssdk.Option) error
- func (bucket ProxyBucket) PutObjectFromFile(objectKey, filePath string, options ...osssdk.Option) error
- func (bucket ProxyBucket) PutObjectFromFileWithURL(signedURL, filePath string, options ...osssdk.Option) error
- func (bucket ProxyBucket) PutObjectTagging(objectKey string, tagging osssdk.Tagging, options ...osssdk.Option) error
- func (bucket ProxyBucket) PutObjectWithURL(signedURL string, reader io.Reader, options ...osssdk.Option) error
- func (bucket ProxyBucket) PutSymlink(symObjectKey string, targetObjectKey string, options ...osssdk.Option) error
- func (bucket ProxyBucket) RestoreObject(objectKey string, options ...osssdk.Option) error
- func (bucket ProxyBucket) RestoreObjectDetail(objectKey string, restoreConfig osssdk.RestoreConfiguration, ...) error
- func (bucket ProxyBucket) RestoreObjectXML(objectKey, configXML string, options ...osssdk.Option) error
- func (bucket ProxyBucket) SetObjectACL(objectKey string, objectACL osssdk.ACLType, options ...osssdk.Option) error
- func (bucket ProxyBucket) SetObjectMeta(objectKey string, options ...osssdk.Option) error
- type ProxyOssClient
- func (client ProxyOssClient) AbortBucketWorm(bucketName string, options ...osssdk.Option) error
- func (client ProxyOssClient) Bucket(bucketName string) (*ProxyBucket, error)
- func (client ProxyOssClient) CloseMetaQuery(bucketName string, options ...osssdk.Option) error
- func (client ProxyOssClient) CompleteBucketWorm(bucketName string, wormID string, options ...osssdk.Option) error
- func (client ProxyOssClient) CreateBucket(bucketName string, options ...osssdk.Option) error
- func (client ProxyOssClient) CreateBucketCnameToken(bucketName string, cname string, options ...osssdk.Option) (osssdk.CreateBucketCnameTokenResult, error)
- func (client ProxyOssClient) CreateBucketXml(bucketName string, xmlBody string, options ...osssdk.Option) error
- func (client ProxyOssClient) DeleteBucket(bucketName string, options ...osssdk.Option) error
- func (client ProxyOssClient) DeleteBucketCORS(bucketName string, options ...osssdk.Option) error
- func (client ProxyOssClient) DeleteBucketCname(bucketName string, cname string, options ...osssdk.Option) error
- func (client ProxyOssClient) DeleteBucketEncryption(bucketName string, options ...osssdk.Option) error
- func (client ProxyOssClient) DeleteBucketInventory(bucketName, strInventoryId string, options ...osssdk.Option) error
- func (client ProxyOssClient) DeleteBucketLifecycle(bucketName string, options ...osssdk.Option) error
- func (client ProxyOssClient) DeleteBucketLogging(bucketName string, options ...osssdk.Option) error
- func (client ProxyOssClient) DeleteBucketPolicy(bucketName string, options ...osssdk.Option) error
- func (client ProxyOssClient) DeleteBucketQosInfo(bucketName string, options ...osssdk.Option) error
- func (client ProxyOssClient) DeleteBucketReplication(bucketName string, ruleId string, options ...osssdk.Option) error
- func (client ProxyOssClient) DeleteBucketTagging(bucketName string, options ...osssdk.Option) error
- func (client ProxyOssClient) DeleteBucketTransferAcc(bucketName string, options ...osssdk.Option) error
- func (client ProxyOssClient) DeleteBucketWebsite(bucketName string, options ...osssdk.Option) error
- func (client ProxyOssClient) DoMetaQuery(bucketName string, metaQuery osssdk.MetaQuery, options ...osssdk.Option) (osssdk.DoMetaQueryResult, error)
- func (client ProxyOssClient) DoMetaQueryXml(bucketName string, metaQueryXml string, options ...osssdk.Option) (osssdk.DoMetaQueryResult, error)
- func (client ProxyOssClient) ExtendBucketWorm(bucketName string, retentionDays int, wormID string, options ...osssdk.Option) error
- func (client ProxyOssClient) GetBucketACL(bucketName string, options ...osssdk.Option) (osssdk.GetBucketACLResult, error)
- func (client ProxyOssClient) GetBucketAsyncTask(bucketName string, taskID string, options ...osssdk.Option) (osssdk.AsynFetchTaskInfo, error)
- func (client ProxyOssClient) GetBucketCORS(bucketName string, options ...osssdk.Option) (osssdk.GetBucketCORSResult, error)
- func (client ProxyOssClient) GetBucketCORSXml(bucketName string, options ...osssdk.Option) (string, error)
- func (client ProxyOssClient) GetBucketCname(bucketName string, options ...osssdk.Option) (string, error)
- func (client ProxyOssClient) GetBucketCnameToken(bucketName string, cname string, options ...osssdk.Option) (osssdk.GetBucketCnameTokenResult, error)
- func (client ProxyOssClient) GetBucketEncryption(bucketName string, options ...osssdk.Option) (osssdk.GetBucketEncryptionResult, error)
- func (client ProxyOssClient) GetBucketInfo(bucketName string, options ...osssdk.Option) (osssdk.GetBucketInfoResult, error)
- func (client ProxyOssClient) GetBucketInventory(bucketName string, strInventoryId string, options ...osssdk.Option) (osssdk.InventoryConfiguration, error)
- func (client ProxyOssClient) GetBucketInventoryXml(bucketName string, strInventoryId string, options ...osssdk.Option) (string, error)
- func (client ProxyOssClient) GetBucketLifecycle(bucketName string, options ...osssdk.Option) (osssdk.GetBucketLifecycleResult, error)
- func (client ProxyOssClient) GetBucketLifecycleXml(bucketName string, options ...osssdk.Option) (string, error)
- func (client ProxyOssClient) GetBucketLocation(bucketName string, options ...osssdk.Option) (string, error)
- func (client ProxyOssClient) GetBucketLogging(bucketName string, options ...osssdk.Option) (osssdk.GetBucketLoggingResult, error)
- func (client ProxyOssClient) GetBucketPolicy(bucketName string, options ...osssdk.Option) (string, error)
- func (client ProxyOssClient) GetBucketQosInfo(bucketName string, options ...osssdk.Option) (osssdk.BucketQoSConfiguration, error)
- func (client ProxyOssClient) GetBucketReferer(bucketName string, options ...osssdk.Option) (osssdk.GetBucketRefererResult, error)
- func (client ProxyOssClient) GetBucketReplication(bucketName string, options ...osssdk.Option) (string, error)
- func (client ProxyOssClient) GetBucketReplicationLocation(bucketName string, options ...osssdk.Option) (string, error)
- func (client ProxyOssClient) GetBucketReplicationProgress(bucketName string, ruleId string, options ...osssdk.Option) (string, error)
- func (client ProxyOssClient) GetBucketRequestPayment(bucketName string, options ...osssdk.Option) (osssdk.RequestPaymentConfiguration, error)
- func (client ProxyOssClient) GetBucketStat(bucketName string, options ...osssdk.Option) (osssdk.GetBucketStatResult, error)
- func (client ProxyOssClient) GetBucketTagging(bucketName string, options ...osssdk.Option) (osssdk.GetBucketTaggingResult, error)
- func (client ProxyOssClient) GetBucketTransferAcc(bucketName string, options ...osssdk.Option) (osssdk.TransferAccConfiguration, error)
- func (client ProxyOssClient) GetBucketVersioning(bucketName string, options ...osssdk.Option) (osssdk.GetBucketVersioningResult, error)
- func (client ProxyOssClient) GetBucketWebsite(bucketName string, options ...osssdk.Option) (osssdk.GetBucketWebsiteResult, error)
- func (client ProxyOssClient) GetBucketWebsiteXml(bucketName string, options ...osssdk.Option) (string, error)
- func (client ProxyOssClient) GetBucketWorm(bucketName string, options ...osssdk.Option) (osssdk.WormConfiguration, error)
- func (client ProxyOssClient) GetMetaQueryStatus(bucketName string, options ...osssdk.Option) (osssdk.GetMetaQueryStatusResult, error)
- func (client ProxyOssClient) GetUserQoSInfo(options ...osssdk.Option) (osssdk.UserQoSConfiguration, error)
- func (client ProxyOssClient) InitiateBucketWorm(bucketName string, retentionDays int, options ...osssdk.Option) (string, error)
- func (client ProxyOssClient) IsBucketExist(bucketName string) (bool, error)
- func (client ProxyOssClient) ListBucketInventory(bucketName, continuationToken string, options ...osssdk.Option) (osssdk.ListInventoryConfigurationsResult, error)
- func (client ProxyOssClient) ListBucketInventoryXml(bucketName, continuationToken string, options ...osssdk.Option) (string, error)
- func (client ProxyOssClient) ListBuckets(options ...osssdk.Option) (osssdk.ListBucketsResult, error)
- func (client ProxyOssClient) ListCloudBoxes(options ...osssdk.Option) (osssdk.ListCloudBoxResult, error)
- func (client ProxyOssClient) OpenMetaQuery(bucketName string, options ...osssdk.Option) error
- func (client ProxyOssClient) PutBucketCname(bucketName string, cname string, options ...osssdk.Option) error
- func (client ProxyOssClient) PutBucketCnameXml(bucketName string, xmlBody string, options ...osssdk.Option) error
- func (client ProxyOssClient) PutBucketReplication(bucketName string, xmlBody string, options ...osssdk.Option) error
- func (client ProxyOssClient) SetBucketACL(bucketName string, bucketACL osssdk.ACLType, options ...osssdk.Option) error
- func (client ProxyOssClient) SetBucketAsyncTask(bucketName string, asynConf osssdk.AsyncFetchTaskConfiguration, ...) (osssdk.AsyncFetchTaskResult, error)
- func (client ProxyOssClient) SetBucketCORS(bucketName string, corsRules []osssdk.CORSRule, options ...osssdk.Option) error
- func (client ProxyOssClient) SetBucketCORSXml(bucketName string, xmlBody string, options ...osssdk.Option) error
- func (client ProxyOssClient) SetBucketEncryption(bucketName string, encryptionRule osssdk.ServerEncryptionRule, ...) error
- func (client ProxyOssClient) SetBucketInventory(bucketName string, inventoryConfig osssdk.InventoryConfiguration, ...) error
- func (client ProxyOssClient) SetBucketInventoryXml(bucketName string, xmlBody string, options ...osssdk.Option) error
- func (client ProxyOssClient) SetBucketLifecycle(bucketName string, rules []osssdk.LifecycleRule, options ...osssdk.Option) error
- func (client ProxyOssClient) SetBucketLifecycleXml(bucketName string, xmlBody string, options ...osssdk.Option) error
- func (client ProxyOssClient) SetBucketLogging(bucketName, targetBucket, targetPrefix string, isEnable bool, ...) error
- func (client ProxyOssClient) SetBucketPolicy(bucketName string, policy string, options ...osssdk.Option) error
- func (client ProxyOssClient) SetBucketQoSInfo(bucketName string, qosConf osssdk.BucketQoSConfiguration, ...) error
- func (client ProxyOssClient) SetBucketReferer(bucketName string, referers []string, allowEmptyReferer bool, ...) error
- func (client ProxyOssClient) SetBucketRequestPayment(bucketName string, paymentConfig osssdk.RequestPaymentConfiguration, ...) error
- func (client ProxyOssClient) SetBucketTagging(bucketName string, tagging osssdk.Tagging, options ...osssdk.Option) error
- func (client ProxyOssClient) SetBucketTransferAcc(bucketName string, accConf osssdk.TransferAccConfiguration, ...) error
- func (client ProxyOssClient) SetBucketVersioning(bucketName string, versioningConfig osssdk.VersioningConfig, ...) error
- func (client ProxyOssClient) SetBucketWebsite(bucketName, indexDocument, errorDocument string, options ...osssdk.Option) error
- func (client ProxyOssClient) SetBucketWebsiteDetail(bucketName string, wxml osssdk.WebsiteXML, options ...osssdk.Option) error
- func (client ProxyOssClient) SetBucketWebsiteXml(bucketName string, webXml string, options ...osssdk.Option) error
- func (client *ProxyOssClient) Shutdown()
- type SecretsMangerOssPluginCredentialUpdater
- func (ocu *SecretsMangerOssPluginCredentialUpdater) Close() error
- func (ocu *SecretsMangerOssPluginCredentialUpdater) GetClient() interface{}
- func (ocu *SecretsMangerOssPluginCredentialUpdater) GetTypeName() string
- func (ocu *SecretsMangerOssPluginCredentialUpdater) UpdateCredential(secretInfo *cmodels.SecretInfo) error
Constants ¶
View Source
const (
AkExpireErrorCode = "InvalidAccessKeyId"
)
Variables ¶
This section is empty.
Functions ¶
func NewOssClientBuilder ¶
func NewOssClientBuilder(endpoint, secretName string, provider *OssPluginCredentialsProvider, akExpireHandler service.AKExpireHandler) *ossClientBuilder
func NewOssPluginCredentials ¶
func NewOssPluginCredentials(accessKeyId, accessKeySecret string) *ossPluginCredentials
func NewSecretsManagerOssPlugin ¶
func NewSecretsManagerOssPlugin() *secretsManagerOssPlugin
Types ¶
type OssAKExpireHandler ¶
type OssAKExpireHandler struct {
// contains filtered or unexported fields
}
func NewOssAKExpireHandler ¶
func NewOssAKExpireHandler() *OssAKExpireHandler
func (*OssAKExpireHandler) JudgeAKExpire ¶
func (handler *OssAKExpireHandler) JudgeAKExpire(err error) bool
type OssPluginCredentialsProvider ¶
type OssPluginCredentialsProvider struct {
// contains filtered or unexported fields
}
func NewOssPluginCredentialsProvider ¶
func NewOssPluginCredentialsProvider(credentials osssdk.Credentials) *OssPluginCredentialsProvider
func (*OssPluginCredentialsProvider) GetCredentials ¶
func (sop *OssPluginCredentialsProvider) GetCredentials() osssdk.Credentials
func (*OssPluginCredentialsProvider) SetCredentials ¶
func (sop *OssPluginCredentialsProvider) SetCredentials(credentials osssdk.Credentials)
type ProxyBucket ¶
func (ProxyBucket) AppendObject ¶
func (ProxyBucket) CopyObject ¶
func (bucket ProxyBucket) CopyObject(srcObjectKey, destObjectKey string, options ...osssdk.Option) (osssdk.CopyObjectResult, error)
func (ProxyBucket) CopyObjectFrom ¶
func (bucket ProxyBucket) CopyObjectFrom(srcBucketName, srcObjectKey, destObjectKey string, options ...osssdk.Option) (osssdk.CopyObjectResult, error)
func (ProxyBucket) CopyObjectTo ¶
func (bucket ProxyBucket) CopyObjectTo(destBucketName, destObjectKey, srcObjectKey string, options ...osssdk.Option) (osssdk.CopyObjectResult, error)
func (ProxyBucket) DeleteObject ¶
func (bucket ProxyBucket) DeleteObject(objectKey string, options ...osssdk.Option) error
func (ProxyBucket) DeleteObjectTagging ¶
func (bucket ProxyBucket) DeleteObjectTagging(objectKey string, options ...osssdk.Option) error
func (ProxyBucket) DeleteObjectVersions ¶
func (bucket ProxyBucket) DeleteObjectVersions(objectVersions []osssdk.DeleteObject, options ...osssdk.Option) (osssdk.DeleteObjectVersionsResult, error)
func (ProxyBucket) DeleteObjects ¶
func (bucket ProxyBucket) DeleteObjects(objectKeys []string, options ...osssdk.Option) (osssdk.DeleteObjectsResult, error)
func (ProxyBucket) DoAppendObject ¶
func (bucket ProxyBucket) DoAppendObject(request *osssdk.AppendObjectRequest, options []osssdk.Option) (*osssdk.AppendObjectResult, error)
func (ProxyBucket) DoGetObject ¶
func (bucket ProxyBucket) DoGetObject(request *osssdk.GetObjectRequest, options []osssdk.Option) (*osssdk.GetObjectResult, error)
func (ProxyBucket) DoGetObjectWithURL ¶
func (bucket ProxyBucket) DoGetObjectWithURL(signedURL string, options []osssdk.Option) (*osssdk.GetObjectResult, error)
func (ProxyBucket) DoPutObject ¶
func (bucket ProxyBucket) DoPutObject(request *osssdk.PutObjectRequest, options []osssdk.Option) (*osssdk.Response, error)
func (ProxyBucket) DoPutObjectWithURL ¶
func (ProxyBucket) GetObject ¶
func (bucket ProxyBucket) GetObject(objectKey string, options ...osssdk.Option) (io.ReadCloser, error)
func (ProxyBucket) GetObjectACL ¶
func (bucket ProxyBucket) GetObjectACL(objectKey string, options ...osssdk.Option) (osssdk.GetObjectACLResult, error)
func (ProxyBucket) GetObjectDetailedMeta ¶
func (ProxyBucket) GetObjectMeta ¶
func (ProxyBucket) GetObjectTagging ¶
func (bucket ProxyBucket) GetObjectTagging(objectKey string, options ...osssdk.Option) (osssdk.GetObjectTaggingResult, error)
func (ProxyBucket) GetObjectToFile ¶
func (bucket ProxyBucket) GetObjectToFile(objectKey, filePath string, options ...osssdk.Option) error
func (ProxyBucket) GetObjectToFileWithURL ¶
func (bucket ProxyBucket) GetObjectToFileWithURL(signedURL, filePath string, options ...osssdk.Option) error
func (ProxyBucket) GetObjectWithURL ¶
func (bucket ProxyBucket) GetObjectWithURL(signedURL string, options ...osssdk.Option) (io.ReadCloser, error)
func (ProxyBucket) GetSymlink ¶
func (ProxyBucket) IsObjectExist ¶
func (ProxyBucket) ListObjectVersions ¶
func (bucket ProxyBucket) ListObjectVersions(options ...osssdk.Option) (osssdk.ListObjectVersionsResult, error)
func (ProxyBucket) ListObjects ¶
func (bucket ProxyBucket) ListObjects(options ...osssdk.Option) (osssdk.ListObjectsResult, error)
func (ProxyBucket) ListObjectsV2 ¶
func (bucket ProxyBucket) ListObjectsV2(options ...osssdk.Option) (osssdk.ListObjectsResultV2, error)
func (ProxyBucket) OptionsMethod ¶
func (ProxyBucket) ProcessObject ¶
func (bucket ProxyBucket) ProcessObject(objectKey string, process string, options ...osssdk.Option) (osssdk.ProcessObjectResult, error)
func (ProxyBucket) PutObjectFromFile ¶
func (bucket ProxyBucket) PutObjectFromFile(objectKey, filePath string, options ...osssdk.Option) error
func (ProxyBucket) PutObjectFromFileWithURL ¶
func (bucket ProxyBucket) PutObjectFromFileWithURL(signedURL, filePath string, options ...osssdk.Option) error
func (ProxyBucket) PutObjectTagging ¶
func (ProxyBucket) PutObjectWithURL ¶
func (ProxyBucket) PutSymlink ¶
func (ProxyBucket) RestoreObject ¶
func (bucket ProxyBucket) RestoreObject(objectKey string, options ...osssdk.Option) error
func (ProxyBucket) RestoreObjectDetail ¶
func (bucket ProxyBucket) RestoreObjectDetail(objectKey string, restoreConfig osssdk.RestoreConfiguration, options ...osssdk.Option) error
func (ProxyBucket) RestoreObjectXML ¶
func (bucket ProxyBucket) RestoreObjectXML(objectKey, configXML string, options ...osssdk.Option) error
func (ProxyBucket) SetObjectACL ¶
func (ProxyBucket) SetObjectMeta ¶
func (bucket ProxyBucket) SetObjectMeta(objectKey string, options ...osssdk.Option) error
type ProxyOssClient ¶
func New ¶
func New(endpoint, secretName string) (*ProxyOssClient, error)
func NewProxyOssClientWithHandler ¶
func NewProxyOssClientWithHandler(endpoint, secretName string, akExpireHandler service.AKExpireHandler) (*ProxyOssClient, error)
func (ProxyOssClient) AbortBucketWorm ¶
func (client ProxyOssClient) AbortBucketWorm(bucketName string, options ...osssdk.Option) error
func (ProxyOssClient) Bucket ¶
func (client ProxyOssClient) Bucket(bucketName string) (*ProxyBucket, error)
func (ProxyOssClient) CloseMetaQuery ¶
func (client ProxyOssClient) CloseMetaQuery(bucketName string, options ...osssdk.Option) error
func (ProxyOssClient) CompleteBucketWorm ¶
func (ProxyOssClient) CreateBucket ¶
func (client ProxyOssClient) CreateBucket(bucketName string, options ...osssdk.Option) error
func (ProxyOssClient) CreateBucketCnameToken ¶
func (client ProxyOssClient) CreateBucketCnameToken(bucketName string, cname string, options ...osssdk.Option) (osssdk.CreateBucketCnameTokenResult, error)
func (ProxyOssClient) CreateBucketXml ¶
func (ProxyOssClient) DeleteBucket ¶
func (client ProxyOssClient) DeleteBucket(bucketName string, options ...osssdk.Option) error
func (ProxyOssClient) DeleteBucketCORS ¶
func (client ProxyOssClient) DeleteBucketCORS(bucketName string, options ...osssdk.Option) error
func (ProxyOssClient) DeleteBucketCname ¶
func (ProxyOssClient) DeleteBucketEncryption ¶
func (client ProxyOssClient) DeleteBucketEncryption(bucketName string, options ...osssdk.Option) error
func (ProxyOssClient) DeleteBucketInventory ¶
func (client ProxyOssClient) DeleteBucketInventory(bucketName, strInventoryId string, options ...osssdk.Option) error
func (ProxyOssClient) DeleteBucketLifecycle ¶
func (client ProxyOssClient) DeleteBucketLifecycle(bucketName string, options ...osssdk.Option) error
func (ProxyOssClient) DeleteBucketLogging ¶
func (client ProxyOssClient) DeleteBucketLogging(bucketName string, options ...osssdk.Option) error
func (ProxyOssClient) DeleteBucketPolicy ¶
func (client ProxyOssClient) DeleteBucketPolicy(bucketName string, options ...osssdk.Option) error
func (ProxyOssClient) DeleteBucketQosInfo ¶
func (client ProxyOssClient) DeleteBucketQosInfo(bucketName string, options ...osssdk.Option) error
func (ProxyOssClient) DeleteBucketReplication ¶
func (ProxyOssClient) DeleteBucketTagging ¶
func (client ProxyOssClient) DeleteBucketTagging(bucketName string, options ...osssdk.Option) error
func (ProxyOssClient) DeleteBucketTransferAcc ¶
func (client ProxyOssClient) DeleteBucketTransferAcc(bucketName string, options ...osssdk.Option) error
func (ProxyOssClient) DeleteBucketWebsite ¶
func (client ProxyOssClient) DeleteBucketWebsite(bucketName string, options ...osssdk.Option) error
func (ProxyOssClient) DoMetaQuery ¶
func (client ProxyOssClient) DoMetaQuery(bucketName string, metaQuery osssdk.MetaQuery, options ...osssdk.Option) (osssdk.DoMetaQueryResult, error)
func (ProxyOssClient) DoMetaQueryXml ¶
func (client ProxyOssClient) DoMetaQueryXml(bucketName string, metaQueryXml string, options ...osssdk.Option) (osssdk.DoMetaQueryResult, error)
func (ProxyOssClient) ExtendBucketWorm ¶
func (ProxyOssClient) GetBucketACL ¶
func (client ProxyOssClient) GetBucketACL(bucketName string, options ...osssdk.Option) (osssdk.GetBucketACLResult, error)
func (ProxyOssClient) GetBucketAsyncTask ¶
func (client ProxyOssClient) GetBucketAsyncTask(bucketName string, taskID string, options ...osssdk.Option) (osssdk.AsynFetchTaskInfo, error)
func (ProxyOssClient) GetBucketCORS ¶
func (client ProxyOssClient) GetBucketCORS(bucketName string, options ...osssdk.Option) (osssdk.GetBucketCORSResult, error)
func (ProxyOssClient) GetBucketCORSXml ¶
func (ProxyOssClient) GetBucketCname ¶
func (ProxyOssClient) GetBucketCnameToken ¶
func (client ProxyOssClient) GetBucketCnameToken(bucketName string, cname string, options ...osssdk.Option) (osssdk.GetBucketCnameTokenResult, error)
func (ProxyOssClient) GetBucketEncryption ¶
func (client ProxyOssClient) GetBucketEncryption(bucketName string, options ...osssdk.Option) (osssdk.GetBucketEncryptionResult, error)
func (ProxyOssClient) GetBucketInfo ¶
func (client ProxyOssClient) GetBucketInfo(bucketName string, options ...osssdk.Option) (osssdk.GetBucketInfoResult, error)
func (ProxyOssClient) GetBucketInventory ¶
func (client ProxyOssClient) GetBucketInventory(bucketName string, strInventoryId string, options ...osssdk.Option) (osssdk.InventoryConfiguration, error)
func (ProxyOssClient) GetBucketInventoryXml ¶
func (ProxyOssClient) GetBucketLifecycle ¶
func (client ProxyOssClient) GetBucketLifecycle(bucketName string, options ...osssdk.Option) (osssdk.GetBucketLifecycleResult, error)
func (ProxyOssClient) GetBucketLifecycleXml ¶
func (ProxyOssClient) GetBucketLocation ¶
func (ProxyOssClient) GetBucketLogging ¶
func (client ProxyOssClient) GetBucketLogging(bucketName string, options ...osssdk.Option) (osssdk.GetBucketLoggingResult, error)
func (ProxyOssClient) GetBucketPolicy ¶
func (ProxyOssClient) GetBucketQosInfo ¶
func (client ProxyOssClient) GetBucketQosInfo(bucketName string, options ...osssdk.Option) (osssdk.BucketQoSConfiguration, error)
func (ProxyOssClient) GetBucketReferer ¶
func (client ProxyOssClient) GetBucketReferer(bucketName string, options ...osssdk.Option) (osssdk.GetBucketRefererResult, error)
func (ProxyOssClient) GetBucketReplication ¶
func (ProxyOssClient) GetBucketReplicationLocation ¶
func (ProxyOssClient) GetBucketReplicationProgress ¶
func (ProxyOssClient) GetBucketRequestPayment ¶
func (client ProxyOssClient) GetBucketRequestPayment(bucketName string, options ...osssdk.Option) (osssdk.RequestPaymentConfiguration, error)
func (ProxyOssClient) GetBucketStat ¶
func (client ProxyOssClient) GetBucketStat(bucketName string, options ...osssdk.Option) (osssdk.GetBucketStatResult, error)
func (ProxyOssClient) GetBucketTagging ¶
func (client ProxyOssClient) GetBucketTagging(bucketName string, options ...osssdk.Option) (osssdk.GetBucketTaggingResult, error)
func (ProxyOssClient) GetBucketTransferAcc ¶
func (client ProxyOssClient) GetBucketTransferAcc(bucketName string, options ...osssdk.Option) (osssdk.TransferAccConfiguration, error)
func (ProxyOssClient) GetBucketVersioning ¶
func (client ProxyOssClient) GetBucketVersioning(bucketName string, options ...osssdk.Option) (osssdk.GetBucketVersioningResult, error)
func (ProxyOssClient) GetBucketWebsite ¶
func (client ProxyOssClient) GetBucketWebsite(bucketName string, options ...osssdk.Option) (osssdk.GetBucketWebsiteResult, error)
func (ProxyOssClient) GetBucketWebsiteXml ¶
func (ProxyOssClient) GetBucketWorm ¶
func (client ProxyOssClient) GetBucketWorm(bucketName string, options ...osssdk.Option) (osssdk.WormConfiguration, error)
func (ProxyOssClient) GetMetaQueryStatus ¶
func (client ProxyOssClient) GetMetaQueryStatus(bucketName string, options ...osssdk.Option) (osssdk.GetMetaQueryStatusResult, error)
func (ProxyOssClient) GetUserQoSInfo ¶
func (client ProxyOssClient) GetUserQoSInfo(options ...osssdk.Option) (osssdk.UserQoSConfiguration, error)
func (ProxyOssClient) InitiateBucketWorm ¶
func (ProxyOssClient) IsBucketExist ¶
func (client ProxyOssClient) IsBucketExist(bucketName string) (bool, error)
func (ProxyOssClient) ListBucketInventory ¶
func (client ProxyOssClient) ListBucketInventory(bucketName, continuationToken string, options ...osssdk.Option) (osssdk.ListInventoryConfigurationsResult, error)
func (ProxyOssClient) ListBucketInventoryXml ¶
func (ProxyOssClient) ListBuckets ¶
func (client ProxyOssClient) ListBuckets(options ...osssdk.Option) (osssdk.ListBucketsResult, error)
func (ProxyOssClient) ListCloudBoxes ¶
func (client ProxyOssClient) ListCloudBoxes(options ...osssdk.Option) (osssdk.ListCloudBoxResult, error)
func (ProxyOssClient) OpenMetaQuery ¶
func (client ProxyOssClient) OpenMetaQuery(bucketName string, options ...osssdk.Option) error
func (ProxyOssClient) PutBucketCname ¶
func (ProxyOssClient) PutBucketCnameXml ¶
func (ProxyOssClient) PutBucketReplication ¶
func (ProxyOssClient) SetBucketACL ¶
func (ProxyOssClient) SetBucketAsyncTask ¶
func (client ProxyOssClient) SetBucketAsyncTask(bucketName string, asynConf osssdk.AsyncFetchTaskConfiguration, options ...osssdk.Option) (osssdk.AsyncFetchTaskResult, error)
func (ProxyOssClient) SetBucketCORS ¶
func (ProxyOssClient) SetBucketCORSXml ¶
func (ProxyOssClient) SetBucketEncryption ¶
func (client ProxyOssClient) SetBucketEncryption(bucketName string, encryptionRule osssdk.ServerEncryptionRule, options ...osssdk.Option) error
func (ProxyOssClient) SetBucketInventory ¶
func (client ProxyOssClient) SetBucketInventory(bucketName string, inventoryConfig osssdk.InventoryConfiguration, options ...osssdk.Option) error
func (ProxyOssClient) SetBucketInventoryXml ¶
func (ProxyOssClient) SetBucketLifecycle ¶
func (client ProxyOssClient) SetBucketLifecycle(bucketName string, rules []osssdk.LifecycleRule, options ...osssdk.Option) error
func (ProxyOssClient) SetBucketLifecycleXml ¶
func (ProxyOssClient) SetBucketLogging ¶
func (ProxyOssClient) SetBucketPolicy ¶
func (ProxyOssClient) SetBucketQoSInfo ¶
func (client ProxyOssClient) SetBucketQoSInfo(bucketName string, qosConf osssdk.BucketQoSConfiguration, options ...osssdk.Option) error
func (ProxyOssClient) SetBucketReferer ¶
func (ProxyOssClient) SetBucketRequestPayment ¶
func (client ProxyOssClient) SetBucketRequestPayment(bucketName string, paymentConfig osssdk.RequestPaymentConfiguration, options ...osssdk.Option) error
func (ProxyOssClient) SetBucketTagging ¶
func (ProxyOssClient) SetBucketTransferAcc ¶
func (client ProxyOssClient) SetBucketTransferAcc(bucketName string, accConf osssdk.TransferAccConfiguration, options ...osssdk.Option) error
func (ProxyOssClient) SetBucketVersioning ¶
func (client ProxyOssClient) SetBucketVersioning(bucketName string, versioningConfig osssdk.VersioningConfig, options ...osssdk.Option) error
func (ProxyOssClient) SetBucketWebsite ¶
func (client ProxyOssClient) SetBucketWebsite(bucketName, indexDocument, errorDocument string, options ...osssdk.Option) error
func (ProxyOssClient) SetBucketWebsiteDetail ¶
func (client ProxyOssClient) SetBucketWebsiteDetail(bucketName string, wxml osssdk.WebsiteXML, options ...osssdk.Option) error
func (ProxyOssClient) SetBucketWebsiteXml ¶
func (*ProxyOssClient) Shutdown ¶
func (client *ProxyOssClient) Shutdown()
type SecretsMangerOssPluginCredentialUpdater ¶
type SecretsMangerOssPluginCredentialUpdater struct {
// contains filtered or unexported fields
}
func NewSecretsMangerOssPluginCredentialUpdater ¶
func NewSecretsMangerOssPluginCredentialUpdater(ossClient *ProxyOssClient, provider *OssPluginCredentialsProvider) *SecretsMangerOssPluginCredentialUpdater
func (*SecretsMangerOssPluginCredentialUpdater) Close ¶
func (ocu *SecretsMangerOssPluginCredentialUpdater) Close() error
func (*SecretsMangerOssPluginCredentialUpdater) GetClient ¶
func (ocu *SecretsMangerOssPluginCredentialUpdater) GetClient() interface{}
func (*SecretsMangerOssPluginCredentialUpdater) GetTypeName ¶
func (ocu *SecretsMangerOssPluginCredentialUpdater) GetTypeName() string
func (*SecretsMangerOssPluginCredentialUpdater) UpdateCredential ¶
func (ocu *SecretsMangerOssPluginCredentialUpdater) UpdateCredential(secretInfo *cmodels.SecretInfo) error
Click to show internal directories.
Click to hide internal directories.