operations

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateBucketRequest

type CreateBucketRequest interface {
	Send() (*s3.CreateBucketOutput, error)
}

CreateBucketRequest is a API request type for the CreateBucket API operation.

type DeleteBucketRequest

type DeleteBucketRequest interface {
	Send() (*s3.DeleteBucketOutput, error)
}

DeleteBucketRequest is a API request type for the DeleteBucket API operation.

type GetBucketVersioningRequest

type GetBucketVersioningRequest interface {
	Send() (*s3.GetBucketVersioningOutput, error)
}

GetBucketVersioningRequest is a API request type for the GetBucketVersioning API operation.

type Operations

type Operations interface {
	CreateBucketRequest(*s3.CreateBucketInput) CreateBucketRequest
	GetBucketVersioningRequest(*s3.GetBucketVersioningInput) GetBucketVersioningRequest
	PutBucketACLRequest(*s3.PutBucketAclInput) PutBucketACLRequest
	PutBucketVersioningRequest(*s3.PutBucketVersioningInput) PutBucketVersioningRequest
	DeleteBucketRequest(*s3.DeleteBucketInput) DeleteBucketRequest
}

Operations defines common methods for generating bucket requests mockery -case snake -name Operations -output fake -outpkg fake

type PutBucketACLRequest

type PutBucketACLRequest interface {
	Send() (*s3.PutBucketAclOutput, error)
}

PutBucketACLRequest is a API request type for the PutBucketAcl API operation.

type PutBucketVersioningRequest

type PutBucketVersioningRequest interface {
	Send() (*s3.PutBucketVersioningOutput, error)
}

PutBucketVersioningRequest is a API request type for the PutBucketVersioning API operation.

type S3Operations

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

S3Operations provides methods for common S3 operations

func NewS3Operations

func NewS3Operations(s3 s3iface.S3API) *S3Operations

NewS3Operations creates a new instance of S3Operations

func (*S3Operations) CreateBucketRequest

func (api *S3Operations) CreateBucketRequest(i *s3.CreateBucketInput) CreateBucketRequest

CreateBucketRequest creates a create bucket request

func (*S3Operations) DeleteBucketRequest

func (api *S3Operations) DeleteBucketRequest(i *s3.DeleteBucketInput) DeleteBucketRequest

DeleteBucketRequest creates a delete bucket request

func (*S3Operations) GetBucketVersioningRequest

func (api *S3Operations) GetBucketVersioningRequest(i *s3.GetBucketVersioningInput) GetBucketVersioningRequest

GetBucketVersioningRequest creates a get bucket versioning request

func (*S3Operations) PutBucketACLRequest

func (api *S3Operations) PutBucketACLRequest(i *s3.PutBucketAclInput) PutBucketACLRequest

PutBucketACLRequest creates a put bucket ACL request

func (*S3Operations) PutBucketVersioningRequest

func (api *S3Operations) PutBucketVersioningRequest(i *s3.PutBucketVersioningInput) PutBucketVersioningRequest

PutBucketVersioningRequest creates a put bucket versioning request

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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