postgres

package
v0.95.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2025 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 MockCreateBranchOperationInterface

type MockCreateBranchOperationInterface struct {
	mock.Mock
}

MockCreateBranchOperationInterface is an autogenerated mock type for the CreateBranchOperationInterface type

func NewMockCreateBranchOperationInterface

func NewMockCreateBranchOperationInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockCreateBranchOperationInterface

NewMockCreateBranchOperationInterface creates a new instance of MockCreateBranchOperationInterface. 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 (*MockCreateBranchOperationInterface) Done

Done provides a mock function with no fields

func (*MockCreateBranchOperationInterface) EXPECT

func (*MockCreateBranchOperationInterface) Metadata

Metadata provides a mock function with no fields

func (*MockCreateBranchOperationInterface) Name

Name provides a mock function with no fields

func (*MockCreateBranchOperationInterface) Wait

Wait provides a mock function with given fields: ctx, opts

type MockCreateBranchOperationInterface_Done_Call

type MockCreateBranchOperationInterface_Done_Call struct {
	*mock.Call
}

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

func (*MockCreateBranchOperationInterface_Done_Call) Return

func (*MockCreateBranchOperationInterface_Done_Call) Run

func (*MockCreateBranchOperationInterface_Done_Call) RunAndReturn

type MockCreateBranchOperationInterface_Expecter

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

func (*MockCreateBranchOperationInterface_Expecter) Done

Done is a helper method to define mock.On call

func (*MockCreateBranchOperationInterface_Expecter) Metadata

Metadata is a helper method to define mock.On call

func (*MockCreateBranchOperationInterface_Expecter) Name

Name is a helper method to define mock.On call

func (*MockCreateBranchOperationInterface_Expecter) Wait

func (_e *MockCreateBranchOperationInterface_Expecter) Wait(ctx interface{}, opts ...interface{}) *MockCreateBranchOperationInterface_Wait_Call

Wait is a helper method to define mock.On call

  • ctx context.Context
  • opts ...api.Option

type MockCreateBranchOperationInterface_Metadata_Call

type MockCreateBranchOperationInterface_Metadata_Call struct {
	*mock.Call
}

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

func (*MockCreateBranchOperationInterface_Metadata_Call) Return

func (*MockCreateBranchOperationInterface_Metadata_Call) Run

func (*MockCreateBranchOperationInterface_Metadata_Call) RunAndReturn

type MockCreateBranchOperationInterface_Name_Call

type MockCreateBranchOperationInterface_Name_Call struct {
	*mock.Call
}

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

func (*MockCreateBranchOperationInterface_Name_Call) Return

func (*MockCreateBranchOperationInterface_Name_Call) Run

func (*MockCreateBranchOperationInterface_Name_Call) RunAndReturn

type MockCreateBranchOperationInterface_Wait_Call

type MockCreateBranchOperationInterface_Wait_Call struct {
	*mock.Call
}

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

func (*MockCreateBranchOperationInterface_Wait_Call) Return

func (*MockCreateBranchOperationInterface_Wait_Call) Run

func (*MockCreateBranchOperationInterface_Wait_Call) RunAndReturn

type MockCreateEndpointOperationInterface

type MockCreateEndpointOperationInterface struct {
	mock.Mock
}

MockCreateEndpointOperationInterface is an autogenerated mock type for the CreateEndpointOperationInterface type

func NewMockCreateEndpointOperationInterface

func NewMockCreateEndpointOperationInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockCreateEndpointOperationInterface

NewMockCreateEndpointOperationInterface creates a new instance of MockCreateEndpointOperationInterface. 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 (*MockCreateEndpointOperationInterface) Done

Done provides a mock function with no fields

func (*MockCreateEndpointOperationInterface) EXPECT

func (*MockCreateEndpointOperationInterface) Metadata

Metadata provides a mock function with no fields

func (*MockCreateEndpointOperationInterface) Name

Name provides a mock function with no fields

func (*MockCreateEndpointOperationInterface) Wait

Wait provides a mock function with given fields: ctx, opts

type MockCreateEndpointOperationInterface_Done_Call

type MockCreateEndpointOperationInterface_Done_Call struct {
	*mock.Call
}

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

