Help us shape the future of Go! Take the 2026 Go Developer Survey

bundle

package
v0.190.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 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 (_mock *MockBundleInterface) CompleteVersion(ctx context.Context, request bundle.CompleteVersionRequest) (*bundle.Version, error)

CompleteVersion provides a mock function for the type MockBundleInterface

func (*MockBundleInterface) CreateDeployment

func (_mock *MockBundleInterface) CreateDeployment(ctx context.Context, request bundle.CreateDeploymentRequest) (*bundle.Deployment, error)

CreateDeployment provides a mock function for the type MockBundleInterface

func (*MockBundleInterface) CreateOperation

func (_mock *MockBundleInterface) CreateOperation(ctx context.Context, request bundle.CreateOperationRequest) (*bundle.Operation, error)

CreateOperation provides a mock function for the type MockBundleInterface

func (*MockBundleInterface) CreateVersion

func (_mock *MockBundleInterface) CreateVersion(ctx context.Context, request bundle.CreateVersionRequest) (*bundle.Version, error)

CreateVersion provides a mock function for the type MockBundleInterface

func (*MockBundleInterface) DeleteDeployment

func (_mock *MockBundleInterface) DeleteDeployment(ctx context.Context, request bundle.DeleteDeploymentRequest) error

DeleteDeployment provides a mock function for the type MockBundleInterface

func (*MockBundleInterface) EXPECT

func (*MockBundleInterface) GetDeployment

func (_mock *MockBundleInterface) GetDeployment(ctx context.Context, request bundle.GetDeploymentRequest) (*bundle.Deployment, error)

GetDeployment provides a mock function for the type MockBundleInterface

func (*MockBundleInterface) GetOperation

func (_mock *MockBundleInterface) GetOperation(ctx context.Context, request bundle.GetOperationRequest) (*bundle.Operation, error)

GetOperation provides a mock function for the type MockBundleInterface

func (*MockBundleInterface) GetResource

func (_mock *MockBundleInterface) GetResource(ctx context.Context, request bundle.GetResourceRequest) (*bundle.Resource, error)

GetResource provides a mock function for the type MockBundleInterface

func (*MockBundleInterface) GetVersion

func (_mock *MockBundleInterface) GetVersion(ctx context.Context, request bundle.GetVersionRequest) (*bundle.Version, error)

GetVersion provides a mock function for the type MockBundleInterface

func (*MockBundleInterface) Heartbeat

Heartbeat provides a mock function for the type MockBundleInterface

func (*MockBundleInterface) ListDeployments

ListDeployments provides a mock function for the type MockBundleInterface

func (*MockBundleInterface) ListDeploymentsAll

func (_mock *MockBundleInterface) ListDeploymentsAll(ctx context.Context, request bundle.ListDeploymentsRequest) ([]bundle.Deployment, error)

ListDeploymentsAll provides a mock function for the type MockBundleInterface

func (*MockBundleInterface) ListOperations

ListOperations provides a mock function for the type MockBundleInterface

func (*MockBundleInterface) ListOperationsAll

func (_mock *MockBundleInterface) ListOperationsAll(ctx context.Context, request bundle.ListOperationsRequest) ([]bundle.Operation, error)

ListOperationsAll provides a mock function for the type MockBundleInterface

func (*MockBundleInterface) ListResources

ListResources provides a mock function for the type MockBundleInterface

func (*MockBundleInterface) ListResourcesAll

func (_mock *MockBundleInterface) ListResourcesAll(ctx context.Context, request bundle.ListResourcesRequest) ([]bundle.Resource, error)

ListResourcesAll provides a mock function for the type MockBundleInterface

func (*MockBundleInterface) ListVersions

ListVersions provides a mock function for the type MockBundleInterface

func (*MockBundleInterface) ListVersionsAll

func (_mock *MockBundleInterface) ListVersionsAll(ctx context.Context, request bundle.ListVersionsRequest) ([]bundle.Version, error)

ListVersionsAll provides a mock function for the type MockBundleInterface

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

