m_client

package
v1.3.8 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: Apache-2.0 Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

type MockClient struct {
	mock.Mock
}

MockClient is an autogenerated mock type for the Client type

func NewMockClient

func NewMockClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockClient

NewMockClient creates a new instance of MockClient. 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 (*MockClient) Apply

Apply provides a mock function with given fields: ctx, obj, opts

func (*MockClient) Create

func (_m *MockClient) Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) error

Create provides a mock function with given fields: ctx, obj, opts

func (*MockClient) Delete

func (_m *MockClient) Delete(ctx context.Context, obj client.Object, opts ...client.DeleteOption) error

Delete provides a mock function with given fields: ctx, obj, opts

func (*MockClient) DeleteAllOf

func (_m *MockClient) DeleteAllOf(ctx context.Context, obj client.Object, opts ...client.DeleteAllOfOption) error

DeleteAllOf provides a mock function with given fields: ctx, obj, opts

func (*MockClient) EXPECT

func (_m *MockClient) EXPECT() *MockClient_Expecter

func (*MockClient) Get

func (_m *MockClient) Get(ctx context.Context, key types.NamespacedName, obj client.Object, opts ...client.GetOption) error

Get provides a mock function with given fields: ctx, key, obj, opts

func (*MockClient) GroupVersionKindFor

func (_m *MockClient) GroupVersionKindFor(obj runtime.Object) (schema.GroupVersionKind, error)

GroupVersionKindFor provides a mock function with given fields: obj

func (*MockClient) IsObjectNamespaced

func (_m *MockClient) IsObjectNamespaced(obj runtime.Object) (bool, error)

IsObjectNamespaced provides a mock function with given fields: obj

func (*MockClient) List

func (_m *MockClient) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error

List provides a mock function with given fields: ctx, list, opts

func (*MockClient) Patch

func (_m *MockClient) Patch(ctx context.Context, obj client.Object, patch client.Patch, opts ...client.PatchOption) error

Patch provides a mock function with given fields: ctx, obj, patch, opts

func (*MockClient) RESTMapper

func (_m *MockClient) RESTMapper() meta.RESTMapper

RESTMapper provides a mock function with no fields

func (*MockClient) Scheme

func (_m *MockClient) Scheme() *runtime.Scheme

Scheme provides a mock function with no fields

func (*MockClient) Status

func (_m *MockClient) Status() client.SubResourceWriter

Status provides a mock function with no fields

func (*MockClient) SubResource

func (_m *MockClient) SubResource(subResource string) client.SubResourceClient

SubResource provides a mock function with given fields: subResource

func (*MockClient) Update

func (_m *MockClient) Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error

Update provides a mock function with given fields: ctx, obj, opts

type MockClient_Apply_Call

type MockClient_Apply_Call struct {
	*mock.Call
}

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

func (*MockClient_Apply_Call) Return

func (*MockClient_Apply_Call) Run

func (*MockClient_Apply_Call) RunAndReturn

type MockClient_Create_Call

type MockClient_Create_Call struct {
	*mock.Call
}

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

func (*MockClient_Create_Call) Return

func (*MockClient_Create_Call) Run

func (*MockClient_Create_Call) RunAndReturn

type MockClient_DeleteAllOf_Call

type MockClient_DeleteAllOf_Call struct {
	*mock.Call
}

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

func (*MockClient_DeleteAllOf_Call) Return

func (*MockClient_DeleteAllOf_Call) Run

func (*MockClient_DeleteAllOf_Call) RunAndReturn

type MockClient_Delete_Call

type MockClient_Delete_Call struct {
	*mock.Call
}

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

func (*MockClient_Delete_Call) Return

func (*MockClient_Delete_Call) Run

func (*MockClient_Delete_Call) RunAndReturn

type MockClient_Expecter

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

func (*MockClient_Expecter) Apply

func (_e *MockClient_Expecter) Apply(ctx interface{}, obj interface{}, opts ...interface{}) *MockClient_Apply_Call

Apply is a helper method to define mock.On call

  • ctx context.Context
  • obj runtime.ApplyConfiguration
  • opts ...client.ApplyOption

func (*MockClient_Expecter) Create

func (_e *MockClient_Expecter) Create(ctx interface{}, obj interface{}, opts ...interface{}) *MockClient_Create_Call

