Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeNameSystem
- func (fake *FakeNameSystem) Invocations() map[string][][]interface{}
- func (fake *FakeNameSystem) Publish(arg1 context.Context, arg2 crypto.PrivKey, arg3 path.Path) error
- func (fake *FakeNameSystem) PublishArgsForCall(i int) (context.Context, crypto.PrivKey, path.Path)
- func (fake *FakeNameSystem) PublishCallCount() int
- func (fake *FakeNameSystem) PublishCalls(stub func(context.Context, crypto.PrivKey, path.Path) error)
- func (fake *FakeNameSystem) PublishReturns(result1 error)
- func (fake *FakeNameSystem) PublishReturnsOnCall(i int, result1 error)
- func (fake *FakeNameSystem) PublishWithEOL(arg1 context.Context, arg2 crypto.PrivKey, arg3 path.Path, arg4 time.Time) error
- func (fake *FakeNameSystem) PublishWithEOLArgsForCall(i int) (context.Context, crypto.PrivKey, path.Path, time.Time)
- func (fake *FakeNameSystem) PublishWithEOLCallCount() int
- func (fake *FakeNameSystem) PublishWithEOLCalls(stub func(context.Context, crypto.PrivKey, path.Path, time.Time) error)
- func (fake *FakeNameSystem) PublishWithEOLReturns(result1 error)
- func (fake *FakeNameSystem) PublishWithEOLReturnsOnCall(i int, result1 error)
- func (fake *FakeNameSystem) Resolve(arg1 context.Context, arg2 string, arg3 ...nsopts.ResolveOpt) (path.Path, error)
- func (fake *FakeNameSystem) ResolveArgsForCall(i int) (context.Context, string, []nsopts.ResolveOpt)
- func (fake *FakeNameSystem) ResolveAsync(arg1 context.Context, arg2 string, arg3 ...nsopts.ResolveOpt) <-chan namesys.Result
- func (fake *FakeNameSystem) ResolveAsyncArgsForCall(i int) (context.Context, string, []nsopts.ResolveOpt)
- func (fake *FakeNameSystem) ResolveAsyncCallCount() int
- func (fake *FakeNameSystem) ResolveAsyncCalls(stub func(context.Context, string, ...nsopts.ResolveOpt) <-chan namesys.Result)
- func (fake *FakeNameSystem) ResolveAsyncReturns(result1 <-chan namesys.Result)
- func (fake *FakeNameSystem) ResolveAsyncReturnsOnCall(i int, result1 <-chan namesys.Result)
- func (fake *FakeNameSystem) ResolveCallCount() int
- func (fake *FakeNameSystem) ResolveCalls(stub func(context.Context, string, ...nsopts.ResolveOpt) (path.Path, error))
- func (fake *FakeNameSystem) ResolveReturns(result1 path.Path, result2 error)
- func (fake *FakeNameSystem) ResolveReturnsOnCall(i int, result1 path.Path, result2 error)
- type FakeServiceClient
- func (fake *FakeServiceClient) DeletePrivateKey(arg1 context.Context, arg2 *krab.KeyDelete, arg3 ...grpc.CallOption) (*krab.Response, error)
- func (fake *FakeServiceClient) DeletePrivateKeyArgsForCall(i int) (context.Context, *krab.KeyDelete, []grpc.CallOption)
- func (fake *FakeServiceClient) DeletePrivateKeyCallCount() int
- func (fake *FakeServiceClient) DeletePrivateKeyCalls(...)
- func (fake *FakeServiceClient) DeletePrivateKeyReturns(result1 *krab.Response, result2 error)
- func (fake *FakeServiceClient) DeletePrivateKeyReturnsOnCall(i int, result1 *krab.Response, result2 error)
- func (fake *FakeServiceClient) GetPrivateKey(arg1 context.Context, arg2 *krab.KeyGet, arg3 ...grpc.CallOption) (*krab.Response, error)
- func (fake *FakeServiceClient) GetPrivateKeyArgsForCall(i int) (context.Context, *krab.KeyGet, []grpc.CallOption)
- func (fake *FakeServiceClient) GetPrivateKeyCallCount() int
- func (fake *FakeServiceClient) GetPrivateKeyCalls(...)
- func (fake *FakeServiceClient) GetPrivateKeyReturns(result1 *krab.Response, result2 error)
- func (fake *FakeServiceClient) GetPrivateKeyReturnsOnCall(i int, result1 *krab.Response, result2 error)
- func (fake *FakeServiceClient) HasPrivateKey(arg1 context.Context, arg2 *krab.KeyGet, arg3 ...grpc.CallOption) (*krab.Response, error)
- func (fake *FakeServiceClient) HasPrivateKeyArgsForCall(i int) (context.Context, *krab.KeyGet, []grpc.CallOption)
- func (fake *FakeServiceClient) HasPrivateKeyCallCount() int
- func (fake *FakeServiceClient) HasPrivateKeyCalls(...)
- func (fake *FakeServiceClient) HasPrivateKeyReturns(result1 *krab.Response, result2 error)
- func (fake *FakeServiceClient) HasPrivateKeyReturnsOnCall(i int, result1 *krab.Response, result2 error)
- func (fake *FakeServiceClient) Invocations() map[string][][]interface{}
- func (fake *FakeServiceClient) ListPrivateKeys(arg1 context.Context, arg2 *krab.KeyList, arg3 ...grpc.CallOption) (*krab.Response, error)
- func (fake *FakeServiceClient) ListPrivateKeysArgsForCall(i int) (context.Context, *krab.KeyList, []grpc.CallOption)
- func (fake *FakeServiceClient) ListPrivateKeysCallCount() int
- func (fake *FakeServiceClient) ListPrivateKeysCalls(...)
- func (fake *FakeServiceClient) ListPrivateKeysReturns(result1 *krab.Response, result2 error)
- func (fake *FakeServiceClient) ListPrivateKeysReturnsOnCall(i int, result1 *krab.Response, result2 error)
- func (fake *FakeServiceClient) PutPrivateKey(arg1 context.Context, arg2 *krab.KeyPut, arg3 ...grpc.CallOption) (*krab.Response, error)
- func (fake *FakeServiceClient) PutPrivateKeyArgsForCall(i int) (context.Context, *krab.KeyPut, []grpc.CallOption)
- func (fake *FakeServiceClient) PutPrivateKeyCallCount() int
- func (fake *FakeServiceClient) PutPrivateKeyCalls(...)
- func (fake *FakeServiceClient) PutPrivateKeyReturns(result1 *krab.Response, result2 error)
- func (fake *FakeServiceClient) PutPrivateKeyReturnsOnCall(i int, result1 *krab.Response, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeNameSystem ¶
type FakeNameSystem struct { PublishStub func(context.Context, crypto.PrivKey, path.Path) error PublishWithEOLStub func(context.Context, crypto.PrivKey, path.Path, time.Time) error ResolveStub func(context.Context, string, ...nsopts.ResolveOpt) (path.Path, error) ResolveAsyncStub func(context.Context, string, ...nsopts.ResolveOpt) <-chan namesys.Result // contains filtered or unexported fields }
func (*FakeNameSystem) Invocations ¶
func (fake *FakeNameSystem) Invocations() map[string][][]interface{}
func (*FakeNameSystem) PublishArgsForCall ¶
func (*FakeNameSystem) PublishCallCount ¶
func (fake *FakeNameSystem) PublishCallCount() int
func (*FakeNameSystem) PublishCalls ¶
func (*FakeNameSystem) PublishReturns ¶
func (fake *FakeNameSystem) PublishReturns(result1 error)
func (*FakeNameSystem) PublishReturnsOnCall ¶
func (fake *FakeNameSystem) PublishReturnsOnCall(i int, result1 error)
func (*FakeNameSystem) PublishWithEOL ¶
func (*FakeNameSystem) PublishWithEOLArgsForCall ¶
func (*FakeNameSystem) PublishWithEOLCallCount ¶
func (fake *FakeNameSystem) PublishWithEOLCallCount() int
func (*FakeNameSystem) PublishWithEOLCalls ¶
func (*FakeNameSystem) PublishWithEOLReturns ¶
func (fake *FakeNameSystem) PublishWithEOLReturns(result1 error)
func (*FakeNameSystem) PublishWithEOLReturnsOnCall ¶
func (fake *FakeNameSystem) PublishWithEOLReturnsOnCall(i int, result1 error)
func (*FakeNameSystem) Resolve ¶
func (fake *FakeNameSystem) Resolve(arg1 context.Context, arg2 string, arg3 ...nsopts.ResolveOpt) (path.Path, error)
func (*FakeNameSystem) ResolveArgsForCall ¶
func (fake *FakeNameSystem) ResolveArgsForCall(i int) (context.Context, string, []nsopts.ResolveOpt)
func (*FakeNameSystem) ResolveAsync ¶
func (fake *FakeNameSystem) ResolveAsync(arg1 context.Context, arg2 string, arg3 ...nsopts.ResolveOpt) <-chan namesys.Result
func (*FakeNameSystem) ResolveAsyncArgsForCall ¶
func (fake *FakeNameSystem) ResolveAsyncArgsForCall(i int) (context.Context, string, []nsopts.ResolveOpt)
func (*FakeNameSystem) ResolveAsyncCallCount ¶
func (fake *FakeNameSystem) ResolveAsyncCallCount() int
func (*FakeNameSystem) ResolveAsyncCalls ¶
func (fake *FakeNameSystem) ResolveAsyncCalls(stub func(context.Context, string, ...nsopts.ResolveOpt) <-chan namesys.Result)
func (*FakeNameSystem) ResolveAsyncReturns ¶
func (fake *FakeNameSystem) ResolveAsyncReturns(result1 <-chan namesys.Result)
func (*FakeNameSystem) ResolveAsyncReturnsOnCall ¶
func (fake *FakeNameSystem) ResolveAsyncReturnsOnCall(i int, result1 <-chan namesys.Result)
func (*FakeNameSystem) ResolveCallCount ¶
func (fake *FakeNameSystem) ResolveCallCount() int
func (*FakeNameSystem) ResolveCalls ¶
func (fake *FakeNameSystem) ResolveCalls(stub func(context.Context, string, ...nsopts.ResolveOpt) (path.Path, error))
func (*FakeNameSystem) ResolveReturns ¶
func (fake *FakeNameSystem) ResolveReturns(result1 path.Path, result2 error)
func (*FakeNameSystem) ResolveReturnsOnCall ¶
func (fake *FakeNameSystem) ResolveReturnsOnCall(i int, result1 path.Path, result2 error)
type FakeServiceClient ¶
type FakeServiceClient struct { DeletePrivateKeyStub func(context.Context, *krab.KeyDelete, ...grpc.CallOption) (*krab.Response, error) GetPrivateKeyStub func(context.Context, *krab.KeyGet, ...grpc.CallOption) (*krab.Response, error) HasPrivateKeyStub func(context.Context, *krab.KeyGet, ...grpc.CallOption) (*krab.Response, error) ListPrivateKeysStub func(context.Context, *krab.KeyList, ...grpc.CallOption) (*krab.Response, error) PutPrivateKeyStub func(context.Context, *krab.KeyPut, ...grpc.CallOption) (*krab.Response, error) // contains filtered or unexported fields }
func (*FakeServiceClient) DeletePrivateKey ¶
func (fake *FakeServiceClient) DeletePrivateKey(arg1 context.Context, arg2 *krab.KeyDelete, arg3 ...grpc.CallOption) (*krab.Response, error)
func (*FakeServiceClient) DeletePrivateKeyArgsForCall ¶
func (fake *FakeServiceClient) DeletePrivateKeyArgsForCall(i int) (context.Context, *krab.KeyDelete, []grpc.CallOption)
func (*FakeServiceClient) DeletePrivateKeyCallCount ¶
func (fake *FakeServiceClient) DeletePrivateKeyCallCount() int
func (*FakeServiceClient) DeletePrivateKeyCalls ¶
func (fake *FakeServiceClient) DeletePrivateKeyCalls(stub func(context.Context, *krab.KeyDelete, ...grpc.CallOption) (*krab.Response, error))
func (*FakeServiceClient) DeletePrivateKeyReturns ¶
func (fake *FakeServiceClient) DeletePrivateKeyReturns(result1 *krab.Response, result2 error)
func (*FakeServiceClient) DeletePrivateKeyReturnsOnCall ¶
func (fake *FakeServiceClient) DeletePrivateKeyReturnsOnCall(i int, result1 *krab.Response, result2 error)
func (*FakeServiceClient) GetPrivateKey ¶
func (fake *FakeServiceClient) GetPrivateKey(arg1 context.Context, arg2 *krab.KeyGet, arg3 ...grpc.CallOption) (*krab.Response, error)
func (*FakeServiceClient) GetPrivateKeyArgsForCall ¶
func (fake *FakeServiceClient) GetPrivateKeyArgsForCall(i int) (context.Context, *krab.KeyGet, []grpc.CallOption)
func (*FakeServiceClient) GetPrivateKeyCallCount ¶
func (fake *FakeServiceClient) GetPrivateKeyCallCount() int
func (*FakeServiceClient) GetPrivateKeyCalls ¶
func (fake *FakeServiceClient) GetPrivateKeyCalls(stub func(context.Context, *krab.KeyGet, ...grpc.CallOption) (*krab.Response, error))
func (*FakeServiceClient) GetPrivateKeyReturns ¶
func (fake *FakeServiceClient) GetPrivateKeyReturns(result1 *krab.Response, result2 error)
func (*FakeServiceClient) GetPrivateKeyReturnsOnCall ¶
func (fake *FakeServiceClient) GetPrivateKeyReturnsOnCall(i int, result1 *krab.Response, result2 error)
func (*FakeServiceClient) HasPrivateKey ¶
func (fake *FakeServiceClient) HasPrivateKey(arg1 context.Context, arg2 *krab.KeyGet, arg3 ...grpc.CallOption) (*krab.Response, error)
func (*FakeServiceClient) HasPrivateKeyArgsForCall ¶
func (fake *FakeServiceClient) HasPrivateKeyArgsForCall(i int) (context.Context, *krab.KeyGet, []grpc.CallOption)
func (*FakeServiceClient) HasPrivateKeyCallCount ¶
func (fake *FakeServiceClient) HasPrivateKeyCallCount() int
func (*FakeServiceClient) HasPrivateKeyCalls ¶
func (fake *FakeServiceClient) HasPrivateKeyCalls(stub func(context.Context, *krab.KeyGet, ...grpc.CallOption) (*krab.Response, error))
func (*FakeServiceClient) HasPrivateKeyReturns ¶
func (fake *FakeServiceClient) HasPrivateKeyReturns(result1 *krab.Response, result2 error)
func (*FakeServiceClient) HasPrivateKeyReturnsOnCall ¶
func (fake *FakeServiceClient) HasPrivateKeyReturnsOnCall(i int, result1 *krab.Response, result2 error)
func (*FakeServiceClient) Invocations ¶
func (fake *FakeServiceClient) Invocations() map[string][][]interface{}
func (*FakeServiceClient) ListPrivateKeys ¶
func (fake *FakeServiceClient) ListPrivateKeys(arg1 context.Context, arg2 *krab.KeyList, arg3 ...grpc.CallOption) (*krab.Response, error)
func (*FakeServiceClient) ListPrivateKeysArgsForCall ¶
func (fake *FakeServiceClient) ListPrivateKeysArgsForCall(i int) (context.Context, *krab.KeyList, []grpc.CallOption)
func (*FakeServiceClient) ListPrivateKeysCallCount ¶
func (fake *FakeServiceClient) ListPrivateKeysCallCount() int
func (*FakeServiceClient) ListPrivateKeysCalls ¶
func (fake *FakeServiceClient) ListPrivateKeysCalls(stub func(context.Context, *krab.KeyList, ...grpc.CallOption) (*krab.Response, error))
func (*FakeServiceClient) ListPrivateKeysReturns ¶
func (fake *FakeServiceClient) ListPrivateKeysReturns(result1 *krab.Response, result2 error)
func (*FakeServiceClient) ListPrivateKeysReturnsOnCall ¶
func (fake *FakeServiceClient) ListPrivateKeysReturnsOnCall(i int, result1 *krab.Response, result2 error)
func (*FakeServiceClient) PutPrivateKey ¶
func (fake *FakeServiceClient) PutPrivateKey(arg1 context.Context, arg2 *krab.KeyPut, arg3 ...grpc.CallOption) (*krab.Response, error)
func (*FakeServiceClient) PutPrivateKeyArgsForCall ¶
func (fake *FakeServiceClient) PutPrivateKeyArgsForCall(i int) (context.Context, *krab.KeyPut, []grpc.CallOption)
func (*FakeServiceClient) PutPrivateKeyCallCount ¶
func (fake *FakeServiceClient) PutPrivateKeyCallCount() int
func (*FakeServiceClient) PutPrivateKeyCalls ¶
func (fake *FakeServiceClient) PutPrivateKeyCalls(stub func(context.Context, *krab.KeyPut, ...grpc.CallOption) (*krab.Response, error))
func (*FakeServiceClient) PutPrivateKeyReturns ¶
func (fake *FakeServiceClient) PutPrivateKeyReturns(result1 *krab.Response, result2 error)
func (*FakeServiceClient) PutPrivateKeyReturnsOnCall ¶
func (fake *FakeServiceClient) PutPrivateKeyReturnsOnCall(i int, result1 *krab.Response, result2 error)
Click to show internal directories.
Click to hide internal directories.