func (*MockBundleInterface_CompleteVersion_Call) RunAndReturn

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

func (*MockBundleInterface_CreateDeployment_Call) RunAndReturn

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

func (*MockBundleInterface_CreateOperation_Call) RunAndReturn

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

CompleteVersion is a helper method to define mock.On call

  • ctx context.Context
  • request bundle.CompleteVersionRequest

func (*MockBundleInterface_Expecter) CreateDeployment

CreateDeployment is a helper method to define mock.On call

  • ctx context.Context
  • request bundle.CreateDeploymentRequest

func (*MockBundleInterface_Expecter) CreateOperation

CreateOperation is a helper method to define mock.On call

  • ctx context.Context
  • request bundle.CreateOperationRequest

func (*MockBundleInterface_Expecter) CreateVersion

CreateVersion is a helper method to define mock.On call

  • ctx context.Context
  • request bundle.CreateVersionRequest

func (*MockBundleInterface_Expecter) DeleteDeployment

DeleteDeployment is a helper method to define mock.On call

  • ctx context.Context
  • request bundle.DeleteDeploymentRequest

func (*MockBundleInterface_Expecter) GetDeployment

GetDeployment is a helper method to define mock.On call

  • ctx context.Context
  • request bundle.GetDeploymentRequest

func (*MockBundleInterface_Expecter) GetOperation

GetOperation is a helper method to define mock.On call

  • ctx context.Context
  • request bundle.GetOperationRequest

func (*MockBundleInterface_Expecter) GetResource

GetResource is a helper method to define mock.On call

  • ctx context.Context
  • request bundle.GetResourceRequest

func (*MockBundleInterface_Expecter) GetVersion

GetVersion is a helper method to define mock.On call

  • ctx context.Context
  • request bundle.GetVersionRequest

func (*MockBundleInterface_Expecter) Heartbeat

Heartbeat is a helper method to define mock.On call

  • ctx context.Context
  • request bundle.HeartbeatRequest

func (*MockBundleInterface_Expecter) ListDeployments

ListDeployments is a helper method to define mock.On call

  • ctx context.Context
  • request bundle.ListDeploymentsRequest

func (*MockBundleInterface_Expecter) ListDeploymentsAll

ListDeploymentsAll is a helper method to define mock.On call

  • ctx context.Context
  • request bundle.ListDeploymentsRequest

func (*MockBundleInterface_Expecter) ListOperations

ListOperations is a helper method to define mock.On call

  • ctx context.Context
  • request bundle.ListOperationsRequest

func (*MockBundleInterface_Expecter) ListOperationsAll

ListOperationsAll is a helper method to define mock.On call

  • ctx context.Context
  • request bundle.ListOperationsRequest

func (*MockBundleInterface_Expecter) ListResources

ListResources is a helper method to define mock.On call

  • ctx context.Context
  • request bundle.ListResourcesRequest

func (*MockBundleInterface_Expecter) ListResourcesAll

ListResourcesAll is a helper method to define mock.On call

  • ctx context.Context
  • request bundle.ListResourcesRequest

func (*MockBundleInterface_Expecter) ListVersions

ListVersions is a helper method to define mock.On call

  • ctx context.Context
  • request bundle.ListVersionsRequest

func (*MockBundleInterface_Expecter) ListVersionsAll

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

func (*MockBundleInterface_GetDeployment_Call) RunAndReturn

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

func (*MockBundleInterface_Heartbeat_Call) RunAndReturn

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

func (*MockBundleInterface_ListDeploymentsAll_Call) RunAndReturn

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

func (*MockBundleInterface_ListDeployments_Call) RunAndReturn

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

func (*MockBundleInterface_ListOperationsAll_Call) RunAndReturn

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

func (*MockBundleInterface_ListOperations_Call) RunAndReturn

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

func (*MockBundleInterface_ListResources_Call) RunAndReturn

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

func (*MockBundleInterface_ListVersions_Call) RunAndReturn

Jump to

Keyboard shortcuts

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