Create is a helper method to define mock.On call

  • ctx context.Context
  • obj client.Object
  • opts ...client.CreateOption

func (*MockClient_Expecter) Delete

func (_e *MockClient_Expecter) Delete(ctx interface{}, obj interface{}, opts ...interface{}) *MockClient_Delete_Call

Delete is a helper method to define mock.On call

  • ctx context.Context
  • obj client.Object
  • opts ...client.DeleteOption

func (*MockClient_Expecter) DeleteAllOf

func (_e *MockClient_Expecter) DeleteAllOf(ctx interface{}, obj interface{}, opts ...interface{}) *MockClient_DeleteAllOf_Call

DeleteAllOf is a helper method to define mock.On call

  • ctx context.Context
  • obj client.Object
  • opts ...client.DeleteAllOfOption

func (*MockClient_Expecter) Get

func (_e *MockClient_Expecter) Get(ctx interface{}, key interface{}, obj interface{}, opts ...interface{}) *MockClient_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • key types.NamespacedName
  • obj client.Object
  • opts ...client.GetOption

func (*MockClient_Expecter) GroupVersionKindFor

func (_e *MockClient_Expecter) GroupVersionKindFor(obj interface{}) *MockClient_GroupVersionKindFor_Call

GroupVersionKindFor is a helper method to define mock.On call

  • obj runtime.Object

func (*MockClient_Expecter) IsObjectNamespaced

func (_e *MockClient_Expecter) IsObjectNamespaced(obj interface{}) *MockClient_IsObjectNamespaced_Call

IsObjectNamespaced is a helper method to define mock.On call

  • obj runtime.Object

func (*MockClient_Expecter) List

func (_e *MockClient_Expecter) List(ctx interface{}, list interface{}, opts ...interface{}) *MockClient_List_Call

List is a helper method to define mock.On call

  • ctx context.Context
  • list client.ObjectList
  • opts ...client.ListOption

func (*MockClient_Expecter) Patch

func (_e *MockClient_Expecter) Patch(ctx interface{}, obj interface{}, patch interface{}, opts ...interface{}) *MockClient_Patch_Call

Patch is a helper method to define mock.On call

  • ctx context.Context
  • obj client.Object
  • patch client.Patch
  • opts ...client.PatchOption

func (*MockClient_Expecter) RESTMapper

RESTMapper is a helper method to define mock.On call

func (*MockClient_Expecter) Scheme

Scheme is a helper method to define mock.On call

func (*MockClient_Expecter) Status

Status is a helper method to define mock.On call

func (*MockClient_Expecter) SubResource

func (_e *MockClient_Expecter) SubResource(subResource interface{}) *MockClient_SubResource_Call

SubResource is a helper method to define mock.On call

  • subResource string

func (*MockClient_Expecter) Update

func (_e *MockClient_Expecter) Update(ctx interface{}, obj interface{}, opts ...interface{}) *MockClient_Update_Call

Update is a helper method to define mock.On call

  • ctx context.Context
  • obj client.Object
  • opts ...client.UpdateOption

type MockClient_Get_Call

type MockClient_Get_Call struct {
	*mock.Call
}

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

func (*MockClient_Get_Call) Return

func (*MockClient_Get_Call) Run

func (*MockClient_Get_Call) RunAndReturn

type MockClient_GroupVersionKindFor_Call

type MockClient_GroupVersionKindFor_Call struct {
	*mock.Call
}

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

func (*MockClient_GroupVersionKindFor_Call) Return

func (*MockClient_GroupVersionKindFor_Call) Run

func (*MockClient_GroupVersionKindFor_Call) RunAndReturn

type MockClient_IsObjectNamespaced_Call

type MockClient_IsObjectNamespaced_Call struct {
	*mock.Call
}

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

func (*MockClient_IsObjectNamespaced_Call) Return

func (*MockClient_IsObjectNamespaced_Call) Run

func (*MockClient_IsObjectNamespaced_Call) RunAndReturn

type MockClient_List_Call

type MockClient_List_Call struct {
	*mock.Call
}

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

func (*MockClient_List_Call) Return

func (*MockClient_List_Call) Run

func (*MockClient_List_Call) RunAndReturn

type MockClient_Patch_Call

type MockClient_Patch_Call struct {
	*mock.Call
}

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

