Documentation ¶
Overview ¶
provider.go
Index ¶
- Constants
- func Provider() *schema.Provider
- type Client
- func (c *Client) CreateBucket(ctx context.Context, input *types.BucketUpdateInput) error
- func (c *Client) DeleteBucket(ctx context.Context, bucketName string) error
- func (c *Client) FindBucketWithRetry(ctx context.Context, bucketName string) (bool, error)
- func (c *Client) GetBucketMetadata(ctx context.Context, bucketName string) (*types.BucketMetadata, error)
- func (c *Client) HeadBucket(ctx context.Context, bucketName string) (bool, error)
- func (c *Client) UpdateBucket(ctx context.Context, input *types.BucketUpdateInput) error
Constants ¶
View Source
const ( // DefaultEndpoint is the default endpoint for Tigris object storage service. DefaultEndpoint = "https://fly.storage.tigris.dev" // DefaultRegion is the default region for Tigris object storage service. DefaultRegion = "auto" // Headers for the requests to Tigris. HeaderContentType = "Content-Type" HeaderAccept = "Accept" HeaderAmzContentSha = "X-Amz-Content-Sha256" HeaderAmzIdentityId = "S3-Identity-Id" HeaderAmzAcl = "X-Amz-Acl" HeaderAmzPublicListObjects = "X-Amz-Acl-Public-List-Objects-Enabled" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CreateBucket ¶
func (*Client) DeleteBucket ¶
func (*Client) FindBucketWithRetry ¶
func (*Client) GetBucketMetadata ¶
func (*Client) HeadBucket ¶
func (*Client) UpdateBucket ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.