func (*MockCreateEndpointOperationInterface_Done_Call) Return

func (*MockCreateEndpointOperationInterface_Done_Call) Run

func (*MockCreateEndpointOperationInterface_Done_Call) RunAndReturn

type MockCreateEndpointOperationInterface_Expecter

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

func (*MockCreateEndpointOperationInterface_Expecter) Done

Done is a helper method to define mock.On call

func (*MockCreateEndpointOperationInterface_Expecter) Metadata

Metadata is a helper method to define mock.On call

func (*MockCreateEndpointOperationInterface_Expecter) Name

Name is a helper method to define mock.On call

func (*MockCreateEndpointOperationInterface_Expecter) Wait

Wait is a helper method to define mock.On call

  • ctx context.Context
  • opts ...api.Option

type MockCreateEndpointOperationInterface_Metadata_Call

type MockCreateEndpointOperationInterface_Metadata_Call struct {
	*mock.Call
}

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

func (*MockCreateEndpointOperationInterface_Metadata_Call) Run

func (*MockCreateEndpointOperationInterface_Metadata_Call) RunAndReturn

type MockCreateEndpointOperationInterface_Name_Call

type MockCreateEndpointOperationInterface_Name_Call struct {
	*mock.Call
}

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

func (*MockCreateEndpointOperationInterface_Name_Call) Return

func (*MockCreateEndpointOperationInterface_Name_Call) Run

func (*MockCreateEndpointOperationInterface_Name_Call) RunAndReturn

type MockCreateEndpointOperationInterface_Wait_Call

type MockCreateEndpointOperationInterface_Wait_Call struct {
	*mock.Call
}

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

func (*MockCreateEndpointOperationInterface_Wait_Call) Return

func (*MockCreateEndpointOperationInterface_Wait_Call) Run

func (*MockCreateEndpointOperationInterface_Wait_Call) RunAndReturn

type MockCreateProjectOperationInterface

type MockCreateProjectOperationInterface struct {
	mock.Mock
}

MockCreateProjectOperationInterface is an autogenerated mock type for the CreateProjectOperationInterface type

func NewMockCreateProjectOperationInterface

func NewMockCreateProjectOperationInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockCreateProjectOperationInterface

NewMockCreateProjectOperationInterface creates a new instance of MockCreateProjectOperationInterface. 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 (*MockCreateProjectOperationInterface) Done

Done provides a mock function with no fields

func (*MockCreateProjectOperationInterface) EXPECT

func (*MockCreateProjectOperationInterface) Metadata

Metadata provides a mock function with no fields

func (*MockCreateProjectOperationInterface) Name

Name provides a mock function with no fields

func (*MockCreateProjectOperationInterface) Wait

Wait provides a mock function with given fields: ctx, opts

type MockCreateProjectOperationInterface_Done_Call

type MockCreateProjectOperationInterface_Done_Call struct {
	*mock.Call
}

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

func (*MockCreateProjectOperationInterface_Done_Call) Return

func (*MockCreateProjectOperationInterface_Done_Call) Run

func (*MockCreateProjectOperationInterface_Done_Call) RunAndReturn

type MockCreateProjectOperationInterface_Expecter

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

func (*MockCreateProjectOperationInterface_Expecter) Done

Done is a helper method to define mock.On call

func (*MockCreateProjectOperationInterface_Expecter) Metadata

Metadata is a helper method to define mock.On call

func (*MockCreateProjectOperationInterface_Expecter) Name

Name is a helper method to define mock.On call

func (*MockCreateProjectOperationInterface_Expecter) Wait

Wait is a helper method to define mock.On call

  • ctx context.Context
  • opts ...api.Option

type MockCreateProjectOperationInterface_Metadata_Call

type MockCreateProjectOperationInterface_Metadata_Call struct {
	*mock.Call
}

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

func (*MockCreateProjectOperationInterface_Metadata_Call) Return

func (*MockCreateProjectOperationInterface_Metadata_Call) Run

func (*MockCreateProjectOperationInterface_Metadata_Call) RunAndReturn

type MockCreateProjectOperationInterface_Name_Call

type MockCreateProjectOperationInterface_Name_Call struct {
	*mock.Call
}

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

