Documentation ¶
Index ¶
- type CompileInput
- type FakeJobRenderer
- 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 RenderInput
- type SaveInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompileInput ¶
type CompileInput struct { Jobs []bmrel.Job Deployment bmdepl.Deployment }
type FakeJobRenderer ¶
type FakeJobRenderer struct { RenderInputs []RenderInput // contains filtered or unexported fields }
func NewFakeJobRenderer ¶
func NewFakeJobRenderer() *FakeJobRenderer
func (*FakeJobRenderer) SetRenderBehavior ¶
func (r *FakeJobRenderer) SetRenderBehavior(sourcePath string, err error)
type FakeTemplatesCompiler ¶
type FakeTemplatesCompiler struct { CompileInputs []CompileInput // contains filtered or unexported fields }
func NewFakeTemplatesCompiler ¶
func NewFakeTemplatesCompiler() *FakeTemplatesCompiler
func (*FakeTemplatesCompiler) Compile ¶
func (f *FakeTemplatesCompiler) Compile(jobs []bmrel.Job, deployment bmdepl.Deployment) error
func (*FakeTemplatesCompiler) SetCompileBehavior ¶
func (f *FakeTemplatesCompiler) SetCompileBehavior(jobs []bmrel.Job, deployment bmdepl.Deployment, err error) error
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 RenderInput ¶
type SaveInput ¶
type SaveInput struct { Job bmrel.Job Record bmtempcomp.TemplateRecord }
Click to show internal directories.
Click to hide internal directories.