buckets_test

package
v2.1.116 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2020 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 MockProvider

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

func NewMockProvider

func NewMockProvider(options ...pegomock.Option) *MockProvider

func (*MockProvider) CreateNewBucketForCluster

func (mock *MockProvider) CreateNewBucketForCluster(_param0 string, _param1 string) (string, error)

func (*MockProvider) DownloadFileFromBucket

func (mock *MockProvider) DownloadFileFromBucket(_param0 string) (io.ReadCloser, error)

func (*MockProvider) EnsureBucketIsCreated

func (mock *MockProvider) EnsureBucketIsCreated(_param0 string) error

func (*MockProvider) FailHandler

func (mock *MockProvider) FailHandler() pegomock.FailHandler

func (*MockProvider) SetFailHandler

func (mock *MockProvider) SetFailHandler(fh pegomock.FailHandler)

func (*MockProvider) UploadFileToBucket

func (mock *MockProvider) UploadFileToBucket(_param0 io.Reader, _param1 string, _param2 string) (string, error)

func (*MockProvider) VerifyWasCalled

func (mock *MockProvider) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierMockProvider

func (*MockProvider) VerifyWasCalledEventually

func (mock *MockProvider) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockProvider

func (*MockProvider) VerifyWasCalledInOrder

func (mock *MockProvider) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierMockProvider

func (*MockProvider) VerifyWasCalledOnce

func (mock *MockProvider) VerifyWasCalledOnce() *VerifierMockProvider

type MockProvider_CreateNewBucketForCluster_OngoingVerification

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

func (*MockProvider_CreateNewBucketForCluster_OngoingVerification) GetAllCapturedArguments

func (c *MockProvider_CreateNewBucketForCluster_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string)

func (*MockProvider_CreateNewBucketForCluster_OngoingVerification) GetCapturedArguments

type MockProvider_DownloadFileFromBucket_OngoingVerification

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

func (*MockProvider_DownloadFileFromBucket_OngoingVerification) GetAllCapturedArguments

func (c *MockProvider_DownloadFileFromBucket_OngoingVerification) GetAllCapturedArguments() (_param0 []string)

func (*MockProvider_DownloadFileFromBucket_OngoingVerification) GetCapturedArguments

type MockProvider_EnsureBucketIsCreated_OngoingVerification

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

func (*MockProvider_EnsureBucketIsCreated_OngoingVerification) GetAllCapturedArguments

func (c *MockProvider_EnsureBucketIsCreated_OngoingVerification) GetAllCapturedArguments() (_param0 []string)

func (*MockProvider_EnsureBucketIsCreated_OngoingVerification) GetCapturedArguments

type MockProvider_UploadFileToBucket_OngoingVerification

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

func (*MockProvider_UploadFileToBucket_OngoingVerification) GetAllCapturedArguments

func (c *MockProvider_UploadFileToBucket_OngoingVerification) GetAllCapturedArguments() (_param0 []io.Reader, _param1 []string, _param2 []string)

func (*MockProvider_UploadFileToBucket_OngoingVerification) GetCapturedArguments

type VerifierMockProvider

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

func (*VerifierMockProvider) CreateNewBucketForCluster

func (verifier *VerifierMockProvider) CreateNewBucketForCluster(_param0 string, _param1 string) *MockProvider_CreateNewBucketForCluster_OngoingVerification

func (*VerifierMockProvider) DownloadFileFromBucket

func (verifier *VerifierMockProvider) DownloadFileFromBucket(_param0 string) *MockProvider_DownloadFileFromBucket_OngoingVerification

func (*VerifierMockProvider) EnsureBucketIsCreated

func (*VerifierMockProvider) UploadFileToBucket

func (verifier *VerifierMockProvider) UploadFileToBucket(_param0 io.Reader, _param1 string, _param2 string) *MockProvider_UploadFileToBucket_OngoingVerification

Jump to

Keyboard shortcuts

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