func (*MockCreateProjectOperationInterface_Name_Call) Return

func (*MockCreateProjectOperationInterface_Name_Call) Run

func (*MockCreateProjectOperationInterface_Name_Call) RunAndReturn

type MockCreateProjectOperationInterface_Wait_Call

type MockCreateProjectOperationInterface_Wait_Call struct {
	*mock.Call
}

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

func (*MockCreateProjectOperationInterface_Wait_Call) Return

func (*MockCreateProjectOperationInterface_Wait_Call) Run

func (*MockCreateProjectOperationInterface_Wait_Call) RunAndReturn

type MockPostgresInterface

type MockPostgresInterface struct {
	mock.Mock
}

MockPostgresInterface is an autogenerated mock type for the PostgresInterface type

func NewMockPostgresInterface

func NewMockPostgresInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockPostgresInterface

NewMockPostgresInterface creates a new instance of MockPostgresInterface. 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 (*MockPostgresInterface) CreateBranch

CreateBranch provides a mock function with given fields: ctx, request

func (*MockPostgresInterface) CreateEndpoint

CreateEndpoint provides a mock function with given fields: ctx, request

func (*MockPostgresInterface) CreateProject

CreateProject provides a mock function with given fields: ctx, request

func (*MockPostgresInterface) DeleteBranch

func (_m *MockPostgresInterface) DeleteBranch(ctx context.Context, request postgres.DeleteBranchRequest) error

DeleteBranch provides a mock function with given fields: ctx, request

func (*MockPostgresInterface) DeleteEndpoint

func (_m *MockPostgresInterface) DeleteEndpoint(ctx context.Context, request postgres.DeleteEndpointRequest) error

DeleteEndpoint provides a mock function with given fields: ctx, request

func (*MockPostgresInterface) DeleteProject

func (_m *MockPostgresInterface) DeleteProject(ctx context.Context, request postgres.DeleteProjectRequest) error

DeleteProject provides a mock function with given fields: ctx, request

func (*MockPostgresInterface) EXPECT

func (*MockPostgresInterface) GetBranch

GetBranch provides a mock function with given fields: ctx, request

func (*MockPostgresInterface) GetEndpoint

GetEndpoint provides a mock function with given fields: ctx, request

func (*MockPostgresInterface) GetOperation

GetOperation provides a mock function with given fields: ctx, request

func (*MockPostgresInterface) GetProject

GetProject provides a mock function with given fields: ctx, request

func (*MockPostgresInterface) ListBranches

ListBranches provides a mock function with given fields: ctx, request

func (*MockPostgresInterface) ListBranchesAll

func (_m *MockPostgresInterface) ListBranchesAll(ctx context.Context, request postgres.ListBranchesRequest) ([]postgres.Branch, error)

ListBranchesAll provides a mock function with given fields: ctx, request

func (*MockPostgresInterface) ListEndpoints

ListEndpoints provides a mock function with given fields: ctx, request

func (*MockPostgresInterface) ListEndpointsAll

func (_m *MockPostgresInterface) ListEndpointsAll(ctx context.Context, request postgres.ListEndpointsRequest) ([]postgres.Endpoint, error)

ListEndpointsAll provides a mock function with given fields: ctx, request

func (*MockPostgresInterface) ListProjects

ListProjects provides a mock function with given fields: ctx, request

func (*MockPostgresInterface) ListProjectsAll

func (_m *MockPostgresInterface) ListProjectsAll(ctx context.Context, request postgres.ListProjectsRequest) ([]postgres.Project, error)

ListProjectsAll provides a mock function with given fields: ctx, request

func (*MockPostgresInterface) UpdateBranch

UpdateBranch provides a mock function with given fields: ctx, request

func (*MockPostgresInterface) UpdateEndpoint

UpdateEndpoint provides a mock function with given fields: ctx, request

func (*MockPostgresInterface) UpdateProject

UpdateProject provides a mock function with given fields: ctx, request

type MockPostgresInterface_CreateBranch_Call

type MockPostgresInterface_CreateBranch_Call struct {
	*mock.Call
}

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

func (*MockPostgresInterface_CreateBranch_Call) Run

