Documentation
¶
Index ¶
- type MockBundleInterface
- func (_m *MockBundleInterface) CompleteVersion(ctx context.Context, request bundle.CompleteVersionRequest) (*bundle.Version, error)
- func (_m *MockBundleInterface) CreateDeployment(ctx context.Context, request bundle.CreateDeploymentRequest) (*bundle.Deployment, error)
- func (_m *MockBundleInterface) CreateOperation(ctx context.Context, request bundle.CreateOperationRequest) (*bundle.Operation, error)
- func (_m *MockBundleInterface) CreateVersion(ctx context.Context, request bundle.CreateVersionRequest) (*bundle.Version, error)
- func (_m *MockBundleInterface) DeleteDeployment(ctx context.Context, request bundle.DeleteDeploymentRequest) error
- func (_m *MockBundleInterface) EXPECT() *MockBundleInterface_Expecter
- func (_m *MockBundleInterface) GetDeployment(ctx context.Context, request bundle.GetDeploymentRequest) (*bundle.Deployment, error)
- func (_m *MockBundleInterface) GetOperation(ctx context.Context, request bundle.GetOperationRequest) (*bundle.Operation, error)
- func (_m *MockBundleInterface) GetResource(ctx context.Context, request bundle.GetResourceRequest) (*bundle.Resource, error)
- func (_m *MockBundleInterface) GetVersion(ctx context.Context, request bundle.GetVersionRequest) (*bundle.Version, error)
- func (_m *MockBundleInterface) Heartbeat(ctx context.Context, request bundle.HeartbeatRequest) (*bundle.HeartbeatResponse, error)
- func (_m *MockBundleInterface) ListDeployments(ctx context.Context, request bundle.ListDeploymentsRequest) listing.Iterator[bundle.Deployment]
- func (_m *MockBundleInterface) ListDeploymentsAll(ctx context.Context, request bundle.ListDeploymentsRequest) ([]bundle.Deployment, error)
- func (_m *MockBundleInterface) ListOperations(ctx context.Context, request bundle.ListOperationsRequest) listing.Iterator[bundle.Operation]
- func (_m *MockBundleInterface) ListOperationsAll(ctx context.Context, request bundle.ListOperationsRequest) ([]bundle.Operation, error)
- func (_m *MockBundleInterface) ListResources(ctx context.Context, request bundle.ListResourcesRequest) listing.Iterator[bundle.Resource]
- func (_m *MockBundleInterface) ListResourcesAll(ctx context.Context, request bundle.ListResourcesRequest) ([]bundle.Resource, error)
- func (_m *MockBundleInterface) ListVersions(ctx context.Context, request bundle.ListVersionsRequest) listing.Iterator[bundle.Version]
- func (_m *MockBundleInterface) ListVersionsAll(ctx context.Context, request bundle.ListVersionsRequest) ([]bundle.Version, error)
- type MockBundleInterface_CompleteVersion_Call
- func (_c *MockBundleInterface_CompleteVersion_Call) Return(_a0 *bundle.Version, _a1 error) *MockBundleInterface_CompleteVersion_Call
- func (_c *MockBundleInterface_CompleteVersion_Call) Run(run func(ctx context.Context, request bundle.CompleteVersionRequest)) *MockBundleInterface_CompleteVersion_Call
- func (_c *MockBundleInterface_CompleteVersion_Call) RunAndReturn(...) *MockBundleInterface_CompleteVersion_Call
- type MockBundleInterface_CreateDeployment_Call
- func (_c *MockBundleInterface_CreateDeployment_Call) Return(_a0 *bundle.Deployment, _a1 error) *MockBundleInterface_CreateDeployment_Call
- func (_c *MockBundleInterface_CreateDeployment_Call) Run(run func(ctx context.Context, request bundle.CreateDeploymentRequest)) *MockBundleInterface_CreateDeployment_Call
- func (_c *MockBundleInterface_CreateDeployment_Call) RunAndReturn(...) *MockBundleInterface_CreateDeployment_Call
- type MockBundleInterface_CreateOperation_Call
- func (_c *MockBundleInterface_CreateOperation_Call) Return(_a0 *bundle.Operation, _a1 error) *MockBundleInterface_CreateOperation_Call
- func (_c *MockBundleInterface_CreateOperation_Call) Run(run func(ctx context.Context, request bundle.CreateOperationRequest)) *MockBundleInterface_CreateOperation_Call
- func (_c *MockBundleInterface_CreateOperation_Call) RunAndReturn(...) *MockBundleInterface_CreateOperation_Call
- type MockBundleInterface_CreateVersion_Call
- func (_c *MockBundleInterface_CreateVersion_Call) Return(_a0 *bundle.Version, _a1 error) *MockBundleInterface_CreateVersion_Call
- func (_c *MockBundleInterface_CreateVersion_Call) Run(run func(ctx context.Context, request bundle.CreateVersionRequest)) *MockBundleInterface_CreateVersion_Call
- func (_c *MockBundleInterface_CreateVersion_Call) RunAndReturn(...) *MockBundleInterface_CreateVersion_Call
- type MockBundleInterface_DeleteDeployment_Call
- func (_c *MockBundleInterface_DeleteDeployment_Call) Return(_a0 error) *MockBundleInterface_DeleteDeployment_Call
- func (_c *MockBundleInterface_DeleteDeployment_Call) Run(run func(ctx context.Context, request bundle.DeleteDeploymentRequest)) *MockBundleInterface_DeleteDeployment_Call
- func (_c *MockBundleInterface_DeleteDeployment_Call) RunAndReturn(run func(context.Context, bundle.DeleteDeploymentRequest) error) *MockBundleInterface_DeleteDeployment_Call
- type MockBundleInterface_Expecter
- func (_e *MockBundleInterface_Expecter) CompleteVersion(ctx interface{}, request interface{}) *MockBundleInterface_CompleteVersion_Call
- func (_e *MockBundleInterface_Expecter) CreateDeployment(ctx interface{}, request interface{}) *MockBundleInterface_CreateDeployment_Call
- func (_e *MockBundleInterface_Expecter) CreateOperation(ctx interface{}, request interface{}) *MockBundleInterface_CreateOperation_Call
- func (_e *MockBundleInterface_Expecter) CreateVersion(ctx interface{}, request interface{}) *MockBundleInterface_CreateVersion_Call
- func (_e *MockBundleInterface_Expecter) DeleteDeployment(ctx interface{}, request interface{}) *MockBundleInterface_DeleteDeployment_Call
- func (_e *MockBundleInterface_Expecter) GetDeployment(ctx interface{}, request interface{}) *MockBundleInterface_GetDeployment_Call
- func (_e *MockBundleInterface_Expecter) GetOperation(ctx interface{}, request interface{}) *MockBundleInterface_GetOperation_Call
- func (_e *MockBundleInterface_Expecter) GetResource(ctx interface{}, request interface{}) *MockBundleInterface_GetResource_Call
- func (_e *MockBundleInterface_Expecter) GetVersion(ctx interface{}, request interface{}) *MockBundleInterface_GetVersion_Call
- func (_e *MockBundleInterface_Expecter) Heartbeat(ctx interface{}, request interface{}) *MockBundleInterface_Heartbeat_Call
- func (_e *MockBundleInterface_Expecter) ListDeployments(ctx interface{}, request interface{}) *MockBundleInterface_ListDeployments_Call
- func (_e *MockBundleInterface_Expecter) ListDeploymentsAll(ctx interface{}, request interface{}) *MockBundleInterface_ListDeploymentsAll_Call
- func (_e *MockBundleInterface_Expecter) ListOperations(ctx interface{}, request interface{}) *MockBundleInterface_ListOperations_Call
- func (_e *MockBundleInterface_Expecter) ListOperationsAll(ctx interface{}, request interface{}) *MockBundleInterface_ListOperationsAll_Call
- func (_e *MockBundleInterface_Expecter) ListResources(ctx interface{}, request interface{}) *MockBundleInterface_ListResources_Call
- func (_e *MockBundleInterface_Expecter) ListResourcesAll(ctx interface{}, request interface{}) *MockBundleInterface_ListResourcesAll_Call
- func (_e *MockBundleInterface_Expecter) ListVersions(ctx interface{}, request interface{}) *MockBundleInterface_ListVersions_Call
- func (_e *MockBundleInterface_Expecter) ListVersionsAll(ctx interface{}, request interface{}) *MockBundleInterface_ListVersionsAll_Call
- type MockBundleInterface_GetDeployment_Call
- func (_c *MockBundleInterface_GetDeployment_Call) Return(_a0 *bundle.Deployment, _a1 error) *MockBundleInterface_GetDeployment_Call
- func (_c *MockBundleInterface_GetDeployment_Call) Run(run func(ctx context.Context, request bundle.GetDeploymentRequest)) *MockBundleInterface_GetDeployment_Call
- func (_c *MockBundleInterface_GetDeployment_Call) RunAndReturn(...) *MockBundleInterface_GetDeployment_Call
- type MockBundleInterface_GetOperation_Call
- func (_c *MockBundleInterface_GetOperation_Call) Return(_a0 *bundle.Operation, _a1 error) *MockBundleInterface_GetOperation_Call
- func (_c *MockBundleInterface_GetOperation_Call) Run(run func(ctx context.Context, request bundle.GetOperationRequest)) *MockBundleInterface_GetOperation_Call
- func (_c *MockBundleInterface_GetOperation_Call) RunAndReturn(...) *MockBundleInterface_GetOperation_Call
- type MockBundleInterface_GetResource_Call
- func (_c *MockBundleInterface_GetResource_Call) Return(_a0 *bundle.Resource, _a1 error) *MockBundleInterface_GetResource_Call
- func (_c *MockBundleInterface_GetResource_Call) Run(run func(ctx context.Context, request bundle.GetResourceRequest)) *MockBundleInterface_GetResource_Call
- func (_c *MockBundleInterface_GetResource_Call) RunAndReturn(run func(context.Context, bundle.GetResourceRequest) (*bundle.Resource, error)) *MockBundleInterface_GetResource_Call
- type MockBundleInterface_GetVersion_Call
- func (_c *MockBundleInterface_GetVersion_Call) Return(_a0 *bundle.Version, _a1 error) *MockBundleInterface_GetVersion_Call
- func (_c *MockBundleInterface_GetVersion_Call) Run(run func(ctx context.Context, request bundle.GetVersionRequest)) *MockBundleInterface_GetVersion_Call
- func (_c *MockBundleInterface_GetVersion_Call) RunAndReturn(run func(context.Context, bundle.GetVersionRequest) (*bundle.Version, error)) *MockBundleInterface_GetVersion_Call
- type MockBundleInterface_Heartbeat_Call
- func (_c *MockBundleInterface_Heartbeat_Call) Return(_a0 *bundle.HeartbeatResponse, _a1 error) *MockBundleInterface_Heartbeat_Call
- func (_c *MockBundleInterface_Heartbeat_Call) Run(run func(ctx context.Context, request bundle.HeartbeatRequest)) *MockBundleInterface_Heartbeat_Call
- func (_c *MockBundleInterface_Heartbeat_Call) RunAndReturn(...) *MockBundleInterface_Heartbeat_Call
- type MockBundleInterface_ListDeploymentsAll_Call
- func (_c *MockBundleInterface_ListDeploymentsAll_Call) Return(_a0 []bundle.Deployment, _a1 error) *MockBundleInterface_ListDeploymentsAll_Call
- func (_c *MockBundleInterface_ListDeploymentsAll_Call) Run(run func(ctx context.Context, request bundle.ListDeploymentsRequest)) *MockBundleInterface_ListDeploymentsAll_Call
- func (_c *MockBundleInterface_ListDeploymentsAll_Call) RunAndReturn(...) *MockBundleInterface_ListDeploymentsAll_Call
- type MockBundleInterface_ListDeployments_Call
- func (_c *MockBundleInterface_ListDeployments_Call) Return(_a0 listing.Iterator[bundle.Deployment]) *MockBundleInterface_ListDeployments_Call
- func (_c *MockBundleInterface_ListDeployments_Call) Run(run func(ctx context.Context, request bundle.ListDeploymentsRequest)) *MockBundleInterface_ListDeployments_Call
- func (_c *MockBundleInterface_ListDeployments_Call) RunAndReturn(...) *MockBundleInterface_ListDeployments_Call
- type MockBundleInterface_ListOperationsAll_Call
- func (_c *MockBundleInterface_ListOperationsAll_Call) Return(_a0 []bundle.Operation, _a1 error) *MockBundleInterface_ListOperationsAll_Call
- func (_c *MockBundleInterface_ListOperationsAll_Call) Run(run func(ctx context.Context, request bundle.ListOperationsRequest)) *MockBundleInterface_ListOperationsAll_Call
- func (_c *MockBundleInterface_ListOperationsAll_Call) RunAndReturn(...) *MockBundleInterface_ListOperationsAll_Call
- type MockBundleInterface_ListOperations_Call
- func (_c *MockBundleInterface_ListOperations_Call) Return(_a0 listing.Iterator[bundle.Operation]) *MockBundleInterface_ListOperations_Call
- func (_c *MockBundleInterface_ListOperations_Call) Run(run func(ctx context.Context, request bundle.ListOperationsRequest)) *MockBundleInterface_ListOperations_Call
- func (_c *MockBundleInterface_ListOperations_Call) RunAndReturn(...) *MockBundleInterface_ListOperations_Call
- type MockBundleInterface_ListResourcesAll_Call
- func (_c *MockBundleInterface_ListResourcesAll_Call) Return(_a0 []bundle.Resource, _a1 error) *MockBundleInterface_ListResourcesAll_Call
- func (_c *MockBundleInterface_ListResourcesAll_Call) Run(run func(ctx context.Context, request bundle.ListResourcesRequest)) *MockBundleInterface_ListResourcesAll_Call
- func (_c *MockBundleInterface_ListResourcesAll_Call) RunAndReturn(...) *MockBundleInterface_ListResourcesAll_Call
- type MockBundleInterface_ListResources_Call
- func (_c *MockBundleInterface_ListResources_Call) Return(_a0 listing.Iterator[bundle.Resource]) *MockBundleInterface_ListResources_Call
- func (_c *MockBundleInterface_ListResources_Call) Run(run func(ctx context.Context, request bundle.ListResourcesRequest)) *MockBundleInterface_ListResources_Call
- func (_c *MockBundleInterface_ListResources_Call) RunAndReturn(...) *MockBundleInterface_ListResources_Call
- type MockBundleInterface_ListVersionsAll_Call
- func (_c *MockBundleInterface_ListVersionsAll_Call) Return(_a0 []bundle.Version, _a1 error) *MockBundleInterface_ListVersionsAll_Call
- func (_c *MockBundleInterface_ListVersionsAll_Call) Run(run func(ctx context.Context, request bundle.ListVersionsRequest)) *MockBundleInterface_ListVersionsAll_Call
- func (_c *MockBundleInterface_ListVersionsAll_Call) RunAndReturn(...) *MockBundleInterface_ListVersionsAll_Call
- type MockBundleInterface_ListVersions_Call
- func (_c *MockBundleInterface_ListVersions_Call) Return(_a0 listing.Iterator[bundle.Version]) *MockBundleInterface_ListVersions_Call
- func (_c *MockBundleInterface_ListVersions_Call) Run(run func(ctx context.Context, request bundle.ListVersionsRequest)) *MockBundleInterface_ListVersions_Call
- func (_c *MockBundleInterface_ListVersions_Call) RunAndReturn(...) *MockBundleInterface_ListVersions_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBundleInterface ¶
MockBundleInterface is an autogenerated mock type for the BundleInterface type
func NewMockBundleInterface ¶
func NewMockBundleInterface(t interface {
mock.TestingT
Cleanup(func())
}) *MockBundleInterface
NewMockBundleInterface creates a new instance of MockBundleInterface. 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 (*MockBundleInterface) CompleteVersion ¶
func (_m *MockBundleInterface) CompleteVersion(ctx context.Context, request bundle.CompleteVersionRequest) (*bundle.Version, error)
CompleteVersion provides a mock function with given fields: ctx, request
func (*MockBundleInterface) CreateDeployment ¶
func (_m *MockBundleInterface) CreateDeployment(ctx context.Context, request bundle.CreateDeploymentRequest) (*bundle.Deployment, error)
CreateDeployment provides a mock function with given fields: ctx, request
func (*MockBundleInterface) CreateOperation ¶
func (_m *MockBundleInterface) CreateOperation(ctx context.Context, request bundle.CreateOperationRequest) (*bundle.Operation, error)
CreateOperation provides a mock function with given fields: ctx, request
func (*MockBundleInterface) CreateVersion ¶
func (_m *MockBundleInterface) CreateVersion(ctx context.Context, request bundle.CreateVersionRequest) (*bundle.Version, error)
CreateVersion provides a mock function with given fields: ctx, request
func (*MockBundleInterface) DeleteDeployment ¶
func (_m *MockBundleInterface) DeleteDeployment(ctx context.Context, request bundle.DeleteDeploymentRequest) error
DeleteDeployment provides a mock function with given fields: ctx, request
func (*MockBundleInterface) EXPECT ¶
func (_m *MockBundleInterface) EXPECT() *MockBundleInterface_Expecter
func (*MockBundleInterface) GetDeployment ¶
func (_m *MockBundleInterface) GetDeployment(ctx context.Context, request bundle.GetDeploymentRequest) (*bundle.Deployment, error)
GetDeployment provides a mock function with given fields: ctx, request
func (*MockBundleInterface) GetOperation ¶
func (_m *MockBundleInterface) GetOperation(ctx context.Context, request bundle.GetOperationRequest) (*bundle.Operation, error)
GetOperation provides a mock function with given fields: ctx, request
func (*MockBundleInterface) GetResource ¶
func (_m *MockBundleInterface) GetResource(ctx context.Context, request bundle.GetResourceRequest) (*bundle.Resource, error)
GetResource provides a mock function with given fields: ctx, request
func (*MockBundleInterface) GetVersion ¶
func (_m *MockBundleInterface) GetVersion(ctx context.Context, request bundle.GetVersionRequest) (*bundle.Version, error)
GetVersion provides a mock function with given fields: ctx, request
func (*MockBundleInterface) Heartbeat ¶
func (_m *MockBundleInterface) Heartbeat(ctx context.Context, request bundle.HeartbeatRequest) (*bundle.HeartbeatResponse, error)
Heartbeat provides a mock function with given fields: ctx, request
func (*MockBundleInterface) ListDeployments ¶
func (_m *MockBundleInterface) ListDeployments(ctx context.Context, request bundle.ListDeploymentsRequest) listing.Iterator[bundle.Deployment]
ListDeployments provides a mock function with given fields: ctx, request
func (*MockBundleInterface) ListDeploymentsAll ¶
func (_m *MockBundleInterface) ListDeploymentsAll(ctx context.Context, request bundle.ListDeploymentsRequest) ([]bundle.Deployment, error)
ListDeploymentsAll provides a mock function with given fields: ctx, request
func (*MockBundleInterface) ListOperations ¶
func (_m *MockBundleInterface) ListOperations(ctx context.Context, request bundle.ListOperationsRequest) listing.Iterator[bundle.Operation]
ListOperations provides a mock function with given fields: ctx, request
func (*MockBundleInterface) ListOperationsAll ¶
func (_m *MockBundleInterface) ListOperationsAll(ctx context.Context, request bundle.ListOperationsRequest) ([]bundle.Operation, error)
ListOperationsAll provides a mock function with given fields: ctx, request
func (*MockBundleInterface) ListResources ¶
func (_m *MockBundleInterface) ListResources(ctx context.Context, request bundle.ListResourcesRequest) listing.Iterator[bundle.Resource]
ListResources provides a mock function with given fields: ctx, request
func (*MockBundleInterface) ListResourcesAll ¶
func (_m *MockBundleInterface) ListResourcesAll(ctx context.Context, request bundle.ListResourcesRequest) ([]bundle.Resource, error)
ListResourcesAll provides a mock function with given fields: ctx, request
func (*MockBundleInterface) ListVersions ¶
func (_m *MockBundleInterface) ListVersions(ctx context.Context, request bundle.ListVersionsRequest) listing.Iterator[bundle.Version]
ListVersions provides a mock function with given fields: ctx, request
func (*MockBundleInterface) ListVersionsAll ¶
func (_m *MockBundleInterface) ListVersionsAll(ctx context.Context, request bundle.ListVersionsRequest) ([]bundle.Version, error)
ListVersionsAll provides a mock function with given fields: ctx, request
type MockBundleInterface_CompleteVersion_Call ¶
MockBundleInterface_CompleteVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CompleteVersion'
func (*MockBundleInterface_CompleteVersion_Call) Return ¶
func (_c *MockBundleInterface_CompleteVersion_Call) Return(_a0 *bundle.Version, _a1 error) *MockBundleInterface_CompleteVersion_Call
func (*MockBundleInterface_CompleteVersion_Call) Run ¶
func (_c *MockBundleInterface_CompleteVersion_Call) Run(run func(ctx context.Context, request bundle.CompleteVersionRequest)) *MockBundleInterface_CompleteVersion_Call
func (*MockBundleInterface_CompleteVersion_Call) RunAndReturn ¶
func (_c *MockBundleInterface_CompleteVersion_Call) RunAndReturn(run func(context.Context, bundle.CompleteVersionRequest) (*bundle.Version, error)) *MockBundleInterface_CompleteVersion_Call
type MockBundleInterface_CreateDeployment_Call ¶
MockBundleInterface_CreateDeployment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateDeployment'
func (*MockBundleInterface_CreateDeployment_Call) Return ¶
func (_c *MockBundleInterface_CreateDeployment_Call) Return(_a0 *bundle.Deployment, _a1 error) *MockBundleInterface_CreateDeployment_Call
func (*MockBundleInterface_CreateDeployment_Call) Run ¶
func (_c *MockBundleInterface_CreateDeployment_Call) Run(run func(ctx context.Context, request bundle.CreateDeploymentRequest)) *MockBundleInterface_CreateDeployment_Call
func (*MockBundleInterface_CreateDeployment_Call) RunAndReturn ¶
func (_c *MockBundleInterface_CreateDeployment_Call) RunAndReturn(run func(context.Context, bundle.CreateDeploymentRequest) (*bundle.Deployment, error)) *MockBundleInterface_CreateDeployment_Call
type MockBundleInterface_CreateOperation_Call ¶
MockBundleInterface_CreateOperation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateOperation'
func (*MockBundleInterface_CreateOperation_Call) Return ¶
func (_c *MockBundleInterface_CreateOperation_Call) Return(_a0 *bundle.Operation, _a1 error) *MockBundleInterface_CreateOperation_Call
func (*MockBundleInterface_CreateOperation_Call) Run ¶
func (_c *MockBundleInterface_CreateOperation_Call) Run(run func(ctx context.Context, request bundle.CreateOperationRequest)) *MockBundleInterface_CreateOperation_Call
func (*MockBundleInterface_CreateOperation_Call) RunAndReturn ¶
func (_c *MockBundleInterface_CreateOperation_Call) RunAndReturn(run func(context.Context, bundle.CreateOperationRequest) (*bundle.Operation, error)) *MockBundleInterface_CreateOperation_Call
type MockBundleInterface_CreateVersion_Call ¶
MockBundleInterface_CreateVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateVersion'
func (*MockBundleInterface_CreateVersion_Call) Return ¶
func (_c *MockBundleInterface_CreateVersion_Call) Return(_a0 *bundle.Version, _a1 error) *MockBundleInterface_CreateVersion_Call
func (*MockBundleInterface_CreateVersion_Call) Run ¶
func (_c *MockBundleInterface_CreateVersion_Call) Run(run func(ctx context.Context, request bundle.CreateVersionRequest)) *MockBundleInterface_CreateVersion_Call
func (*MockBundleInterface_CreateVersion_Call) RunAndReturn ¶
func (_c *MockBundleInterface_CreateVersion_Call) RunAndReturn(run func(context.Context, bundle.CreateVersionRequest) (*bundle.Version, error)) *MockBundleInterface_CreateVersion_Call
type MockBundleInterface_DeleteDeployment_Call ¶
MockBundleInterface_DeleteDeployment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteDeployment'
func (*MockBundleInterface_DeleteDeployment_Call) Return ¶
func (_c *MockBundleInterface_DeleteDeployment_Call) Return(_a0 error) *MockBundleInterface_DeleteDeployment_Call
func (*MockBundleInterface_DeleteDeployment_Call) Run ¶
func (_c *MockBundleInterface_DeleteDeployment_Call) Run(run func(ctx context.Context, request bundle.DeleteDeploymentRequest)) *MockBundleInterface_DeleteDeployment_Call
func (*MockBundleInterface_DeleteDeployment_Call) RunAndReturn ¶
func (_c *MockBundleInterface_DeleteDeployment_Call) RunAndReturn(run func(context.Context, bundle.DeleteDeploymentRequest) error) *MockBundleInterface_DeleteDeployment_Call
type MockBundleInterface_Expecter ¶
type MockBundleInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockBundleInterface_Expecter) CompleteVersion ¶
func (_e *MockBundleInterface_Expecter) CompleteVersion(ctx interface{}, request interface{}) *MockBundleInterface_CompleteVersion_Call
CompleteVersion is a helper method to define mock.On call
- ctx context.Context
- request bundle.CompleteVersionRequest
func (*MockBundleInterface_Expecter) CreateDeployment ¶
func (_e *MockBundleInterface_Expecter) CreateDeployment(ctx interface{}, request interface{}) *MockBundleInterface_CreateDeployment_Call
CreateDeployment is a helper method to define mock.On call
- ctx context.Context
- request bundle.CreateDeploymentRequest
func (*MockBundleInterface_Expecter) CreateOperation ¶
func (_e *MockBundleInterface_Expecter) CreateOperation(ctx interface{}, request interface{}) *MockBundleInterface_CreateOperation_Call
CreateOperation is a helper method to define mock.On call
- ctx context.Context
- request bundle.CreateOperationRequest
func (*MockBundleInterface_Expecter) CreateVersion ¶
func (_e *MockBundleInterface_Expecter) CreateVersion(ctx interface{}, request interface{}) *MockBundleInterface_CreateVersion_Call
CreateVersion is a helper method to define mock.On call
- ctx context.Context
- request bundle.CreateVersionRequest
func (*MockBundleInterface_Expecter) DeleteDeployment ¶
func (_e *MockBundleInterface_Expecter) DeleteDeployment(ctx interface{}, request interface{}) *MockBundleInterface_DeleteDeployment_Call
DeleteDeployment is a helper method to define mock.On call
- ctx context.Context
- request bundle.DeleteDeploymentRequest
func (*MockBundleInterface_Expecter) GetDeployment ¶
func (_e *MockBundleInterface_Expecter) GetDeployment(ctx interface{}, request interface{}) *MockBundleInterface_GetDeployment_Call
GetDeployment is a helper method to define mock.On call
- ctx context.Context
- request bundle.GetDeploymentRequest
func (*MockBundleInterface_Expecter) GetOperation ¶
func (_e *MockBundleInterface_Expecter) GetOperation(ctx interface{}, request interface{}) *MockBundleInterface_GetOperation_Call
GetOperation is a helper method to define mock.On call
- ctx context.Context
- request bundle.GetOperationRequest
func (*MockBundleInterface_Expecter) GetResource ¶
func (_e *MockBundleInterface_Expecter) GetResource(ctx interface{}, request interface{}) *MockBundleInterface_GetResource_Call
GetResource is a helper method to define mock.On call
- ctx context.Context
- request bundle.GetResourceRequest
func (*MockBundleInterface_Expecter) GetVersion ¶
func (_e *MockBundleInterface_Expecter) GetVersion(ctx interface{}, request interface{}) *MockBundleInterface_GetVersion_Call
GetVersion is a helper method to define mock.On call
- ctx context.Context
- request bundle.GetVersionRequest
func (*MockBundleInterface_Expecter) Heartbeat ¶
func (_e *MockBundleInterface_Expecter) Heartbeat(ctx interface{}, request interface{}) *MockBundleInterface_Heartbeat_Call
Heartbeat is a helper method to define mock.On call
- ctx context.Context
- request bundle.HeartbeatRequest
func (*MockBundleInterface_Expecter) ListDeployments ¶
func (_e *MockBundleInterface_Expecter) ListDeployments(ctx interface{}, request interface{}) *MockBundleInterface_ListDeployments_Call
ListDeployments is a helper method to define mock.On call
- ctx context.Context
- request bundle.ListDeploymentsRequest
func (*MockBundleInterface_Expecter) ListDeploymentsAll ¶
func (_e *MockBundleInterface_Expecter) ListDeploymentsAll(ctx interface{}, request interface{}) *MockBundleInterface_ListDeploymentsAll_Call
ListDeploymentsAll is a helper method to define mock.On call
- ctx context.Context
- request bundle.ListDeploymentsRequest
func (*MockBundleInterface_Expecter) ListOperations ¶
func (_e *MockBundleInterface_Expecter) ListOperations(ctx interface{}, request interface{}) *MockBundleInterface_ListOperations_Call
ListOperations is a helper method to define mock.On call
- ctx context.Context
- request bundle.ListOperationsRequest
func (*MockBundleInterface_Expecter) ListOperationsAll ¶
func (_e *MockBundleInterface_Expecter) ListOperationsAll(ctx interface{}, request interface{}) *MockBundleInterface_ListOperationsAll_Call
ListOperationsAll is a helper method to define mock.On call
- ctx context.Context
- request bundle.ListOperationsRequest
func (*MockBundleInterface_Expecter) ListResources ¶
func (_e *MockBundleInterface_Expecter) ListResources(ctx interface{}, request interface{}) *MockBundleInterface_ListResources_Call
ListResources is a helper method to define mock.On call
- ctx context.Context
- request bundle.ListResourcesRequest
func (*MockBundleInterface_Expecter) ListResourcesAll ¶
func (_e *MockBundleInterface_Expecter) ListResourcesAll(ctx interface{}, request interface{}) *MockBundleInterface_ListResourcesAll_Call
ListResourcesAll is a helper method to define mock.On call
- ctx context.Context
- request bundle.ListResourcesRequest
func (*MockBundleInterface_Expecter) ListVersions ¶
func (_e *MockBundleInterface_Expecter) ListVersions(ctx interface{}, request interface{}) *MockBundleInterface_ListVersions_Call
ListVersions is a helper method to define mock.On call
- ctx context.Context
- request bundle.ListVersionsRequest
func (*MockBundleInterface_Expecter) ListVersionsAll ¶
func (_e *MockBundleInterface_Expecter) ListVersionsAll(ctx interface{}, request interface{}) *MockBundleInterface_ListVersionsAll_Call
ListVersionsAll is a helper method to define mock.On call
- ctx context.Context
- request bundle.ListVersionsRequest
type MockBundleInterface_GetDeployment_Call ¶
MockBundleInterface_GetDeployment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDeployment'
func (*MockBundleInterface_GetDeployment_Call) Return ¶
func (_c *MockBundleInterface_GetDeployment_Call) Return(_a0 *bundle.Deployment, _a1 error) *MockBundleInterface_GetDeployment_Call
func (*MockBundleInterface_GetDeployment_Call) Run ¶
func (_c *MockBundleInterface_GetDeployment_Call) Run(run func(ctx context.Context, request bundle.GetDeploymentRequest)) *MockBundleInterface_GetDeployment_Call
func (*MockBundleInterface_GetDeployment_Call) RunAndReturn ¶
func (_c *MockBundleInterface_GetDeployment_Call) RunAndReturn(run func(context.Context, bundle.GetDeploymentRequest) (*bundle.Deployment, error)) *MockBundleInterface_GetDeployment_Call
type MockBundleInterface_GetOperation_Call ¶
MockBundleInterface_GetOperation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOperation'
func (*MockBundleInterface_GetOperation_Call) Return ¶
func (_c *MockBundleInterface_GetOperation_Call) Return(_a0 *bundle.Operation, _a1 error) *MockBundleInterface_GetOperation_Call
func (*MockBundleInterface_GetOperation_Call) Run ¶
func (_c *MockBundleInterface_GetOperation_Call) Run(run func(ctx context.Context, request bundle.GetOperationRequest)) *MockBundleInterface_GetOperation_Call
func (*MockBundleInterface_GetOperation_Call) RunAndReturn ¶
func (_c *MockBundleInterface_GetOperation_Call) RunAndReturn(run func(context.Context, bundle.GetOperationRequest) (*bundle.Operation, error)) *MockBundleInterface_GetOperation_Call
type MockBundleInterface_GetResource_Call ¶
MockBundleInterface_GetResource_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetResource'
func (*MockBundleInterface_GetResource_Call) Return ¶
func (_c *MockBundleInterface_GetResource_Call) Return(_a0 *bundle.Resource, _a1 error) *MockBundleInterface_GetResource_Call
func (*MockBundleInterface_GetResource_Call) Run ¶
func (_c *MockBundleInterface_GetResource_Call) Run(run func(ctx context.Context, request bundle.GetResourceRequest)) *MockBundleInterface_GetResource_Call
func (*MockBundleInterface_GetResource_Call) RunAndReturn ¶
func (_c *MockBundleInterface_GetResource_Call) RunAndReturn(run func(context.Context, bundle.GetResourceRequest) (*bundle.Resource, error)) *MockBundleInterface_GetResource_Call
type MockBundleInterface_GetVersion_Call ¶
MockBundleInterface_GetVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetVersion'
func (*MockBundleInterface_GetVersion_Call) Return ¶
func (_c *MockBundleInterface_GetVersion_Call) Return(_a0 *bundle.Version, _a1 error) *MockBundleInterface_GetVersion_Call
func (*MockBundleInterface_GetVersion_Call) Run ¶
func (_c *MockBundleInterface_GetVersion_Call) Run(run func(ctx context.Context, request bundle.GetVersionRequest)) *MockBundleInterface_GetVersion_Call
func (*MockBundleInterface_GetVersion_Call) RunAndReturn ¶
func (_c *MockBundleInterface_GetVersion_Call) RunAndReturn(run func(context.Context, bundle.GetVersionRequest) (*bundle.Version, error)) *MockBundleInterface_GetVersion_Call
type MockBundleInterface_Heartbeat_Call ¶
MockBundleInterface_Heartbeat_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Heartbeat'
func (*MockBundleInterface_Heartbeat_Call) Return ¶
func (_c *MockBundleInterface_Heartbeat_Call) Return(_a0 *bundle.HeartbeatResponse, _a1 error) *MockBundleInterface_Heartbeat_Call
func (*MockBundleInterface_Heartbeat_Call) Run ¶
func (_c *MockBundleInterface_Heartbeat_Call) Run(run func(ctx context.Context, request bundle.HeartbeatRequest)) *MockBundleInterface_Heartbeat_Call
func (*MockBundleInterface_Heartbeat_Call) RunAndReturn ¶
func (_c *MockBundleInterface_Heartbeat_Call) RunAndReturn(run func(context.Context, bundle.HeartbeatRequest) (*bundle.HeartbeatResponse, error)) *MockBundleInterface_Heartbeat_Call
type MockBundleInterface_ListDeploymentsAll_Call ¶
MockBundleInterface_ListDeploymentsAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListDeploymentsAll'
func (*MockBundleInterface_ListDeploymentsAll_Call) Return ¶
func (_c *MockBundleInterface_ListDeploymentsAll_Call) Return(_a0 []bundle.Deployment, _a1 error) *MockBundleInterface_ListDeploymentsAll_Call
func (*MockBundleInterface_ListDeploymentsAll_Call) Run ¶
func (_c *MockBundleInterface_ListDeploymentsAll_Call) Run(run func(ctx context.Context, request bundle.ListDeploymentsRequest)) *MockBundleInterface_ListDeploymentsAll_Call
func (*MockBundleInterface_ListDeploymentsAll_Call) RunAndReturn ¶
func (_c *MockBundleInterface_ListDeploymentsAll_Call) RunAndReturn(run func(context.Context, bundle.ListDeploymentsRequest) ([]bundle.Deployment, error)) *MockBundleInterface_ListDeploymentsAll_Call
type MockBundleInterface_ListDeployments_Call ¶
MockBundleInterface_ListDeployments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListDeployments'
func (*MockBundleInterface_ListDeployments_Call) Return ¶
func (_c *MockBundleInterface_ListDeployments_Call) Return(_a0 listing.Iterator[bundle.Deployment]) *MockBundleInterface_ListDeployments_Call
func (*MockBundleInterface_ListDeployments_Call) Run ¶
func (_c *MockBundleInterface_ListDeployments_Call) Run(run func(ctx context.Context, request bundle.ListDeploymentsRequest)) *MockBundleInterface_ListDeployments_Call
func (*MockBundleInterface_ListDeployments_Call) RunAndReturn ¶
func (_c *MockBundleInterface_ListDeployments_Call) RunAndReturn(run func(context.Context, bundle.ListDeploymentsRequest) listing.Iterator[bundle.Deployment]) *MockBundleInterface_ListDeployments_Call
type MockBundleInterface_ListOperationsAll_Call ¶
MockBundleInterface_ListOperationsAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListOperationsAll'
func (*MockBundleInterface_ListOperationsAll_Call) Return ¶
func (_c *MockBundleInterface_ListOperationsAll_Call) Return(_a0 []bundle.Operation, _a1 error) *MockBundleInterface_ListOperationsAll_Call
func (*MockBundleInterface_ListOperationsAll_Call) Run ¶
func (_c *MockBundleInterface_ListOperationsAll_Call) Run(run func(ctx context.Context, request bundle.ListOperationsRequest)) *MockBundleInterface_ListOperationsAll_Call
func (*MockBundleInterface_ListOperationsAll_Call) RunAndReturn ¶
func (_c *MockBundleInterface_ListOperationsAll_Call) RunAndReturn(run func(context.Context, bundle.ListOperationsRequest) ([]bundle.Operation, error)) *MockBundleInterface_ListOperationsAll_Call
type MockBundleInterface_ListOperations_Call ¶
MockBundleInterface_ListOperations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListOperations'
func (*MockBundleInterface_ListOperations_Call) Return ¶
func (_c *MockBundleInterface_ListOperations_Call) Return(_a0 listing.Iterator[bundle.Operation]) *MockBundleInterface_ListOperations_Call
func (*MockBundleInterface_ListOperations_Call) Run ¶
func (_c *MockBundleInterface_ListOperations_Call) Run(run func(ctx context.Context, request bundle.ListOperationsRequest)) *MockBundleInterface_ListOperations_Call
func (*MockBundleInterface_ListOperations_Call) RunAndReturn ¶
func (_c *MockBundleInterface_ListOperations_Call) RunAndReturn(run func(context.Context, bundle.ListOperationsRequest) listing.Iterator[bundle.Operation]) *MockBundleInterface_ListOperations_Call
type MockBundleInterface_ListResourcesAll_Call ¶
MockBundleInterface_ListResourcesAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListResourcesAll'
func (*MockBundleInterface_ListResourcesAll_Call) Return ¶
func (_c *MockBundleInterface_ListResourcesAll_Call) Return(_a0 []bundle.Resource, _a1 error) *MockBundleInterface_ListResourcesAll_Call
func (*MockBundleInterface_ListResourcesAll_Call) Run ¶
func (_c *MockBundleInterface_ListResourcesAll_Call) Run(run func(ctx context.Context, request bundle.ListResourcesRequest)) *MockBundleInterface_ListResourcesAll_Call
func (*MockBundleInterface_ListResourcesAll_Call) RunAndReturn ¶
func (_c *MockBundleInterface_ListResourcesAll_Call) RunAndReturn(run func(context.Context, bundle.ListResourcesRequest) ([]bundle.Resource, error)) *MockBundleInterface_ListResourcesAll_Call
type MockBundleInterface_ListResources_Call ¶
MockBundleInterface_ListResources_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListResources'
func (*MockBundleInterface_ListResources_Call) Return ¶
func (_c *MockBundleInterface_ListResources_Call) Return(_a0 listing.Iterator[bundle.Resource]) *MockBundleInterface_ListResources_Call
func (*MockBundleInterface_ListResources_Call) Run ¶
func (_c *MockBundleInterface_ListResources_Call) Run(run func(ctx context.Context, request bundle.ListResourcesRequest)) *MockBundleInterface_ListResources_Call
func (*MockBundleInterface_ListResources_Call) RunAndReturn ¶
func (_c *MockBundleInterface_ListResources_Call) RunAndReturn(run func(context.Context, bundle.ListResourcesRequest) listing.Iterator[bundle.Resource]) *MockBundleInterface_ListResources_Call
type MockBundleInterface_ListVersionsAll_Call ¶
MockBundleInterface_ListVersionsAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListVersionsAll'
func (*MockBundleInterface_ListVersionsAll_Call) Return ¶
func (_c *MockBundleInterface_ListVersionsAll_Call) Return(_a0 []bundle.Version, _a1 error) *MockBundleInterface_ListVersionsAll_Call
func (*MockBundleInterface_ListVersionsAll_Call) Run ¶
func (_c *MockBundleInterface_ListVersionsAll_Call) Run(run func(ctx context.Context, request bundle.ListVersionsRequest)) *MockBundleInterface_ListVersionsAll_Call
func (*MockBundleInterface_ListVersionsAll_Call) RunAndReturn ¶
func (_c *MockBundleInterface_ListVersionsAll_Call) RunAndReturn(run func(context.Context, bundle.ListVersionsRequest) ([]bundle.Version, error)) *MockBundleInterface_ListVersionsAll_Call
type MockBundleInterface_ListVersions_Call ¶
MockBundleInterface_ListVersions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListVersions'
func (*MockBundleInterface_ListVersions_Call) Return ¶
func (_c *MockBundleInterface_ListVersions_Call) Return(_a0 listing.Iterator[bundle.Version]) *MockBundleInterface_ListVersions_Call
func (*MockBundleInterface_ListVersions_Call) Run ¶
func (_c *MockBundleInterface_ListVersions_Call) Run(run func(ctx context.Context, request bundle.ListVersionsRequest)) *MockBundleInterface_ListVersions_Call
func (*MockBundleInterface_ListVersions_Call) RunAndReturn ¶
func (_c *MockBundleInterface_ListVersions_Call) RunAndReturn(run func(context.Context, bundle.ListVersionsRequest) listing.Iterator[bundle.Version]) *MockBundleInterface_ListVersions_Call