client

package
v0.40.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsClientFactory

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

func NewAWSClientFactory

func NewAWSClientFactory(config client.ConfigProvider) *AwsClientFactory

func (AwsClientFactory) GetS3Client

func (s AwsClientFactory) GetS3Client(configs ...*aws.Config) s3iface.S3API

func (AwsClientFactory) GetS3ControlClient added in v0.38.0

func (s AwsClientFactory) GetS3ControlClient(configs ...*aws.Config) s3controliface.S3ControlAPI

type AwsClientFactoryInterface

type AwsClientFactoryInterface interface {
	GetS3Client(configs ...*aws.Config) s3iface.S3API
	GetS3ControlClient(configs ...*aws.Config) s3controliface.S3ControlAPI
}

type MockAwsClientFactoryInterface

type MockAwsClientFactoryInterface struct {
	mock.Mock
}

MockAwsClientFactoryInterface is an autogenerated mock type for the AwsClientFactoryInterface type

func NewMockAwsClientFactoryInterface added in v0.38.0

func NewMockAwsClientFactoryInterface(t mockConstructorTestingTNewMockAwsClientFactoryInterface) *MockAwsClientFactoryInterface

NewMockAwsClientFactoryInterface creates a new instance of MockAwsClientFactoryInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockAwsClientFactoryInterface) GetS3Client

func (_m *MockAwsClientFactoryInterface) GetS3Client(configs ...*aws.Config) s3iface.S3API

GetS3Client provides a mock function with given fields: configs

func (*MockAwsClientFactoryInterface) GetS3ControlClient added in v0.38.0

func (_m *MockAwsClientFactoryInterface) GetS3ControlClient(configs ...*aws.Config) s3controliface.S3ControlAPI

GetS3ControlClient provides a mock function with given fields: configs

Jump to

Keyboard shortcuts

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