type MockPostgresInterface_CreateEndpoint_Call

type MockPostgresInterface_CreateEndpoint_Call struct {
	*mock.Call
}

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

func (*MockPostgresInterface_CreateEndpoint_Call) Run

type MockPostgresInterface_CreateProject_Call

type MockPostgresInterface_CreateProject_Call struct {
	*mock.Call
}

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

func (*MockPostgresInterface_CreateProject_Call) Run

type MockPostgresInterface_DeleteBranch_Call

type MockPostgresInterface_DeleteBranch_Call struct {
	*mock.Call
}

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

func (*MockPostgresInterface_DeleteBranch_Call) Return

func (*MockPostgresInterface_DeleteBranch_Call) Run

func (*MockPostgresInterface_DeleteBranch_Call) RunAndReturn

type MockPostgresInterface_DeleteEndpoint_Call

type MockPostgresInterface_DeleteEndpoint_Call struct {
	*mock.Call
}

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

func (*MockPostgresInterface_DeleteEndpoint_Call) Return

func (*MockPostgresInterface_DeleteEndpoint_Call) Run

func (*MockPostgresInterface_DeleteEndpoint_Call) RunAndReturn

type MockPostgresInterface_DeleteProject_Call

type MockPostgresInterface_DeleteProject_Call struct {
	*mock.Call
}

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

func (*MockPostgresInterface_DeleteProject_Call) Return

func (*MockPostgresInterface_DeleteProject_Call) Run

func (*MockPostgresInterface_DeleteProject_Call) RunAndReturn

type MockPostgresInterface_Expecter

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

func (*MockPostgresInterface_Expecter) CreateBranch

func (_e *MockPostgresInterface_Expecter) CreateBranch(ctx interface{}, request interface{}) *MockPostgresInterface_CreateBranch_Call

CreateBranch is a helper method to define mock.On call

  • ctx context.Context
  • request postgres.CreateBranchRequest

func (*MockPostgresInterface_Expecter) CreateEndpoint

func (_e *MockPostgresInterface_Expecter) CreateEndpoint(ctx interface{}, request interface{}) *MockPostgresInterface_CreateEndpoint_Call

CreateEndpoint is a helper method to define mock.On call

  • ctx context.Context
  • request postgres.CreateEndpointRequest

func (*MockPostgresInterface_Expecter) CreateProject

func (_e *MockPostgresInterface_Expecter) CreateProject(ctx interface{}, request interface{}) *MockPostgresInterface_CreateProject_Call

CreateProject is a helper method to define mock.On call

  • ctx context.Context
  • request postgres.CreateProjectRequest

func (*MockPostgresInterface_Expecter) DeleteBranch

func (_e *MockPostgresInterface_Expecter) DeleteBranch(ctx interface{}, request interface{}) *MockPostgresInterface_DeleteBranch_Call

DeleteBranch is a helper method to define mock.On call

  • ctx context.Context
  • request postgres.DeleteBranchRequest

func (*MockPostgresInterface_Expecter) DeleteEndpoint

func (_e *MockPostgresInterface_Expecter) DeleteEndpoint(ctx interface{}, request interface{}) *MockPostgresInterface_DeleteEndpoint_Call

DeleteEndpoint is a helper method to define mock.On call

  • ctx context.Context
  • request postgres.DeleteEndpointRequest

func (*MockPostgresInterface_Expecter) DeleteProject

func (_e *MockPostgresInterface_Expecter) DeleteProject(ctx interface{}, request interface{}) *MockPostgresInterface_DeleteProject_Call

DeleteProject is a helper method to define mock.On call

  • ctx context.Context
  • request postgres.DeleteProjectRequest

func (*MockPostgresInterface_Expecter) GetBranch

func (_e *MockPostgresInterface_Expecter) GetBranch(ctx interface{}, request interface{}) *MockPostgresInterface_GetBranch_Call

GetBranch is a helper method to define mock.On call

  • ctx context.Context
  • request postgres.GetBranchRequest

func (*MockPostgresInterface_Expecter) GetEndpoint

func (_e *MockPostgresInterface_Expecter) GetEndpoint(ctx interface{}, request interface{}) *MockPostgresInterface_GetEndpoint_Call

