Documentation
¶
Index ¶
- type MockCreateBranchOperationInterface
- func (_m *MockCreateBranchOperationInterface) Done() (bool, error)
- func (_m *MockCreateBranchOperationInterface) EXPECT() *MockCreateBranchOperationInterface_Expecter
- func (_m *MockCreateBranchOperationInterface) Metadata() (*postgres.BranchOperationMetadata, error)
- func (_m *MockCreateBranchOperationInterface) Name() string
- func (_m *MockCreateBranchOperationInterface) Wait(ctx context.Context, opts ...api.Option) (*postgres.Branch, error)
- type MockCreateBranchOperationInterface_Done_Call
- func (_c *MockCreateBranchOperationInterface_Done_Call) Return(_a0 bool, _a1 error) *MockCreateBranchOperationInterface_Done_Call
- func (_c *MockCreateBranchOperationInterface_Done_Call) Run(run func()) *MockCreateBranchOperationInterface_Done_Call
- func (_c *MockCreateBranchOperationInterface_Done_Call) RunAndReturn(run func() (bool, error)) *MockCreateBranchOperationInterface_Done_Call
- type MockCreateBranchOperationInterface_Expecter
- func (_e *MockCreateBranchOperationInterface_Expecter) Done() *MockCreateBranchOperationInterface_Done_Call
- func (_e *MockCreateBranchOperationInterface_Expecter) Metadata() *MockCreateBranchOperationInterface_Metadata_Call
- func (_e *MockCreateBranchOperationInterface_Expecter) Name() *MockCreateBranchOperationInterface_Name_Call
- func (_e *MockCreateBranchOperationInterface_Expecter) Wait(ctx interface{}, opts ...interface{}) *MockCreateBranchOperationInterface_Wait_Call
- type MockCreateBranchOperationInterface_Metadata_Call
- func (_c *MockCreateBranchOperationInterface_Metadata_Call) Return(_a0 *postgres.BranchOperationMetadata, _a1 error) *MockCreateBranchOperationInterface_Metadata_Call
- func (_c *MockCreateBranchOperationInterface_Metadata_Call) Run(run func()) *MockCreateBranchOperationInterface_Metadata_Call
- func (_c *MockCreateBranchOperationInterface_Metadata_Call) RunAndReturn(run func() (*postgres.BranchOperationMetadata, error)) *MockCreateBranchOperationInterface_Metadata_Call
- type MockCreateBranchOperationInterface_Name_Call
- func (_c *MockCreateBranchOperationInterface_Name_Call) Return(_a0 string) *MockCreateBranchOperationInterface_Name_Call
- func (_c *MockCreateBranchOperationInterface_Name_Call) Run(run func()) *MockCreateBranchOperationInterface_Name_Call
- func (_c *MockCreateBranchOperationInterface_Name_Call) RunAndReturn(run func() string) *MockCreateBranchOperationInterface_Name_Call
- type MockCreateBranchOperationInterface_Wait_Call
- func (_c *MockCreateBranchOperationInterface_Wait_Call) Return(_a0 *postgres.Branch, _a1 error) *MockCreateBranchOperationInterface_Wait_Call
- func (_c *MockCreateBranchOperationInterface_Wait_Call) Run(run func(ctx context.Context, opts ...api.Option)) *MockCreateBranchOperationInterface_Wait_Call
- func (_c *MockCreateBranchOperationInterface_Wait_Call) RunAndReturn(run func(context.Context, ...api.Option) (*postgres.Branch, error)) *MockCreateBranchOperationInterface_Wait_Call
- type MockCreateEndpointOperationInterface
- func (_m *MockCreateEndpointOperationInterface) Done() (bool, error)
- func (_m *MockCreateEndpointOperationInterface) EXPECT() *MockCreateEndpointOperationInterface_Expecter
- func (_m *MockCreateEndpointOperationInterface) Metadata() (*postgres.EndpointOperationMetadata, error)
- func (_m *MockCreateEndpointOperationInterface) Name() string
- func (_m *MockCreateEndpointOperationInterface) Wait(ctx context.Context, opts ...api.Option) (*postgres.Endpoint, error)
- type MockCreateEndpointOperationInterface_Done_Call
- func (_c *MockCreateEndpointOperationInterface_Done_Call) Return(_a0 bool, _a1 error) *MockCreateEndpointOperationInterface_Done_Call
- func (_c *MockCreateEndpointOperationInterface_Done_Call) Run(run func()) *MockCreateEndpointOperationInterface_Done_Call
- func (_c *MockCreateEndpointOperationInterface_Done_Call) RunAndReturn(run func() (bool, error)) *MockCreateEndpointOperationInterface_Done_Call
- type MockCreateEndpointOperationInterface_Expecter
- func (_e *MockCreateEndpointOperationInterface_Expecter) Done() *MockCreateEndpointOperationInterface_Done_Call
- func (_e *MockCreateEndpointOperationInterface_Expecter) Metadata() *MockCreateEndpointOperationInterface_Metadata_Call
- func (_e *MockCreateEndpointOperationInterface_Expecter) Name() *MockCreateEndpointOperationInterface_Name_Call
- func (_e *MockCreateEndpointOperationInterface_Expecter) Wait(ctx interface{}, opts ...interface{}) *MockCreateEndpointOperationInterface_Wait_Call
- type MockCreateEndpointOperationInterface_Metadata_Call
- func (_c *MockCreateEndpointOperationInterface_Metadata_Call) Return(_a0 *postgres.EndpointOperationMetadata, _a1 error) *MockCreateEndpointOperationInterface_Metadata_Call
- func (_c *MockCreateEndpointOperationInterface_Metadata_Call) Run(run func()) *MockCreateEndpointOperationInterface_Metadata_Call
- func (_c *MockCreateEndpointOperationInterface_Metadata_Call) RunAndReturn(run func() (*postgres.EndpointOperationMetadata, error)) *MockCreateEndpointOperationInterface_Metadata_Call
- type MockCreateEndpointOperationInterface_Name_Call
- func (_c *MockCreateEndpointOperationInterface_Name_Call) Return(_a0 string) *MockCreateEndpointOperationInterface_Name_Call
- func (_c *MockCreateEndpointOperationInterface_Name_Call) Run(run func()) *MockCreateEndpointOperationInterface_Name_Call
- func (_c *MockCreateEndpointOperationInterface_Name_Call) RunAndReturn(run func() string) *MockCreateEndpointOperationInterface_Name_Call
- type MockCreateEndpointOperationInterface_Wait_Call
- func (_c *MockCreateEndpointOperationInterface_Wait_Call) Return(_a0 *postgres.Endpoint, _a1 error) *MockCreateEndpointOperationInterface_Wait_Call
- func (_c *MockCreateEndpointOperationInterface_Wait_Call) Run(run func(ctx context.Context, opts ...api.Option)) *MockCreateEndpointOperationInterface_Wait_Call
- func (_c *MockCreateEndpointOperationInterface_Wait_Call) RunAndReturn(run func(context.Context, ...api.Option) (*postgres.Endpoint, error)) *MockCreateEndpointOperationInterface_Wait_Call
- type MockCreateProjectOperationInterface
- func (_m *MockCreateProjectOperationInterface) Done() (bool, error)
- func (_m *MockCreateProjectOperationInterface) EXPECT() *MockCreateProjectOperationInterface_Expecter
- func (_m *MockCreateProjectOperationInterface) Metadata() (*postgres.ProjectOperationMetadata, error)
- func (_m *MockCreateProjectOperationInterface) Name() string
- func (_m *MockCreateProjectOperationInterface) Wait(ctx context.Context, opts ...api.Option) (*postgres.Project, error)
- type MockCreateProjectOperationInterface_Done_Call
- func (_c *MockCreateProjectOperationInterface_Done_Call) Return(_a0 bool, _a1 error) *MockCreateProjectOperationInterface_Done_Call
- func (_c *MockCreateProjectOperationInterface_Done_Call) Run(run func()) *MockCreateProjectOperationInterface_Done_Call
- func (_c *MockCreateProjectOperationInterface_Done_Call) RunAndReturn(run func() (bool, error)) *MockCreateProjectOperationInterface_Done_Call
- type MockCreateProjectOperationInterface_Expecter
- func (_e *MockCreateProjectOperationInterface_Expecter) Done() *MockCreateProjectOperationInterface_Done_Call
- func (_e *MockCreateProjectOperationInterface_Expecter) Metadata() *MockCreateProjectOperationInterface_Metadata_Call
- func (_e *MockCreateProjectOperationInterface_Expecter) Name() *MockCreateProjectOperationInterface_Name_Call
- func (_e *MockCreateProjectOperationInterface_Expecter) Wait(ctx interface{}, opts ...interface{}) *MockCreateProjectOperationInterface_Wait_Call
- type MockCreateProjectOperationInterface_Metadata_Call
- func (_c *MockCreateProjectOperationInterface_Metadata_Call) Return(_a0 *postgres.ProjectOperationMetadata, _a1 error) *MockCreateProjectOperationInterface_Metadata_Call
- func (_c *MockCreateProjectOperationInterface_Metadata_Call) Run(run func()) *MockCreateProjectOperationInterface_Metadata_Call
- func (_c *MockCreateProjectOperationInterface_Metadata_Call) RunAndReturn(run func() (*postgres.ProjectOperationMetadata, error)) *MockCreateProjectOperationInterface_Metadata_Call
- type MockCreateProjectOperationInterface_Name_Call
- func (_c *MockCreateProjectOperationInterface_Name_Call) Return(_a0 string) *MockCreateProjectOperationInterface_Name_Call
- func (_c *MockCreateProjectOperationInterface_Name_Call) Run(run func()) *MockCreateProjectOperationInterface_Name_Call
- func (_c *MockCreateProjectOperationInterface_Name_Call) RunAndReturn(run func() string) *MockCreateProjectOperationInterface_Name_Call
- type MockCreateProjectOperationInterface_Wait_Call
- func (_c *MockCreateProjectOperationInterface_Wait_Call) Return(_a0 *postgres.Project, _a1 error) *MockCreateProjectOperationInterface_Wait_Call
- func (_c *MockCreateProjectOperationInterface_Wait_Call) Run(run func(ctx context.Context, opts ...api.Option)) *MockCreateProjectOperationInterface_Wait_Call
- func (_c *MockCreateProjectOperationInterface_Wait_Call) RunAndReturn(run func(context.Context, ...api.Option) (*postgres.Project, error)) *MockCreateProjectOperationInterface_Wait_Call
- type MockPostgresInterface
- func (_m *MockPostgresInterface) CreateBranch(ctx context.Context, request postgres.CreateBranchRequest) (postgres.CreateBranchOperationInterface, error)
- func (_m *MockPostgresInterface) CreateEndpoint(ctx context.Context, request postgres.CreateEndpointRequest) (postgres.CreateEndpointOperationInterface, error)
- func (_m *MockPostgresInterface) CreateProject(ctx context.Context, request postgres.CreateProjectRequest) (postgres.CreateProjectOperationInterface, error)
- func (_m *MockPostgresInterface) DeleteBranch(ctx context.Context, request postgres.DeleteBranchRequest) error
- func (_m *MockPostgresInterface) DeleteEndpoint(ctx context.Context, request postgres.DeleteEndpointRequest) error
- func (_m *MockPostgresInterface) DeleteProject(ctx context.Context, request postgres.DeleteProjectRequest) error
- func (_m *MockPostgresInterface) EXPECT() *MockPostgresInterface_Expecter
- func (_m *MockPostgresInterface) GetBranch(ctx context.Context, request postgres.GetBranchRequest) (*postgres.Branch, error)
- func (_m *MockPostgresInterface) GetEndpoint(ctx context.Context, request postgres.GetEndpointRequest) (*postgres.Endpoint, error)
- func (_m *MockPostgresInterface) GetOperation(ctx context.Context, request postgres.GetOperationRequest) (*postgres.Operation, error)
- func (_m *MockPostgresInterface) GetProject(ctx context.Context, request postgres.GetProjectRequest) (*postgres.Project, error)
- func (_m *MockPostgresInterface) ListBranches(ctx context.Context, request postgres.ListBranchesRequest) listing.Iterator[postgres.Branch]
- func (_m *MockPostgresInterface) ListBranchesAll(ctx context.Context, request postgres.ListBranchesRequest) ([]postgres.Branch, error)
- func (_m *MockPostgresInterface) ListEndpoints(ctx context.Context, request postgres.ListEndpointsRequest) listing.Iterator[postgres.Endpoint]
- func (_m *MockPostgresInterface) ListEndpointsAll(ctx context.Context, request postgres.ListEndpointsRequest) ([]postgres.Endpoint, error)
- func (_m *MockPostgresInterface) ListProjects(ctx context.Context, request postgres.ListProjectsRequest) listing.Iterator[postgres.Project]
- func (_m *MockPostgresInterface) ListProjectsAll(ctx context.Context, request postgres.ListProjectsRequest) ([]postgres.Project, error)
- func (_m *MockPostgresInterface) UpdateBranch(ctx context.Context, request postgres.UpdateBranchRequest) (postgres.UpdateBranchOperationInterface, error)
- func (_m *MockPostgresInterface) UpdateEndpoint(ctx context.Context, request postgres.UpdateEndpointRequest) (postgres.UpdateEndpointOperationInterface, error)
- func (_m *MockPostgresInterface) UpdateProject(ctx context.Context, request postgres.UpdateProjectRequest) (postgres.UpdateProjectOperationInterface, error)
- type MockPostgresInterface_CreateBranch_Call
- func (_c *MockPostgresInterface_CreateBranch_Call) Return(_a0 postgres.CreateBranchOperationInterface, _a1 error) *MockPostgresInterface_CreateBranch_Call
- func (_c *MockPostgresInterface_CreateBranch_Call) Run(run func(ctx context.Context, request postgres.CreateBranchRequest)) *MockPostgresInterface_CreateBranch_Call
- func (_c *MockPostgresInterface_CreateBranch_Call) RunAndReturn(...) *MockPostgresInterface_CreateBranch_Call
- type MockPostgresInterface_CreateEndpoint_Call
- func (_c *MockPostgresInterface_CreateEndpoint_Call) Return(_a0 postgres.CreateEndpointOperationInterface, _a1 error) *MockPostgresInterface_CreateEndpoint_Call
- func (_c *MockPostgresInterface_CreateEndpoint_Call) Run(run func(ctx context.Context, request postgres.CreateEndpointRequest)) *MockPostgresInterface_CreateEndpoint_Call
- func (_c *MockPostgresInterface_CreateEndpoint_Call) RunAndReturn(...) *MockPostgresInterface_CreateEndpoint_Call
- type MockPostgresInterface_CreateProject_Call
- func (_c *MockPostgresInterface_CreateProject_Call) Return(_a0 postgres.CreateProjectOperationInterface, _a1 error) *MockPostgresInterface_CreateProject_Call
- func (_c *MockPostgresInterface_CreateProject_Call) Run(run func(ctx context.Context, request postgres.CreateProjectRequest)) *MockPostgresInterface_CreateProject_Call
- func (_c *MockPostgresInterface_CreateProject_Call) RunAndReturn(...) *MockPostgresInterface_CreateProject_Call
- type MockPostgresInterface_DeleteBranch_Call
- func (_c *MockPostgresInterface_DeleteBranch_Call) Return(_a0 error) *MockPostgresInterface_DeleteBranch_Call
- func (_c *MockPostgresInterface_DeleteBranch_Call) Run(run func(ctx context.Context, request postgres.DeleteBranchRequest)) *MockPostgresInterface_DeleteBranch_Call
- func (_c *MockPostgresInterface_DeleteBranch_Call) RunAndReturn(run func(context.Context, postgres.DeleteBranchRequest) error) *MockPostgresInterface_DeleteBranch_Call
- type MockPostgresInterface_DeleteEndpoint_Call
- func (_c *MockPostgresInterface_DeleteEndpoint_Call) Return(_a0 error) *MockPostgresInterface_DeleteEndpoint_Call
- func (_c *MockPostgresInterface_DeleteEndpoint_Call) Run(run func(ctx context.Context, request postgres.DeleteEndpointRequest)) *MockPostgresInterface_DeleteEndpoint_Call
- func (_c *MockPostgresInterface_DeleteEndpoint_Call) RunAndReturn(run func(context.Context, postgres.DeleteEndpointRequest) error) *MockPostgresInterface_DeleteEndpoint_Call
- type MockPostgresInterface_DeleteProject_Call
- func (_c *MockPostgresInterface_DeleteProject_Call) Return(_a0 error) *MockPostgresInterface_DeleteProject_Call
- func (_c *MockPostgresInterface_DeleteProject_Call) Run(run func(ctx context.Context, request postgres.DeleteProjectRequest)) *MockPostgresInterface_DeleteProject_Call
- func (_c *MockPostgresInterface_DeleteProject_Call) RunAndReturn(run func(context.Context, postgres.DeleteProjectRequest) error) *MockPostgresInterface_DeleteProject_Call
- type MockPostgresInterface_Expecter
- func (_e *MockPostgresInterface_Expecter) CreateBranch(ctx interface{}, request interface{}) *MockPostgresInterface_CreateBranch_Call
- func (_e *MockPostgresInterface_Expecter) CreateEndpoint(ctx interface{}, request interface{}) *MockPostgresInterface_CreateEndpoint_Call
- func (_e *MockPostgresInterface_Expecter) CreateProject(ctx interface{}, request interface{}) *MockPostgresInterface_CreateProject_Call
- func (_e *MockPostgresInterface_Expecter) DeleteBranch(ctx interface{}, request interface{}) *MockPostgresInterface_DeleteBranch_Call
- func (_e *MockPostgresInterface_Expecter) DeleteEndpoint(ctx interface{}, request interface{}) *MockPostgresInterface_DeleteEndpoint_Call
- func (_e *MockPostgresInterface_Expecter) DeleteProject(ctx interface{}, request interface{}) *MockPostgresInterface_DeleteProject_Call
- func (_e *MockPostgresInterface_Expecter) GetBranch(ctx interface{}, request interface{}) *MockPostgresInterface_GetBranch_Call
- func (_e *MockPostgresInterface_Expecter) GetEndpoint(ctx interface{}, request interface{}) *MockPostgresInterface_GetEndpoint_Call
- func (_e *MockPostgresInterface_Expecter) GetOperation(ctx interface{}, request interface{}) *MockPostgresInterface_GetOperation_Call
- func (_e *MockPostgresInterface_Expecter) GetProject(ctx interface{}, request interface{}) *MockPostgresInterface_GetProject_Call
- func (_e *MockPostgresInterface_Expecter) ListBranches(ctx interface{}, request interface{}) *MockPostgresInterface_ListBranches_Call
- func (_e *MockPostgresInterface_Expecter) ListBranchesAll(ctx interface{}, request interface{}) *MockPostgresInterface_ListBranchesAll_Call
- func (_e *MockPostgresInterface_Expecter) ListEndpoints(ctx interface{}, request interface{}) *MockPostgresInterface_ListEndpoints_Call
- func (_e *MockPostgresInterface_Expecter) ListEndpointsAll(ctx interface{}, request interface{}) *MockPostgresInterface_ListEndpointsAll_Call
- func (_e *MockPostgresInterface_Expecter) ListProjects(ctx interface{}, request interface{}) *MockPostgresInterface_ListProjects_Call
- func (_e *MockPostgresInterface_Expecter) ListProjectsAll(ctx interface{}, request interface{}) *MockPostgresInterface_ListProjectsAll_Call
- func (_e *MockPostgresInterface_Expecter) UpdateBranch(ctx interface{}, request interface{}) *MockPostgresInterface_UpdateBranch_Call
- func (_e *MockPostgresInterface_Expecter) UpdateEndpoint(ctx interface{}, request interface{}) *MockPostgresInterface_UpdateEndpoint_Call
- func (_e *MockPostgresInterface_Expecter) UpdateProject(ctx interface{}, request interface{}) *MockPostgresInterface_UpdateProject_Call
- type MockPostgresInterface_GetBranch_Call
- func (_c *MockPostgresInterface_GetBranch_Call) Return(_a0 *postgres.Branch, _a1 error) *MockPostgresInterface_GetBranch_Call
- func (_c *MockPostgresInterface_GetBranch_Call) Run(run func(ctx context.Context, request postgres.GetBranchRequest)) *MockPostgresInterface_GetBranch_Call
- func (_c *MockPostgresInterface_GetBranch_Call) RunAndReturn(run func(context.Context, postgres.GetBranchRequest) (*postgres.Branch, error)) *MockPostgresInterface_GetBranch_Call
- type MockPostgresInterface_GetEndpoint_Call
- func (_c *MockPostgresInterface_GetEndpoint_Call) Return(_a0 *postgres.Endpoint, _a1 error) *MockPostgresInterface_GetEndpoint_Call
- func (_c *MockPostgresInterface_GetEndpoint_Call) Run(run func(ctx context.Context, request postgres.GetEndpointRequest)) *MockPostgresInterface_GetEndpoint_Call
- func (_c *MockPostgresInterface_GetEndpoint_Call) RunAndReturn(...) *MockPostgresInterface_GetEndpoint_Call
- type MockPostgresInterface_GetOperation_Call
- func (_c *MockPostgresInterface_GetOperation_Call) Return(_a0 *postgres.Operation, _a1 error) *MockPostgresInterface_GetOperation_Call
- func (_c *MockPostgresInterface_GetOperation_Call) Run(run func(ctx context.Context, request postgres.GetOperationRequest)) *MockPostgresInterface_GetOperation_Call
- func (_c *MockPostgresInterface_GetOperation_Call) RunAndReturn(...) *MockPostgresInterface_GetOperation_Call
- type MockPostgresInterface_GetProject_Call
- func (_c *MockPostgresInterface_GetProject_Call) Return(_a0 *postgres.Project, _a1 error) *MockPostgresInterface_GetProject_Call
- func (_c *MockPostgresInterface_GetProject_Call) Run(run func(ctx context.Context, request postgres.GetProjectRequest)) *MockPostgresInterface_GetProject_Call
- func (_c *MockPostgresInterface_GetProject_Call) RunAndReturn(...) *MockPostgresInterface_GetProject_Call
- type MockPostgresInterface_ListBranchesAll_Call
- func (_c *MockPostgresInterface_ListBranchesAll_Call) Return(_a0 []postgres.Branch, _a1 error) *MockPostgresInterface_ListBranchesAll_Call
- func (_c *MockPostgresInterface_ListBranchesAll_Call) Run(run func(ctx context.Context, request postgres.ListBranchesRequest)) *MockPostgresInterface_ListBranchesAll_Call
- func (_c *MockPostgresInterface_ListBranchesAll_Call) RunAndReturn(...) *MockPostgresInterface_ListBranchesAll_Call
- type MockPostgresInterface_ListBranches_Call
- func (_c *MockPostgresInterface_ListBranches_Call) Return(_a0 listing.Iterator[postgres.Branch]) *MockPostgresInterface_ListBranches_Call
- func (_c *MockPostgresInterface_ListBranches_Call) Run(run func(ctx context.Context, request postgres.ListBranchesRequest)) *MockPostgresInterface_ListBranches_Call
- func (_c *MockPostgresInterface_ListBranches_Call) RunAndReturn(...) *MockPostgresInterface_ListBranches_Call
- type MockPostgresInterface_ListEndpointsAll_Call
- func (_c *MockPostgresInterface_ListEndpointsAll_Call) Return(_a0 []postgres.Endpoint, _a1 error) *MockPostgresInterface_ListEndpointsAll_Call
- func (_c *MockPostgresInterface_ListEndpointsAll_Call) Run(run func(ctx context.Context, request postgres.ListEndpointsRequest)) *MockPostgresInterface_ListEndpointsAll_Call
- func (_c *MockPostgresInterface_ListEndpointsAll_Call) RunAndReturn(...) *MockPostgresInterface_ListEndpointsAll_Call
- type MockPostgresInterface_ListEndpoints_Call
- func (_c *MockPostgresInterface_ListEndpoints_Call) Return(_a0 listing.Iterator[postgres.Endpoint]) *MockPostgresInterface_ListEndpoints_Call
- func (_c *MockPostgresInterface_ListEndpoints_Call) Run(run func(ctx context.Context, request postgres.ListEndpointsRequest)) *MockPostgresInterface_ListEndpoints_Call
- func (_c *MockPostgresInterface_ListEndpoints_Call) RunAndReturn(...) *MockPostgresInterface_ListEndpoints_Call
- type MockPostgresInterface_ListProjectsAll_Call
- func (_c *MockPostgresInterface_ListProjectsAll_Call) Return(_a0 []postgres.Project, _a1 error) *MockPostgresInterface_ListProjectsAll_Call
- func (_c *MockPostgresInterface_ListProjectsAll_Call) Run(run func(ctx context.Context, request postgres.ListProjectsRequest)) *MockPostgresInterface_ListProjectsAll_Call
- func (_c *MockPostgresInterface_ListProjectsAll_Call) RunAndReturn(...) *MockPostgresInterface_ListProjectsAll_Call
- type MockPostgresInterface_ListProjects_Call
- func (_c *MockPostgresInterface_ListProjects_Call) Return(_a0 listing.Iterator[postgres.Project]) *MockPostgresInterface_ListProjects_Call
- func (_c *MockPostgresInterface_ListProjects_Call) Run(run func(ctx context.Context, request postgres.ListProjectsRequest)) *MockPostgresInterface_ListProjects_Call
- func (_c *MockPostgresInterface_ListProjects_Call) RunAndReturn(...) *MockPostgresInterface_ListProjects_Call
- type MockPostgresInterface_UpdateBranch_Call
- func (_c *MockPostgresInterface_UpdateBranch_Call) Return(_a0 postgres.UpdateBranchOperationInterface, _a1 error) *MockPostgresInterface_UpdateBranch_Call
- func (_c *MockPostgresInterface_UpdateBranch_Call) Run(run func(ctx context.Context, request postgres.UpdateBranchRequest)) *MockPostgresInterface_UpdateBranch_Call
- func (_c *MockPostgresInterface_UpdateBranch_Call) RunAndReturn(...) *MockPostgresInterface_UpdateBranch_Call
- type MockPostgresInterface_UpdateEndpoint_Call
- func (_c *MockPostgresInterface_UpdateEndpoint_Call) Return(_a0 postgres.UpdateEndpointOperationInterface, _a1 error) *MockPostgresInterface_UpdateEndpoint_Call
- func (_c *MockPostgresInterface_UpdateEndpoint_Call) Run(run func(ctx context.Context, request postgres.UpdateEndpointRequest)) *MockPostgresInterface_UpdateEndpoint_Call
- func (_c *MockPostgresInterface_UpdateEndpoint_Call) RunAndReturn(...) *MockPostgresInterface_UpdateEndpoint_Call
- type MockPostgresInterface_UpdateProject_Call
- func (_c *MockPostgresInterface_UpdateProject_Call) Return(_a0 postgres.UpdateProjectOperationInterface, _a1 error) *MockPostgresInterface_UpdateProject_Call
- func (_c *MockPostgresInterface_UpdateProject_Call) Run(run func(ctx context.Context, request postgres.UpdateProjectRequest)) *MockPostgresInterface_UpdateProject_Call
- func (_c *MockPostgresInterface_UpdateProject_Call) RunAndReturn(...) *MockPostgresInterface_UpdateProject_Call
- type MockUpdateBranchOperationInterface
- func (_m *MockUpdateBranchOperationInterface) Done() (bool, error)
- func (_m *MockUpdateBranchOperationInterface) EXPECT() *MockUpdateBranchOperationInterface_Expecter
- func (_m *MockUpdateBranchOperationInterface) Metadata() (*postgres.BranchOperationMetadata, error)
- func (_m *MockUpdateBranchOperationInterface) Name() string
- func (_m *MockUpdateBranchOperationInterface) Wait(ctx context.Context, opts ...api.Option) (*postgres.Branch, error)
- type MockUpdateBranchOperationInterface_Done_Call
- func (_c *MockUpdateBranchOperationInterface_Done_Call) Return(_a0 bool, _a1 error) *MockUpdateBranchOperationInterface_Done_Call
- func (_c *MockUpdateBranchOperationInterface_Done_Call) Run(run func()) *MockUpdateBranchOperationInterface_Done_Call
- func (_c *MockUpdateBranchOperationInterface_Done_Call) RunAndReturn(run func() (bool, error)) *MockUpdateBranchOperationInterface_Done_Call
- type MockUpdateBranchOperationInterface_Expecter
- func (_e *MockUpdateBranchOperationInterface_Expecter) Done() *MockUpdateBranchOperationInterface_Done_Call
- func (_e *MockUpdateBranchOperationInterface_Expecter) Metadata() *MockUpdateBranchOperationInterface_Metadata_Call
- func (_e *MockUpdateBranchOperationInterface_Expecter) Name() *MockUpdateBranchOperationInterface_Name_Call
- func (_e *MockUpdateBranchOperationInterface_Expecter) Wait(ctx interface{}, opts ...interface{}) *MockUpdateBranchOperationInterface_Wait_Call
- type MockUpdateBranchOperationInterface_Metadata_Call
- func (_c *MockUpdateBranchOperationInterface_Metadata_Call) Return(_a0 *postgres.BranchOperationMetadata, _a1 error) *MockUpdateBranchOperationInterface_Metadata_Call
- func (_c *MockUpdateBranchOperationInterface_Metadata_Call) Run(run func()) *MockUpdateBranchOperationInterface_Metadata_Call
- func (_c *MockUpdateBranchOperationInterface_Metadata_Call) RunAndReturn(run func() (*postgres.BranchOperationMetadata, error)) *MockUpdateBranchOperationInterface_Metadata_Call
- type MockUpdateBranchOperationInterface_Name_Call
- func (_c *MockUpdateBranchOperationInterface_Name_Call) Return(_a0 string) *MockUpdateBranchOperationInterface_Name_Call
- func (_c *MockUpdateBranchOperationInterface_Name_Call) Run(run func()) *MockUpdateBranchOperationInterface_Name_Call
- func (_c *MockUpdateBranchOperationInterface_Name_Call) RunAndReturn(run func() string) *MockUpdateBranchOperationInterface_Name_Call
- type MockUpdateBranchOperationInterface_Wait_Call
- func (_c *MockUpdateBranchOperationInterface_Wait_Call) Return(_a0 *postgres.Branch, _a1 error) *MockUpdateBranchOperationInterface_Wait_Call
- func (_c *MockUpdateBranchOperationInterface_Wait_Call) Run(run func(ctx context.Context, opts ...api.Option)) *MockUpdateBranchOperationInterface_Wait_Call
- func (_c *MockUpdateBranchOperationInterface_Wait_Call) RunAndReturn(run func(context.Context, ...api.Option) (*postgres.Branch, error)) *MockUpdateBranchOperationInterface_Wait_Call
- type MockUpdateEndpointOperationInterface
- func (_m *MockUpdateEndpointOperationInterface) Done() (bool, error)
- func (_m *MockUpdateEndpointOperationInterface) EXPECT() *MockUpdateEndpointOperationInterface_Expecter
- func (_m *MockUpdateEndpointOperationInterface) Metadata() (*postgres.EndpointOperationMetadata, error)
- func (_m *MockUpdateEndpointOperationInterface) Name() string
- func (_m *MockUpdateEndpointOperationInterface) Wait(ctx context.Context, opts ...api.Option) (*postgres.Endpoint, error)
- type MockUpdateEndpointOperationInterface_Done_Call
- func (_c *MockUpdateEndpointOperationInterface_Done_Call) Return(_a0 bool, _a1 error) *MockUpdateEndpointOperationInterface_Done_Call
- func (_c *MockUpdateEndpointOperationInterface_Done_Call) Run(run func()) *MockUpdateEndpointOperationInterface_Done_Call
- func (_c *MockUpdateEndpointOperationInterface_Done_Call) RunAndReturn(run func() (bool, error)) *MockUpdateEndpointOperationInterface_Done_Call
- type MockUpdateEndpointOperationInterface_Expecter
- func (_e *MockUpdateEndpointOperationInterface_Expecter) Done() *MockUpdateEndpointOperationInterface_Done_Call
- func (_e *MockUpdateEndpointOperationInterface_Expecter) Metadata() *MockUpdateEndpointOperationInterface_Metadata_Call
- func (_e *MockUpdateEndpointOperationInterface_Expecter) Name() *MockUpdateEndpointOperationInterface_Name_Call
- func (_e *MockUpdateEndpointOperationInterface_Expecter) Wait(ctx interface{}, opts ...interface{}) *MockUpdateEndpointOperationInterface_Wait_Call
- type MockUpdateEndpointOperationInterface_Metadata_Call
- func (_c *MockUpdateEndpointOperationInterface_Metadata_Call) Return(_a0 *postgres.EndpointOperationMetadata, _a1 error) *MockUpdateEndpointOperationInterface_Metadata_Call
- func (_c *MockUpdateEndpointOperationInterface_Metadata_Call) Run(run func()) *MockUpdateEndpointOperationInterface_Metadata_Call
- func (_c *MockUpdateEndpointOperationInterface_Metadata_Call) RunAndReturn(run func() (*postgres.EndpointOperationMetadata, error)) *MockUpdateEndpointOperationInterface_Metadata_Call
- type MockUpdateEndpointOperationInterface_Name_Call
- func (_c *MockUpdateEndpointOperationInterface_Name_Call) Return(_a0 string) *MockUpdateEndpointOperationInterface_Name_Call
- func (_c *MockUpdateEndpointOperationInterface_Name_Call) Run(run func()) *MockUpdateEndpointOperationInterface_Name_Call
- func (_c *MockUpdateEndpointOperationInterface_Name_Call) RunAndReturn(run func() string) *MockUpdateEndpointOperationInterface_Name_Call
- type MockUpdateEndpointOperationInterface_Wait_Call
- func (_c *MockUpdateEndpointOperationInterface_Wait_Call) Return(_a0 *postgres.Endpoint, _a1 error) *MockUpdateEndpointOperationInterface_Wait_Call
- func (_c *MockUpdateEndpointOperationInterface_Wait_Call) Run(run func(ctx context.Context, opts ...api.Option)) *MockUpdateEndpointOperationInterface_Wait_Call
- func (_c *MockUpdateEndpointOperationInterface_Wait_Call) RunAndReturn(run func(context.Context, ...api.Option) (*postgres.Endpoint, error)) *MockUpdateEndpointOperationInterface_Wait_Call
- type MockUpdateProjectOperationInterface
- func (_m *MockUpdateProjectOperationInterface) Done() (bool, error)
- func (_m *MockUpdateProjectOperationInterface) EXPECT() *MockUpdateProjectOperationInterface_Expecter
- func (_m *MockUpdateProjectOperationInterface) Metadata() (*postgres.ProjectOperationMetadata, error)
- func (_m *MockUpdateProjectOperationInterface) Name() string
- func (_m *MockUpdateProjectOperationInterface) Wait(ctx context.Context, opts ...api.Option) (*postgres.Project, error)
- type MockUpdateProjectOperationInterface_Done_Call
- func (_c *MockUpdateProjectOperationInterface_Done_Call) Return(_a0 bool, _a1 error) *MockUpdateProjectOperationInterface_Done_Call
- func (_c *MockUpdateProjectOperationInterface_Done_Call) Run(run func()) *MockUpdateProjectOperationInterface_Done_Call
- func (_c *MockUpdateProjectOperationInterface_Done_Call) RunAndReturn(run func() (bool, error)) *MockUpdateProjectOperationInterface_Done_Call
- type MockUpdateProjectOperationInterface_Expecter
- func (_e *MockUpdateProjectOperationInterface_Expecter) Done() *MockUpdateProjectOperationInterface_Done_Call
- func (_e *MockUpdateProjectOperationInterface_Expecter) Metadata() *MockUpdateProjectOperationInterface_Metadata_Call
- func (_e *MockUpdateProjectOperationInterface_Expecter) Name() *MockUpdateProjectOperationInterface_Name_Call
- func (_e *MockUpdateProjectOperationInterface_Expecter) Wait(ctx interface{}, opts ...interface{}) *MockUpdateProjectOperationInterface_Wait_Call
- type MockUpdateProjectOperationInterface_Metadata_Call
- func (_c *MockUpdateProjectOperationInterface_Metadata_Call) Return(_a0 *postgres.ProjectOperationMetadata, _a1 error) *MockUpdateProjectOperationInterface_Metadata_Call
- func (_c *MockUpdateProjectOperationInterface_Metadata_Call) Run(run func()) *MockUpdateProjectOperationInterface_Metadata_Call
- func (_c *MockUpdateProjectOperationInterface_Metadata_Call) RunAndReturn(run func() (*postgres.ProjectOperationMetadata, error)) *MockUpdateProjectOperationInterface_Metadata_Call
- type MockUpdateProjectOperationInterface_Name_Call
- func (_c *MockUpdateProjectOperationInterface_Name_Call) Return(_a0 string) *MockUpdateProjectOperationInterface_Name_Call
- func (_c *MockUpdateProjectOperationInterface_Name_Call) Run(run func()) *MockUpdateProjectOperationInterface_Name_Call
- func (_c *MockUpdateProjectOperationInterface_Name_Call) RunAndReturn(run func() string) *MockUpdateProjectOperationInterface_Name_Call
- type MockUpdateProjectOperationInterface_Wait_Call
- func (_c *MockUpdateProjectOperationInterface_Wait_Call) Return(_a0 *postgres.Project, _a1 error) *MockUpdateProjectOperationInterface_Wait_Call
- func (_c *MockUpdateProjectOperationInterface_Wait_Call) Run(run func(ctx context.Context, opts ...api.Option)) *MockUpdateProjectOperationInterface_Wait_Call
- func (_c *MockUpdateProjectOperationInterface_Wait_Call) RunAndReturn(run func(context.Context, ...api.Option) (*postgres.Project, error)) *MockUpdateProjectOperationInterface_Wait_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCreateBranchOperationInterface ¶
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 ¶
func (_m *MockCreateBranchOperationInterface) Done() (bool, error)
Done provides a mock function with no fields
func (*MockCreateBranchOperationInterface) EXPECT ¶
func (_m *MockCreateBranchOperationInterface) EXPECT() *MockCreateBranchOperationInterface_Expecter
func (*MockCreateBranchOperationInterface) Metadata ¶
func (_m *MockCreateBranchOperationInterface) Metadata() (*postgres.BranchOperationMetadata, error)
Metadata provides a mock function with no fields
func (*MockCreateBranchOperationInterface) Name ¶
func (_m *MockCreateBranchOperationInterface) Name() string
Name provides a mock function with no fields
type MockCreateBranchOperationInterface_Done_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 (_c *MockCreateBranchOperationInterface_Done_Call) Return(_a0 bool, _a1 error) *MockCreateBranchOperationInterface_Done_Call
func (*MockCreateBranchOperationInterface_Done_Call) Run ¶
func (_c *MockCreateBranchOperationInterface_Done_Call) Run(run func()) *MockCreateBranchOperationInterface_Done_Call
func (*MockCreateBranchOperationInterface_Done_Call) RunAndReturn ¶
func (_c *MockCreateBranchOperationInterface_Done_Call) RunAndReturn(run func() (bool, error)) *MockCreateBranchOperationInterface_Done_Call
type MockCreateBranchOperationInterface_Expecter ¶
type MockCreateBranchOperationInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockCreateBranchOperationInterface_Expecter) Done ¶
func (_e *MockCreateBranchOperationInterface_Expecter) Done() *MockCreateBranchOperationInterface_Done_Call
Done is a helper method to define mock.On call
func (*MockCreateBranchOperationInterface_Expecter) Metadata ¶
func (_e *MockCreateBranchOperationInterface_Expecter) Metadata() *MockCreateBranchOperationInterface_Metadata_Call
Metadata is a helper method to define mock.On call
func (*MockCreateBranchOperationInterface_Expecter) Name ¶
func (_e *MockCreateBranchOperationInterface_Expecter) Name() *MockCreateBranchOperationInterface_Name_Call
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 ¶
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 (_c *MockCreateBranchOperationInterface_Metadata_Call) Return(_a0 *postgres.BranchOperationMetadata, _a1 error) *MockCreateBranchOperationInterface_Metadata_Call
func (*MockCreateBranchOperationInterface_Metadata_Call) Run ¶
func (_c *MockCreateBranchOperationInterface_Metadata_Call) Run(run func()) *MockCreateBranchOperationInterface_Metadata_Call
func (*MockCreateBranchOperationInterface_Metadata_Call) RunAndReturn ¶
func (_c *MockCreateBranchOperationInterface_Metadata_Call) RunAndReturn(run func() (*postgres.BranchOperationMetadata, error)) *MockCreateBranchOperationInterface_Metadata_Call
type MockCreateBranchOperationInterface_Name_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 (_c *MockCreateBranchOperationInterface_Name_Call) Return(_a0 string) *MockCreateBranchOperationInterface_Name_Call
func (*MockCreateBranchOperationInterface_Name_Call) Run ¶
func (_c *MockCreateBranchOperationInterface_Name_Call) Run(run func()) *MockCreateBranchOperationInterface_Name_Call
func (*MockCreateBranchOperationInterface_Name_Call) RunAndReturn ¶
func (_c *MockCreateBranchOperationInterface_Name_Call) RunAndReturn(run func() string) *MockCreateBranchOperationInterface_Name_Call
type MockCreateBranchOperationInterface_Wait_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 (_c *MockCreateBranchOperationInterface_Wait_Call) Return(_a0 *postgres.Branch, _a1 error) *MockCreateBranchOperationInterface_Wait_Call
func (*MockCreateBranchOperationInterface_Wait_Call) Run ¶
func (_c *MockCreateBranchOperationInterface_Wait_Call) Run(run func(ctx context.Context, opts ...api.Option)) *MockCreateBranchOperationInterface_Wait_Call
func (*MockCreateBranchOperationInterface_Wait_Call) RunAndReturn ¶
func (_c *MockCreateBranchOperationInterface_Wait_Call) RunAndReturn(run func(context.Context, ...api.Option) (*postgres.Branch, error)) *MockCreateBranchOperationInterface_Wait_Call
type MockCreateEndpointOperationInterface ¶
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 ¶
func (_m *MockCreateEndpointOperationInterface) Done() (bool, error)
Done provides a mock function with no fields
func (*MockCreateEndpointOperationInterface) EXPECT ¶
func (_m *MockCreateEndpointOperationInterface) EXPECT() *MockCreateEndpointOperationInterface_Expecter
func (*MockCreateEndpointOperationInterface) Metadata ¶
func (_m *MockCreateEndpointOperationInterface) Metadata() (*postgres.EndpointOperationMetadata, error)
Metadata provides a mock function with no fields
func (*MockCreateEndpointOperationInterface) Name ¶
func (_m *MockCreateEndpointOperationInterface) Name() string
Name provides a mock function with no fields
type MockCreateEndpointOperationInterface_Done_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 (_c *MockCreateEndpointOperationInterface_Done_Call) Return(_a0 bool, _a1 error) *MockCreateEndpointOperationInterface_Done_Call
func (*MockCreateEndpointOperationInterface_Done_Call) Run ¶
func (_c *MockCreateEndpointOperationInterface_Done_Call) Run(run func()) *MockCreateEndpointOperationInterface_Done_Call
func (*MockCreateEndpointOperationInterface_Done_Call) RunAndReturn ¶
func (_c *MockCreateEndpointOperationInterface_Done_Call) RunAndReturn(run func() (bool, error)) *MockCreateEndpointOperationInterface_Done_Call
type MockCreateEndpointOperationInterface_Expecter ¶
type MockCreateEndpointOperationInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockCreateEndpointOperationInterface_Expecter) Done ¶
func (_e *MockCreateEndpointOperationInterface_Expecter) Done() *MockCreateEndpointOperationInterface_Done_Call
Done is a helper method to define mock.On call
func (*MockCreateEndpointOperationInterface_Expecter) Metadata ¶
func (_e *MockCreateEndpointOperationInterface_Expecter) Metadata() *MockCreateEndpointOperationInterface_Metadata_Call
Metadata is a helper method to define mock.On call
func (*MockCreateEndpointOperationInterface_Expecter) Name ¶
func (_e *MockCreateEndpointOperationInterface_Expecter) Name() *MockCreateEndpointOperationInterface_Name_Call
Name is a helper method to define mock.On call
func (*MockCreateEndpointOperationInterface_Expecter) Wait ¶
func (_e *MockCreateEndpointOperationInterface_Expecter) Wait(ctx interface{}, opts ...interface{}) *MockCreateEndpointOperationInterface_Wait_Call
Wait is a helper method to define mock.On call
- ctx context.Context
- opts ...api.Option
type MockCreateEndpointOperationInterface_Metadata_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 (_c *MockCreateEndpointOperationInterface_Metadata_Call) Run(run func()) *MockCreateEndpointOperationInterface_Metadata_Call
func (*MockCreateEndpointOperationInterface_Metadata_Call) RunAndReturn ¶
func (_c *MockCreateEndpointOperationInterface_Metadata_Call) RunAndReturn(run func() (*postgres.EndpointOperationMetadata, error)) *MockCreateEndpointOperationInterface_Metadata_Call
type MockCreateEndpointOperationInterface_Name_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 (_c *MockCreateEndpointOperationInterface_Name_Call) Return(_a0 string) *MockCreateEndpointOperationInterface_Name_Call
func (*MockCreateEndpointOperationInterface_Name_Call) Run ¶
func (_c *MockCreateEndpointOperationInterface_Name_Call) Run(run func()) *MockCreateEndpointOperationInterface_Name_Call
func (*MockCreateEndpointOperationInterface_Name_Call) RunAndReturn ¶
func (_c *MockCreateEndpointOperationInterface_Name_Call) RunAndReturn(run func() string) *MockCreateEndpointOperationInterface_Name_Call
type MockCreateEndpointOperationInterface_Wait_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 (_c *MockCreateEndpointOperationInterface_Wait_Call) Return(_a0 *postgres.Endpoint, _a1 error) *MockCreateEndpointOperationInterface_Wait_Call
func (*MockCreateEndpointOperationInterface_Wait_Call) Run ¶
func (_c *MockCreateEndpointOperationInterface_Wait_Call) Run(run func(ctx context.Context, opts ...api.Option)) *MockCreateEndpointOperationInterface_Wait_Call
func (*MockCreateEndpointOperationInterface_Wait_Call) RunAndReturn ¶
func (_c *MockCreateEndpointOperationInterface_Wait_Call) RunAndReturn(run func(context.Context, ...api.Option) (*postgres.Endpoint, error)) *MockCreateEndpointOperationInterface_Wait_Call
type MockCreateProjectOperationInterface ¶
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 ¶
func (_m *MockCreateProjectOperationInterface) Done() (bool, error)
Done provides a mock function with no fields
func (*MockCreateProjectOperationInterface) EXPECT ¶
func (_m *MockCreateProjectOperationInterface) EXPECT() *MockCreateProjectOperationInterface_Expecter
func (*MockCreateProjectOperationInterface) Metadata ¶
func (_m *MockCreateProjectOperationInterface) Metadata() (*postgres.ProjectOperationMetadata, error)
Metadata provides a mock function with no fields
func (*MockCreateProjectOperationInterface) Name ¶
func (_m *MockCreateProjectOperationInterface) Name() string
Name provides a mock function with no fields
type MockCreateProjectOperationInterface_Done_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 (_c *MockCreateProjectOperationInterface_Done_Call) Return(_a0 bool, _a1 error) *MockCreateProjectOperationInterface_Done_Call
func (*MockCreateProjectOperationInterface_Done_Call) Run ¶
func (_c *MockCreateProjectOperationInterface_Done_Call) Run(run func()) *MockCreateProjectOperationInterface_Done_Call
func (*MockCreateProjectOperationInterface_Done_Call) RunAndReturn ¶
func (_c *MockCreateProjectOperationInterface_Done_Call) RunAndReturn(run func() (bool, error)) *MockCreateProjectOperationInterface_Done_Call
type MockCreateProjectOperationInterface_Expecter ¶
type MockCreateProjectOperationInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockCreateProjectOperationInterface_Expecter) Done ¶
func (_e *MockCreateProjectOperationInterface_Expecter) Done() *MockCreateProjectOperationInterface_Done_Call
Done is a helper method to define mock.On call
func (*MockCreateProjectOperationInterface_Expecter) Metadata ¶
func (_e *MockCreateProjectOperationInterface_Expecter) Metadata() *MockCreateProjectOperationInterface_Metadata_Call
Metadata is a helper method to define mock.On call
func (*MockCreateProjectOperationInterface_Expecter) Name ¶
func (_e *MockCreateProjectOperationInterface_Expecter) Name() *MockCreateProjectOperationInterface_Name_Call
Name is a helper method to define mock.On call
func (*MockCreateProjectOperationInterface_Expecter) Wait ¶
func (_e *MockCreateProjectOperationInterface_Expecter) Wait(ctx interface{}, opts ...interface{}) *MockCreateProjectOperationInterface_Wait_Call
Wait is a helper method to define mock.On call
- ctx context.Context
- opts ...api.Option
type MockCreateProjectOperationInterface_Metadata_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 (_c *MockCreateProjectOperationInterface_Metadata_Call) Return(_a0 *postgres.ProjectOperationMetadata, _a1 error) *MockCreateProjectOperationInterface_Metadata_Call
func (*MockCreateProjectOperationInterface_Metadata_Call) Run ¶
func (_c *MockCreateProjectOperationInterface_Metadata_Call) Run(run func()) *MockCreateProjectOperationInterface_Metadata_Call
func (*MockCreateProjectOperationInterface_Metadata_Call) RunAndReturn ¶
func (_c *MockCreateProjectOperationInterface_Metadata_Call) RunAndReturn(run func() (*postgres.ProjectOperationMetadata, error)) *MockCreateProjectOperationInterface_Metadata_Call
type MockCreateProjectOperationInterface_Name_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 (_c *MockCreateProjectOperationInterface_Name_Call) Return(_a0 string) *MockCreateProjectOperationInterface_Name_Call
func (*MockCreateProjectOperationInterface_Name_Call) Run ¶
func (_c *MockCreateProjectOperationInterface_Name_Call) Run(run func()) *MockCreateProjectOperationInterface_Name_Call
func (*MockCreateProjectOperationInterface_Name_Call) RunAndReturn ¶
func (_c *MockCreateProjectOperationInterface_Name_Call) RunAndReturn(run func() string) *MockCreateProjectOperationInterface_Name_Call
type MockCreateProjectOperationInterface_Wait_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 (_c *MockCreateProjectOperationInterface_Wait_Call) Return(_a0 *postgres.Project, _a1 error) *MockCreateProjectOperationInterface_Wait_Call
func (*MockCreateProjectOperationInterface_Wait_Call) Run ¶
func (_c *MockCreateProjectOperationInterface_Wait_Call) Run(run func(ctx context.Context, opts ...api.Option)) *MockCreateProjectOperationInterface_Wait_Call
func (*MockCreateProjectOperationInterface_Wait_Call) RunAndReturn ¶
func (_c *MockCreateProjectOperationInterface_Wait_Call) RunAndReturn(run func(context.Context, ...api.Option) (*postgres.Project, error)) *MockCreateProjectOperationInterface_Wait_Call
type MockPostgresInterface ¶
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 ¶
func (_m *MockPostgresInterface) CreateBranch(ctx context.Context, request postgres.CreateBranchRequest) (postgres.CreateBranchOperationInterface, error)
CreateBranch provides a mock function with given fields: ctx, request
func (*MockPostgresInterface) CreateEndpoint ¶
func (_m *MockPostgresInterface) CreateEndpoint(ctx context.Context, request postgres.CreateEndpointRequest) (postgres.CreateEndpointOperationInterface, error)
CreateEndpoint provides a mock function with given fields: ctx, request
func (*MockPostgresInterface) CreateProject ¶
func (_m *MockPostgresInterface) CreateProject(ctx context.Context, request postgres.CreateProjectRequest) (postgres.CreateProjectOperationInterface, error)
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 (_m *MockPostgresInterface) EXPECT() *MockPostgresInterface_Expecter
func (*MockPostgresInterface) GetBranch ¶
func (_m *MockPostgresInterface) GetBranch(ctx context.Context, request postgres.GetBranchRequest) (*postgres.Branch, error)
GetBranch provides a mock function with given fields: ctx, request
func (*MockPostgresInterface) GetEndpoint ¶
func (_m *MockPostgresInterface) GetEndpoint(ctx context.Context, request postgres.GetEndpointRequest) (*postgres.Endpoint, error)
GetEndpoint provides a mock function with given fields: ctx, request
func (*MockPostgresInterface) GetOperation ¶
func (_m *MockPostgresInterface) GetOperation(ctx context.Context, request postgres.GetOperationRequest) (*postgres.Operation, error)
GetOperation provides a mock function with given fields: ctx, request
func (*MockPostgresInterface) GetProject ¶
func (_m *MockPostgresInterface) GetProject(ctx context.Context, request postgres.GetProjectRequest) (*postgres.Project, error)
GetProject provides a mock function with given fields: ctx, request
func (*MockPostgresInterface) ListBranches ¶
func (_m *MockPostgresInterface) ListBranches(ctx context.Context, request postgres.ListBranchesRequest) listing.Iterator[postgres.Branch]
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 ¶
func (_m *MockPostgresInterface) ListEndpoints(ctx context.Context, request postgres.ListEndpointsRequest) listing.Iterator[postgres.Endpoint]
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 ¶
func (_m *MockPostgresInterface) ListProjects(ctx context.Context, request postgres.ListProjectsRequest) listing.Iterator[postgres.Project]
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 ¶
func (_m *MockPostgresInterface) UpdateBranch(ctx context.Context, request postgres.UpdateBranchRequest) (postgres.UpdateBranchOperationInterface, error)
UpdateBranch provides a mock function with given fields: ctx, request
func (*MockPostgresInterface) UpdateEndpoint ¶
func (_m *MockPostgresInterface) UpdateEndpoint(ctx context.Context, request postgres.UpdateEndpointRequest) (postgres.UpdateEndpointOperationInterface, error)
UpdateEndpoint provides a mock function with given fields: ctx, request
func (*MockPostgresInterface) UpdateProject ¶
func (_m *MockPostgresInterface) UpdateProject(ctx context.Context, request postgres.UpdateProjectRequest) (postgres.UpdateProjectOperationInterface, error)
UpdateProject provides a mock function with given fields: ctx, request
type MockPostgresInterface_CreateBranch_Call ¶
MockPostgresInterface_CreateBranch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateBranch'
func (*MockPostgresInterface_CreateBranch_Call) Return ¶
func (_c *MockPostgresInterface_CreateBranch_Call) Return(_a0 postgres.CreateBranchOperationInterface, _a1 error) *MockPostgresInterface_CreateBranch_Call
func (*MockPostgresInterface_CreateBranch_Call) Run ¶
func (_c *MockPostgresInterface_CreateBranch_Call) Run(run func(ctx context.Context, request postgres.CreateBranchRequest)) *MockPostgresInterface_CreateBranch_Call
func (*MockPostgresInterface_CreateBranch_Call) RunAndReturn ¶
func (_c *MockPostgresInterface_CreateBranch_Call) RunAndReturn(run func(context.Context, postgres.CreateBranchRequest) (postgres.CreateBranchOperationInterface, error)) *MockPostgresInterface_CreateBranch_Call
type MockPostgresInterface_CreateEndpoint_Call ¶
MockPostgresInterface_CreateEndpoint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateEndpoint'
func (*MockPostgresInterface_CreateEndpoint_Call) Return ¶
func (_c *MockPostgresInterface_CreateEndpoint_Call) Return(_a0 postgres.CreateEndpointOperationInterface, _a1 error) *MockPostgresInterface_CreateEndpoint_Call
func (*MockPostgresInterface_CreateEndpoint_Call) Run ¶
func (_c *MockPostgresInterface_CreateEndpoint_Call) Run(run func(ctx context.Context, request postgres.CreateEndpointRequest)) *MockPostgresInterface_CreateEndpoint_Call
func (*MockPostgresInterface_CreateEndpoint_Call) RunAndReturn ¶
func (_c *MockPostgresInterface_CreateEndpoint_Call) RunAndReturn(run func(context.Context, postgres.CreateEndpointRequest) (postgres.CreateEndpointOperationInterface, error)) *MockPostgresInterface_CreateEndpoint_Call
type MockPostgresInterface_CreateProject_Call ¶
MockPostgresInterface_CreateProject_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateProject'
func (*MockPostgresInterface_CreateProject_Call) Return ¶
func (_c *MockPostgresInterface_CreateProject_Call) Return(_a0 postgres.CreateProjectOperationInterface, _a1 error) *MockPostgresInterface_CreateProject_Call
func (*MockPostgresInterface_CreateProject_Call) Run ¶
func (_c *MockPostgresInterface_CreateProject_Call) Run(run func(ctx context.Context, request postgres.CreateProjectRequest)) *MockPostgresInterface_CreateProject_Call
func (*MockPostgresInterface_CreateProject_Call) RunAndReturn ¶
func (_c *MockPostgresInterface_CreateProject_Call) RunAndReturn(run func(context.Context, postgres.CreateProjectRequest) (postgres.CreateProjectOperationInterface, error)) *MockPostgresInterface_CreateProject_Call
type MockPostgresInterface_DeleteBranch_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 (_c *MockPostgresInterface_DeleteBranch_Call) Return(_a0 error) *MockPostgresInterface_DeleteBranch_Call
func (*MockPostgresInterface_DeleteBranch_Call) Run ¶
func (_c *MockPostgresInterface_DeleteBranch_Call) Run(run func(ctx context.Context, request postgres.DeleteBranchRequest)) *MockPostgresInterface_DeleteBranch_Call
func (*MockPostgresInterface_DeleteBranch_Call) RunAndReturn ¶
func (_c *MockPostgresInterface_DeleteBranch_Call) RunAndReturn(run func(context.Context, postgres.DeleteBranchRequest) error) *MockPostgresInterface_DeleteBranch_Call
type MockPostgresInterface_DeleteEndpoint_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 (_c *MockPostgresInterface_DeleteEndpoint_Call) Return(_a0 error) *MockPostgresInterface_DeleteEndpoint_Call
func (*MockPostgresInterface_DeleteEndpoint_Call) Run ¶
func (_c *MockPostgresInterface_DeleteEndpoint_Call) Run(run func(ctx context.Context, request postgres.DeleteEndpointRequest)) *MockPostgresInterface_DeleteEndpoint_Call
func (*MockPostgresInterface_DeleteEndpoint_Call) RunAndReturn ¶
func (_c *MockPostgresInterface_DeleteEndpoint_Call) RunAndReturn(run func(context.Context, postgres.DeleteEndpointRequest) error) *MockPostgresInterface_DeleteEndpoint_Call
type MockPostgresInterface_DeleteProject_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 (_c *MockPostgresInterface_DeleteProject_Call) Return(_a0 error) *MockPostgresInterface_DeleteProject_Call
func (*MockPostgresInterface_DeleteProject_Call) Run ¶
func (_c *MockPostgresInterface_DeleteProject_Call) Run(run func(ctx context.Context, request postgres.DeleteProjectRequest)) *MockPostgresInterface_DeleteProject_Call
func (*MockPostgresInterface_DeleteProject_Call) RunAndReturn ¶
func (_c *MockPostgresInterface_DeleteProject_Call) RunAndReturn(run func(context.Context, postgres.DeleteProjectRequest) error) *MockPostgresInterface_DeleteProject_Call
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 ¶
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 (_c *MockPostgresInterface_GetBranch_Call) Return(_a0 *postgres.Branch, _a1 error) *MockPostgresInterface_GetBranch_Call
func (*MockPostgresInterface_GetBranch_Call) Run ¶
func (_c *MockPostgresInterface_GetBranch_Call) Run(run func(ctx context.Context, request postgres.GetBranchRequest)) *MockPostgresInterface_GetBranch_Call
func (*MockPostgresInterface_GetBranch_Call) RunAndReturn ¶
func (_c *MockPostgresInterface_GetBranch_Call) RunAndReturn(run func(context.Context, postgres.GetBranchRequest) (*postgres.Branch, error)) *MockPostgresInterface_GetBranch_Call
type MockPostgresInterface_GetEndpoint_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 (_c *MockPostgresInterface_GetEndpoint_Call) Return(_a0 *postgres.Endpoint, _a1 error) *MockPostgresInterface_GetEndpoint_Call
func (*MockPostgresInterface_GetEndpoint_Call) Run ¶
func (_c *MockPostgresInterface_GetEndpoint_Call) Run(run func(ctx context.Context, request postgres.GetEndpointRequest)) *MockPostgresInterface_GetEndpoint_Call
func (*MockPostgresInterface_GetEndpoint_Call) RunAndReturn ¶
func (_c *MockPostgresInterface_GetEndpoint_Call) RunAndReturn(run func(context.Context, postgres.GetEndpointRequest) (*postgres.Endpoint, error)) *MockPostgresInterface_GetEndpoint_Call
type MockPostgresInterface_GetOperation_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 (_c *MockPostgresInterface_GetOperation_Call) Return(_a0 *postgres.Operation, _a1 error) *MockPostgresInterface_GetOperation_Call
func (*MockPostgresInterface_GetOperation_Call) Run ¶
func (_c *MockPostgresInterface_GetOperation_Call) Run(run func(ctx context.Context, request postgres.GetOperationRequest)) *MockPostgresInterface_GetOperation_Call
func (*MockPostgresInterface_GetOperation_Call) RunAndReturn ¶
func (_c *MockPostgresInterface_GetOperation_Call) RunAndReturn(run func(context.Context, postgres.GetOperationRequest) (*postgres.Operation, error)) *MockPostgresInterface_GetOperation_Call
type MockPostgresInterface_GetProject_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 (_c *MockPostgresInterface_GetProject_Call) Return(_a0 *postgres.Project, _a1 error) *MockPostgresInterface_GetProject_Call
func (*MockPostgresInterface_GetProject_Call) Run ¶
func (_c *MockPostgresInterface_GetProject_Call) Run(run func(ctx context.Context, request postgres.GetProjectRequest)) *MockPostgresInterface_GetProject_Call
func (*MockPostgresInterface_GetProject_Call) RunAndReturn ¶
func (_c *MockPostgresInterface_GetProject_Call) RunAndReturn(run func(context.Context, postgres.GetProjectRequest) (*postgres.Project, error)) *MockPostgresInterface_GetProject_Call
type MockPostgresInterface_ListBranchesAll_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 (_c *MockPostgresInterface_ListBranchesAll_Call) Return(_a0 []postgres.Branch, _a1 error) *MockPostgresInterface_ListBranchesAll_Call
func (*MockPostgresInterface_ListBranchesAll_Call) Run ¶
func (_c *MockPostgresInterface_ListBranchesAll_Call) Run(run func(ctx context.Context, request postgres.ListBranchesRequest)) *MockPostgresInterface_ListBranchesAll_Call
func (*MockPostgresInterface_ListBranchesAll_Call) RunAndReturn ¶
func (_c *MockPostgresInterface_ListBranchesAll_Call) RunAndReturn(run func(context.Context, postgres.ListBranchesRequest) ([]postgres.Branch, error)) *MockPostgresInterface_ListBranchesAll_Call
type MockPostgresInterface_ListBranches_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 (_c *MockPostgresInterface_ListBranches_Call) Return(_a0 listing.Iterator[postgres.Branch]) *MockPostgresInterface_ListBranches_Call
func (*MockPostgresInterface_ListBranches_Call) Run ¶
func (_c *MockPostgresInterface_ListBranches_Call) Run(run func(ctx context.Context, request postgres.ListBranchesRequest)) *MockPostgresInterface_ListBranches_Call
func (*MockPostgresInterface_ListBranches_Call) RunAndReturn ¶
func (_c *MockPostgresInterface_ListBranches_Call) RunAndReturn(run func(context.Context, postgres.ListBranchesRequest) listing.Iterator[postgres.Branch]) *MockPostgresInterface_ListBranches_Call
type MockPostgresInterface_ListEndpointsAll_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 (_c *MockPostgresInterface_ListEndpointsAll_Call) Return(_a0 []postgres.Endpoint, _a1 error) *MockPostgresInterface_ListEndpointsAll_Call
func (*MockPostgresInterface_ListEndpointsAll_Call) Run ¶
func (_c *MockPostgresInterface_ListEndpointsAll_Call) Run(run func(ctx context.Context, request postgres.ListEndpointsRequest)) *MockPostgresInterface_ListEndpointsAll_Call
func (*MockPostgresInterface_ListEndpointsAll_Call) RunAndReturn ¶
func (_c *MockPostgresInterface_ListEndpointsAll_Call) RunAndReturn(run func(context.Context, postgres.ListEndpointsRequest) ([]postgres.Endpoint, error)) *MockPostgresInterface_ListEndpointsAll_Call
type MockPostgresInterface_ListEndpoints_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 (_c *MockPostgresInterface_ListEndpoints_Call) Return(_a0 listing.Iterator[postgres.Endpoint]) *MockPostgresInterface_ListEndpoints_Call
func (*MockPostgresInterface_ListEndpoints_Call) Run ¶
func (_c *MockPostgresInterface_ListEndpoints_Call) Run(run func(ctx context.Context, request postgres.ListEndpointsRequest)) *MockPostgresInterface_ListEndpoints_Call
func (*MockPostgresInterface_ListEndpoints_Call) RunAndReturn ¶
func (_c *MockPostgresInterface_ListEndpoints_Call) RunAndReturn(run func(context.Context, postgres.ListEndpointsRequest) listing.Iterator[postgres.Endpoint]) *MockPostgresInterface_ListEndpoints_Call
type MockPostgresInterface_ListProjectsAll_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 (_c *MockPostgresInterface_ListProjectsAll_Call) Return(_a0 []postgres.Project, _a1 error) *MockPostgresInterface_ListProjectsAll_Call
func (*MockPostgresInterface_ListProjectsAll_Call) Run ¶
func (_c *MockPostgresInterface_ListProjectsAll_Call) Run(run func(ctx context.Context, request postgres.ListProjectsRequest)) *MockPostgresInterface_ListProjectsAll_Call
func (*MockPostgresInterface_ListProjectsAll_Call) RunAndReturn ¶
func (_c *MockPostgresInterface_ListProjectsAll_Call) RunAndReturn(run func(context.Context, postgres.ListProjectsRequest) ([]postgres.Project, error)) *MockPostgresInterface_ListProjectsAll_Call
type MockPostgresInterface_ListProjects_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 (_c *MockPostgresInterface_ListProjects_Call) Return(_a0 listing.Iterator[postgres.Project]) *MockPostgresInterface_ListProjects_Call
func (*MockPostgresInterface_ListProjects_Call) Run ¶
func (_c *MockPostgresInterface_ListProjects_Call) Run(run func(ctx context.Context, request postgres.ListProjectsRequest)) *MockPostgresInterface_ListProjects_Call
func (*MockPostgresInterface_ListProjects_Call) RunAndReturn ¶
func (_c *MockPostgresInterface_ListProjects_Call) RunAndReturn(run func(context.Context, postgres.ListProjectsRequest) listing.Iterator[postgres.Project]) *MockPostgresInterface_ListProjects_Call
type MockPostgresInterface_UpdateBranch_Call ¶
MockPostgresInterface_UpdateBranch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateBranch'
func (*MockPostgresInterface_UpdateBranch_Call) Return ¶
func (_c *MockPostgresInterface_UpdateBranch_Call) Return(_a0 postgres.UpdateBranchOperationInterface, _a1 error) *MockPostgresInterface_UpdateBranch_Call
func (*MockPostgresInterface_UpdateBranch_Call) Run ¶
func (_c *MockPostgresInterface_UpdateBranch_Call) Run(run func(ctx context.Context, request postgres.UpdateBranchRequest)) *MockPostgresInterface_UpdateBranch_Call
func (*MockPostgresInterface_UpdateBranch_Call) RunAndReturn ¶
func (_c *MockPostgresInterface_UpdateBranch_Call) RunAndReturn(run func(context.Context, postgres.UpdateBranchRequest) (postgres.UpdateBranchOperationInterface, error)) *MockPostgresInterface_UpdateBranch_Call
type MockPostgresInterface_UpdateEndpoint_Call ¶
MockPostgresInterface_UpdateEndpoint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateEndpoint'
func (*MockPostgresInterface_UpdateEndpoint_Call) Return ¶
func (_c *MockPostgresInterface_UpdateEndpoint_Call) Return(_a0 postgres.UpdateEndpointOperationInterface, _a1 error) *MockPostgresInterface_UpdateEndpoint_Call
func (*MockPostgresInterface_UpdateEndpoint_Call) Run ¶
func (_c *MockPostgresInterface_UpdateEndpoint_Call) Run(run func(ctx context.Context, request postgres.UpdateEndpointRequest)) *MockPostgresInterface_UpdateEndpoint_Call
func (*MockPostgresInterface_UpdateEndpoint_Call) RunAndReturn ¶
func (_c *MockPostgresInterface_UpdateEndpoint_Call) RunAndReturn(run func(context.Context, postgres.UpdateEndpointRequest) (postgres.UpdateEndpointOperationInterface, error)) *MockPostgresInterface_UpdateEndpoint_Call
type MockPostgresInterface_UpdateProject_Call ¶
MockPostgresInterface_UpdateProject_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateProject'
func (*MockPostgresInterface_UpdateProject_Call) Return ¶
func (_c *MockPostgresInterface_UpdateProject_Call) Return(_a0 postgres.UpdateProjectOperationInterface, _a1 error) *MockPostgresInterface_UpdateProject_Call
func (*MockPostgresInterface_UpdateProject_Call) Run ¶
func (_c *MockPostgresInterface_UpdateProject_Call) Run(run func(ctx context.Context, request postgres.UpdateProjectRequest)) *MockPostgresInterface_UpdateProject_Call
func (*MockPostgresInterface_UpdateProject_Call) RunAndReturn ¶
func (_c *MockPostgresInterface_UpdateProject_Call) RunAndReturn(run func(context.Context, postgres.UpdateProjectRequest) (postgres.UpdateProjectOperationInterface, error)) *MockPostgresInterface_UpdateProject_Call
type MockUpdateBranchOperationInterface ¶
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 ¶
func (_m *MockUpdateBranchOperationInterface) Done() (bool, error)
Done provides a mock function with no fields
func (*MockUpdateBranchOperationInterface) EXPECT ¶
func (_m *MockUpdateBranchOperationInterface) EXPECT() *MockUpdateBranchOperationInterface_Expecter
func (*MockUpdateBranchOperationInterface) Metadata ¶
func (_m *MockUpdateBranchOperationInterface) Metadata() (*postgres.BranchOperationMetadata, error)
Metadata provides a mock function with no fields
func (*MockUpdateBranchOperationInterface) Name ¶
func (_m *MockUpdateBranchOperationInterface) Name() string
Name provides a mock function with no fields
type MockUpdateBranchOperationInterface_Done_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 (_c *MockUpdateBranchOperationInterface_Done_Call) Return(_a0 bool, _a1 error) *MockUpdateBranchOperationInterface_Done_Call
func (*MockUpdateBranchOperationInterface_Done_Call) Run ¶
func (_c *MockUpdateBranchOperationInterface_Done_Call) Run(run func()) *MockUpdateBranchOperationInterface_Done_Call
func (*MockUpdateBranchOperationInterface_Done_Call) RunAndReturn ¶
func (_c *MockUpdateBranchOperationInterface_Done_Call) RunAndReturn(run func() (bool, error)) *MockUpdateBranchOperationInterface_Done_Call
type MockUpdateBranchOperationInterface_Expecter ¶
type MockUpdateBranchOperationInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockUpdateBranchOperationInterface_Expecter) Done ¶
func (_e *MockUpdateBranchOperationInterface_Expecter) Done() *MockUpdateBranchOperationInterface_Done_Call
Done is a helper method to define mock.On call
func (*MockUpdateBranchOperationInterface_Expecter) Metadata ¶
func (_e *MockUpdateBranchOperationInterface_Expecter) Metadata() *MockUpdateBranchOperationInterface_Metadata_Call
Metadata is a helper method to define mock.On call
func (*MockUpdateBranchOperationInterface_Expecter) Name ¶
func (_e *MockUpdateBranchOperationInterface_Expecter) Name() *MockUpdateBranchOperationInterface_Name_Call
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 ¶
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 (_c *MockUpdateBranchOperationInterface_Metadata_Call) Return(_a0 *postgres.BranchOperationMetadata, _a1 error) *MockUpdateBranchOperationInterface_Metadata_Call
func (*MockUpdateBranchOperationInterface_Metadata_Call) Run ¶
func (_c *MockUpdateBranchOperationInterface_Metadata_Call) Run(run func()) *MockUpdateBranchOperationInterface_Metadata_Call
func (*MockUpdateBranchOperationInterface_Metadata_Call) RunAndReturn ¶
func (_c *MockUpdateBranchOperationInterface_Metadata_Call) RunAndReturn(run func() (*postgres.BranchOperationMetadata, error)) *MockUpdateBranchOperationInterface_Metadata_Call
type MockUpdateBranchOperationInterface_Name_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 (_c *MockUpdateBranchOperationInterface_Name_Call) Return(_a0 string) *MockUpdateBranchOperationInterface_Name_Call
func (*MockUpdateBranchOperationInterface_Name_Call) Run ¶
func (_c *MockUpdateBranchOperationInterface_Name_Call) Run(run func()) *MockUpdateBranchOperationInterface_Name_Call
func (*MockUpdateBranchOperationInterface_Name_Call) RunAndReturn ¶
func (_c *MockUpdateBranchOperationInterface_Name_Call) RunAndReturn(run func() string) *MockUpdateBranchOperationInterface_Name_Call
type MockUpdateBranchOperationInterface_Wait_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 (_c *MockUpdateBranchOperationInterface_Wait_Call) Return(_a0 *postgres.Branch, _a1 error) *MockUpdateBranchOperationInterface_Wait_Call
func (*MockUpdateBranchOperationInterface_Wait_Call) Run ¶
func (_c *MockUpdateBranchOperationInterface_Wait_Call) Run(run func(ctx context.Context, opts ...api.Option)) *MockUpdateBranchOperationInterface_Wait_Call
func (*MockUpdateBranchOperationInterface_Wait_Call) RunAndReturn ¶
func (_c *MockUpdateBranchOperationInterface_Wait_Call) RunAndReturn(run func(context.Context, ...api.Option) (*postgres.Branch, error)) *MockUpdateBranchOperationInterface_Wait_Call
type MockUpdateEndpointOperationInterface ¶
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 ¶
func (_m *MockUpdateEndpointOperationInterface) Done() (bool, error)
Done provides a mock function with no fields
func (*MockUpdateEndpointOperationInterface) EXPECT ¶
func (_m *MockUpdateEndpointOperationInterface) EXPECT() *MockUpdateEndpointOperationInterface_Expecter
func (*MockUpdateEndpointOperationInterface) Metadata ¶
func (_m *MockUpdateEndpointOperationInterface) Metadata() (*postgres.EndpointOperationMetadata, error)
Metadata provides a mock function with no fields
func (*MockUpdateEndpointOperationInterface) Name ¶
func (_m *MockUpdateEndpointOperationInterface) Name() string
Name provides a mock function with no fields
type MockUpdateEndpointOperationInterface_Done_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 (_c *MockUpdateEndpointOperationInterface_Done_Call) Return(_a0 bool, _a1 error) *MockUpdateEndpointOperationInterface_Done_Call
func (*MockUpdateEndpointOperationInterface_Done_Call) Run ¶
func (_c *MockUpdateEndpointOperationInterface_Done_Call) Run(run func()) *MockUpdateEndpointOperationInterface_Done_Call
func (*MockUpdateEndpointOperationInterface_Done_Call) RunAndReturn ¶
func (_c *MockUpdateEndpointOperationInterface_Done_Call) RunAndReturn(run func() (bool, error)) *MockUpdateEndpointOperationInterface_Done_Call
type MockUpdateEndpointOperationInterface_Expecter ¶
type MockUpdateEndpointOperationInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockUpdateEndpointOperationInterface_Expecter) Done ¶
func (_e *MockUpdateEndpointOperationInterface_Expecter) Done() *MockUpdateEndpointOperationInterface_Done_Call
Done is a helper method to define mock.On call
func (*MockUpdateEndpointOperationInterface_Expecter) Metadata ¶
func (_e *MockUpdateEndpointOperationInterface_Expecter) Metadata() *MockUpdateEndpointOperationInterface_Metadata_Call
Metadata is a helper method to define mock.On call
func (*MockUpdateEndpointOperationInterface_Expecter) Name ¶
func (_e *MockUpdateEndpointOperationInterface_Expecter) Name() *MockUpdateEndpointOperationInterface_Name_Call
Name is a helper method to define mock.On call
func (*MockUpdateEndpointOperationInterface_Expecter) Wait ¶
func (_e *MockUpdateEndpointOperationInterface_Expecter) Wait(ctx interface{}, opts ...interface{}) *MockUpdateEndpointOperationInterface_Wait_Call
Wait is a helper method to define mock.On call
- ctx context.Context
- opts ...api.Option
type MockUpdateEndpointOperationInterface_Metadata_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 (_c *MockUpdateEndpointOperationInterface_Metadata_Call) Run(run func()) *MockUpdateEndpointOperationInterface_Metadata_Call
func (*MockUpdateEndpointOperationInterface_Metadata_Call) RunAndReturn ¶
func (_c *MockUpdateEndpointOperationInterface_Metadata_Call) RunAndReturn(run func() (*postgres.EndpointOperationMetadata, error)) *MockUpdateEndpointOperationInterface_Metadata_Call
type MockUpdateEndpointOperationInterface_Name_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 (_c *MockUpdateEndpointOperationInterface_Name_Call) Return(_a0 string) *MockUpdateEndpointOperationInterface_Name_Call
func (*MockUpdateEndpointOperationInterface_Name_Call) Run ¶
func (_c *MockUpdateEndpointOperationInterface_Name_Call) Run(run func()) *MockUpdateEndpointOperationInterface_Name_Call
func (*MockUpdateEndpointOperationInterface_Name_Call) RunAndReturn ¶
func (_c *MockUpdateEndpointOperationInterface_Name_Call) RunAndReturn(run func() string) *MockUpdateEndpointOperationInterface_Name_Call
type MockUpdateEndpointOperationInterface_Wait_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 (_c *MockUpdateEndpointOperationInterface_Wait_Call) Return(_a0 *postgres.Endpoint, _a1 error) *MockUpdateEndpointOperationInterface_Wait_Call
func (*MockUpdateEndpointOperationInterface_Wait_Call) Run ¶
func (_c *MockUpdateEndpointOperationInterface_Wait_Call) Run(run func(ctx context.Context, opts ...api.Option)) *MockUpdateEndpointOperationInterface_Wait_Call
func (*MockUpdateEndpointOperationInterface_Wait_Call) RunAndReturn ¶
func (_c *MockUpdateEndpointOperationInterface_Wait_Call) RunAndReturn(run func(context.Context, ...api.Option) (*postgres.Endpoint, error)) *MockUpdateEndpointOperationInterface_Wait_Call
type MockUpdateProjectOperationInterface ¶
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 ¶
func (_m *MockUpdateProjectOperationInterface) Done() (bool, error)
Done provides a mock function with no fields
func (*MockUpdateProjectOperationInterface) EXPECT ¶
func (_m *MockUpdateProjectOperationInterface) EXPECT() *MockUpdateProjectOperationInterface_Expecter
func (*MockUpdateProjectOperationInterface) Metadata ¶
func (_m *MockUpdateProjectOperationInterface) Metadata() (*postgres.ProjectOperationMetadata, error)
Metadata provides a mock function with no fields
func (*MockUpdateProjectOperationInterface) Name ¶
func (_m *MockUpdateProjectOperationInterface) Name() string
Name provides a mock function with no fields
type MockUpdateProjectOperationInterface_Done_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 (_c *MockUpdateProjectOperationInterface_Done_Call) Return(_a0 bool, _a1 error) *MockUpdateProjectOperationInterface_Done_Call
func (*MockUpdateProjectOperationInterface_Done_Call) Run ¶
func (_c *MockUpdateProjectOperationInterface_Done_Call) Run(run func()) *MockUpdateProjectOperationInterface_Done_Call
func (*MockUpdateProjectOperationInterface_Done_Call) RunAndReturn ¶
func (_c *MockUpdateProjectOperationInterface_Done_Call) RunAndReturn(run func() (bool, error)) *MockUpdateProjectOperationInterface_Done_Call
type MockUpdateProjectOperationInterface_Expecter ¶
type MockUpdateProjectOperationInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockUpdateProjectOperationInterface_Expecter) Done ¶
func (_e *MockUpdateProjectOperationInterface_Expecter) Done() *MockUpdateProjectOperationInterface_Done_Call
Done is a helper method to define mock.On call
func (*MockUpdateProjectOperationInterface_Expecter) Metadata ¶
func (_e *MockUpdateProjectOperationInterface_Expecter) Metadata() *MockUpdateProjectOperationInterface_Metadata_Call
Metadata is a helper method to define mock.On call
func (*MockUpdateProjectOperationInterface_Expecter) Name ¶
func (_e *MockUpdateProjectOperationInterface_Expecter) Name() *MockUpdateProjectOperationInterface_Name_Call
Name is a helper method to define mock.On call
func (*MockUpdateProjectOperationInterface_Expecter) Wait ¶
func (_e *MockUpdateProjectOperationInterface_Expecter) Wait(ctx interface{}, opts ...interface{}) *MockUpdateProjectOperationInterface_Wait_Call
Wait is a helper method to define mock.On call
- ctx context.Context
- opts ...api.Option
type MockUpdateProjectOperationInterface_Metadata_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 (_c *MockUpdateProjectOperationInterface_Metadata_Call) Return(_a0 *postgres.ProjectOperationMetadata, _a1 error) *MockUpdateProjectOperationInterface_Metadata_Call
func (*MockUpdateProjectOperationInterface_Metadata_Call) Run ¶
func (_c *MockUpdateProjectOperationInterface_Metadata_Call) Run(run func()) *MockUpdateProjectOperationInterface_Metadata_Call
func (*MockUpdateProjectOperationInterface_Metadata_Call) RunAndReturn ¶
func (_c *MockUpdateProjectOperationInterface_Metadata_Call) RunAndReturn(run func() (*postgres.ProjectOperationMetadata, error)) *MockUpdateProjectOperationInterface_Metadata_Call
type MockUpdateProjectOperationInterface_Name_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 (_c *MockUpdateProjectOperationInterface_Name_Call) Return(_a0 string) *MockUpdateProjectOperationInterface_Name_Call
func (*MockUpdateProjectOperationInterface_Name_Call) Run ¶
func (_c *MockUpdateProjectOperationInterface_Name_Call) Run(run func()) *MockUpdateProjectOperationInterface_Name_Call
func (*MockUpdateProjectOperationInterface_Name_Call) RunAndReturn ¶
func (_c *MockUpdateProjectOperationInterface_Name_Call) RunAndReturn(run func() string) *MockUpdateProjectOperationInterface_Name_Call
type MockUpdateProjectOperationInterface_Wait_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 (_c *MockUpdateProjectOperationInterface_Wait_Call) Return(_a0 *postgres.Project, _a1 error) *MockUpdateProjectOperationInterface_Wait_Call
func (*MockUpdateProjectOperationInterface_Wait_Call) Run ¶
func (_c *MockUpdateProjectOperationInterface_Wait_Call) Run(run func(ctx context.Context, opts ...api.Option)) *MockUpdateProjectOperationInterface_Wait_Call
func (*MockUpdateProjectOperationInterface_Wait_Call) RunAndReturn ¶
func (_c *MockUpdateProjectOperationInterface_Wait_Call) RunAndReturn(run func(context.Context, ...api.Option) (*postgres.Project, error)) *MockUpdateProjectOperationInterface_Wait_Call