bundle

package
v0.135.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBundleInterface

type MockBundleInterface struct {
	mock.Mock
}

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

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 (*MockBundleInterface) GetDeployment

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

func (*MockBundleInterface) GetOperation

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

func (*MockBundleInterface) GetResource

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

func (*MockBundleInterface) GetVersion

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

func (*MockBundleInterface) Heartbeat

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

func (*MockBundleInterface) ListDeployments

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

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

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

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

type MockBundleInterface_CompleteVersion_Call struct {
	*mock.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 (*MockBundleInterface_CompleteVersion_Call) Run

type MockBundleInterface_CreateDeployment_Call

type MockBundleInterface_CreateDeployment_Call struct {
	*mock.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 (*MockBundleInterface_CreateDeployment_Call) Run

type MockBundleInterface_CreateOperation_Call

type MockBundleInterface_CreateOperation_Call struct {
	*mock.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 (*MockBundleInterface_CreateOperation_Call) Run

type MockBundleInterface_CreateVersion_Call

type MockBundleInterface_CreateVersion_Call struct {
	*mock.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 (*MockBundleInterface_CreateVersion_Call) Run

func (*MockBundleInterface_CreateVersion_Call) RunAndReturn

type MockBundleInterface_DeleteDeployment_Call

type MockBundleInterface_DeleteDeployment_Call struct {
	*mock.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 (*MockBundleInterface_DeleteDeployment_Call) Run

func (*MockBundleInterface_DeleteDeployment_Call) RunAndReturn

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

type MockBundleInterface_GetDeployment_Call struct {
	*mock.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 (*MockBundleInterface_GetDeployment_Call) Run

type MockBundleInterface_GetOperation_Call

type MockBundleInterface_GetOperation_Call struct {
	*mock.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 (*MockBundleInterface_GetOperation_Call) Run

func (*MockBundleInterface_GetOperation_Call) RunAndReturn

type MockBundleInterface_GetResource_Call

type MockBundleInterface_GetResource_Call struct {
	*mock.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 (*MockBundleInterface_GetResource_Call) Run

func (*MockBundleInterface_GetResource_Call) RunAndReturn

type MockBundleInterface_GetVersion_Call

type MockBundleInterface_GetVersion_Call struct {
	*mock.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 (*MockBundleInterface_GetVersion_Call) Run

func (*MockBundleInterface_GetVersion_Call) RunAndReturn

type MockBundleInterface_Heartbeat_Call

type MockBundleInterface_Heartbeat_Call struct {
	*mock.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 (*MockBundleInterface_Heartbeat_Call) Run

type MockBundleInterface_ListDeploymentsAll_Call

type MockBundleInterface_ListDeploymentsAll_Call struct {
	*mock.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 (*MockBundleInterface_ListDeploymentsAll_Call) Run

type MockBundleInterface_ListDeployments_Call

type MockBundleInterface_ListDeployments_Call struct {
	*mock.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 (*MockBundleInterface_ListDeployments_Call) Run

type MockBundleInterface_ListOperationsAll_Call

type MockBundleInterface_ListOperationsAll_Call struct {
	*mock.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 (*MockBundleInterface_ListOperationsAll_Call) Run

type MockBundleInterface_ListOperations_Call

type MockBundleInterface_ListOperations_Call struct {
	*mock.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 (*MockBundleInterface_ListOperations_Call) Run

type MockBundleInterface_ListResourcesAll_Call

type MockBundleInterface_ListResourcesAll_Call struct {
	*mock.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 (*MockBundleInterface_ListResourcesAll_Call) Run

func (*MockBundleInterface_ListResourcesAll_Call) RunAndReturn

type MockBundleInterface_ListResources_Call

type MockBundleInterface_ListResources_Call struct {
	*mock.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 (*MockBundleInterface_ListResources_Call) Run

type MockBundleInterface_ListVersionsAll_Call

type MockBundleInterface_ListVersionsAll_Call struct {
	*mock.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 (*MockBundleInterface_ListVersionsAll_Call) Run

func (*MockBundleInterface_ListVersionsAll_Call) RunAndReturn

type MockBundleInterface_ListVersions_Call

type MockBundleInterface_ListVersions_Call struct {
	*mock.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 (*MockBundleInterface_ListVersions_Call) Run

Jump to

Keyboard shortcuts

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