GetEndpoint is a helper method to define mock.On call

  • ctx context.Context
  • request postgres.GetEndpointRequest

func (*MockPostgresInterface_Expecter) GetOperation

func (_e *MockPostgresInterface_Expecter) GetOperation(ctx interface{}, request interface{}) *MockPostgresInterface_GetOperation_Call

GetOperation is a helper method to define mock.On call

  • ctx context.Context
  • request postgres.GetOperationRequest

func (*MockPostgresInterface_Expecter) GetProject

func (_e *MockPostgresInterface_Expecter) GetProject(ctx interface{}, request interface{}) *MockPostgresInterface_GetProject_Call

GetProject is a helper method to define mock.On call

  • ctx context.Context
  • request postgres.GetProjectRequest

func (*MockPostgresInterface_Expecter) ListBranches

func (_e *MockPostgresInterface_Expecter) ListBranches(ctx interface{}, request interface{}) *MockPostgresInterface_ListBranches_Call

ListBranches is a helper method to define mock.On call

  • ctx context.Context
  • request postgres.ListBranchesRequest

func (*MockPostgresInterface_Expecter) ListBranchesAll

func (_e *MockPostgresInterface_Expecter) ListBranchesAll(ctx interface{}, request interface{}) *MockPostgresInterface_ListBranchesAll_Call

ListBranchesAll is a helper method to define mock.On call

  • ctx context.Context
  • request postgres.ListBranchesRequest

func (*MockPostgresInterface_Expecter) ListEndpoints

func (_e *MockPostgresInterface_Expecter) ListEndpoints(ctx interface{}, request interface{}) *MockPostgresInterface_ListEndpoints_Call

ListEndpoints is a helper method to define mock.On call

  • ctx context.Context
  • request postgres.ListEndpointsRequest

func (*MockPostgresInterface_Expecter) ListEndpointsAll

func (_e *MockPostgresInterface_Expecter) ListEndpointsAll(ctx interface{}, request interface{}) *MockPostgresInterface_ListEndpointsAll_Call

ListEndpointsAll is a helper method to define mock.On call

  • ctx context.Context
  • request postgres.ListEndpointsRequest

func (*MockPostgresInterface_Expecter) ListProjects

func (_e *MockPostgresInterface_Expecter) ListProjects(ctx interface{}, request interface{}) *MockPostgresInterface_ListProjects_Call

ListProjects is a helper method to define mock.On call

  • ctx context.Context
  • request postgres.ListProjectsRequest

func (*MockPostgresInterface_Expecter) ListProjectsAll

func (_e *MockPostgresInterface_Expecter) ListProjectsAll(ctx interface{}, request interface{}) *MockPostgresInterface_ListProjectsAll_Call

ListProjectsAll is a helper method to define mock.On call

  • ctx context.Context
  • request postgres.ListProjectsRequest

func (*MockPostgresInterface_Expecter) UpdateBranch

func (_e *MockPostgresInterface_Expecter) UpdateBranch(ctx interface{}, request interface{}) *MockPostgresInterface_UpdateBranch_Call

UpdateBranch is a helper method to define mock.On call

  • ctx context.Context
  • request postgres.UpdateBranchRequest

func (*MockPostgresInterface_Expecter) UpdateEndpoint

func (_e *MockPostgresInterface_Expecter) UpdateEndpoint(ctx interface{}, request interface{}) *MockPostgresInterface_UpdateEndpoint_Call

UpdateEndpoint is a helper method to define mock.On call

  • ctx context.Context
  • request postgres.UpdateEndpointRequest

func (*MockPostgresInterface_Expecter) UpdateProject

func (_e *MockPostgresInterface_Expecter) UpdateProject(ctx interface{}, request interface{}) *MockPostgresInterface_UpdateProject_Call

UpdateProject is a helper method to define mock.On call

  • ctx context.Context
  • request postgres.UpdateProjectRequest

type MockPostgresInterface_GetBranch_Call

type MockPostgresInterface_GetBranch_Call struct {
	*mock.Call
}

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

func (*MockPostgresInterface_GetBranch_Call) Return

func (*MockPostgresInterface_GetBranch_Call) Run

func (*MockPostgresInterface_GetBranch_Call) RunAndReturn

