Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakePredicateImplementation
- func (fake *FakePredicateImplementation) AddMaterial(arg1 *provenance.Predicate, arg2 string, arg3 common.DigestSet)
- func (fake *FakePredicateImplementation) AddMaterialArgsForCall(i int) (*provenance.Predicate, string, common.DigestSet)
- func (fake *FakePredicateImplementation) AddMaterialCallCount() int
- func (fake *FakePredicateImplementation) AddMaterialCalls(stub func(*provenance.Predicate, string, common.DigestSet))
- func (fake *FakePredicateImplementation) Invocations() map[string][][]interface{}
- func (fake *FakePredicateImplementation) Write(arg1 *provenance.Predicate, arg2 string) error
- func (fake *FakePredicateImplementation) WriteArgsForCall(i int) (*provenance.Predicate, string)
- func (fake *FakePredicateImplementation) WriteCallCount() int
- func (fake *FakePredicateImplementation) WriteCalls(stub func(*provenance.Predicate, string) error)
- func (fake *FakePredicateImplementation) WriteReturns(result1 error)
- func (fake *FakePredicateImplementation) WriteReturnsOnCall(i int, result1 error)
- type FakeStatementImplementation
- func (fake *FakeStatementImplementation) AddSubject(arg1 *provenance.Statement, arg2 string, arg3 common.DigestSet)
- func (fake *FakeStatementImplementation) AddSubjectArgsForCall(i int) (*provenance.Statement, string, common.DigestSet)
- func (fake *FakeStatementImplementation) AddSubjectCallCount() int
- func (fake *FakeStatementImplementation) AddSubjectCalls(stub func(*provenance.Statement, string, common.DigestSet))
- func (fake *FakeStatementImplementation) ClonePredicate(arg1 *provenance.Statement, arg2 string) error
- func (fake *FakeStatementImplementation) ClonePredicateArgsForCall(i int) (*provenance.Statement, string)
- func (fake *FakeStatementImplementation) ClonePredicateCallCount() int
- func (fake *FakeStatementImplementation) ClonePredicateCalls(stub func(*provenance.Statement, string) error)
- func (fake *FakeStatementImplementation) ClonePredicateReturns(result1 error)
- func (fake *FakeStatementImplementation) ClonePredicateReturnsOnCall(i int, result1 error)
- func (fake *FakeStatementImplementation) Invocations() map[string][][]interface{}
- func (fake *FakeStatementImplementation) ReadSubjectsFromDir(arg1 *provenance.Statement, arg2 string) error
- func (fake *FakeStatementImplementation) ReadSubjectsFromDirArgsForCall(i int) (*provenance.Statement, string)
- func (fake *FakeStatementImplementation) ReadSubjectsFromDirCallCount() int
- func (fake *FakeStatementImplementation) ReadSubjectsFromDirCalls(stub func(*provenance.Statement, string) error)
- func (fake *FakeStatementImplementation) ReadSubjectsFromDirReturns(result1 error)
- func (fake *FakeStatementImplementation) ReadSubjectsFromDirReturnsOnCall(i int, result1 error)
- func (fake *FakeStatementImplementation) SubjectFromFile(arg1 string) (in_toto.Subject, error)
- func (fake *FakeStatementImplementation) SubjectFromFileArgsForCall(i int) string
- func (fake *FakeStatementImplementation) SubjectFromFileCallCount() int
- func (fake *FakeStatementImplementation) SubjectFromFileCalls(stub func(string) (in_toto.Subject, error))
- func (fake *FakeStatementImplementation) SubjectFromFileReturns(result1 in_toto.Subject, result2 error)
- func (fake *FakeStatementImplementation) SubjectFromFileReturnsOnCall(i int, result1 in_toto.Subject, result2 error)
- func (fake *FakeStatementImplementation) ToJSON(arg1 *provenance.Statement) ([]byte, error)
- func (fake *FakeStatementImplementation) ToJSONArgsForCall(i int) *provenance.Statement
- func (fake *FakeStatementImplementation) ToJSONCallCount() int
- func (fake *FakeStatementImplementation) ToJSONCalls(stub func(*provenance.Statement) ([]byte, error))
- func (fake *FakeStatementImplementation) ToJSONReturns(result1 []byte, result2 error)
- func (fake *FakeStatementImplementation) ToJSONReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeStatementImplementation) VerifySubjects(arg1 string, arg2 *[]in_toto.Subject) error
- func (fake *FakeStatementImplementation) VerifySubjectsArgsForCall(i int) (string, *[]in_toto.Subject)
- func (fake *FakeStatementImplementation) VerifySubjectsCallCount() int
- func (fake *FakeStatementImplementation) VerifySubjectsCalls(stub func(string, *[]in_toto.Subject) error)
- func (fake *FakeStatementImplementation) VerifySubjectsReturns(result1 error)
- func (fake *FakeStatementImplementation) VerifySubjectsReturnsOnCall(i int, result1 error)
- func (fake *FakeStatementImplementation) Write(arg1 *provenance.Statement, arg2 string) error
- func (fake *FakeStatementImplementation) WriteArgsForCall(i int) (*provenance.Statement, string)
- func (fake *FakeStatementImplementation) WriteCallCount() int
- func (fake *FakeStatementImplementation) WriteCalls(stub func(*provenance.Statement, string) error)
- func (fake *FakeStatementImplementation) WriteReturns(result1 error)
- func (fake *FakeStatementImplementation) WriteReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakePredicateImplementation ¶
type FakePredicateImplementation struct { AddMaterialStub func(*provenance.Predicate, string, common.DigestSet) WriteStub func(*provenance.Predicate, string) error // contains filtered or unexported fields }
func (*FakePredicateImplementation) AddMaterial ¶
func (fake *FakePredicateImplementation) AddMaterial(arg1 *provenance.Predicate, arg2 string, arg3 common.DigestSet)
func (*FakePredicateImplementation) AddMaterialArgsForCall ¶
func (fake *FakePredicateImplementation) AddMaterialArgsForCall(i int) (*provenance.Predicate, string, common.DigestSet)
func (*FakePredicateImplementation) AddMaterialCallCount ¶
func (fake *FakePredicateImplementation) AddMaterialCallCount() int
func (*FakePredicateImplementation) AddMaterialCalls ¶
func (fake *FakePredicateImplementation) AddMaterialCalls(stub func(*provenance.Predicate, string, common.DigestSet))
func (*FakePredicateImplementation) Invocations ¶
func (fake *FakePredicateImplementation) Invocations() map[string][][]interface{}
func (*FakePredicateImplementation) Write ¶
func (fake *FakePredicateImplementation) Write(arg1 *provenance.Predicate, arg2 string) error
func (*FakePredicateImplementation) WriteArgsForCall ¶
func (fake *FakePredicateImplementation) WriteArgsForCall(i int) (*provenance.Predicate, string)
func (*FakePredicateImplementation) WriteCallCount ¶
func (fake *FakePredicateImplementation) WriteCallCount() int
func (*FakePredicateImplementation) WriteCalls ¶
func (fake *FakePredicateImplementation) WriteCalls(stub func(*provenance.Predicate, string) error)
func (*FakePredicateImplementation) WriteReturns ¶
func (fake *FakePredicateImplementation) WriteReturns(result1 error)
func (*FakePredicateImplementation) WriteReturnsOnCall ¶
func (fake *FakePredicateImplementation) WriteReturnsOnCall(i int, result1 error)
type FakeStatementImplementation ¶
type FakeStatementImplementation struct { AddSubjectStub func(*provenance.Statement, string, common.DigestSet) ClonePredicateStub func(*provenance.Statement, string) error ReadSubjectsFromDirStub func(*provenance.Statement, string) error SubjectFromFileStub func(string) (in_toto.Subject, error) ToJSONStub func(*provenance.Statement) ([]byte, error) VerifySubjectsStub func(string, *[]in_toto.Subject) error WriteStub func(*provenance.Statement, string) error // contains filtered or unexported fields }
func (*FakeStatementImplementation) AddSubject ¶
func (fake *FakeStatementImplementation) AddSubject(arg1 *provenance.Statement, arg2 string, arg3 common.DigestSet)
func (*FakeStatementImplementation) AddSubjectArgsForCall ¶
func (fake *FakeStatementImplementation) AddSubjectArgsForCall(i int) (*provenance.Statement, string, common.DigestSet)
func (*FakeStatementImplementation) AddSubjectCallCount ¶
func (fake *FakeStatementImplementation) AddSubjectCallCount() int
func (*FakeStatementImplementation) AddSubjectCalls ¶
func (fake *FakeStatementImplementation) AddSubjectCalls(stub func(*provenance.Statement, string, common.DigestSet))
func (*FakeStatementImplementation) ClonePredicate ¶
func (fake *FakeStatementImplementation) ClonePredicate(arg1 *provenance.Statement, arg2 string) error
func (*FakeStatementImplementation) ClonePredicateArgsForCall ¶
func (fake *FakeStatementImplementation) ClonePredicateArgsForCall(i int) (*provenance.Statement, string)
func (*FakeStatementImplementation) ClonePredicateCallCount ¶
func (fake *FakeStatementImplementation) ClonePredicateCallCount() int
func (*FakeStatementImplementation) ClonePredicateCalls ¶
func (fake *FakeStatementImplementation) ClonePredicateCalls(stub func(*provenance.Statement, string) error)
func (*FakeStatementImplementation) ClonePredicateReturns ¶
func (fake *FakeStatementImplementation) ClonePredicateReturns(result1 error)
func (*FakeStatementImplementation) ClonePredicateReturnsOnCall ¶
func (fake *FakeStatementImplementation) ClonePredicateReturnsOnCall(i int, result1 error)
func (*FakeStatementImplementation) Invocations ¶
func (fake *FakeStatementImplementation) Invocations() map[string][][]interface{}
func (*FakeStatementImplementation) ReadSubjectsFromDir ¶
func (fake *FakeStatementImplementation) ReadSubjectsFromDir(arg1 *provenance.Statement, arg2 string) error
func (*FakeStatementImplementation) ReadSubjectsFromDirArgsForCall ¶
func (fake *FakeStatementImplementation) ReadSubjectsFromDirArgsForCall(i int) (*provenance.Statement, string)
func (*FakeStatementImplementation) ReadSubjectsFromDirCallCount ¶
func (fake *FakeStatementImplementation) ReadSubjectsFromDirCallCount() int
func (*FakeStatementImplementation) ReadSubjectsFromDirCalls ¶
func (fake *FakeStatementImplementation) ReadSubjectsFromDirCalls(stub func(*provenance.Statement, string) error)
func (*FakeStatementImplementation) ReadSubjectsFromDirReturns ¶
func (fake *FakeStatementImplementation) ReadSubjectsFromDirReturns(result1 error)
func (*FakeStatementImplementation) ReadSubjectsFromDirReturnsOnCall ¶
func (fake *FakeStatementImplementation) ReadSubjectsFromDirReturnsOnCall(i int, result1 error)
func (*FakeStatementImplementation) SubjectFromFile ¶
func (fake *FakeStatementImplementation) SubjectFromFile(arg1 string) (in_toto.Subject, error)
func (*FakeStatementImplementation) SubjectFromFileArgsForCall ¶
func (fake *FakeStatementImplementation) SubjectFromFileArgsForCall(i int) string
func (*FakeStatementImplementation) SubjectFromFileCallCount ¶
func (fake *FakeStatementImplementation) SubjectFromFileCallCount() int
func (*FakeStatementImplementation) SubjectFromFileCalls ¶
func (fake *FakeStatementImplementation) SubjectFromFileCalls(stub func(string) (in_toto.Subject, error))
func (*FakeStatementImplementation) SubjectFromFileReturns ¶
func (fake *FakeStatementImplementation) SubjectFromFileReturns(result1 in_toto.Subject, result2 error)
func (*FakeStatementImplementation) SubjectFromFileReturnsOnCall ¶
func (fake *FakeStatementImplementation) SubjectFromFileReturnsOnCall(i int, result1 in_toto.Subject, result2 error)
func (*FakeStatementImplementation) ToJSON ¶
func (fake *FakeStatementImplementation) ToJSON(arg1 *provenance.Statement) ([]byte, error)
func (*FakeStatementImplementation) ToJSONArgsForCall ¶
func (fake *FakeStatementImplementation) ToJSONArgsForCall(i int) *provenance.Statement
func (*FakeStatementImplementation) ToJSONCallCount ¶
func (fake *FakeStatementImplementation) ToJSONCallCount() int
func (*FakeStatementImplementation) ToJSONCalls ¶
func (fake *FakeStatementImplementation) ToJSONCalls(stub func(*provenance.Statement) ([]byte, error))
func (*FakeStatementImplementation) ToJSONReturns ¶
func (fake *FakeStatementImplementation) ToJSONReturns(result1 []byte, result2 error)
func (*FakeStatementImplementation) ToJSONReturnsOnCall ¶
func (fake *FakeStatementImplementation) ToJSONReturnsOnCall(i int, result1 []byte, result2 error)
func (*FakeStatementImplementation) VerifySubjects ¶
func (fake *FakeStatementImplementation) VerifySubjects(arg1 string, arg2 *[]in_toto.Subject) error
func (*FakeStatementImplementation) VerifySubjectsArgsForCall ¶
func (fake *FakeStatementImplementation) VerifySubjectsArgsForCall(i int) (string, *[]in_toto.Subject)
func (*FakeStatementImplementation) VerifySubjectsCallCount ¶
func (fake *FakeStatementImplementation) VerifySubjectsCallCount() int
func (*FakeStatementImplementation) VerifySubjectsCalls ¶
func (fake *FakeStatementImplementation) VerifySubjectsCalls(stub func(string, *[]in_toto.Subject) error)
func (*FakeStatementImplementation) VerifySubjectsReturns ¶
func (fake *FakeStatementImplementation) VerifySubjectsReturns(result1 error)
func (*FakeStatementImplementation) VerifySubjectsReturnsOnCall ¶
func (fake *FakeStatementImplementation) VerifySubjectsReturnsOnCall(i int, result1 error)
func (*FakeStatementImplementation) Write ¶
func (fake *FakeStatementImplementation) Write(arg1 *provenance.Statement, arg2 string) error
func (*FakeStatementImplementation) WriteArgsForCall ¶
func (fake *FakeStatementImplementation) WriteArgsForCall(i int) (*provenance.Statement, string)
func (*FakeStatementImplementation) WriteCallCount ¶
func (fake *FakeStatementImplementation) WriteCallCount() int
func (*FakeStatementImplementation) WriteCalls ¶
func (fake *FakeStatementImplementation) WriteCalls(stub func(*provenance.Statement, string) error)
func (*FakeStatementImplementation) WriteReturns ¶
func (fake *FakeStatementImplementation) WriteReturns(result1 error)
func (*FakeStatementImplementation) WriteReturnsOnCall ¶
func (fake *FakeStatementImplementation) WriteReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.