Documentation
¶
Index ¶
- Variables
- type HTTPClient
- type S3
- func (s3 *S3) GetObject(key string) ([]byte, error)
- func (s3 *S3) HeadObject(key string) (bool, string, error)
- func (s3 *S3) ID() (string, string)
- func (s3 *S3) PutObject(key string, data []byte) error
- func (s3 *S3) RefreshCredential(credential storage_vault.Credential) error
- func (s3 *S3) Type() storage_vault.Type
- func (s3 *S3) VerifyObject(key string) (bool, bool, string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
HttpClient = HTTPClient{}
)
Functions ¶
This section is empty.
Types ¶
type HTTPClient ¶
type HTTPClient struct{}
type S3 ¶
type S3 struct { Id string ActionID string Name string StorageBucket string SecretRef string CredentialType string StorageVaultType string Location string Region string S3Session *storage.S3 // contains filtered or unexported fields }
func NewS3Default ¶
func (*S3) RefreshCredential ¶
func (s3 *S3) RefreshCredential(credential storage_vault.Credential) error
func (*S3) Type ¶
func (s3 *S3) Type() storage_vault.Type
Click to show internal directories.
Click to hide internal directories.