type MockPostgresInterface_GetEndpoint_Call

type MockPostgresInterface_GetEndpoint_Call struct {
	*mock.Call
}

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

func (*MockPostgresInterface_GetEndpoint_Call) Return

func (*MockPostgresInterface_GetEndpoint_Call) Run

type MockPostgresInterface_GetOperation_Call

type MockPostgresInterface_GetOperation_Call struct {
	*mock.Call
}

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

func (*MockPostgresInterface_GetOperation_Call) Return

func (*MockPostgresInterface_GetOperation_Call) Run

type MockPostgresInterface_GetProject_Call

type MockPostgresInterface_GetProject_Call struct {
	*mock.Call
}

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

func (*MockPostgresInterface_GetProject_Call) Return

func (*MockPostgresInterface_GetProject_Call) Run

func (*MockPostgresInterface_GetProject_Call) RunAndReturn

type MockPostgresInterface_ListBranchesAll_Call

type MockPostgresInterface_ListBranchesAll_Call struct {
	*mock.Call
}

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

func (*MockPostgresInterface_ListBranchesAll_Call) Return

func (*MockPostgresInterface_ListBranchesAll_Call) Run

type MockPostgresInterface_ListBranches_Call

type MockPostgresInterface_ListBranches_Call struct {
	*mock.Call
}

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

func (*MockPostgresInterface_ListBranches_Call) Return

func (*MockPostgresInterface_ListBranches_Call) Run

type MockPostgresInterface_ListEndpointsAll_Call

type MockPostgresInterface_ListEndpointsAll_Call struct {
	*mock.Call
}

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

func (*MockPostgresInterface_ListEndpointsAll_Call) Return

func (*MockPostgresInterface_ListEndpointsAll_Call) Run

type MockPostgresInterface_ListEndpoints_Call

type MockPostgresInterface_ListEndpoints_Call struct {
	*mock.Call
}

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

func (*MockPostgresInterface_ListEndpoints_Call) Return

func (*MockPostgresInterface_ListEndpoints_Call) Run

type MockPostgresInterface_ListProjectsAll_Call

type MockPostgresInterface_ListProjectsAll_Call struct {
	*mock.Call
}

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

func (*MockPostgresInterface_ListProjectsAll_Call) Return

func (*MockPostgresInterface_ListProjectsAll_Call) Run

type MockPostgresInterface_ListProjects_Call

type MockPostgresInterface_ListProjects_Call struct {
	*mock.Call
}

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

func (*MockPostgresInterface_ListProjects_Call) Return

func (*MockPostgresInterface_ListProjects_Call) Run

type MockPostgresInterface_UpdateBranch_Call

type MockPostgresInterface_UpdateBranch_Call struct {
	*mock.Call
}

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

func (*MockPostgresInterface_UpdateBranch_Call) Run

type MockPostgresInterface_UpdateEndpoint_Call

type MockPostgresInterface_UpdateEndpoint_Call struct {
	*mock.Call
}

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

func (*MockPostgresInterface_UpdateEndpoint_Call) Run

type MockPostgresInterface_UpdateProject_Call

type MockPostgresInterface_UpdateProject_Call struct {
	*mock.Call
}

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

func (*MockPostgresInterface_UpdateProject_Call) Run

type MockUpdateBranchOperationInterface

type MockUpdateBranchOperationInterface struct {
	mock.Mock
}

MockUpdateBranchOperationInterface is an autogenerated mock type for the UpdateBranchOperationInterface type

func NewMockUpdateBranchOperationInterface

func NewMockUpdateBranchOperationInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockUpdateBranchOperationInterface

NewMockUpdateBranchOperationInterface creates a new instance of MockUpdateBranchOperationInterface. 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 (*MockUpdateBranchOperationInterface) Done

Done provides a mock function with no fields

func (*MockUpdateBranchOperationInterface) EXPECT

func (*MockUpdateBranchOperationInterface) Metadata

Metadata provides a mock function with no fields

func (*MockUpdateBranchOperationInterface) Name

Name provides a mock function with no fields

func (*MockUpdateBranchOperationInterface) Wait

Wait provides a mock function with given fields: ctx, opts