func (*MockClient_Patch_Call) Return

func (*MockClient_Patch_Call) Run

func (*MockClient_Patch_Call) RunAndReturn

type MockClient_RESTMapper_Call

type MockClient_RESTMapper_Call struct {
	*mock.Call
}

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

func (*MockClient_RESTMapper_Call) Return

func (*MockClient_RESTMapper_Call) Run

func (*MockClient_RESTMapper_Call) RunAndReturn

type MockClient_Scheme_Call

type MockClient_Scheme_Call struct {
	*mock.Call
}

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

func (*MockClient_Scheme_Call) Return

func (*MockClient_Scheme_Call) Run

func (_c *MockClient_Scheme_Call) Run(run func()) *MockClient_Scheme_Call

func (*MockClient_Scheme_Call) RunAndReturn

func (_c *MockClient_Scheme_Call) RunAndReturn(run func() *runtime.Scheme) *MockClient_Scheme_Call

type MockClient_Status_Call

type MockClient_Status_Call struct {
	*mock.Call
}

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

func (*MockClient_Status_Call) Return

func (*MockClient_Status_Call) Run

func (_c *MockClient_Status_Call) Run(run func()) *MockClient_Status_Call

func (*MockClient_Status_Call) RunAndReturn

type MockClient_SubResource_Call

type MockClient_SubResource_Call struct {
	*mock.Call
}

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

func (*MockClient_SubResource_Call) Return

func (*MockClient_SubResource_Call) Run

func (_c *MockClient_SubResource_Call) Run(run func(subResource string)) *MockClient_SubResource_Call

func (*MockClient_SubResource_Call) RunAndReturn

type MockClient_Update_Call

type MockClient_Update_Call struct {
	*mock.Call
}

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

func (*MockClient_Update_Call) Return

func (*MockClient_Update_Call) Run

func (*MockClient_Update_Call) RunAndReturn

type MockSubResourceWriter

type MockSubResourceWriter struct {
	mock.Mock
}

MockSubResourceWriter is an autogenerated mock type for the SubResourceWriter type

func NewMockSubResourceWriter

