Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeClient
- func (fake *FakeClient) EvaluatePolicy(arg1 string, arg2 []byte) (*opa.EvaluatePolicyResponse, error)
- func (fake *FakeClient) EvaluatePolicyArgsForCall(i int) (string, []byte)
- func (fake *FakeClient) EvaluatePolicyCallCount() int
- func (fake *FakeClient) EvaluatePolicyCalls(stub func(string, []byte) (*opa.EvaluatePolicyResponse, error))
- func (fake *FakeClient) EvaluatePolicyReturns(result1 *opa.EvaluatePolicyResponse, result2 error)
- func (fake *FakeClient) EvaluatePolicyReturnsOnCall(i int, result1 *opa.EvaluatePolicyResponse, result2 error)
- func (fake *FakeClient) InitializePolicy(arg1 string, arg2 string) opa.ClientError
- func (fake *FakeClient) InitializePolicyArgsForCall(i int) (string, string)
- func (fake *FakeClient) InitializePolicyCallCount() int
- func (fake *FakeClient) InitializePolicyCalls(stub func(string, string) opa.ClientError)
- func (fake *FakeClient) InitializePolicyReturns(result1 opa.ClientError)
- func (fake *FakeClient) InitializePolicyReturnsOnCall(i int, result1 opa.ClientError)
- func (fake *FakeClient) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClient ¶
type FakeClient struct { EvaluatePolicyStub func(string, []byte) (*opa.EvaluatePolicyResponse, error) InitializePolicyStub func(string, string) opa.ClientError // contains filtered or unexported fields }
func (*FakeClient) EvaluatePolicy ¶
func (fake *FakeClient) EvaluatePolicy(arg1 string, arg2 []byte) (*opa.EvaluatePolicyResponse, error)
func (*FakeClient) EvaluatePolicyArgsForCall ¶
func (fake *FakeClient) EvaluatePolicyArgsForCall(i int) (string, []byte)
func (*FakeClient) EvaluatePolicyCallCount ¶
func (fake *FakeClient) EvaluatePolicyCallCount() int
func (*FakeClient) EvaluatePolicyCalls ¶
func (fake *FakeClient) EvaluatePolicyCalls(stub func(string, []byte) (*opa.EvaluatePolicyResponse, error))
func (*FakeClient) EvaluatePolicyReturns ¶
func (fake *FakeClient) EvaluatePolicyReturns(result1 *opa.EvaluatePolicyResponse, result2 error)
func (*FakeClient) EvaluatePolicyReturnsOnCall ¶
func (fake *FakeClient) EvaluatePolicyReturnsOnCall(i int, result1 *opa.EvaluatePolicyResponse, result2 error)
func (*FakeClient) InitializePolicy ¶
func (fake *FakeClient) InitializePolicy(arg1 string, arg2 string) opa.ClientError
func (*FakeClient) InitializePolicyArgsForCall ¶
func (fake *FakeClient) InitializePolicyArgsForCall(i int) (string, string)
func (*FakeClient) InitializePolicyCallCount ¶
func (fake *FakeClient) InitializePolicyCallCount() int
func (*FakeClient) InitializePolicyCalls ¶
func (fake *FakeClient) InitializePolicyCalls(stub func(string, string) opa.ClientError)
func (*FakeClient) InitializePolicyReturns ¶
func (fake *FakeClient) InitializePolicyReturns(result1 opa.ClientError)
func (*FakeClient) InitializePolicyReturnsOnCall ¶
func (fake *FakeClient) InitializePolicyReturnsOnCall(i int, result1 opa.ClientError)
func (*FakeClient) Invocations ¶
func (fake *FakeClient) Invocations() map[string][][]interface{}
Click to show internal directories.
Click to hide internal directories.