mocks

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IClient

type IClient struct {
	mock.Mock
}

IClient is an autogenerated mock type for the IClient type

func NewIClient

func NewIClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *IClient

NewIClient creates a new instance of IClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*IClient) CreateAccessToken

func (_m *IClient) CreateAccessToken(ctx context.Context, params *codecatalyst.CreateAccessTokenInput, optFns ...func(*codecatalyst.Options)) (*codecatalyst.CreateAccessTokenOutput, error)

CreateAccessToken provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateDevEnvironment

CreateDevEnvironment provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateProject

func (_m *IClient) CreateProject(ctx context.Context, params *codecatalyst.CreateProjectInput, optFns ...func(*codecatalyst.Options)) (*codecatalyst.CreateProjectOutput, error)

CreateProject provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateSourceRepository

CreateSourceRepository provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateSourceRepositoryBranch

CreateSourceRepositoryBranch provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteAccessToken

func (_m *IClient) DeleteAccessToken(ctx context.Context, params *codecatalyst.DeleteAccessTokenInput, optFns ...func(*codecatalyst.Options)) (*codecatalyst.DeleteAccessTokenOutput, error)

DeleteAccessToken provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteDevEnvironment

DeleteDevEnvironment provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteProject

func (_m *IClient) DeleteProject(ctx context.Context, params *codecatalyst.DeleteProjectInput, optFns ...func(*codecatalyst.Options)) (*codecatalyst.DeleteProjectOutput, error)

DeleteProject provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteSourceRepository

DeleteSourceRepository provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteSpace

func (_m *IClient) DeleteSpace(ctx context.Context, params *codecatalyst.DeleteSpaceInput, optFns ...func(*codecatalyst.Options)) (*codecatalyst.DeleteSpaceOutput, error)

DeleteSpace provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetDevEnvironment

func (_m *IClient) GetDevEnvironment(ctx context.Context, params *codecatalyst.GetDevEnvironmentInput, optFns ...func(*codecatalyst.Options)) (*codecatalyst.GetDevEnvironmentOutput, error)

GetDevEnvironment provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetProject

func (_m *IClient) GetProject(ctx context.Context, params *codecatalyst.GetProjectInput, optFns ...func(*codecatalyst.Options)) (*codecatalyst.GetProjectOutput, error)

GetProject provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetSourceRepository

GetSourceRepository provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetSourceRepositoryCloneUrls

GetSourceRepositoryCloneUrls provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetSpace

func (_m *IClient) GetSpace(ctx context.Context, params *codecatalyst.GetSpaceInput, optFns ...func(*codecatalyst.Options)) (*codecatalyst.GetSpaceOutput, error)

GetSpace provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetSubscription

func (_m *IClient) GetSubscription(ctx context.Context, params *codecatalyst.GetSubscriptionInput, optFns ...func(*codecatalyst.Options)) (*codecatalyst.GetSubscriptionOutput, error)

GetSubscription provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetUserDetails

func (_m *IClient) GetUserDetails(ctx context.Context, params *codecatalyst.GetUserDetailsInput, optFns ...func(*codecatalyst.Options)) (*codecatalyst.GetUserDetailsOutput, error)

GetUserDetails provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetWorkflow

func (_m *IClient) GetWorkflow(ctx context.Context, params *codecatalyst.GetWorkflowInput, optFns ...func(*codecatalyst.Options)) (*codecatalyst.GetWorkflowOutput, error)

GetWorkflow provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetWorkflowRun

func (_m *IClient) GetWorkflowRun(ctx context.Context, params *codecatalyst.GetWorkflowRunInput, optFns ...func(*codecatalyst.Options)) (*codecatalyst.GetWorkflowRunOutput, error)

GetWorkflowRun provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListAccessTokens

func (_m *IClient) ListAccessTokens(ctx context.Context, params *codecatalyst.ListAccessTokensInput, optFns ...func(*codecatalyst.Options)) (*codecatalyst.ListAccessTokensOutput, error)

ListAccessTokens provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListDevEnvironmentSessions

ListDevEnvironmentSessions provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListDevEnvironments

ListDevEnvironments provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListEventLogs

func (_m *IClient) ListEventLogs(ctx context.Context, params *codecatalyst.ListEventLogsInput, optFns ...func(*codecatalyst.Options)) (*codecatalyst.ListEventLogsOutput, error)

ListEventLogs provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListProjects

func (_m *IClient) ListProjects(ctx context.Context, params *codecatalyst.ListProjectsInput, optFns ...func(*codecatalyst.Options)) (*codecatalyst.ListProjectsOutput, error)

ListProjects provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListSourceRepositories

ListSourceRepositories provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListSourceRepositoryBranches

ListSourceRepositoryBranches provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListSpaces

func (_m *IClient) ListSpaces(ctx context.Context, params *codecatalyst.ListSpacesInput, optFns ...func(*codecatalyst.Options)) (*codecatalyst.ListSpacesOutput, error)

ListSpaces provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListWorkflowRuns

func (_m *IClient) ListWorkflowRuns(ctx context.Context, params *codecatalyst.ListWorkflowRunsInput, optFns ...func(*codecatalyst.Options)) (*codecatalyst.ListWorkflowRunsOutput, error)

ListWorkflowRuns provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListWorkflows

func (_m *IClient) ListWorkflows(ctx context.Context, params *codecatalyst.ListWorkflowsInput, optFns ...func(*codecatalyst.Options)) (*codecatalyst.ListWorkflowsOutput, error)

ListWorkflows provides a mock function with given fields: ctx, params, optFns

func (*IClient) Options

func (_m *IClient) Options() codecatalyst.Options

Options provides a mock function with given fields:

func (*IClient) StartDevEnvironment

StartDevEnvironment provides a mock function with given fields: ctx, params, optFns

func (*IClient) StartDevEnvironmentSession

StartDevEnvironmentSession provides a mock function with given fields: ctx, params, optFns

func (*IClient) StartWorkflowRun

func (_m *IClient) StartWorkflowRun(ctx context.Context, params *codecatalyst.StartWorkflowRunInput, optFns ...func(*codecatalyst.Options)) (*codecatalyst.StartWorkflowRunOutput, error)

StartWorkflowRun provides a mock function with given fields: ctx, params, optFns

func (*IClient) StopDevEnvironment

StopDevEnvironment provides a mock function with given fields: ctx, params, optFns

func (*IClient) StopDevEnvironmentSession

StopDevEnvironmentSession provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateDevEnvironment

UpdateDevEnvironment provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateProject

func (_m *IClient) UpdateProject(ctx context.Context, params *codecatalyst.UpdateProjectInput, optFns ...func(*codecatalyst.Options)) (*codecatalyst.UpdateProjectOutput, error)

UpdateProject provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateSpace

func (_m *IClient) UpdateSpace(ctx context.Context, params *codecatalyst.UpdateSpaceInput, optFns ...func(*codecatalyst.Options)) (*codecatalyst.UpdateSpaceOutput, error)

UpdateSpace provides a mock function with given fields: ctx, params, optFns

func (*IClient) VerifySession

func (_m *IClient) VerifySession(ctx context.Context, params *codecatalyst.VerifySessionInput, optFns ...func(*codecatalyst.Options)) (*codecatalyst.VerifySessionOutput, error)

VerifySession provides a mock function with given fields: ctx, params, optFns

Jump to

Keyboard shortcuts

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