Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type Identity
- func (fake *Identity) Anonymous() bool
- func (fake *Identity) AnonymousCallCount() int
- func (fake *Identity) AnonymousCalls(stub func() bool)
- func (fake *Identity) AnonymousReturns(result1 bool)
- func (fake *Identity) AnonymousReturnsOnCall(i int, result1 bool)
- func (fake *Identity) ExpiresAt() time.Time
- func (fake *Identity) ExpiresAtCallCount() int
- func (fake *Identity) ExpiresAtCalls(stub func() time.Time)
- func (fake *Identity) ExpiresAtReturns(result1 time.Time)
- func (fake *Identity) ExpiresAtReturnsOnCall(i int, result1 time.Time)
- func (fake *Identity) GetIdentifier() *msp.IdentityIdentifier
- func (fake *Identity) GetIdentifierCallCount() int
- func (fake *Identity) GetIdentifierCalls(stub func() *msp.IdentityIdentifier)
- func (fake *Identity) GetIdentifierReturns(result1 *msp.IdentityIdentifier)
- func (fake *Identity) GetIdentifierReturnsOnCall(i int, result1 *msp.IdentityIdentifier)
- func (fake *Identity) GetMSPIdentifier() string
- func (fake *Identity) GetMSPIdentifierCallCount() int
- func (fake *Identity) GetMSPIdentifierCalls(stub func() string)
- func (fake *Identity) GetMSPIdentifierReturns(result1 string)
- func (fake *Identity) GetMSPIdentifierReturnsOnCall(i int, result1 string)
- func (fake *Identity) GetOrganizationalUnits() []*msp.OUIdentifier
- func (fake *Identity) GetOrganizationalUnitsCallCount() int
- func (fake *Identity) GetOrganizationalUnitsCalls(stub func() []*msp.OUIdentifier)
- func (fake *Identity) GetOrganizationalUnitsReturns(result1 []*msp.OUIdentifier)
- func (fake *Identity) GetOrganizationalUnitsReturnsOnCall(i int, result1 []*msp.OUIdentifier)
- func (fake *Identity) Invocations() map[string][][]interface{}
- func (fake *Identity) SatisfiesPrincipal(arg1 *mspa.MSPPrincipal) error
- func (fake *Identity) SatisfiesPrincipalArgsForCall(i int) *mspa.MSPPrincipal
- func (fake *Identity) SatisfiesPrincipalCallCount() int
- func (fake *Identity) SatisfiesPrincipalCalls(stub func(*mspa.MSPPrincipal) error)
- func (fake *Identity) SatisfiesPrincipalReturns(result1 error)
- func (fake *Identity) SatisfiesPrincipalReturnsOnCall(i int, result1 error)
- func (fake *Identity) Serialize() ([]byte, error)
- func (fake *Identity) SerializeCallCount() int
- func (fake *Identity) SerializeCalls(stub func() ([]byte, error))
- func (fake *Identity) SerializeReturns(result1 []byte, result2 error)
- func (fake *Identity) SerializeReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *Identity) Validate() error
- func (fake *Identity) ValidateCallCount() int
- func (fake *Identity) ValidateCalls(stub func() error)
- func (fake *Identity) ValidateReturns(result1 error)
- func (fake *Identity) ValidateReturnsOnCall(i int, result1 error)
- func (fake *Identity) Verify(arg1 []byte, arg2 []byte) error
- func (fake *Identity) VerifyArgsForCall(i int) ([]byte, []byte)
- func (fake *Identity) VerifyCallCount() int
- func (fake *Identity) VerifyCalls(stub func([]byte, []byte) error)
- func (fake *Identity) VerifyReturns(result1 error)
- func (fake *Identity) VerifyReturnsOnCall(i int, result1 error)
- type IdentityDeserializer
- func (fake *IdentityDeserializer) DeserializeIdentity(arg1 []byte) (msp.Identity, error)
- func (fake *IdentityDeserializer) DeserializeIdentityArgsForCall(i int) []byte
- func (fake *IdentityDeserializer) DeserializeIdentityCallCount() int
- func (fake *IdentityDeserializer) DeserializeIdentityCalls(stub func([]byte) (msp.Identity, error))
- func (fake *IdentityDeserializer) DeserializeIdentityReturns(result1 msp.Identity, result2 error)
- func (fake *IdentityDeserializer) DeserializeIdentityReturnsOnCall(i int, result1 msp.Identity, result2 error)
- func (fake *IdentityDeserializer) Invocations() map[string][][]interface{}
- func (fake *IdentityDeserializer) IsWellFormed(arg1 *mspa.SerializedIdentity) error
- func (fake *IdentityDeserializer) IsWellFormedArgsForCall(i int) *mspa.SerializedIdentity
- func (fake *IdentityDeserializer) IsWellFormedCallCount() int
- func (fake *IdentityDeserializer) IsWellFormedCalls(stub func(*mspa.SerializedIdentity) error)
- func (fake *IdentityDeserializer) IsWellFormedReturns(result1 error)
- func (fake *IdentityDeserializer) IsWellFormedReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Identity ¶
type Identity struct { AnonymousStub func() bool ExpiresAtStub func() time.Time GetIdentifierStub func() *msp.IdentityIdentifier GetMSPIdentifierStub func() string GetOrganizationalUnitsStub func() []*msp.OUIdentifier SatisfiesPrincipalStub func(*mspa.MSPPrincipal) error SerializeStub func() ([]byte, error) ValidateStub func() error VerifyStub func([]byte, []byte) error // contains filtered or unexported fields }
func (*Identity) AnonymousCallCount ¶
func (*Identity) AnonymousCalls ¶
func (*Identity) AnonymousReturns ¶
func (*Identity) AnonymousReturnsOnCall ¶
func (*Identity) ExpiresAtCallCount ¶
func (*Identity) ExpiresAtCalls ¶
func (*Identity) ExpiresAtReturns ¶
func (*Identity) ExpiresAtReturnsOnCall ¶
func (*Identity) GetIdentifier ¶
func (fake *Identity) GetIdentifier() *msp.IdentityIdentifier
func (*Identity) GetIdentifierCallCount ¶
func (*Identity) GetIdentifierCalls ¶
func (fake *Identity) GetIdentifierCalls(stub func() *msp.IdentityIdentifier)
func (*Identity) GetIdentifierReturns ¶
func (fake *Identity) GetIdentifierReturns(result1 *msp.IdentityIdentifier)
func (*Identity) GetIdentifierReturnsOnCall ¶
func (fake *Identity) GetIdentifierReturnsOnCall(i int, result1 *msp.IdentityIdentifier)
func (*Identity) GetMSPIdentifier ¶
func (*Identity) GetMSPIdentifierCallCount ¶
func (*Identity) GetMSPIdentifierCalls ¶
func (*Identity) GetMSPIdentifierReturns ¶
func (*Identity) GetMSPIdentifierReturnsOnCall ¶
func (*Identity) GetOrganizationalUnits ¶
func (fake *Identity) GetOrganizationalUnits() []*msp.OUIdentifier
func (*Identity) GetOrganizationalUnitsCallCount ¶
func (*Identity) GetOrganizationalUnitsCalls ¶
func (fake *Identity) GetOrganizationalUnitsCalls(stub func() []*msp.OUIdentifier)
func (*Identity) GetOrganizationalUnitsReturns ¶
func (fake *Identity) GetOrganizationalUnitsReturns(result1 []*msp.OUIdentifier)
func (*Identity) GetOrganizationalUnitsReturnsOnCall ¶
func (fake *Identity) GetOrganizationalUnitsReturnsOnCall(i int, result1 []*msp.OUIdentifier)
func (*Identity) Invocations ¶
func (*Identity) SatisfiesPrincipal ¶
func (fake *Identity) SatisfiesPrincipal(arg1 *mspa.MSPPrincipal) error
func (*Identity) SatisfiesPrincipalArgsForCall ¶
func (fake *Identity) SatisfiesPrincipalArgsForCall(i int) *mspa.MSPPrincipal
func (*Identity) SatisfiesPrincipalCallCount ¶
func (*Identity) SatisfiesPrincipalCalls ¶
func (fake *Identity) SatisfiesPrincipalCalls(stub func(*mspa.MSPPrincipal) error)
func (*Identity) SatisfiesPrincipalReturns ¶
func (*Identity) SatisfiesPrincipalReturnsOnCall ¶
func (*Identity) SerializeCallCount ¶
func (*Identity) SerializeCalls ¶
func (*Identity) SerializeReturns ¶
func (*Identity) SerializeReturnsOnCall ¶
func (*Identity) ValidateCallCount ¶
func (*Identity) ValidateCalls ¶
func (*Identity) ValidateReturns ¶
func (*Identity) ValidateReturnsOnCall ¶
func (*Identity) VerifyArgsForCall ¶
func (*Identity) VerifyCallCount ¶
func (*Identity) VerifyReturns ¶
func (*Identity) VerifyReturnsOnCall ¶
type IdentityDeserializer ¶
type IdentityDeserializer struct { DeserializeIdentityStub func([]byte) (msp.Identity, error) IsWellFormedStub func(*mspa.SerializedIdentity) error // contains filtered or unexported fields }
func (*IdentityDeserializer) DeserializeIdentity ¶
func (fake *IdentityDeserializer) DeserializeIdentity(arg1 []byte) (msp.Identity, error)
func (*IdentityDeserializer) DeserializeIdentityArgsForCall ¶
func (fake *IdentityDeserializer) DeserializeIdentityArgsForCall(i int) []byte
func (*IdentityDeserializer) DeserializeIdentityCallCount ¶
func (fake *IdentityDeserializer) DeserializeIdentityCallCount() int
func (*IdentityDeserializer) DeserializeIdentityCalls ¶
func (fake *IdentityDeserializer) DeserializeIdentityCalls(stub func([]byte) (msp.Identity, error))
func (*IdentityDeserializer) DeserializeIdentityReturns ¶
func (fake *IdentityDeserializer) DeserializeIdentityReturns(result1 msp.Identity, result2 error)
func (*IdentityDeserializer) DeserializeIdentityReturnsOnCall ¶
func (fake *IdentityDeserializer) DeserializeIdentityReturnsOnCall(i int, result1 msp.Identity, result2 error)
func (*IdentityDeserializer) Invocations ¶
func (fake *IdentityDeserializer) Invocations() map[string][][]interface{}
func (*IdentityDeserializer) IsWellFormed ¶
func (fake *IdentityDeserializer) IsWellFormed(arg1 *mspa.SerializedIdentity) error
func (*IdentityDeserializer) IsWellFormedArgsForCall ¶
func (fake *IdentityDeserializer) IsWellFormedArgsForCall(i int) *mspa.SerializedIdentity
func (*IdentityDeserializer) IsWellFormedCallCount ¶
func (fake *IdentityDeserializer) IsWellFormedCallCount() int
func (*IdentityDeserializer) IsWellFormedCalls ¶
func (fake *IdentityDeserializer) IsWellFormedCalls(stub func(*mspa.SerializedIdentity) error)
func (*IdentityDeserializer) IsWellFormedReturns ¶
func (fake *IdentityDeserializer) IsWellFormedReturns(result1 error)
func (*IdentityDeserializer) IsWellFormedReturnsOnCall ¶
func (fake *IdentityDeserializer) IsWellFormedReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.