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 AllowedOriginsStore
- type AnchorGraph
- func (fake *AnchorGraph) GetDidAnchors(arg1 string, arg2 string) ([]graph.Anchor, error)
- func (fake *AnchorGraph) GetDidAnchorsArgsForCall(i int) (string, string)
- func (fake *AnchorGraph) GetDidAnchorsCallCount() int
- func (fake *AnchorGraph) GetDidAnchorsCalls(stub func(string, string) ([]graph.Anchor, error))
- func (fake *AnchorGraph) GetDidAnchorsReturns(result1 []graph.Anchor, result2 error)
- func (fake *AnchorGraph) GetDidAnchorsReturnsOnCall(i int, result1 []graph.Anchor, result2 error)
- func (fake *AnchorGraph) Invocations() map[string][][]interface{}
- type CASResolver
- func (fake *CASResolver) Invocations() map[string][][]interface{}
- func (fake *CASResolver) Resolve(arg1 *url.URL, arg2 string, arg3 []byte) ([]byte, string, error)
- func (fake *CASResolver) ResolveArgsForCall(i int) (*url.URL, string, []byte)
- func (fake *CASResolver) ResolveCallCount() int
- func (fake *CASResolver) ResolveCalls(stub func(*url.URL, string, []byte) ([]byte, string, error))
- func (fake *CASResolver) ResolveReturns(result1 []byte, result2 string, result3 error)
- func (fake *CASResolver) ResolveReturnsOnCall(i int, result1 []byte, result2 string, result3 error)
- type CasClient
- func (fake *CasClient) Invocations() map[string][][]interface{}
- func (fake *CasClient) Read(arg1 string) ([]byte, error)
- func (fake *CasClient) ReadArgsForCall(i int) string
- func (fake *CasClient) ReadCallCount() int
- func (fake *CasClient) ReadCalls(stub func(string) ([]byte, error))
- func (fake *CasClient) ReadReturns(result1 []byte, result2 error)
- func (fake *CasClient) ReadReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *CasClient) Write(arg1 []byte) (string, error)
- func (fake *CasClient) WriteArgsForCall(i int) []byte
- func (fake *CasClient) WriteCallCount() int
- func (fake *CasClient) WriteCalls(stub func([]byte) (string, error))
- func (fake *CasClient) WriteReturns(result1 string, result2 error)
- func (fake *CasClient) WriteReturnsOnCall(i int, result1 string, result2 error)
- type OperationStore
- func (fake *OperationStore) Get(arg1 string) ([]*operation.AnchoredOperation, error)
- func (fake *OperationStore) GetArgsForCall(i int) string
- func (fake *OperationStore) GetCallCount() int
- func (fake *OperationStore) GetCalls(stub func(string) ([]*operation.AnchoredOperation, error))
- func (fake *OperationStore) GetReturns(result1 []*operation.AnchoredOperation, result2 error)
- func (fake *OperationStore) GetReturnsOnCall(i int, result1 []*operation.AnchoredOperation, result2 error)
- func (fake *OperationStore) Invocations() map[string][][]interface{}
- func (fake *OperationStore) Put(arg1 []*operation.AnchoredOperation) error
- func (fake *OperationStore) PutArgsForCall(i int) []*operation.AnchoredOperation
- func (fake *OperationStore) PutCallCount() int
- func (fake *OperationStore) PutCalls(stub func([]*operation.AnchoredOperation) error)
- func (fake *OperationStore) PutReturns(result1 error)
- func (fake *OperationStore) PutReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllowedOriginsStore ¶
type AllowedOriginsStore struct {
// contains filtered or unexported fields
}
AllowedOriginsStore is a mock, allowed origins store.
func NewAllowedOriginsStore ¶
func NewAllowedOriginsStore() *AllowedOriginsStore
NewAllowedOriginsStore returns a mock, allowed origins store.
func (*AllowedOriginsStore) FromString ¶
func (m *AllowedOriginsStore) FromString(values ...string) *AllowedOriginsStore
FromString initializes the origin URIs from the given strings.
func (*AllowedOriginsStore) Get ¶
func (m *AllowedOriginsStore) Get() ([]*url.URL, error)
Get returns the anchor origins or an error.
func (*AllowedOriginsStore) WithError ¶
func (m *AllowedOriginsStore) WithError(err error) *AllowedOriginsStore
WithError sets an error for testing.
type AnchorGraph ¶
type AnchorGraph struct { GetDidAnchorsStub func(string, string) ([]graph.Anchor, error) // contains filtered or unexported fields }
func (*AnchorGraph) GetDidAnchors ¶
func (*AnchorGraph) GetDidAnchorsArgsForCall ¶
func (fake *AnchorGraph) GetDidAnchorsArgsForCall(i int) (string, string)
func (*AnchorGraph) GetDidAnchorsCallCount ¶
func (fake *AnchorGraph) GetDidAnchorsCallCount() int
func (*AnchorGraph) GetDidAnchorsCalls ¶
func (*AnchorGraph) GetDidAnchorsReturns ¶
func (fake *AnchorGraph) GetDidAnchorsReturns(result1 []graph.Anchor, result2 error)
func (*AnchorGraph) GetDidAnchorsReturnsOnCall ¶
func (fake *AnchorGraph) GetDidAnchorsReturnsOnCall(i int, result1 []graph.Anchor, result2 error)
func (*AnchorGraph) Invocations ¶
func (fake *AnchorGraph) Invocations() map[string][][]interface{}
type CASResolver ¶
type CASResolver struct { ResolveStub func(*url.URL, string, []byte) ([]byte, string, error) // contains filtered or unexported fields }
func (*CASResolver) Invocations ¶
func (fake *CASResolver) Invocations() map[string][][]interface{}
func (*CASResolver) ResolveArgsForCall ¶
func (*CASResolver) ResolveCallCount ¶
func (fake *CASResolver) ResolveCallCount() int
func (*CASResolver) ResolveCalls ¶
func (*CASResolver) ResolveReturns ¶
func (fake *CASResolver) ResolveReturns(result1 []byte, result2 string, result3 error)
func (*CASResolver) ResolveReturnsOnCall ¶
func (fake *CASResolver) ResolveReturnsOnCall(i int, result1 []byte, result2 string, result3 error)
type CasClient ¶
type CasClient struct { ReadStub func(string) ([]byte, error) WriteStub func([]byte) (string, error) // contains filtered or unexported fields }
func (*CasClient) Invocations ¶
func (*CasClient) ReadArgsForCall ¶
func (*CasClient) ReadCallCount ¶
func (*CasClient) ReadReturns ¶
func (*CasClient) ReadReturnsOnCall ¶
func (*CasClient) WriteArgsForCall ¶
func (*CasClient) WriteCallCount ¶
func (*CasClient) WriteReturns ¶
type OperationStore ¶
type OperationStore struct { GetStub func(string) ([]*operation.AnchoredOperation, error) PutStub func([]*operation.AnchoredOperation) error // contains filtered or unexported fields }
func (*OperationStore) Get ¶
func (fake *OperationStore) Get(arg1 string) ([]*operation.AnchoredOperation, error)
func (*OperationStore) GetArgsForCall ¶
func (fake *OperationStore) GetArgsForCall(i int) string
func (*OperationStore) GetCallCount ¶
func (fake *OperationStore) GetCallCount() int
func (*OperationStore) GetCalls ¶
func (fake *OperationStore) GetCalls(stub func(string) ([]*operation.AnchoredOperation, error))
func (*OperationStore) GetReturns ¶
func (fake *OperationStore) GetReturns(result1 []*operation.AnchoredOperation, result2 error)
func (*OperationStore) GetReturnsOnCall ¶
func (fake *OperationStore) GetReturnsOnCall(i int, result1 []*operation.AnchoredOperation, result2 error)
func (*OperationStore) Invocations ¶
func (fake *OperationStore) Invocations() map[string][][]interface{}
func (*OperationStore) Put ¶
func (fake *OperationStore) Put(arg1 []*operation.AnchoredOperation) error
func (*OperationStore) PutArgsForCall ¶
func (fake *OperationStore) PutArgsForCall(i int) []*operation.AnchoredOperation
func (*OperationStore) PutCallCount ¶
func (fake *OperationStore) PutCallCount() int
func (*OperationStore) PutCalls ¶
func (fake *OperationStore) PutCalls(stub func([]*operation.AnchoredOperation) error)
func (*OperationStore) PutReturns ¶
func (fake *OperationStore) PutReturns(result1 error)
func (*OperationStore) PutReturnsOnCall ¶
func (fake *OperationStore) PutReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.