func NewMockSubResourceWriter(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockSubResourceWriter

NewMockSubResourceWriter creates a new instance of MockSubResourceWriter. 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 (*MockSubResourceWriter) Apply

Apply provides a mock function with given fields: ctx, obj, opts

func (*MockSubResourceWriter) Create

Create provides a mock function with given fields: ctx, obj, subResource, opts

func (*MockSubResourceWriter) EXPECT

func (*MockSubResourceWriter) Patch

Patch provides a mock function with given fields: ctx, obj, patch, opts

func (*MockSubResourceWriter) Update

Update provides a mock function with given fields: ctx, obj, opts

type MockSubResourceWriter_Apply_Call

type MockSubResourceWriter_Apply_Call struct {
	*mock.Call
}

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

func (*MockSubResourceWriter_Apply_Call) Return

func (*MockSubResourceWriter_Apply_Call) Run

type MockSubResourceWriter_Create_Call

type MockSubResourceWriter_Create_Call struct {
	*mock.Call
}

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

func (*MockSubResourceWriter_Create_Call) Return

func (*MockSubResourceWriter_Create_Call) Run

type MockSubResourceWriter_Expecter

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

func (*MockSubResourceWriter_Expecter) Apply

func (_e *MockSubResourceWriter_Expecter) Apply(ctx interface{}, obj interface{}, opts ...interface{}) *MockSubResourceWriter_Apply_Call

Apply is a helper method to define mock.On call

  • ctx context.Context
  • obj runtime.ApplyConfiguration
  • opts ...client.SubResourceApplyOption

func (*MockSubResourceWriter_Expecter) Create

func (_e *MockSubResourceWriter_Expecter) Create(ctx interface{}, obj interface{}, subResource interface{}, opts ...interface{}) *MockSubResourceWriter_Create_Call

Create is a helper method to define mock.On call

  • ctx context.Context
  • obj client.Object
  • subResource client.Object
  • opts ...client.SubResourceCreateOption

func (*MockSubResourceWriter_Expecter) Patch

func (_e *MockSubResourceWriter_Expecter) Patch(ctx interface{}, obj interface{}, patch interface{}, opts ...interface{}) *MockSubResourceWriter_Patch_Call

Patch is a helper method to define mock.On call

  • ctx context.Context
  • obj client.Object
  • patch client.Patch
  • opts ...client.SubResourcePatchOption

func (*MockSubResourceWriter_Expecter) Update

func (_e *MockSubResourceWriter_Expecter) Update(ctx interface{}, obj interface{}, opts ...interface{}) *MockSubResourceWriter_Update_Call

Update is a helper method to define mock.On call

  • ctx context.Context
  • obj client.Object
  • opts ...client.SubResourceUpdateOption

type MockSubResourceWriter_Patch_Call

type MockSubResourceWriter_Patch_Call struct {
	*mock.Call
}

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

func (*MockSubResourceWriter_Patch_Call) Return

func (*MockSubResourceWriter_Patch_Call) Run

type MockSubResourceWriter_Update_Call

type MockSubResourceWriter_Update_Call struct {
	*mock.Call
}

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

func (*MockSubResourceWriter_Update_Call) Return

func (*MockSubResourceWriter_Update_Call) Run

func (*MockSubResourceWriter_Update_Call) RunAndReturn

type MockTenantAwareInventoryClient

type MockTenantAwareInventoryClient struct {
	mock.Mock
}

MockTenantAwareInventoryClient is an autogenerated mock type for the TenantAwareInventoryClient type

func NewMockTenantAwareInventoryClient

func NewMockTenantAwareInventoryClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockTenantAwareInventoryClient

NewMockTenantAwareInventoryClient creates a new instance of MockTenantAwareInventoryClient. 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 (*MockTenantAwareInventoryClient) Close

Close provides a mock function with no fields

func (*MockTenantAwareInventoryClient) Create

Create provides a mock function with given fields: ctx, tenantID, res

func (*MockTenantAwareInventoryClient) Delete

Delete provides a mock function with given fields: ctx, tenantID, id

func (*MockTenantAwareInventoryClient) DeleteAllResources

func (_m *MockTenantAwareInventoryClient) DeleteAllResources(ctx context.Context, tenantID string, kind inventoryv1.ResourceKind, enforce bool) error

DeleteAllResources provides a mock function with given fields: ctx, tenantID, kind, enforce

func (*MockTenantAwareInventoryClient) EXPECT

func (*MockTenantAwareInventoryClient) Find

Find provides a mock function with given fields: _a0, _a1

func (*MockTenantAwareInventoryClient) FindAll

FindAll provides a mock function with given fields: _a0, _a1

func (*MockTenantAwareInventoryClient) Get

Get provides a mock function with given fields: ctx, tenantID, id

func (*MockTenantAwareInventoryClient) GetHostByUUID

func (_m *MockTenantAwareInventoryClient) GetHostByUUID(ctx context.Context, tenantID string, uuid string) (*computev1.HostResource, error)

GetHostByUUID provides a mock function with given fields: ctx, tenantID, uuid

func (*MockTenantAwareInventoryClient) GetSitesPerRegion

GetSitesPerRegion provides a mock function with given fields: _a0, _a1

func (*MockTenantAwareInventoryClient) GetTreeHierarchy

GetTreeHierarchy provides a mock function with given fields: _a0, _a1

func (*MockTenantAwareInventoryClient) List

List provides a mock function with given fields: _a0, _a1

func (*MockTenantAwareInventoryClient) ListAll

ListAll provides a mock function with given fields: _a0, _a1

func (*MockTenantAwareInventoryClient) ListInheritedTelemetryProfiles

ListInheritedTelemetryProfiles provides a mock function with given fields: ctx, tenantID, inheritBy, filter, orderBy, limit, offset

func (*MockTenantAwareInventoryClient) TestGetClientCache

func (_m *MockTenantAwareInventoryClient) TestGetClientCache() *cache.InventoryCache

TestGetClientCache provides a mock function with no fields

func (*MockTenantAwareInventoryClient) TestGetClientCacheUUID

func (_m *MockTenantAwareInventoryClient) TestGetClientCacheUUID() *cache.InventoryCache

TestGetClientCacheUUID provides a mock function with no fields

func (*MockTenantAwareInventoryClient) TestingOnlySetClient

TestingOnlySetClient provides a mock function with given fields: _a0

func (*MockTenantAwareInventoryClient) Update

Update provides a mock function with given fields: ctx, tenantID, id, fm, res

func (*MockTenantAwareInventoryClient) UpdateSubscriptions

func (_m *MockTenantAwareInventoryClient) UpdateSubscriptions(ctx context.Context, tenantID string, kinds []inventoryv1.ResourceKind) error

UpdateSubscriptions provides a mock function with given fields: ctx, tenantID, kinds

type MockTenantAwareInventoryClient_Close_Call

type MockTenantAwareInventoryClient_Close_Call struct {
	*mock.Call
}

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

func (*MockTenantAwareInventoryClient_Close_Call) Return

func (*MockTenantAwareInventoryClient_Close_Call) Run

func (*MockTenantAwareInventoryClient_Close_Call) RunAndReturn

type MockTenantAwareInventoryClient_Create_Call

type MockTenantAwareInventoryClient_Create_Call struct {
	*mock.Call
}

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

func (*MockTenantAwareInventoryClient_Create_Call) Return

func (*MockTenantAwareInventoryClient_Create_Call) Run

type MockTenantAwareInventoryClient_DeleteAllResources_Call

type MockTenantAwareInventoryClient_DeleteAllResources_Call struct {
	*mock.Call
}

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

func (*MockTenantAwareInventoryClient_DeleteAllResources_Call) Return

func (*MockTenantAwareInventoryClient_DeleteAllResources_Call) Run

type MockTenantAwareInventoryClient_Delete_Call

type MockTenantAwareInventoryClient_Delete_Call struct {
	*mock.Call
}

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

func (*MockTenantAwareInventoryClient_Delete_Call) Return

func (*MockTenantAwareInventoryClient_Delete_Call) Run

type MockTenantAwareInventoryClient_Expecter

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

func (*MockTenantAwareInventoryClient_Expecter) Close

Close is a helper method to define mock.On call

func (*MockTenantAwareInventoryClient_Expecter) Create

func (_e *MockTenantAwareInventoryClient_Expecter) Create(ctx interface{}, tenantID interface{}, res interface{}) *MockTenantAwareInventoryClient_Create_Call

Create is a helper method to define mock.On call

  • ctx context.Context
  • tenantID string
  • res *inventoryv1.Resource

func (*MockTenantAwareInventoryClient_Expecter) Delete

func (_e *MockTenantAwareInventoryClient_Expecter) Delete(ctx interface{}, tenantID interface{}, id interface{}) *MockTenantAwareInventoryClient_Delete_Call

Delete is a helper method to define mock.On call

  • ctx context.Context
  • tenantID string
  • id string

func (*MockTenantAwareInventoryClient_Expecter) DeleteAllResources

func (_e *MockTenantAwareInventoryClient_Expecter) DeleteAllResources(ctx interface{}, tenantID interface{}, kind interface{}, enforce interface{}) *MockTenantAwareInventoryClient_DeleteAllResources_Call

DeleteAllResources is a helper method to define mock.On call

  • ctx context.Context
  • tenantID string
  • kind inventoryv1.ResourceKind
  • enforce bool

func (*MockTenantAwareInventoryClient_Expecter) Find

func (_e *MockTenantAwareInventoryClient_Expecter) Find(_a0 interface{}, _a1 interface{}) *MockTenantAwareInventoryClient_Find_Call

Find is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *inventoryv1.ResourceFilter

func (*MockTenantAwareInventoryClient_Expecter) FindAll

func (_e *MockTenantAwareInventoryClient_Expecter) FindAll(_a0 interface{}, _a1 interface{}) *MockTenantAwareInventoryClient_FindAll_Call

FindAll is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *inventoryv1.ResourceFilter

func (*MockTenantAwareInventoryClient_Expecter) Get

func (_e *MockTenantAwareInventoryClient_Expecter) Get(ctx interface{}, tenantID interface{}, id interface{}) *MockTenantAwareInventoryClient_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • tenantID string
  • id string

func (*MockTenantAwareInventoryClient_Expecter) GetHostByUUID

func (_e *MockTenantAwareInventoryClient_Expecter) GetHostByUUID(ctx interface{}, tenantID interface{}, uuid interface{}) *MockTenantAwareInventoryClient_GetHostByUUID_Call

GetHostByUUID is a helper method to define mock.On call

  • ctx context.Context
  • tenantID string
  • uuid string

func (*MockTenantAwareInventoryClient_Expecter) GetSitesPerRegion

func (_e *MockTenantAwareInventoryClient_Expecter) GetSitesPerRegion(_a0 interface{}, _a1 interface{}) *MockTenantAwareInventoryClient_GetSitesPerRegion_Call

GetSitesPerRegion is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *inventoryv1.GetSitesPerRegionRequest

func (*MockTenantAwareInventoryClient_Expecter) GetTreeHierarchy

func (_e *MockTenantAwareInventoryClient_Expecter) GetTreeHierarchy(_a0 interface{}, _a1 interface{}) *MockTenantAwareInventoryClient_GetTreeHierarchy_Call

GetTreeHierarchy is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *inventoryv1.GetTreeHierarchyRequest

func (*MockTenantAwareInventoryClient_Expecter) List

func (_e *MockTenantAwareInventoryClient_Expecter) List(_a0 interface{}, _a1 interface{}) *MockTenantAwareInventoryClient_List_Call

List is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *inventoryv1.ResourceFilter

func (*MockTenantAwareInventoryClient_Expecter) ListAll

func (_e *MockTenantAwareInventoryClient_Expecter) ListAll(_a0 interface{}, _a1 interface{}) *MockTenantAwareInventoryClient_ListAll_Call

ListAll is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *inventoryv1.ResourceFilter

func (*MockTenantAwareInventoryClient_Expecter) ListInheritedTelemetryProfiles

func (_e *MockTenantAwareInventoryClient_Expecter) ListInheritedTelemetryProfiles(ctx interface{}, tenantID interface{}, inheritBy interface{}, filter interface{}, orderBy interface{}, limit interface{}, offset interface{}) *MockTenantAwareInventoryClient_ListInheritedTelemetryProfiles_Call

ListInheritedTelemetryProfiles is a helper method to define mock.On call

  • ctx context.Context
  • tenantID string
  • inheritBy *inventoryv1.ListInheritedTelemetryProfilesRequest_InheritBy
  • filter string
  • orderBy string
  • limit uint32
  • offset uint32

func (*MockTenantAwareInventoryClient_Expecter) TestGetClientCache

TestGetClientCache is a helper method to define mock.On call

func (*MockTenantAwareInventoryClient_Expecter) TestGetClientCacheUUID

TestGetClientCacheUUID is a helper method to define mock.On call

func (*MockTenantAwareInventoryClient_Expecter) TestingOnlySetClient

TestingOnlySetClient is a helper method to define mock.On call

  • _a0 inventoryv1.InventoryServiceClient

func (*MockTenantAwareInventoryClient_Expecter) Update

func (_e *MockTenantAwareInventoryClient_Expecter) Update(ctx interface{}, tenantID interface{}, id interface{}, fm interface{}, res interface{}) *MockTenantAwareInventoryClient_Update_Call

Update is a helper method to define mock.On call

  • ctx context.Context
  • tenantID string
  • id string
  • fm *fieldmaskpb.FieldMask
  • res *inventoryv1.Resource

func (*MockTenantAwareInventoryClient_Expecter) UpdateSubscriptions

func (_e *MockTenantAwareInventoryClient_Expecter) UpdateSubscriptions(ctx interface{}, tenantID interface{}, kinds interface{}) *MockTenantAwareInventoryClient_UpdateSubscriptions_Call

UpdateSubscriptions is a helper method to define mock.On call

  • ctx context.Context
  • tenantID string
  • kinds []inventoryv1.ResourceKind

type MockTenantAwareInventoryClient_FindAll_Call

type MockTenantAwareInventoryClient_FindAll_Call struct {
	*mock.Call
}

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

func (*MockTenantAwareInventoryClient_FindAll_Call) Run

type MockTenantAwareInventoryClient_Find_Call

type MockTenantAwareInventoryClient_Find_Call struct {
	*mock.Call
}

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

func (*MockTenantAwareInventoryClient_Find_Call) Return

func (*MockTenantAwareInventoryClient_Find_Call) Run

type MockTenantAwareInventoryClient_GetHostByUUID_Call

type MockTenantAwareInventoryClient_GetHostByUUID_Call struct {
	*mock.Call
}

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

func (*MockTenantAwareInventoryClient_GetHostByUUID_Call) Return

func (*MockTenantAwareInventoryClient_GetHostByUUID_Call) Run

func (*MockTenantAwareInventoryClient_GetHostByUUID_Call) RunAndReturn

type MockTenantAwareInventoryClient_GetSitesPerRegion_Call

type MockTenantAwareInventoryClient_GetSitesPerRegion_Call struct {
	*mock.Call
}

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

func (*MockTenantAwareInventoryClient_GetSitesPerRegion_Call) Run

type MockTenantAwareInventoryClient_GetTreeHierarchy_Call

type MockTenantAwareInventoryClient_GetTreeHierarchy_Call struct {
	*mock.Call
}

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

func (*MockTenantAwareInventoryClient_GetTreeHierarchy_Call) Run

type MockTenantAwareInventoryClient_Get_Call

type MockTenantAwareInventoryClient_Get_Call struct {
	*mock.Call
}

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

func (*MockTenantAwareInventoryClient_Get_Call) Return

func (*MockTenantAwareInventoryClient_Get_Call) Run

func (*MockTenantAwareInventoryClient_Get_Call) RunAndReturn

type MockTenantAwareInventoryClient_ListAll_Call

type MockTenantAwareInventoryClient_ListAll_Call struct {
	*mock.Call
}

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

func (*MockTenantAwareInventoryClient_ListAll_Call) Return

func (*MockTenantAwareInventoryClient_ListAll_Call) Run

type MockTenantAwareInventoryClient_ListInheritedTelemetryProfiles_Call

type MockTenantAwareInventoryClient_ListInheritedTelemetryProfiles_Call struct {
	*mock.Call
}

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

func (*MockTenantAwareInventoryClient_ListInheritedTelemetryProfiles_Call) Run

type MockTenantAwareInventoryClient_List_Call

type MockTenantAwareInventoryClient_List_Call struct {
	*mock.Call
}

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

func (*MockTenantAwareInventoryClient_List_Call) Return

func (*MockTenantAwareInventoryClient_List_Call) Run

type MockTenantAwareInventoryClient_TestGetClientCacheUUID_Call

type MockTenantAwareInventoryClient_TestGetClientCacheUUID_Call struct {
	*mock.Call
}

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

func (*MockTenantAwareInventoryClient_TestGetClientCacheUUID_Call) Return

func (*MockTenantAwareInventoryClient_TestGetClientCacheUUID_Call) Run

func (*MockTenantAwareInventoryClient_TestGetClientCacheUUID_Call) RunAndReturn

type MockTenantAwareInventoryClient_TestGetClientCache_Call

type MockTenantAwareInventoryClient_TestGetClientCache_Call struct {
	*mock.Call
}

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

func (*MockTenantAwareInventoryClient_TestGetClientCache_Call) Return

func (*MockTenantAwareInventoryClient_TestGetClientCache_Call) Run

func (*MockTenantAwareInventoryClient_TestGetClientCache_Call) RunAndReturn

type MockTenantAwareInventoryClient_TestingOnlySetClient_Call

type MockTenantAwareInventoryClient_TestingOnlySetClient_Call struct {
	*mock.Call
}

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

func (*MockTenantAwareInventoryClient_TestingOnlySetClient_Call) Return

func (*MockTenantAwareInventoryClient_TestingOnlySetClient_Call) Run

func (*MockTenantAwareInventoryClient_TestingOnlySetClient_Call) RunAndReturn

type MockTenantAwareInventoryClient_UpdateSubscriptions_Call

type MockTenantAwareInventoryClient_UpdateSubscriptions_Call struct {
	*mock.Call
}

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

func (*MockTenantAwareInventoryClient_UpdateSubscriptions_Call) Return

func (*MockTenantAwareInventoryClient_UpdateSubscriptions_Call) Run

func (*MockTenantAwareInventoryClient_UpdateSubscriptions_Call) RunAndReturn

type MockTenantAwareInventoryClient_Update_Call

type MockTenantAwareInventoryClient_Update_Call struct {
	*mock.Call
}

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

func (*MockTenantAwareInventoryClient_Update_Call) Return

func (*MockTenantAwareInventoryClient_Update_Call) Run

Jump to

Keyboard shortcuts

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