mocks

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2025 License: Apache-2.0 Imports: 21 Imported by: 0

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 added in v0.6.0

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 added in v0.6.0

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 added in v0.6.0

func (*MockClient_Apply_Call) Run added in v0.6.0

func (*MockClient_Apply_Call) RunAndReturn added in v0.6.0

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 added in v0.6.0

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 MockCluster added in v0.6.0

type MockCluster struct {
	mock.Mock
}

MockCluster is an autogenerated mock type for the Cluster type

func NewMockCluster added in v0.6.0

func NewMockCluster(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockCluster

NewMockCluster creates a new instance of MockCluster. 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 (*MockCluster) EXPECT added in v0.6.0

func (_m *MockCluster) EXPECT() *MockCluster_Expecter

func (*MockCluster) GetAPIReader added in v0.6.0

func (_m *MockCluster) GetAPIReader() client.Reader

GetAPIReader provides a mock function with no fields

func (*MockCluster) GetCache added in v0.6.0

func (_m *MockCluster) GetCache() cache.Cache

GetCache provides a mock function with no fields

func (*MockCluster) GetClient added in v0.6.0

func (_m *MockCluster) GetClient() client.Client

GetClient provides a mock function with no fields

func (*MockCluster) GetConfig added in v0.6.0

func (_m *MockCluster) GetConfig() *rest.Config

GetConfig provides a mock function with no fields

func (*MockCluster) GetEventRecorderFor added in v0.6.0

func (_m *MockCluster) GetEventRecorderFor(name string) record.EventRecorder

GetEventRecorderFor provides a mock function with given fields: name

func (*MockCluster) GetFieldIndexer added in v0.6.0

func (_m *MockCluster) GetFieldIndexer() client.FieldIndexer

GetFieldIndexer provides a mock function with no fields

func (*MockCluster) GetHTTPClient added in v0.6.0

func (_m *MockCluster) GetHTTPClient() *http.Client

GetHTTPClient provides a mock function with no fields

func (*MockCluster) GetRESTMapper added in v0.6.0

func (_m *MockCluster) GetRESTMapper() meta.RESTMapper

GetRESTMapper provides a mock function with no fields

func (*MockCluster) GetScheme added in v0.6.0

func (_m *MockCluster) GetScheme() *runtime.Scheme

GetScheme provides a mock function with no fields

func (*MockCluster) Start added in v0.6.0

func (_m *MockCluster) Start(ctx context.Context) error

Start provides a mock function with given fields: ctx

type MockCluster_Expecter added in v0.6.0

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

func (*MockCluster_Expecter) GetAPIReader added in v0.6.0

GetAPIReader is a helper method to define mock.On call

func (*MockCluster_Expecter) GetCache added in v0.6.0

GetCache is a helper method to define mock.On call

func (*MockCluster_Expecter) GetClient added in v0.6.0

GetClient is a helper method to define mock.On call

func (*MockCluster_Expecter) GetConfig added in v0.6.0

GetConfig is a helper method to define mock.On call

func (*MockCluster_Expecter) GetEventRecorderFor added in v0.6.0

func (_e *MockCluster_Expecter) GetEventRecorderFor(name interface{}) *MockCluster_GetEventRecorderFor_Call

GetEventRecorderFor is a helper method to define mock.On call

  • name string

func (*MockCluster_Expecter) GetFieldIndexer added in v0.6.0

GetFieldIndexer is a helper method to define mock.On call

func (*MockCluster_Expecter) GetHTTPClient added in v0.6.0

GetHTTPClient is a helper method to define mock.On call

func (*MockCluster_Expecter) GetRESTMapper added in v0.6.0

GetRESTMapper is a helper method to define mock.On call

func (*MockCluster_Expecter) GetScheme added in v0.6.0

GetScheme is a helper method to define mock.On call

func (*MockCluster_Expecter) Start added in v0.6.0

func (_e *MockCluster_Expecter) Start(ctx interface{}) *MockCluster_Start_Call

Start is a helper method to define mock.On call

  • ctx context.Context

type MockCluster_GetAPIReader_Call added in v0.6.0

type MockCluster_GetAPIReader_Call struct {
	*mock.Call
}

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

func (*MockCluster_GetAPIReader_Call) Return added in v0.6.0

func (*MockCluster_GetAPIReader_Call) Run added in v0.6.0

func (*MockCluster_GetAPIReader_Call) RunAndReturn added in v0.6.0

type MockCluster_GetCache_Call added in v0.6.0

type MockCluster_GetCache_Call struct {
	*mock.Call
}

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

func (*MockCluster_GetCache_Call) Return added in v0.6.0

func (*MockCluster_GetCache_Call) Run added in v0.6.0

func (*MockCluster_GetCache_Call) RunAndReturn added in v0.6.0

func (_c *MockCluster_GetCache_Call) RunAndReturn(run func() cache.Cache) *MockCluster_GetCache_Call

type MockCluster_GetClient_Call added in v0.6.0

type MockCluster_GetClient_Call struct {
	*mock.Call
}

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

func (*MockCluster_GetClient_Call) Return added in v0.6.0

func (*MockCluster_GetClient_Call) Run added in v0.6.0

func (*MockCluster_GetClient_Call) RunAndReturn added in v0.6.0

type MockCluster_GetConfig_Call added in v0.6.0

type MockCluster_GetConfig_Call struct {
	*mock.Call
}

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

func (*MockCluster_GetConfig_Call) Return added in v0.6.0

func (*MockCluster_GetConfig_Call) Run added in v0.6.0

func (*MockCluster_GetConfig_Call) RunAndReturn added in v0.6.0

func (_c *MockCluster_GetConfig_Call) RunAndReturn(run func() *rest.Config) *MockCluster_GetConfig_Call

type MockCluster_GetEventRecorderFor_Call added in v0.6.0

type MockCluster_GetEventRecorderFor_Call struct {
	*mock.Call
}

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

func (*MockCluster_GetEventRecorderFor_Call) Return added in v0.6.0

func (*MockCluster_GetEventRecorderFor_Call) Run added in v0.6.0

func (*MockCluster_GetEventRecorderFor_Call) RunAndReturn added in v0.6.0

type MockCluster_GetFieldIndexer_Call added in v0.6.0

type MockCluster_GetFieldIndexer_Call struct {
	*mock.Call
}

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

func (*MockCluster_GetFieldIndexer_Call) Return added in v0.6.0

func (*MockCluster_GetFieldIndexer_Call) Run added in v0.6.0

func (*MockCluster_GetFieldIndexer_Call) RunAndReturn added in v0.6.0

type MockCluster_GetHTTPClient_Call added in v0.6.0

type MockCluster_GetHTTPClient_Call struct {
	*mock.Call
}

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

func (*MockCluster_GetHTTPClient_Call) Return added in v0.6.0

func (*MockCluster_GetHTTPClient_Call) Run added in v0.6.0

func (*MockCluster_GetHTTPClient_Call) RunAndReturn added in v0.6.0

type MockCluster_GetRESTMapper_Call added in v0.6.0

type MockCluster_GetRESTMapper_Call struct {
	*mock.Call
}

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

func (*MockCluster_GetRESTMapper_Call) Return added in v0.6.0

func (*MockCluster_GetRESTMapper_Call) Run added in v0.6.0

func (*MockCluster_GetRESTMapper_Call) RunAndReturn added in v0.6.0

type MockCluster_GetScheme_Call added in v0.6.0

type MockCluster_GetScheme_Call struct {
	*mock.Call
}

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

func (*MockCluster_GetScheme_Call) Return added in v0.6.0

func (*MockCluster_GetScheme_Call) Run added in v0.6.0

func (*MockCluster_GetScheme_Call) RunAndReturn added in v0.6.0

type MockCluster_Start_Call added in v0.6.0

type MockCluster_Start_Call struct {
	*mock.Call
}

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

func (*MockCluster_Start_Call) Return added in v0.6.0

func (*MockCluster_Start_Call) Run added in v0.6.0

func (*MockCluster_Start_Call) RunAndReturn added in v0.6.0

func (_c *MockCluster_Start_Call) RunAndReturn(run func(context.Context) error) *MockCluster_Start_Call

type MockManager added in v0.6.0

type MockManager struct {
	mock.Mock
}

MockManager is an autogenerated mock type for the Manager type

func NewMockManager added in v0.6.0

func NewMockManager(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockManager

NewMockManager creates a new instance of MockManager. 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 (*MockManager) Add added in v0.6.0

func (_m *MockManager) Add(_a0 manager.Runnable) error

Add provides a mock function with given fields: _a0

func (*MockManager) AddHealthzCheck added in v0.6.0

func (_m *MockManager) AddHealthzCheck(name string, check healthz.Checker) error

AddHealthzCheck provides a mock function with given fields: name, check

func (*MockManager) AddMetricsServerExtraHandler added in v0.6.0

func (_m *MockManager) AddMetricsServerExtraHandler(path string, handler http.Handler) error

AddMetricsServerExtraHandler provides a mock function with given fields: path, handler

func (*MockManager) AddReadyzCheck added in v0.6.0

func (_m *MockManager) AddReadyzCheck(name string, check healthz.Checker) error

AddReadyzCheck provides a mock function with given fields: name, check

func (*MockManager) ClusterFromContext added in v0.6.0

func (_m *MockManager) ClusterFromContext(ctx context.Context) (cluster.Cluster, error)

ClusterFromContext provides a mock function with given fields: ctx

func (*MockManager) EXPECT added in v0.6.0

func (_m *MockManager) EXPECT() *MockManager_Expecter

func (*MockManager) Elected added in v0.6.0

func (_m *MockManager) Elected() <-chan struct{}

Elected provides a mock function with no fields

func (*MockManager) Engage added in v0.6.0

func (_m *MockManager) Engage(_a0 context.Context, _a1 string, _a2 cluster.Cluster) error

Engage provides a mock function with given fields: _a0, _a1, _a2

func (*MockManager) GetCluster added in v0.6.0

func (_m *MockManager) GetCluster(ctx context.Context, clusterName string) (cluster.Cluster, error)

GetCluster provides a mock function with given fields: ctx, clusterName

func (*MockManager) GetControllerOptions added in v0.6.0

func (_m *MockManager) GetControllerOptions() config.Controller

GetControllerOptions provides a mock function with no fields

func (*MockManager) GetFieldIndexer added in v0.6.0

func (_m *MockManager) GetFieldIndexer() client.FieldIndexer

GetFieldIndexer provides a mock function with no fields

func (*MockManager) GetLocalManager added in v0.6.0

func (_m *MockManager) GetLocalManager() pkgmanager.Manager

GetLocalManager provides a mock function with no fields

func (*MockManager) GetLogger added in v0.6.0

func (_m *MockManager) GetLogger() logr.Logger

GetLogger provides a mock function with no fields

func (*MockManager) GetManager added in v0.6.0

func (_m *MockManager) GetManager(ctx context.Context, clusterName string) (pkgmanager.Manager, error)

GetManager provides a mock function with given fields: ctx, clusterName

func (*MockManager) GetProvider added in v0.6.0

func (_m *MockManager) GetProvider() multicluster.Provider

GetProvider provides a mock function with no fields

func (*MockManager) GetWebhookServer added in v0.6.0

func (_m *MockManager) GetWebhookServer() webhook.Server

GetWebhookServer provides a mock function with no fields

func (*MockManager) Start added in v0.6.0

func (_m *MockManager) Start(ctx context.Context) error

Start provides a mock function with given fields: ctx

type MockManager_AddHealthzCheck_Call added in v0.6.0

type MockManager_AddHealthzCheck_Call struct {
	*mock.Call
}

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

func (*MockManager_AddHealthzCheck_Call) Return added in v0.6.0

func (*MockManager_AddHealthzCheck_Call) Run added in v0.6.0

func (*MockManager_AddHealthzCheck_Call) RunAndReturn added in v0.6.0

type MockManager_AddMetricsServerExtraHandler_Call added in v0.6.0

type MockManager_AddMetricsServerExtraHandler_Call struct {
	*mock.Call
}

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

func (*MockManager_AddMetricsServerExtraHandler_Call) Return added in v0.6.0

func (*MockManager_AddMetricsServerExtraHandler_Call) Run added in v0.6.0

func (*MockManager_AddMetricsServerExtraHandler_Call) RunAndReturn added in v0.6.0

type MockManager_AddReadyzCheck_Call added in v0.6.0

type MockManager_AddReadyzCheck_Call struct {
	*mock.Call
}

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

func (*MockManager_AddReadyzCheck_Call) Return added in v0.6.0

func (*MockManager_AddReadyzCheck_Call) Run added in v0.6.0

func (*MockManager_AddReadyzCheck_Call) RunAndReturn added in v0.6.0

type MockManager_Add_Call added in v0.6.0

type MockManager_Add_Call struct {
	*mock.Call
}

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

func (*MockManager_Add_Call) Return added in v0.6.0

func (*MockManager_Add_Call) Run added in v0.6.0

func (*MockManager_Add_Call) RunAndReturn added in v0.6.0

func (_c *MockManager_Add_Call) RunAndReturn(run func(manager.Runnable) error) *MockManager_Add_Call

type MockManager_ClusterFromContext_Call added in v0.6.0

type MockManager_ClusterFromContext_Call struct {
	*mock.Call
}

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

func (*MockManager_ClusterFromContext_Call) Return added in v0.6.0

func (*MockManager_ClusterFromContext_Call) Run added in v0.6.0

func (*MockManager_ClusterFromContext_Call) RunAndReturn added in v0.6.0

type MockManager_Elected_Call added in v0.6.0

type MockManager_Elected_Call struct {
	*mock.Call
}

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

func (*MockManager_Elected_Call) Return added in v0.6.0

func (_c *MockManager_Elected_Call) Return(_a0 <-chan struct{}) *MockManager_Elected_Call

func (*MockManager_Elected_Call) Run added in v0.6.0

func (*MockManager_Elected_Call) RunAndReturn added in v0.6.0

func (_c *MockManager_Elected_Call) RunAndReturn(run func() <-chan struct{}) *MockManager_Elected_Call

type MockManager_Engage_Call added in v0.6.0

type MockManager_Engage_Call struct {
	*mock.Call
}

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

func (*MockManager_Engage_Call) Return added in v0.6.0

func (*MockManager_Engage_Call) Run added in v0.6.0

func (*MockManager_Engage_Call) RunAndReturn added in v0.6.0

type MockManager_Expecter added in v0.6.0

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

func (*MockManager_Expecter) Add added in v0.6.0

func (_e *MockManager_Expecter) Add(_a0 interface{}) *MockManager_Add_Call

Add is a helper method to define mock.On call

  • _a0 manager.Runnable

func (*MockManager_Expecter) AddHealthzCheck added in v0.6.0

func (_e *MockManager_Expecter) AddHealthzCheck(name interface{}, check interface{}) *MockManager_AddHealthzCheck_Call

AddHealthzCheck is a helper method to define mock.On call

  • name string
  • check healthz.Checker

func (*MockManager_Expecter) AddMetricsServerExtraHandler added in v0.6.0

func (_e *MockManager_Expecter) AddMetricsServerExtraHandler(path interface{}, handler interface{}) *MockManager_AddMetricsServerExtraHandler_Call

AddMetricsServerExtraHandler is a helper method to define mock.On call

  • path string
  • handler http.Handler

func (*MockManager_Expecter) AddReadyzCheck added in v0.6.0

func (_e *MockManager_Expecter) AddReadyzCheck(name interface{}, check interface{}) *MockManager_AddReadyzCheck_Call

AddReadyzCheck is a helper method to define mock.On call

  • name string
  • check healthz.Checker

func (*MockManager_Expecter) ClusterFromContext added in v0.6.0

func (_e *MockManager_Expecter) ClusterFromContext(ctx interface{}) *MockManager_ClusterFromContext_Call

ClusterFromContext is a helper method to define mock.On call

  • ctx context.Context

func (*MockManager_Expecter) Elected added in v0.6.0

Elected is a helper method to define mock.On call

func (*MockManager_Expecter) Engage added in v0.6.0

func (_e *MockManager_Expecter) Engage(_a0 interface{}, _a1 interface{}, _a2 interface{}) *MockManager_Engage_Call

Engage is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 string
  • _a2 cluster.Cluster

func (*MockManager_Expecter) GetCluster added in v0.6.0

func (_e *MockManager_Expecter) GetCluster(ctx interface{}, clusterName interface{}) *MockManager_GetCluster_Call

GetCluster is a helper method to define mock.On call

  • ctx context.Context
  • clusterName string

func (*MockManager_Expecter) GetControllerOptions added in v0.6.0

func (_e *MockManager_Expecter) GetControllerOptions() *MockManager_GetControllerOptions_Call

GetControllerOptions is a helper method to define mock.On call

func (*MockManager_Expecter) GetFieldIndexer added in v0.6.0

GetFieldIndexer is a helper method to define mock.On call

func (*MockManager_Expecter) GetLocalManager added in v0.6.0

GetLocalManager is a helper method to define mock.On call

func (*MockManager_Expecter) GetLogger added in v0.6.0

GetLogger is a helper method to define mock.On call

func (*MockManager_Expecter) GetManager added in v0.6.0

func (_e *MockManager_Expecter) GetManager(ctx interface{}, clusterName interface{}) *MockManager_GetManager_Call

GetManager is a helper method to define mock.On call

  • ctx context.Context
  • clusterName string

func (*MockManager_Expecter) GetProvider added in v0.6.0

GetProvider is a helper method to define mock.On call

func (*MockManager_Expecter) GetWebhookServer added in v0.6.0

GetWebhookServer is a helper method to define mock.On call

func (*MockManager_Expecter) Start added in v0.6.0

func (_e *MockManager_Expecter) Start(ctx interface{}) *MockManager_Start_Call

Start is a helper method to define mock.On call

  • ctx context.Context

type MockManager_GetCluster_Call added in v0.6.0

type MockManager_GetCluster_Call struct {
	*mock.Call
}

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

func (*MockManager_GetCluster_Call) Return added in v0.6.0

func (*MockManager_GetCluster_Call) Run added in v0.6.0

func (_c *MockManager_GetCluster_Call) Run(run func(ctx context.Context, clusterName string)) *MockManager_GetCluster_Call

func (*MockManager_GetCluster_Call) RunAndReturn added in v0.6.0

type MockManager_GetControllerOptions_Call added in v0.6.0

type MockManager_GetControllerOptions_Call struct {
	*mock.Call
}

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

func (*MockManager_GetControllerOptions_Call) Return added in v0.6.0

func (*MockManager_GetControllerOptions_Call) Run added in v0.6.0

func (*MockManager_GetControllerOptions_Call) RunAndReturn added in v0.6.0

type MockManager_GetFieldIndexer_Call added in v0.6.0

type MockManager_GetFieldIndexer_Call struct {
	*mock.Call
}

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

func (*MockManager_GetFieldIndexer_Call) Return added in v0.6.0

func (*MockManager_GetFieldIndexer_Call) Run added in v0.6.0

func (*MockManager_GetFieldIndexer_Call) RunAndReturn added in v0.6.0

type MockManager_GetLocalManager_Call added in v0.6.0

type MockManager_GetLocalManager_Call struct {
	*mock.Call
}

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

func (*MockManager_GetLocalManager_Call) Return added in v0.6.0

func (*MockManager_GetLocalManager_Call) Run added in v0.6.0

func (*MockManager_GetLocalManager_Call) RunAndReturn added in v0.6.0

type MockManager_GetLogger_Call added in v0.6.0

type MockManager_GetLogger_Call struct {
	*mock.Call
}

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

func (*MockManager_GetLogger_Call) Return added in v0.6.0

func (*MockManager_GetLogger_Call) Run added in v0.6.0

func (*MockManager_GetLogger_Call) RunAndReturn added in v0.6.0

func (_c *MockManager_GetLogger_Call) RunAndReturn(run func() logr.Logger) *MockManager_GetLogger_Call

type MockManager_GetManager_Call added in v0.6.0

type MockManager_GetManager_Call struct {
	*mock.Call
}

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

func (*MockManager_GetManager_Call) Return added in v0.6.0

func (*MockManager_GetManager_Call) Run added in v0.6.0

func (_c *MockManager_GetManager_Call) Run(run func(ctx context.Context, clusterName string)) *MockManager_GetManager_Call

func (*MockManager_GetManager_Call) RunAndReturn added in v0.6.0

type MockManager_GetProvider_Call added in v0.6.0

type MockManager_GetProvider_Call struct {
	*mock.Call
}

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

func (*MockManager_GetProvider_Call) Return added in v0.6.0

func (*MockManager_GetProvider_Call) Run added in v0.6.0

func (*MockManager_GetProvider_Call) RunAndReturn added in v0.6.0

type MockManager_GetWebhookServer_Call added in v0.6.0

type MockManager_GetWebhookServer_Call struct {
	*mock.Call
}

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

func (*MockManager_GetWebhookServer_Call) Return added in v0.6.0

func (*MockManager_GetWebhookServer_Call) Run added in v0.6.0

func (*MockManager_GetWebhookServer_Call) RunAndReturn added in v0.6.0

type MockManager_Start_Call added in v0.6.0

type MockManager_Start_Call struct {
	*mock.Call
}

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

func (*MockManager_Start_Call) Return added in v0.6.0

func (*MockManager_Start_Call) Run added in v0.6.0

func (*MockManager_Start_Call) RunAndReturn added in v0.6.0

func (_c *MockManager_Start_Call) RunAndReturn(run func(context.Context) error) *MockManager_Start_Call

type MockOpenFGAServiceClient

type MockOpenFGAServiceClient struct {
	mock.Mock
}

MockOpenFGAServiceClient is an autogenerated mock type for the OpenFGAServiceClient type

func NewMockOpenFGAServiceClient

func NewMockOpenFGAServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockOpenFGAServiceClient

NewMockOpenFGAServiceClient creates a new instance of MockOpenFGAServiceClient. 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 (*MockOpenFGAServiceClient) BatchCheck

BatchCheck provides a mock function with given fields: ctx, in, opts

func (*MockOpenFGAServiceClient) Check

Check provides a mock function with given fields: ctx, in, opts

func (*MockOpenFGAServiceClient) CreateStore

CreateStore provides a mock function with given fields: ctx, in, opts

func (*MockOpenFGAServiceClient) DeleteStore

DeleteStore provides a mock function with given fields: ctx, in, opts

func (*MockOpenFGAServiceClient) EXPECT

func (*MockOpenFGAServiceClient) Expand

Expand provides a mock function with given fields: ctx, in, opts

func (*MockOpenFGAServiceClient) GetStore

GetStore provides a mock function with given fields: ctx, in, opts

func (*MockOpenFGAServiceClient) ListObjects

ListObjects provides a mock function with given fields: ctx, in, opts

func (*MockOpenFGAServiceClient) ListStores

ListStores provides a mock function with given fields: ctx, in, opts

func (*MockOpenFGAServiceClient) ListUsers

ListUsers provides a mock function with given fields: ctx, in, opts

func (*MockOpenFGAServiceClient) Read

Read provides a mock function with given fields: ctx, in, opts

func (*MockOpenFGAServiceClient) ReadAssertions

ReadAssertions provides a mock function with given fields: ctx, in, opts

func (*MockOpenFGAServiceClient) ReadAuthorizationModel

ReadAuthorizationModel provides a mock function with given fields: ctx, in, opts

func (*MockOpenFGAServiceClient) ReadAuthorizationModels

ReadAuthorizationModels provides a mock function with given fields: ctx, in, opts

func (*MockOpenFGAServiceClient) ReadChanges

ReadChanges provides a mock function with given fields: ctx, in, opts

func (*MockOpenFGAServiceClient) StreamedListObjects

StreamedListObjects provides a mock function with given fields: ctx, in, opts

func (*MockOpenFGAServiceClient) UpdateStore

UpdateStore provides a mock function with given fields: ctx, in, opts

func (*MockOpenFGAServiceClient) Write

Write provides a mock function with given fields: ctx, in, opts

func (*MockOpenFGAServiceClient) WriteAssertions

WriteAssertions provides a mock function with given fields: ctx, in, opts

func (*MockOpenFGAServiceClient) WriteAuthorizationModel

WriteAuthorizationModel provides a mock function with given fields: ctx, in, opts

type MockOpenFGAServiceClient_BatchCheck_Call

type MockOpenFGAServiceClient_BatchCheck_Call struct {
	*mock.Call
}

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

func (*MockOpenFGAServiceClient_BatchCheck_Call) Return

func (*MockOpenFGAServiceClient_BatchCheck_Call) Run

type MockOpenFGAServiceClient_Check_Call

type MockOpenFGAServiceClient_Check_Call struct {
	*mock.Call
}

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

func (*MockOpenFGAServiceClient_Check_Call) Return

func (*MockOpenFGAServiceClient_Check_Call) Run

type MockOpenFGAServiceClient_CreateStore_Call

type MockOpenFGAServiceClient_CreateStore_Call struct {
	*mock.Call
}

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

func (*MockOpenFGAServiceClient_CreateStore_Call) Return

func (*MockOpenFGAServiceClient_CreateStore_Call) Run

type MockOpenFGAServiceClient_DeleteStore_Call

type MockOpenFGAServiceClient_DeleteStore_Call struct {
	*mock.Call
}

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

func (*MockOpenFGAServiceClient_DeleteStore_Call) Return

func (*MockOpenFGAServiceClient_DeleteStore_Call) Run

type MockOpenFGAServiceClient_Expand_Call

type MockOpenFGAServiceClient_Expand_Call struct {
	*mock.Call
}

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

func (*MockOpenFGAServiceClient_Expand_Call) Return

func (*MockOpenFGAServiceClient_Expand_Call) Run

type MockOpenFGAServiceClient_Expecter

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

func (*MockOpenFGAServiceClient_Expecter) BatchCheck

func (_e *MockOpenFGAServiceClient_Expecter) BatchCheck(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_BatchCheck_Call

BatchCheck is a helper method to define mock.On call

  • ctx context.Context
  • in *openfgav1.BatchCheckRequest
  • opts ...grpc.CallOption

func (*MockOpenFGAServiceClient_Expecter) Check

func (_e *MockOpenFGAServiceClient_Expecter) Check(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_Check_Call

Check is a helper method to define mock.On call

  • ctx context.Context
  • in *openfgav1.CheckRequest
  • opts ...grpc.CallOption

func (*MockOpenFGAServiceClient_Expecter) CreateStore

func (_e *MockOpenFGAServiceClient_Expecter) CreateStore(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_CreateStore_Call

CreateStore is a helper method to define mock.On call

  • ctx context.Context
  • in *openfgav1.CreateStoreRequest
  • opts ...grpc.CallOption

func (*MockOpenFGAServiceClient_Expecter) DeleteStore

func (_e *MockOpenFGAServiceClient_Expecter) DeleteStore(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_DeleteStore_Call

DeleteStore is a helper method to define mock.On call

  • ctx context.Context
  • in *openfgav1.DeleteStoreRequest
  • opts ...grpc.CallOption

func (*MockOpenFGAServiceClient_Expecter) Expand

func (_e *MockOpenFGAServiceClient_Expecter) Expand(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_Expand_Call

Expand is a helper method to define mock.On call

  • ctx context.Context
  • in *openfgav1.ExpandRequest
  • opts ...grpc.CallOption

func (*MockOpenFGAServiceClient_Expecter) GetStore

func (_e *MockOpenFGAServiceClient_Expecter) GetStore(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_GetStore_Call

GetStore is a helper method to define mock.On call

  • ctx context.Context
  • in *openfgav1.GetStoreRequest
  • opts ...grpc.CallOption

func (*MockOpenFGAServiceClient_Expecter) ListObjects

func (_e *MockOpenFGAServiceClient_Expecter) ListObjects(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_ListObjects_Call

ListObjects is a helper method to define mock.On call

  • ctx context.Context
  • in *openfgav1.ListObjectsRequest
  • opts ...grpc.CallOption

func (*MockOpenFGAServiceClient_Expecter) ListStores

func (_e *MockOpenFGAServiceClient_Expecter) ListStores(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_ListStores_Call

ListStores is a helper method to define mock.On call

  • ctx context.Context
  • in *openfgav1.ListStoresRequest
  • opts ...grpc.CallOption

func (*MockOpenFGAServiceClient_Expecter) ListUsers

func (_e *MockOpenFGAServiceClient_Expecter) ListUsers(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_ListUsers_Call

ListUsers is a helper method to define mock.On call

  • ctx context.Context
  • in *openfgav1.ListUsersRequest
  • opts ...grpc.CallOption

func (*MockOpenFGAServiceClient_Expecter) Read

func (_e *MockOpenFGAServiceClient_Expecter) Read(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_Read_Call

Read is a helper method to define mock.On call

  • ctx context.Context
  • in *openfgav1.ReadRequest
  • opts ...grpc.CallOption

func (*MockOpenFGAServiceClient_Expecter) ReadAssertions

func (_e *MockOpenFGAServiceClient_Expecter) ReadAssertions(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_ReadAssertions_Call

ReadAssertions is a helper method to define mock.On call

  • ctx context.Context
  • in *openfgav1.ReadAssertionsRequest
  • opts ...grpc.CallOption

func (*MockOpenFGAServiceClient_Expecter) ReadAuthorizationModel

func (_e *MockOpenFGAServiceClient_Expecter) ReadAuthorizationModel(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_ReadAuthorizationModel_Call

ReadAuthorizationModel is a helper method to define mock.On call

  • ctx context.Context
  • in *openfgav1.ReadAuthorizationModelRequest
  • opts ...grpc.CallOption

func (*MockOpenFGAServiceClient_Expecter) ReadAuthorizationModels

func (_e *MockOpenFGAServiceClient_Expecter) ReadAuthorizationModels(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_ReadAuthorizationModels_Call

ReadAuthorizationModels is a helper method to define mock.On call

  • ctx context.Context
  • in *openfgav1.ReadAuthorizationModelsRequest
  • opts ...grpc.CallOption

func (*MockOpenFGAServiceClient_Expecter) ReadChanges

func (_e *MockOpenFGAServiceClient_Expecter) ReadChanges(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_ReadChanges_Call

ReadChanges is a helper method to define mock.On call

  • ctx context.Context
  • in *openfgav1.ReadChangesRequest
  • opts ...grpc.CallOption

func (*MockOpenFGAServiceClient_Expecter) StreamedListObjects

func (_e *MockOpenFGAServiceClient_Expecter) StreamedListObjects(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_StreamedListObjects_Call

StreamedListObjects is a helper method to define mock.On call

  • ctx context.Context
  • in *openfgav1.StreamedListObjectsRequest
  • opts ...grpc.CallOption

func (*MockOpenFGAServiceClient_Expecter) UpdateStore

func (_e *MockOpenFGAServiceClient_Expecter) UpdateStore(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_UpdateStore_Call

UpdateStore is a helper method to define mock.On call

  • ctx context.Context
  • in *openfgav1.UpdateStoreRequest
  • opts ...grpc.CallOption

func (*MockOpenFGAServiceClient_Expecter) Write

func (_e *MockOpenFGAServiceClient_Expecter) Write(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_Write_Call

Write is a helper method to define mock.On call

  • ctx context.Context
  • in *openfgav1.WriteRequest
  • opts ...grpc.CallOption

func (*MockOpenFGAServiceClient_Expecter) WriteAssertions

func (_e *MockOpenFGAServiceClient_Expecter) WriteAssertions(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_WriteAssertions_Call

WriteAssertions is a helper method to define mock.On call

  • ctx context.Context
  • in *openfgav1.WriteAssertionsRequest
  • opts ...grpc.CallOption

func (*MockOpenFGAServiceClient_Expecter) WriteAuthorizationModel

func (_e *MockOpenFGAServiceClient_Expecter) WriteAuthorizationModel(ctx interface{}, in interface{}, opts ...interface{}) *MockOpenFGAServiceClient_WriteAuthorizationModel_Call

WriteAuthorizationModel is a helper method to define mock.On call

  • ctx context.Context
  • in *openfgav1.WriteAuthorizationModelRequest
  • opts ...grpc.CallOption

type MockOpenFGAServiceClient_GetStore_Call

type MockOpenFGAServiceClient_GetStore_Call struct {
	*mock.Call
}

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

func (*MockOpenFGAServiceClient_GetStore_Call) Return

func (*MockOpenFGAServiceClient_GetStore_Call) Run

type MockOpenFGAServiceClient_ListObjects_Call

type MockOpenFGAServiceClient_ListObjects_Call struct {
	*mock.Call
}

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

func (*MockOpenFGAServiceClient_ListObjects_Call) Return

func (*MockOpenFGAServiceClient_ListObjects_Call) Run

type MockOpenFGAServiceClient_ListStores_Call

type MockOpenFGAServiceClient_ListStores_Call struct {
	*mock.Call
}

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

func (*MockOpenFGAServiceClient_ListStores_Call) Return

func (*MockOpenFGAServiceClient_ListStores_Call) Run

type MockOpenFGAServiceClient_ListUsers_Call

type MockOpenFGAServiceClient_ListUsers_Call struct {
	*mock.Call
}

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

func (*MockOpenFGAServiceClient_ListUsers_Call) Return

func (*MockOpenFGAServiceClient_ListUsers_Call) Run

type MockOpenFGAServiceClient_ReadAssertions_Call

type MockOpenFGAServiceClient_ReadAssertions_Call struct {
	*mock.Call
}

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

func (*MockOpenFGAServiceClient_ReadAssertions_Call) Return

func (*MockOpenFGAServiceClient_ReadAssertions_Call) Run

type MockOpenFGAServiceClient_ReadAuthorizationModel_Call

type MockOpenFGAServiceClient_ReadAuthorizationModel_Call struct {
	*mock.Call
}

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

func (*MockOpenFGAServiceClient_ReadAuthorizationModel_Call) Run

type MockOpenFGAServiceClient_ReadAuthorizationModels_Call

type MockOpenFGAServiceClient_ReadAuthorizationModels_Call struct {
	*mock.Call
}

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

type MockOpenFGAServiceClient_ReadChanges_Call

type MockOpenFGAServiceClient_ReadChanges_Call struct {
	*mock.Call
}

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

func (*MockOpenFGAServiceClient_ReadChanges_Call) Return

func (*MockOpenFGAServiceClient_ReadChanges_Call) Run

type MockOpenFGAServiceClient_Read_Call

type MockOpenFGAServiceClient_Read_Call struct {
	*mock.Call
}

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

func (*MockOpenFGAServiceClient_Read_Call) Return

func (*MockOpenFGAServiceClient_Read_Call) Run

type MockOpenFGAServiceClient_StreamedListObjects_Call

type MockOpenFGAServiceClient_StreamedListObjects_Call struct {
	*mock.Call
}

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

func (*MockOpenFGAServiceClient_StreamedListObjects_Call) Run

type MockOpenFGAServiceClient_UpdateStore_Call

type MockOpenFGAServiceClient_UpdateStore_Call struct {
	*mock.Call
}

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

func (*MockOpenFGAServiceClient_UpdateStore_Call) Return

func (*MockOpenFGAServiceClient_UpdateStore_Call) Run

type MockOpenFGAServiceClient_WriteAssertions_Call

type MockOpenFGAServiceClient_WriteAssertions_Call struct {
	*mock.Call
}

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

func (*MockOpenFGAServiceClient_WriteAssertions_Call) Return

func (*MockOpenFGAServiceClient_WriteAssertions_Call) Run

type MockOpenFGAServiceClient_WriteAuthorizationModel_Call

type MockOpenFGAServiceClient_WriteAuthorizationModel_Call struct {
	*mock.Call
}

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

type MockOpenFGAServiceClient_Write_Call

type MockOpenFGAServiceClient_Write_Call struct {
	*mock.Call
}

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

func (*MockOpenFGAServiceClient_Write_Call) Return

func (*MockOpenFGAServiceClient_Write_Call) Run

Jump to

Keyboard shortcuts

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