Documentation ¶
Index ¶
- type CompileInput
- type FakeTemplatesCompiler
- type FakeTemplatesRepo
- func (f *FakeTemplatesRepo) Find(job bmrel.Job) (bmtempcomp.TemplateRecord, bool, error)
- func (f *FakeTemplatesRepo) Save(job bmrel.Job, record bmtempcomp.TemplateRecord) error
- func (f *FakeTemplatesRepo) SetFindBehavior(job bmrel.Job, record bmtempcomp.TemplateRecord, found bool, err error) error
- func (f *FakeTemplatesRepo) SetSaveBehavior(job bmrel.Job, record bmtempcomp.TemplateRecord, err error) error
- type FindInput
- type SaveInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompileInput ¶
type FakeTemplatesCompiler ¶
type FakeTemplatesCompiler struct { CompileInputs []CompileInput // contains filtered or unexported fields }
func NewFakeTemplatesCompiler ¶
func NewFakeTemplatesCompiler() *FakeTemplatesCompiler
func (*FakeTemplatesCompiler) SetCompileBehavior ¶
type FakeTemplatesRepo ¶
type FakeTemplatesRepo struct { SaveInputs []SaveInput FindInputs []FindInput // contains filtered or unexported fields }
func NewFakeTemplatesRepo ¶
func NewFakeTemplatesRepo() *FakeTemplatesRepo
func (*FakeTemplatesRepo) Find ¶
func (f *FakeTemplatesRepo) Find(job bmrel.Job) (bmtempcomp.TemplateRecord, bool, error)
func (*FakeTemplatesRepo) Save ¶
func (f *FakeTemplatesRepo) Save(job bmrel.Job, record bmtempcomp.TemplateRecord) error
func (*FakeTemplatesRepo) SetFindBehavior ¶
func (f *FakeTemplatesRepo) SetFindBehavior(job bmrel.Job, record bmtempcomp.TemplateRecord, found bool, err error) error
func (*FakeTemplatesRepo) SetSaveBehavior ¶
func (f *FakeTemplatesRepo) SetSaveBehavior(job bmrel.Job, record bmtempcomp.TemplateRecord, err error) error
type SaveInput ¶
type SaveInput struct { Job bmrel.Job Record bmtempcomp.TemplateRecord }
Click to show internal directories.
Click to hide internal directories.