Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeRenderer ¶
FakeRenderer is a pass-through renderer for testing resources
func NewWithID ¶
func NewWithID(id string) *FakeRenderer
NewWithID gets a FakeRenderer with the specified ID
func NewWithValue ¶
func NewWithValue(val string) *FakeRenderer
NewWithValue gets a FakeRenderer with the appropriate value set
func (*FakeRenderer) GetID ¶
func (fr *FakeRenderer) GetID() string
GetID returns the ID of this renderer
func (*FakeRenderer) Render ¶
func (fr *FakeRenderer) Render(name, content string) (string, error)
Render returns whatever content is passed in
func (*FakeRenderer) Value ¶
func (fr *FakeRenderer) Value() (string, bool)
Value returns a blank string
Click to show internal directories.
Click to hide internal directories.