mocks

package
v2.10.8 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSCodeCommitClient

type AWSCodeCommitClient struct {
	mock.Mock
}

AWSCodeCommitClient is an autogenerated mock type for the AWSCodeCommitClient type

func NewAWSCodeCommitClient

func NewAWSCodeCommitClient(t mockConstructorTestingTNewAWSCodeCommitClient) *AWSCodeCommitClient

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

func (*AWSCodeCommitClient) EXPECT

func (*AWSCodeCommitClient) GetFolderWithContext

GetFolderWithContext provides a mock function with given fields: _a0, _a1, _a2

func (*AWSCodeCommitClient) GetRepositoryWithContext

GetRepositoryWithContext provides a mock function with given fields: _a0, _a1, _a2

func (*AWSCodeCommitClient) ListBranchesWithContext

ListBranchesWithContext provides a mock function with given fields: _a0, _a1, _a2

func (*AWSCodeCommitClient) ListRepositoriesWithContext

ListRepositoriesWithContext provides a mock function with given fields: _a0, _a1, _a2

type AWSCodeCommitClient_Expecter

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

func (*AWSCodeCommitClient_Expecter) GetFolderWithContext

func (_e *AWSCodeCommitClient_Expecter) GetFolderWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *AWSCodeCommitClient_GetFolderWithContext_Call

GetFolderWithContext is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *codecommit.GetFolderInput
  • _a2 ...request.Option

func (*AWSCodeCommitClient_Expecter) GetRepositoryWithContext

func (_e *AWSCodeCommitClient_Expecter) GetRepositoryWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *AWSCodeCommitClient_GetRepositoryWithContext_Call

GetRepositoryWithContext is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *codecommit.GetRepositoryInput
  • _a2 ...request.Option

func (*AWSCodeCommitClient_Expecter) ListBranchesWithContext

func (_e *AWSCodeCommitClient_Expecter) ListBranchesWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *AWSCodeCommitClient_ListBranchesWithContext_Call

ListBranchesWithContext is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *codecommit.ListBranchesInput
  • _a2 ...request.Option

func (*AWSCodeCommitClient_Expecter) ListRepositoriesWithContext

func (_e *AWSCodeCommitClient_Expecter) ListRepositoriesWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *AWSCodeCommitClient_ListRepositoriesWithContext_Call

ListRepositoriesWithContext is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *codecommit.ListRepositoriesInput
  • _a2 ...request.Option

type AWSCodeCommitClient_GetFolderWithContext_Call

type AWSCodeCommitClient_GetFolderWithContext_Call struct {
	*mock.Call
}

AWSCodeCommitClient_GetFolderWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFolderWithContext'

func (*AWSCodeCommitClient_GetFolderWithContext_Call) Return

func (*AWSCodeCommitClient_GetFolderWithContext_Call) Run

type AWSCodeCommitClient_GetRepositoryWithContext_Call

type AWSCodeCommitClient_GetRepositoryWithContext_Call struct {
	*mock.Call
}

AWSCodeCommitClient_GetRepositoryWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRepositoryWithContext'

func (*AWSCodeCommitClient_GetRepositoryWithContext_Call) Return

func (*AWSCodeCommitClient_GetRepositoryWithContext_Call) Run

type AWSCodeCommitClient_ListBranchesWithContext_Call

type AWSCodeCommitClient_ListBranchesWithContext_Call struct {
	*mock.Call
}

AWSCodeCommitClient_ListBranchesWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListBranchesWithContext'

func (*AWSCodeCommitClient_ListBranchesWithContext_Call) Return

func (*AWSCodeCommitClient_ListBranchesWithContext_Call) Run

type AWSCodeCommitClient_ListRepositoriesWithContext_Call

type AWSCodeCommitClient_ListRepositoriesWithContext_Call struct {
	*mock.Call
}

AWSCodeCommitClient_ListRepositoriesWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListRepositoriesWithContext'

func (*AWSCodeCommitClient_ListRepositoriesWithContext_Call) Run

type AWSTaggingClient

type AWSTaggingClient struct {
	mock.Mock
}

AWSTaggingClient is an autogenerated mock type for the AWSTaggingClient type

func NewAWSTaggingClient

func NewAWSTaggingClient(t mockConstructorTestingTNewAWSTaggingClient) *AWSTaggingClient

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

func (*AWSTaggingClient) EXPECT

func (*AWSTaggingClient) GetResourcesWithContext

GetResourcesWithContext provides a mock function with given fields: _a0, _a1, _a2

type AWSTaggingClient_Expecter

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

func (*AWSTaggingClient_Expecter) GetResourcesWithContext

func (_e *AWSTaggingClient_Expecter) GetResourcesWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *AWSTaggingClient_GetResourcesWithContext_Call

GetResourcesWithContext is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *resourcegroupstaggingapi.GetResourcesInput
  • _a2 ...request.Option

type AWSTaggingClient_GetResourcesWithContext_Call

type AWSTaggingClient_GetResourcesWithContext_Call struct {
	*mock.Call
}

AWSTaggingClient_GetResourcesWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetResourcesWithContext'

func (*AWSTaggingClient_GetResourcesWithContext_Call) Run

Jump to

Keyboard shortcuts

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