Documentation ¶
Index ¶
- type MockProvider
- func (mock *MockProvider) CreateNewBucketForCluster(_param0 string, _param1 string) (string, error)
- func (mock *MockProvider) DownloadFileFromBucket(_param0 string) (io.ReadCloser, error)
- func (mock *MockProvider) EnsureBucketIsCreated(_param0 string) error
- func (mock *MockProvider) FailHandler() pegomock.FailHandler
- func (mock *MockProvider) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockProvider) UploadFileToBucket(_param0 io.Reader, _param1 string, _param2 string) (string, error)
- func (mock *MockProvider) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierMockProvider
- func (mock *MockProvider) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockProvider
- func (mock *MockProvider) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierMockProvider
- func (mock *MockProvider) VerifyWasCalledOnce() *VerifierMockProvider
- type MockProvider_CreateNewBucketForCluster_OngoingVerification
- type MockProvider_DownloadFileFromBucket_OngoingVerification
- type MockProvider_EnsureBucketIsCreated_OngoingVerification
- type MockProvider_UploadFileToBucket_OngoingVerification
- type VerifierMockProvider
- func (verifier *VerifierMockProvider) CreateNewBucketForCluster(_param0 string, _param1 string) *MockProvider_CreateNewBucketForCluster_OngoingVerification
- func (verifier *VerifierMockProvider) DownloadFileFromBucket(_param0 string) *MockProvider_DownloadFileFromBucket_OngoingVerification
- func (verifier *VerifierMockProvider) EnsureBucketIsCreated(_param0 string) *MockProvider_EnsureBucketIsCreated_OngoingVerification
- func (verifier *VerifierMockProvider) UploadFileToBucket(_param0 io.Reader, _param1 string, _param2 string) *MockProvider_UploadFileToBucket_OngoingVerification
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 (*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 ¶
func (c *MockProvider_CreateNewBucketForCluster_OngoingVerification) GetCapturedArguments() (string, string)
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 ¶
func (c *MockProvider_DownloadFileFromBucket_OngoingVerification) GetCapturedArguments() string
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 ¶
func (c *MockProvider_EnsureBucketIsCreated_OngoingVerification) GetCapturedArguments() string
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 ¶
func (c *MockProvider_UploadFileToBucket_OngoingVerification) GetCapturedArguments() (io.Reader, string, string)
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 (verifier *VerifierMockProvider) EnsureBucketIsCreated(_param0 string) *MockProvider_EnsureBucketIsCreated_OngoingVerification
func (*VerifierMockProvider) UploadFileToBucket ¶
func (verifier *VerifierMockProvider) UploadFileToBucket(_param0 io.Reader, _param1 string, _param2 string) *MockProvider_UploadFileToBucket_OngoingVerification
Click to show internal directories.
Click to hide internal directories.