Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeCache
- func (fake *FakeCache) Invocations() map[string][][]interface{}
- func (fake *FakeCache) Set(arg1 context.Context, arg2 string, arg3 string, arg4 string, arg5 []byte, ...) error
- func (fake *FakeCache) SetArgsForCall(i int) (context.Context, string, string, string, []byte, int)
- func (fake *FakeCache) SetCallCount() int
- func (fake *FakeCache) SetCalls(stub func(context.Context, string, string, string, []byte, int) error)
- func (fake *FakeCache) SetReturns(result1 error)
- func (fake *FakeCache) SetReturnsOnCall(i int, result1 error)
- type FakeRegoCache
- func (fake *FakeRegoCache) Get(arg1 string) (*storage.Policy, bool)
- func (fake *FakeRegoCache) GetArgsForCall(i int) string
- func (fake *FakeRegoCache) GetCallCount() int
- func (fake *FakeRegoCache) GetCalls(stub func(string) (*storage.Policy, bool))
- func (fake *FakeRegoCache) GetReturns(result1 *storage.Policy, result2 bool)
- func (fake *FakeRegoCache) GetReturnsOnCall(i int, result1 *storage.Policy, result2 bool)
- func (fake *FakeRegoCache) Invocations() map[string][][]interface{}
- func (fake *FakeRegoCache) Set(arg1 string, arg2 *storage.Policy)
- func (fake *FakeRegoCache) SetArgsForCall(i int) (string, *storage.Policy)
- func (fake *FakeRegoCache) SetCallCount() int
- func (fake *FakeRegoCache) SetCalls(stub func(string, *storage.Policy))
- type FakeSigner
- func (fake *FakeSigner) Invocations() map[string][][]interface{}
- func (fake *FakeSigner) Key(arg1 context.Context, arg2 string, arg3 string) (any, error)
- func (fake *FakeSigner) KeyArgsForCall(i int) (context.Context, string, string)
- func (fake *FakeSigner) KeyCallCount() int
- func (fake *FakeSigner) KeyCalls(stub func(context.Context, string, string) (any, error))
- func (fake *FakeSigner) KeyReturns(result1 any, result2 error)
- func (fake *FakeSigner) KeyReturnsOnCall(i int, result1 any, result2 error)
- func (fake *FakeSigner) Sign(arg1 context.Context, arg2 string, arg3 string, arg4 []byte) ([]byte, error)
- func (fake *FakeSigner) SignArgsForCall(i int) (context.Context, string, string, []byte)
- func (fake *FakeSigner) SignCallCount() int
- func (fake *FakeSigner) SignCalls(stub func(context.Context, string, string, []byte) ([]byte, error))
- func (fake *FakeSigner) SignReturns(result1 []byte, result2 error)
- func (fake *FakeSigner) SignReturnsOnCall(i int, result1 []byte, result2 error)
- type FakeStorage
- func (fake *FakeStorage) ActiveImportConfigs(arg1 context.Context) ([]*storage.PolicyAutoImport, error)
- func (fake *FakeStorage) ActiveImportConfigsArgsForCall(i int) context.Context
- func (fake *FakeStorage) ActiveImportConfigsCallCount() int
- func (fake *FakeStorage) ActiveImportConfigsCalls(stub func(context.Context) ([]*storage.PolicyAutoImport, error))
- func (fake *FakeStorage) ActiveImportConfigsReturns(result1 []*storage.PolicyAutoImport, result2 error)
- func (fake *FakeStorage) ActiveImportConfigsReturnsOnCall(i int, result1 []*storage.PolicyAutoImport, result2 error)
- func (fake *FakeStorage) AddPolicySubscribers(arg1 ...storage.PolicySubscriber)
- func (fake *FakeStorage) AddPolicySubscribersArgsForCall(i int) []storage.PolicySubscriber
- func (fake *FakeStorage) AddPolicySubscribersCallCount() int
- func (fake *FakeStorage) AddPolicySubscribersCalls(stub func(...storage.PolicySubscriber))
- func (fake *FakeStorage) AutoImportConfig(arg1 context.Context, arg2 string) (*storage.PolicyAutoImport, error)
- func (fake *FakeStorage) AutoImportConfigArgsForCall(i int) (context.Context, string)
- func (fake *FakeStorage) AutoImportConfigCallCount() int
- func (fake *FakeStorage) AutoImportConfigCalls(stub func(context.Context, string) (*storage.PolicyAutoImport, error))
- func (fake *FakeStorage) AutoImportConfigReturns(result1 *storage.PolicyAutoImport, result2 error)
- func (fake *FakeStorage) AutoImportConfigReturnsOnCall(i int, result1 *storage.PolicyAutoImport, result2 error)
- func (fake *FakeStorage) AutoImportConfigs(arg1 context.Context) ([]*storage.PolicyAutoImport, error)
- func (fake *FakeStorage) AutoImportConfigsArgsForCall(i int) context.Context
- func (fake *FakeStorage) AutoImportConfigsCallCount() int
- func (fake *FakeStorage) AutoImportConfigsCalls(stub func(context.Context) ([]*storage.PolicyAutoImport, error))
- func (fake *FakeStorage) AutoImportConfigsReturns(result1 []*storage.PolicyAutoImport, result2 error)
- func (fake *FakeStorage) AutoImportConfigsReturnsOnCall(i int, result1 []*storage.PolicyAutoImport, result2 error)
- func (fake *FakeStorage) Close(arg1 context.Context)
- func (fake *FakeStorage) CloseArgsForCall(i int) context.Context
- func (fake *FakeStorage) CloseCallCount() int
- func (fake *FakeStorage) CloseCalls(stub func(context.Context))
- func (fake *FakeStorage) CreateSubscriber(arg1 context.Context, arg2 *storage.Subscriber) (*storage.Subscriber, error)
- func (fake *FakeStorage) CreateSubscriberArgsForCall(i int) (context.Context, *storage.Subscriber)
- func (fake *FakeStorage) CreateSubscriberCallCount() int
- func (fake *FakeStorage) CreateSubscriberCalls(stub func(context.Context, *storage.Subscriber) (*storage.Subscriber, error))
- func (fake *FakeStorage) CreateSubscriberReturns(result1 *storage.Subscriber, result2 error)
- func (fake *FakeStorage) CreateSubscriberReturnsOnCall(i int, result1 *storage.Subscriber, result2 error)
- func (fake *FakeStorage) DeleteAutoImportConfig(arg1 context.Context, arg2 string) error
- func (fake *FakeStorage) DeleteAutoImportConfigArgsForCall(i int) (context.Context, string)
- func (fake *FakeStorage) DeleteAutoImportConfigCallCount() int
- func (fake *FakeStorage) DeleteAutoImportConfigCalls(stub func(context.Context, string) error)
- func (fake *FakeStorage) DeleteAutoImportConfigReturns(result1 error)
- func (fake *FakeStorage) DeleteAutoImportConfigReturnsOnCall(i int, result1 error)
- func (fake *FakeStorage) DeleteData(arg1 context.Context, arg2 string) error
- func (fake *FakeStorage) DeleteDataArgsForCall(i int) (context.Context, string)
- func (fake *FakeStorage) DeleteDataCallCount() int
- func (fake *FakeStorage) DeleteDataCalls(stub func(context.Context, string) error)
- func (fake *FakeStorage) DeleteDataReturns(result1 error)
- func (fake *FakeStorage) DeleteDataReturnsOnCall(i int, result1 error)
- func (fake *FakeStorage) GetData(arg1 context.Context, arg2 string) (any, error)
- func (fake *FakeStorage) GetDataArgsForCall(i int) (context.Context, string)
- func (fake *FakeStorage) GetDataCallCount() int
- func (fake *FakeStorage) GetDataCalls(stub func(context.Context, string) (any, error))
- func (fake *FakeStorage) GetDataReturns(result1 any, result2 error)
- func (fake *FakeStorage) GetDataReturnsOnCall(i int, result1 any, result2 error)
- func (fake *FakeStorage) GetPolicies(arg1 context.Context, arg2 *bool, arg3 *string) ([]*storage.Policy, error)
- func (fake *FakeStorage) GetPoliciesArgsForCall(i int) (context.Context, *bool, *string)
- func (fake *FakeStorage) GetPoliciesCallCount() int
- func (fake *FakeStorage) GetPoliciesCalls(stub func(context.Context, *bool, *string) ([]*storage.Policy, error))
- func (fake *FakeStorage) GetPoliciesReturns(result1 []*storage.Policy, result2 error)
- func (fake *FakeStorage) GetPoliciesReturnsOnCall(i int, result1 []*storage.Policy, result2 error)
- func (fake *FakeStorage) Invocations() map[string][][]interface{}
- func (fake *FakeStorage) ListenPolicyDataChanges(arg1 context.Context) error
- func (fake *FakeStorage) ListenPolicyDataChangesArgsForCall(i int) context.Context
- func (fake *FakeStorage) ListenPolicyDataChangesCallCount() int
- func (fake *FakeStorage) ListenPolicyDataChangesCalls(stub func(context.Context) error)
- func (fake *FakeStorage) ListenPolicyDataChangesReturns(result1 error)
- func (fake *FakeStorage) ListenPolicyDataChangesReturnsOnCall(i int, result1 error)
- func (fake *FakeStorage) Policy(arg1 context.Context, arg2 string, arg3 string, arg4 string, arg5 string) (*storage.Policy, error)
- func (fake *FakeStorage) PolicyArgsForCall(i int) (context.Context, string, string, string, string)
- func (fake *FakeStorage) PolicyCallCount() int
- func (fake *FakeStorage) PolicyCalls(...)
- func (fake *FakeStorage) PolicyReturns(result1 *storage.Policy, result2 error)
- func (fake *FakeStorage) PolicyReturnsOnCall(i int, result1 *storage.Policy, result2 error)
- func (fake *FakeStorage) SaveAutoImportConfig(arg1 context.Context, arg2 *storage.PolicyAutoImport) error
- func (fake *FakeStorage) SaveAutoImportConfigArgsForCall(i int) (context.Context, *storage.PolicyAutoImport)
- func (fake *FakeStorage) SaveAutoImportConfigCallCount() int
- func (fake *FakeStorage) SaveAutoImportConfigCalls(stub func(context.Context, *storage.PolicyAutoImport) error)
- func (fake *FakeStorage) SaveAutoImportConfigReturns(result1 error)
- func (fake *FakeStorage) SaveAutoImportConfigReturnsOnCall(i int, result1 error)
- func (fake *FakeStorage) SavePolicy(arg1 context.Context, arg2 *storage.Policy) error
- func (fake *FakeStorage) SavePolicyArgsForCall(i int) (context.Context, *storage.Policy)
- func (fake *FakeStorage) SavePolicyCallCount() int
- func (fake *FakeStorage) SavePolicyCalls(stub func(context.Context, *storage.Policy) error)
- func (fake *FakeStorage) SavePolicyReturns(result1 error)
- func (fake *FakeStorage) SavePolicyReturnsOnCall(i int, result1 error)
- func (fake *FakeStorage) SetData(arg1 context.Context, arg2 string, arg3 map[string]interface{}) error
- func (fake *FakeStorage) SetDataArgsForCall(i int) (context.Context, string, map[string]interface{})
- func (fake *FakeStorage) SetDataCallCount() int
- func (fake *FakeStorage) SetDataCalls(stub func(context.Context, string, map[string]interface{}) error)
- func (fake *FakeStorage) SetDataReturns(result1 error)
- func (fake *FakeStorage) SetDataReturnsOnCall(i int, result1 error)
- func (fake *FakeStorage) SetPolicyLock(arg1 context.Context, arg2 string, arg3 string, arg4 string, arg5 string, ...) error
- func (fake *FakeStorage) SetPolicyLockArgsForCall(i int) (context.Context, string, string, string, string, bool)
- func (fake *FakeStorage) SetPolicyLockCallCount() int
- func (fake *FakeStorage) SetPolicyLockCalls(stub func(context.Context, string, string, string, string, bool) error)
- func (fake *FakeStorage) SetPolicyLockReturns(result1 error)
- func (fake *FakeStorage) SetPolicyLockReturnsOnCall(i int, result1 error)
- func (fake *FakeStorage) Subscriber(arg1 context.Context, arg2 string, arg3 string, arg4 string, arg5 string, ...) (*storage.Subscriber, error)
- func (fake *FakeStorage) SubscriberArgsForCall(i int) (context.Context, string, string, string, string, string, string)
- func (fake *FakeStorage) SubscriberCallCount() int
- func (fake *FakeStorage) SubscriberCalls(...)
- func (fake *FakeStorage) SubscriberReturns(result1 *storage.Subscriber, result2 error)
- func (fake *FakeStorage) SubscriberReturnsOnCall(i int, result1 *storage.Subscriber, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCache ¶
type FakeCache struct { SetStub func(context.Context, string, string, string, []byte, int) error // contains filtered or unexported fields }
func (*FakeCache) Invocations ¶
func (*FakeCache) SetArgsForCall ¶
func (*FakeCache) SetCallCount ¶
func (*FakeCache) SetReturns ¶
func (*FakeCache) SetReturnsOnCall ¶
type FakeRegoCache ¶
type FakeRegoCache struct { GetStub func(string) (*storage.Policy, bool) SetStub func(string, *storage.Policy) // contains filtered or unexported fields }
func (*FakeRegoCache) GetArgsForCall ¶
func (fake *FakeRegoCache) GetArgsForCall(i int) string
func (*FakeRegoCache) GetCallCount ¶
func (fake *FakeRegoCache) GetCallCount() int
func (*FakeRegoCache) GetCalls ¶
func (fake *FakeRegoCache) GetCalls(stub func(string) (*storage.Policy, bool))
func (*FakeRegoCache) GetReturns ¶
func (fake *FakeRegoCache) GetReturns(result1 *storage.Policy, result2 bool)
func (*FakeRegoCache) GetReturnsOnCall ¶
func (fake *FakeRegoCache) GetReturnsOnCall(i int, result1 *storage.Policy, result2 bool)
func (*FakeRegoCache) Invocations ¶
func (fake *FakeRegoCache) Invocations() map[string][][]interface{}
func (*FakeRegoCache) SetArgsForCall ¶
func (fake *FakeRegoCache) SetArgsForCall(i int) (string, *storage.Policy)
func (*FakeRegoCache) SetCallCount ¶
func (fake *FakeRegoCache) SetCallCount() int
type FakeSigner ¶
type FakeSigner struct { KeyStub func(context.Context, string, string) (any, error) SignStub func(context.Context, string, string, []byte) ([]byte, error) // contains filtered or unexported fields }
func (*FakeSigner) Invocations ¶
func (fake *FakeSigner) Invocations() map[string][][]interface{}
func (*FakeSigner) KeyArgsForCall ¶
func (*FakeSigner) KeyCallCount ¶
func (fake *FakeSigner) KeyCallCount() int
func (*FakeSigner) KeyReturns ¶
func (fake *FakeSigner) KeyReturns(result1 any, result2 error)
func (*FakeSigner) KeyReturnsOnCall ¶
func (fake *FakeSigner) KeyReturnsOnCall(i int, result1 any, result2 error)
func (*FakeSigner) SignArgsForCall ¶
func (*FakeSigner) SignCallCount ¶
func (fake *FakeSigner) SignCallCount() int
func (*FakeSigner) SignReturns ¶
func (fake *FakeSigner) SignReturns(result1 []byte, result2 error)
func (*FakeSigner) SignReturnsOnCall ¶
func (fake *FakeSigner) SignReturnsOnCall(i int, result1 []byte, result2 error)
type FakeStorage ¶
type FakeStorage struct { ActiveImportConfigsStub func(context.Context) ([]*storage.PolicyAutoImport, error) AddPolicySubscribersStub func(...storage.PolicySubscriber) AutoImportConfigStub func(context.Context, string) (*storage.PolicyAutoImport, error) AutoImportConfigsStub func(context.Context) ([]*storage.PolicyAutoImport, error) CloseStub func(context.Context) CreateSubscriberStub func(context.Context, *storage.Subscriber) (*storage.Subscriber, error) DeleteAutoImportConfigStub func(context.Context, string) error DeleteDataStub func(context.Context, string) error GetDataStub func(context.Context, string) (any, error) GetPoliciesStub func(context.Context, *bool, *string) ([]*storage.Policy, error) ListenPolicyDataChangesStub func(context.Context) error PolicyStub func(context.Context, string, string, string, string) (*storage.Policy, error) SaveAutoImportConfigStub func(context.Context, *storage.PolicyAutoImport) error SavePolicyStub func(context.Context, *storage.Policy) error SetDataStub func(context.Context, string, map[string]interface{}) error SetPolicyLockStub func(context.Context, string, string, string, string, bool) error SubscriberStub func(context.Context, string, string, string, string, string, string) (*storage.Subscriber, error) // contains filtered or unexported fields }
func (*FakeStorage) ActiveImportConfigs ¶ added in v1.2.0
func (fake *FakeStorage) ActiveImportConfigs(arg1 context.Context) ([]*storage.PolicyAutoImport, error)
func (*FakeStorage) ActiveImportConfigsArgsForCall ¶ added in v1.2.0
func (fake *FakeStorage) ActiveImportConfigsArgsForCall(i int) context.Context
func (*FakeStorage) ActiveImportConfigsCallCount ¶ added in v1.2.0
func (fake *FakeStorage) ActiveImportConfigsCallCount() int
func (*FakeStorage) ActiveImportConfigsCalls ¶ added in v1.2.0
func (fake *FakeStorage) ActiveImportConfigsCalls(stub func(context.Context) ([]*storage.PolicyAutoImport, error))
func (*FakeStorage) ActiveImportConfigsReturns ¶ added in v1.2.0
func (fake *FakeStorage) ActiveImportConfigsReturns(result1 []*storage.PolicyAutoImport, result2 error)
func (*FakeStorage) ActiveImportConfigsReturnsOnCall ¶ added in v1.2.0
func (fake *FakeStorage) ActiveImportConfigsReturnsOnCall(i int, result1 []*storage.PolicyAutoImport, result2 error)
func (*FakeStorage) AddPolicySubscribers ¶ added in v1.2.0
func (fake *FakeStorage) AddPolicySubscribers(arg1 ...storage.PolicySubscriber)
func (*FakeStorage) AddPolicySubscribersArgsForCall ¶ added in v1.2.0
func (fake *FakeStorage) AddPolicySubscribersArgsForCall(i int) []storage.PolicySubscriber
func (*FakeStorage) AddPolicySubscribersCallCount ¶ added in v1.2.0
func (fake *FakeStorage) AddPolicySubscribersCallCount() int
func (*FakeStorage) AddPolicySubscribersCalls ¶ added in v1.2.0
func (fake *FakeStorage) AddPolicySubscribersCalls(stub func(...storage.PolicySubscriber))
func (*FakeStorage) AutoImportConfig ¶ added in v1.2.0
func (fake *FakeStorage) AutoImportConfig(arg1 context.Context, arg2 string) (*storage.PolicyAutoImport, error)
func (*FakeStorage) AutoImportConfigArgsForCall ¶ added in v1.2.0
func (fake *FakeStorage) AutoImportConfigArgsForCall(i int) (context.Context, string)
func (*FakeStorage) AutoImportConfigCallCount ¶ added in v1.2.0
func (fake *FakeStorage) AutoImportConfigCallCount() int
func (*FakeStorage) AutoImportConfigCalls ¶ added in v1.2.0
func (fake *FakeStorage) AutoImportConfigCalls(stub func(context.Context, string) (*storage.PolicyAutoImport, error))
func (*FakeStorage) AutoImportConfigReturns ¶ added in v1.2.0
func (fake *FakeStorage) AutoImportConfigReturns(result1 *storage.PolicyAutoImport, result2 error)
func (*FakeStorage) AutoImportConfigReturnsOnCall ¶ added in v1.2.0
func (fake *FakeStorage) AutoImportConfigReturnsOnCall(i int, result1 *storage.PolicyAutoImport, result2 error)
func (*FakeStorage) AutoImportConfigs ¶ added in v1.2.0
func (fake *FakeStorage) AutoImportConfigs(arg1 context.Context) ([]*storage.PolicyAutoImport, error)
func (*FakeStorage) AutoImportConfigsArgsForCall ¶ added in v1.2.0
func (fake *FakeStorage) AutoImportConfigsArgsForCall(i int) context.Context
func (*FakeStorage) AutoImportConfigsCallCount ¶ added in v1.2.0
func (fake *FakeStorage) AutoImportConfigsCallCount() int
func (*FakeStorage) AutoImportConfigsCalls ¶ added in v1.2.0
func (fake *FakeStorage) AutoImportConfigsCalls(stub func(context.Context) ([]*storage.PolicyAutoImport, error))
func (*FakeStorage) AutoImportConfigsReturns ¶ added in v1.2.0
func (fake *FakeStorage) AutoImportConfigsReturns(result1 []*storage.PolicyAutoImport, result2 error)
func (*FakeStorage) AutoImportConfigsReturnsOnCall ¶ added in v1.2.0
func (fake *FakeStorage) AutoImportConfigsReturnsOnCall(i int, result1 []*storage.PolicyAutoImport, result2 error)
func (*FakeStorage) Close ¶
func (fake *FakeStorage) Close(arg1 context.Context)
func (*FakeStorage) CloseArgsForCall ¶
func (fake *FakeStorage) CloseArgsForCall(i int) context.Context
func (*FakeStorage) CloseCallCount ¶
func (fake *FakeStorage) CloseCallCount() int
func (*FakeStorage) CloseCalls ¶
func (fake *FakeStorage) CloseCalls(stub func(context.Context))
func (*FakeStorage) CreateSubscriber ¶
func (fake *FakeStorage) CreateSubscriber(arg1 context.Context, arg2 *storage.Subscriber) (*storage.Subscriber, error)
func (*FakeStorage) CreateSubscriberArgsForCall ¶
func (fake *FakeStorage) CreateSubscriberArgsForCall(i int) (context.Context, *storage.Subscriber)
func (*FakeStorage) CreateSubscriberCallCount ¶
func (fake *FakeStorage) CreateSubscriberCallCount() int
func (*FakeStorage) CreateSubscriberCalls ¶
func (fake *FakeStorage) CreateSubscriberCalls(stub func(context.Context, *storage.Subscriber) (*storage.Subscriber, error))
func (*FakeStorage) CreateSubscriberReturns ¶
func (fake *FakeStorage) CreateSubscriberReturns(result1 *storage.Subscriber, result2 error)
func (*FakeStorage) CreateSubscriberReturnsOnCall ¶
func (fake *FakeStorage) CreateSubscriberReturnsOnCall(i int, result1 *storage.Subscriber, result2 error)
func (*FakeStorage) DeleteAutoImportConfig ¶ added in v1.2.0
func (fake *FakeStorage) DeleteAutoImportConfig(arg1 context.Context, arg2 string) error
func (*FakeStorage) DeleteAutoImportConfigArgsForCall ¶ added in v1.2.0
func (fake *FakeStorage) DeleteAutoImportConfigArgsForCall(i int) (context.Context, string)
func (*FakeStorage) DeleteAutoImportConfigCallCount ¶ added in v1.2.0
func (fake *FakeStorage) DeleteAutoImportConfigCallCount() int
func (*FakeStorage) DeleteAutoImportConfigCalls ¶ added in v1.2.0
func (fake *FakeStorage) DeleteAutoImportConfigCalls(stub func(context.Context, string) error)
func (*FakeStorage) DeleteAutoImportConfigReturns ¶ added in v1.2.0
func (fake *FakeStorage) DeleteAutoImportConfigReturns(result1 error)
func (*FakeStorage) DeleteAutoImportConfigReturnsOnCall ¶ added in v1.2.0
func (fake *FakeStorage) DeleteAutoImportConfigReturnsOnCall(i int, result1 error)
func (*FakeStorage) DeleteData ¶
func (fake *FakeStorage) DeleteData(arg1 context.Context, arg2 string) error
func (*FakeStorage) DeleteDataArgsForCall ¶
func (fake *FakeStorage) DeleteDataArgsForCall(i int) (context.Context, string)
func (*FakeStorage) DeleteDataCallCount ¶
func (fake *FakeStorage) DeleteDataCallCount() int
func (*FakeStorage) DeleteDataCalls ¶
func (fake *FakeStorage) DeleteDataCalls(stub func(context.Context, string) error)
func (*FakeStorage) DeleteDataReturns ¶
func (fake *FakeStorage) DeleteDataReturns(result1 error)
func (*FakeStorage) DeleteDataReturnsOnCall ¶
func (fake *FakeStorage) DeleteDataReturnsOnCall(i int, result1 error)
func (*FakeStorage) GetDataArgsForCall ¶
func (fake *FakeStorage) GetDataArgsForCall(i int) (context.Context, string)
func (*FakeStorage) GetDataCallCount ¶
func (fake *FakeStorage) GetDataCallCount() int
func (*FakeStorage) GetDataCalls ¶
func (*FakeStorage) GetDataReturns ¶
func (fake *FakeStorage) GetDataReturns(result1 any, result2 error)
func (*FakeStorage) GetDataReturnsOnCall ¶
func (fake *FakeStorage) GetDataReturnsOnCall(i int, result1 any, result2 error)
func (*FakeStorage) GetPolicies ¶
func (*FakeStorage) GetPoliciesArgsForCall ¶
func (*FakeStorage) GetPoliciesCallCount ¶
func (fake *FakeStorage) GetPoliciesCallCount() int
func (*FakeStorage) GetPoliciesCalls ¶
func (*FakeStorage) GetPoliciesReturns ¶
func (fake *FakeStorage) GetPoliciesReturns(result1 []*storage.Policy, result2 error)
func (*FakeStorage) GetPoliciesReturnsOnCall ¶
func (fake *FakeStorage) GetPoliciesReturnsOnCall(i int, result1 []*storage.Policy, result2 error)
func (*FakeStorage) Invocations ¶
func (fake *FakeStorage) Invocations() map[string][][]interface{}
func (*FakeStorage) ListenPolicyDataChanges ¶
func (fake *FakeStorage) ListenPolicyDataChanges(arg1 context.Context) error
func (*FakeStorage) ListenPolicyDataChangesArgsForCall ¶
func (fake *FakeStorage) ListenPolicyDataChangesArgsForCall(i int) context.Context
func (*FakeStorage) ListenPolicyDataChangesCallCount ¶
func (fake *FakeStorage) ListenPolicyDataChangesCallCount() int
func (*FakeStorage) ListenPolicyDataChangesCalls ¶
func (fake *FakeStorage) ListenPolicyDataChangesCalls(stub func(context.Context) error)
func (*FakeStorage) ListenPolicyDataChangesReturns ¶
func (fake *FakeStorage) ListenPolicyDataChangesReturns(result1 error)
func (*FakeStorage) ListenPolicyDataChangesReturnsOnCall ¶
func (fake *FakeStorage) ListenPolicyDataChangesReturnsOnCall(i int, result1 error)
func (*FakeStorage) PolicyArgsForCall ¶
func (*FakeStorage) PolicyCallCount ¶
func (fake *FakeStorage) PolicyCallCount() int
func (*FakeStorage) PolicyCalls ¶
func (*FakeStorage) PolicyReturns ¶
func (fake *FakeStorage) PolicyReturns(result1 *storage.Policy, result2 error)
func (*FakeStorage) PolicyReturnsOnCall ¶
func (fake *FakeStorage) PolicyReturnsOnCall(i int, result1 *storage.Policy, result2 error)
func (*FakeStorage) SaveAutoImportConfig ¶ added in v1.2.0
func (fake *FakeStorage) SaveAutoImportConfig(arg1 context.Context, arg2 *storage.PolicyAutoImport) error
func (*FakeStorage) SaveAutoImportConfigArgsForCall ¶ added in v1.2.0
func (fake *FakeStorage) SaveAutoImportConfigArgsForCall(i int) (context.Context, *storage.PolicyAutoImport)
func (*FakeStorage) SaveAutoImportConfigCallCount ¶ added in v1.2.0
func (fake *FakeStorage) SaveAutoImportConfigCallCount() int
func (*FakeStorage) SaveAutoImportConfigCalls ¶ added in v1.2.0
func (fake *FakeStorage) SaveAutoImportConfigCalls(stub func(context.Context, *storage.PolicyAutoImport) error)
func (*FakeStorage) SaveAutoImportConfigReturns ¶ added in v1.2.0
func (fake *FakeStorage) SaveAutoImportConfigReturns(result1 error)
func (*FakeStorage) SaveAutoImportConfigReturnsOnCall ¶ added in v1.2.0
func (fake *FakeStorage) SaveAutoImportConfigReturnsOnCall(i int, result1 error)
func (*FakeStorage) SavePolicy ¶
func (*FakeStorage) SavePolicyArgsForCall ¶
func (*FakeStorage) SavePolicyCallCount ¶
func (fake *FakeStorage) SavePolicyCallCount() int
func (*FakeStorage) SavePolicyCalls ¶
func (*FakeStorage) SavePolicyReturns ¶
func (fake *FakeStorage) SavePolicyReturns(result1 error)
func (*FakeStorage) SavePolicyReturnsOnCall ¶
func (fake *FakeStorage) SavePolicyReturnsOnCall(i int, result1 error)
func (*FakeStorage) SetDataArgsForCall ¶
func (*FakeStorage) SetDataCallCount ¶
func (fake *FakeStorage) SetDataCallCount() int
func (*FakeStorage) SetDataCalls ¶
func (*FakeStorage) SetDataReturns ¶
func (fake *FakeStorage) SetDataReturns(result1 error)
func (*FakeStorage) SetDataReturnsOnCall ¶
func (fake *FakeStorage) SetDataReturnsOnCall(i int, result1 error)
func (*FakeStorage) SetPolicyLock ¶
func (*FakeStorage) SetPolicyLockArgsForCall ¶
func (*FakeStorage) SetPolicyLockCallCount ¶
func (fake *FakeStorage) SetPolicyLockCallCount() int
func (*FakeStorage) SetPolicyLockCalls ¶
func (*FakeStorage) SetPolicyLockReturns ¶
func (fake *FakeStorage) SetPolicyLockReturns(result1 error)
func (*FakeStorage) SetPolicyLockReturnsOnCall ¶
func (fake *FakeStorage) SetPolicyLockReturnsOnCall(i int, result1 error)
func (*FakeStorage) Subscriber ¶ added in v1.2.0
func (*FakeStorage) SubscriberArgsForCall ¶ added in v1.2.0
func (*FakeStorage) SubscriberCallCount ¶ added in v1.2.0
func (fake *FakeStorage) SubscriberCallCount() int
func (*FakeStorage) SubscriberCalls ¶ added in v1.2.0
func (*FakeStorage) SubscriberReturns ¶ added in v1.2.0
func (fake *FakeStorage) SubscriberReturns(result1 *storage.Subscriber, result2 error)
func (*FakeStorage) SubscriberReturnsOnCall ¶ added in v1.2.0
func (fake *FakeStorage) SubscriberReturnsOnCall(i int, result1 *storage.Subscriber, result2 error)
Click to show internal directories.
Click to hide internal directories.