s3

package
v2.1.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	S3Client  s3iface.S3API
	STSClient stsiface.STSAPI
	// contains filtered or unexported fields
}

Service holds a collection of interfaces. The interfaces are broken down like this to group functions together. One alternative is to have a large list of functions from the ec2 client.

func NewService

func NewService(s3Scope scope.S3Scope) *Service

NewService returns a new service given the api clients.

func (*Service) Create

func (s *Service) Create(m *scope.MachineScope, data []byte) (string, error)

func (*Service) Delete

func (s *Service) Delete(m *scope.MachineScope) error

func (*Service) DeleteBucket

func (s *Service) DeleteBucket() error

func (*Service) ReconcileBucket

func (s *Service) ReconcileBucket() error

Directories

Path Synopsis
Run go generate to regenerate this mock.
Run go generate to regenerate this mock.
Run go generate to regenerate this mock.
Run go generate to regenerate this mock.

Jump to

Keyboard shortcuts

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