type MockUpdateBranchOperationInterface_Done_Call

type MockUpdateBranchOperationInterface_Done_Call struct {
	*mock.Call
}

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

func (*MockUpdateBranchOperationInterface_Done_Call) Return

func (*MockUpdateBranchOperationInterface_Done_Call) Run

func (*MockUpdateBranchOperationInterface_Done_Call) RunAndReturn

type MockUpdateBranchOperationInterface_Expecter

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

func (*MockUpdateBranchOperationInterface_Expecter) Done

Done is a helper method to define mock.On call

func (*MockUpdateBranchOperationInterface_Expecter) Metadata

Metadata is a helper method to define mock.On call

func (*MockUpdateBranchOperationInterface_Expecter) Name

Name is a helper method to define mock.On call

func (*MockUpdateBranchOperationInterface_Expecter) Wait

func (_e *MockUpdateBranchOperationInterface_Expecter) Wait(ctx interface{}, opts ...interface{}) *MockUpdateBranchOperationInterface_Wait_Call

Wait is a helper method to define mock.On call

  • ctx context.Context
  • opts ...api.Option

type MockUpdateBranchOperationInterface_Metadata_Call

type MockUpdateBranchOperationInterface_Metadata_Call struct {
	*mock.Call
}

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

func (*MockUpdateBranchOperationInterface_Metadata_Call) Return

func (*MockUpdateBranchOperationInterface_Metadata_Call) Run

func (*MockUpdateBranchOperationInterface_Metadata_Call) RunAndReturn

type MockUpdateBranchOperationInterface_Name_Call

type MockUpdateBranchOperationInterface_Name_Call struct {
	*mock.Call
}

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

func (*MockUpdateBranchOperationInterface_Name_Call) Return

func (*MockUpdateBranchOperationInterface_Name_Call) Run

func (*MockUpdateBranchOperationInterface_Name_Call) RunAndReturn

type MockUpdateBranchOperationInterface_Wait_Call

type MockUpdateBranchOperationInterface_Wait_Call struct {
	*mock.Call
}

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

func (*MockUpdateBranchOperationInterface_Wait_Call) Return

func (*MockUpdateBranchOperationInterface_Wait_Call) Run

func (*MockUpdateBranchOperationInterface_Wait_Call) RunAndReturn

type MockUpdateEndpointOperationInterface

type MockUpdateEndpointOperationInterface struct {
	mock.Mock
}

MockUpdateEndpointOperationInterface is an autogenerated mock type for the UpdateEndpointOperationInterface type

func NewMockUpdateEndpointOperationInterface

func NewMockUpdateEndpointOperationInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockUpdateEndpointOperationInterface

NewMockUpdateEndpointOperationInterface creates a new instance of MockUpdateEndpointOperationInterface. 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 (*MockUpdateEndpointOperationInterface) Done

Done provides a mock function with no fields

func (*MockUpdateEndpointOperationInterface) EXPECT

func (*MockUpdateEndpointOperationInterface) Metadata

Metadata provides a mock function with no fields

func (*MockUpdateEndpointOperationInterface) Name

Name provides a mock function with no fields

func (*MockUpdateEndpointOperationInterface) Wait

Wait provides a mock function with given fields: ctx, opts

type MockUpdateEndpointOperationInterface_Done_Call

type MockUpdateEndpointOperationInterface_Done_Call struct {
	*mock.Call
}

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

func (*MockUpdateEndpointOperationInterface_Done_Call) Return

func (*MockUpdateEndpointOperationInterface_Done_Call) Run

func (*MockUpdateEndpointOperationInterface_Done_Call) RunAndReturn

type MockUpdateEndpointOperationInterface_Expecter

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

func (*MockUpdateEndpointOperationInterface_Expecter) Done

Done is a helper method to define mock.On call

func (*MockUpdateEndpointOperationInterface_Expecter) Metadata

Metadata is a helper method to define mock.On call

func (*MockUpdateEndpointOperationInterface_Expecter) Name

Name is a helper method to define mock.On call

func (*MockUpdateEndpointOperationInterface_Expecter) Wait

Wait is a helper method to define mock.On call

  • ctx context.Context
  • opts ...api.Option

