fake

package
v0.50.6 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockS3ControlClient

type MockS3ControlClient struct {
	s3controliface.S3ControlAPI

	GetAccessPointWithContextOutput s3control.GetAccessPointOutput
	GetAccessPointWithContextErr    error

	CreateAccessPointWithContextOutput s3control.CreateAccessPointOutput
	CreateAccessPointWithContextErr    error

	DeleteAccessPointWithContextOutput s3control.DeleteAccessPointOutput
	DeleteAccessPointWithContextErr    error

	GetAccessPointPolicyOutput s3control.GetAccessPointPolicyOutput
	GetAccessPointPolicyErr    error

	PutAccessPointPolicyWithContextOutput s3control.PutAccessPointPolicyOutput
	PutAccessPointPolicyWithContextErr    error

	DeleteAccessPointPolicyWithContextOutput s3control.DeleteAccessPointPolicyOutput
	DeleteAccessPointPolicyWithContextErr    error
}

MockS3ControlClient is a mock implementation of the S3ControlAPI interface for testing purposes. It allows simulating the behavior of the S3 Control API methods and tracking the number of calls made to each method.

func (*MockS3ControlClient) CreateAccessPointWithContext

CreateAccessPointWithContext is the fake method call to invoke the internal mock method

func (*MockS3ControlClient) DeleteAccessPointPolicyWithContext

DeleteAccessPointPolicyWithContext is the fake method call to invoke the internal mock method

func (*MockS3ControlClient) DeleteAccessPointWithContext

DeleteAccessPointWithContext is the fake method call to invoke the internal mock method

func (*MockS3ControlClient) GetAccessPointPolicy

GetAccessPointPolicy is the fake method call to invoke the internal mock method

func (*MockS3ControlClient) GetAccessPointWithContext

GetAccessPointWithContext is the fake method call to invoke the internal mock method

func (*MockS3ControlClient) PutAccessPointPolicyWithContext

PutAccessPointPolicyWithContext is the fake method call to invoke the internal mock method

Jump to

Keyboard shortcuts

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