type MockUpdateEndpointOperationInterface_Metadata_Call

type MockUpdateEndpointOperationInterface_Metadata_Call struct {
	*mock.Call
}

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

func (*MockUpdateEndpointOperationInterface_Metadata_Call) Run

func (*MockUpdateEndpointOperationInterface_Metadata_Call) RunAndReturn

type MockUpdateEndpointOperationInterface_Name_Call

type MockUpdateEndpointOperationInterface_Name_Call struct {
	*mock.Call
}

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

func (*MockUpdateEndpointOperationInterface_Name_Call) Return

func (*MockUpdateEndpointOperationInterface_Name_Call) Run

func (*MockUpdateEndpointOperationInterface_Name_Call) RunAndReturn

type MockUpdateEndpointOperationInterface_Wait_Call

type MockUpdateEndpointOperationInterface_Wait_Call struct {
	*mock.Call
}

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

func (*MockUpdateEndpointOperationInterface_Wait_Call) Return

func (*MockUpdateEndpointOperationInterface_Wait_Call) Run

func (*MockUpdateEndpointOperationInterface_Wait_Call) RunAndReturn

type MockUpdateProjectOperationInterface

type MockUpdateProjectOperationInterface struct {
	mock.Mock
}

MockUpdateProjectOperationInterface is an autogenerated mock type for the UpdateProjectOperationInterface type

func NewMockUpdateProjectOperationInterface

func NewMockUpdateProjectOperationInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockUpdateProjectOperationInterface

NewMockUpdateProjectOperationInterface creates a new instance of MockUpdateProjectOperationInterface. 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 (*MockUpdateProjectOperationInterface) Done

Done provides a mock function with no fields

func (*MockUpdateProjectOperationInterface) EXPECT

func (*MockUpdateProjectOperationInterface) Metadata

Metadata provides a mock function with no fields

func (*MockUpdateProjectOperationInterface) Name

Name provides a mock function with no fields

func (*MockUpdateProjectOperationInterface) Wait

Wait provides a mock function with given fields: ctx, opts

type MockUpdateProjectOperationInterface_Done_Call

type MockUpdateProjectOperationInterface_Done_Call struct {
	*mock.Call
}

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

func (*MockUpdateProjectOperationInterface_Done_Call) Return

func (*MockUpdateProjectOperationInterface_Done_Call) Run

func (*MockUpdateProjectOperationInterface_Done_Call) RunAndReturn

type MockUpdateProjectOperationInterface_Expecter

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

func (*MockUpdateProjectOperationInterface_Expecter) Done

Done is a helper method to define mock.On call

func (*MockUpdateProjectOperationInterface_Expecter) Metadata

Metadata is a helper method to define mock.On call

func (*MockUpdateProjectOperationInterface_Expecter) Name

Name is a helper method to define mock.On call

func (*MockUpdateProjectOperationInterface_Expecter) Wait

Wait is a helper method to define mock.On call

  • ctx context.Context
  • opts ...api.Option

type MockUpdateProjectOperationInterface_Metadata_Call

type MockUpdateProjectOperationInterface_Metadata_Call struct {
	*mock.Call
}

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

func (*MockUpdateProjectOperationInterface_Metadata_Call) Return

func (*MockUpdateProjectOperationInterface_Metadata_Call) Run

func (*MockUpdateProjectOperationInterface_Metadata_Call) RunAndReturn

type MockUpdateProjectOperationInterface_Name_Call

type MockUpdateProjectOperationInterface_Name_Call struct {
	*mock.Call
}

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

func (*MockUpdateProjectOperationInterface_Name_Call) Return

func (*MockUpdateProjectOperationInterface_Name_Call) Run

func (*MockUpdateProjectOperationInterface_Name_Call) RunAndReturn

type MockUpdateProjectOperationInterface_Wait_Call

type MockUpdateProjectOperationInterface_Wait_Call struct {
	*mock.Call
}

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

func (*MockUpdateProjectOperationInterface_Wait_Call) Return

func (*MockUpdateProjectOperationInterface_Wait_Call) Run

func (*MockUpdateProjectOperationInterface_Wait_Call) RunAndReturn

Jump to

Keyboard shortcuts

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