Documentation ¶
Overview ¶
Package renderer is a generated GoMock package.
Index ¶
- type Description
- type Edit
- type EditInPrettyToml
- func (e EditInPrettyToml) GetFileType() string
- func (e EditInPrettyToml) MarshalCardToCreate(ctc trello.CardToCreate, lists trello.Lists, labels trello.Labels) ([]byte, error)
- func (e EditInPrettyToml) MarshalCardToEdit(cte trello.CardToEdit, lists trello.Lists, labels trello.Labels) ([]byte, error)
- func (e EditInPrettyToml) Unmarshal(bytes []byte, i interface{}) error
- type EditInPrettyYaml
- func (e EditInPrettyYaml) GetFileType() string
- func (e EditInPrettyYaml) MarshalCardToCreate(ctc trello.CardToCreate, lists trello.Lists, labels trello.Labels) ([]byte, error)
- func (e EditInPrettyYaml) MarshalCardToEdit(cte trello.CardToEdit, lists trello.Lists, labels trello.Labels) ([]byte, error)
- func (e EditInPrettyYaml) Unmarshal(in []byte, v interface{}) error
- type EditInYaml
- func (e EditInYaml) GetFileType() string
- func (e EditInYaml) MarshalCardToCreate(create trello.CardToCreate, _ trello.Lists, _ trello.Labels) ([]byte, error)
- func (e EditInYaml) MarshalCardToEdit(cte trello.CardToEdit, _ trello.Lists, _ trello.Labels) ([]byte, error)
- func (e EditInYaml) Unmarshal(in []byte, v interface{}) error
- type InTable
- func (b InTable) RenderBoard(board trello.Board) string
- func (b InTable) RenderBoards(boards trello.Boards) string
- func (b InTable) RenderCard(card trello.Card) string
- func (b InTable) RenderCards(cards trello.Cards) string
- func (b InTable) RenderComment(comment trello.Comment) string
- func (b InTable) RenderComments(comments trello.Comments) string
- func (b InTable) RenderList(list trello.List) string
- func (b InTable) RenderLists(lists trello.Lists) string
- type Labels
- type MockRenderer
- func (m *MockRenderer) EXPECT() *MockRendererMockRecorder
- func (m *MockRenderer) RenderBoard(arg0 trello.Board) string
- func (m *MockRenderer) RenderBoards(arg0 trello.Boards) string
- func (m *MockRenderer) RenderCard(arg0 trello.Card) string
- func (m *MockRenderer) RenderCards(arg0 trello.Cards) string
- func (m *MockRenderer) RenderComment(arg0 trello.Comment) string
- func (m *MockRenderer) RenderComments(arg0 trello.Comments) string
- func (m *MockRenderer) RenderList(arg0 trello.List) string
- func (m *MockRenderer) RenderLists(arg0 trello.Lists) string
- type MockRendererMockRecorder
- func (mr *MockRendererMockRecorder) RenderBoard(arg0 interface{}) *gomock.Call
- func (mr *MockRendererMockRecorder) RenderBoards(arg0 interface{}) *gomock.Call
- func (mr *MockRendererMockRecorder) RenderCard(arg0 interface{}) *gomock.Call
- func (mr *MockRendererMockRecorder) RenderCards(arg0 interface{}) *gomock.Call
- func (mr *MockRendererMockRecorder) RenderComment(arg0 interface{}) *gomock.Call
- func (mr *MockRendererMockRecorder) RenderComments(arg0 interface{}) *gomock.Call
- func (mr *MockRendererMockRecorder) RenderList(arg0 interface{}) *gomock.Call
- func (mr *MockRendererMockRecorder) RenderLists(arg0 interface{}) *gomock.Call
- type PlainDescription
- type PlainLabel
- type Renderer
- type TermEnvLabel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Description ¶
Description rendering entity descriptions
type Edit ¶
type Edit interface { MarshalCardToCreate(trello.CardToCreate, trello.Lists, trello.Labels) ([]byte, error) MarshalCardToEdit(trello.CardToEdit, trello.Lists, trello.Labels) ([]byte, error) Unmarshal([]byte, interface{}) error GetFileType() string }
func NewEditInPrettyToml ¶
func NewEditInPrettyToml() Edit
func NewEditInPrettyYaml ¶
func NewEditInPrettyYaml() Edit
func NewEditInYaml ¶
func NewEditInYaml() Edit
type EditInPrettyToml ¶
type EditInPrettyToml struct{}
func (EditInPrettyToml) GetFileType ¶
func (e EditInPrettyToml) GetFileType() string
func (EditInPrettyToml) MarshalCardToCreate ¶
func (e EditInPrettyToml) MarshalCardToCreate(ctc trello.CardToCreate, lists trello.Lists, labels trello.Labels) ([]byte, error)
func (EditInPrettyToml) MarshalCardToEdit ¶
func (e EditInPrettyToml) MarshalCardToEdit(cte trello.CardToEdit, lists trello.Lists, labels trello.Labels) ([]byte, error)
func (EditInPrettyToml) Unmarshal ¶
func (e EditInPrettyToml) Unmarshal(bytes []byte, i interface{}) error
type EditInPrettyYaml ¶
type EditInPrettyYaml struct{}
func (EditInPrettyYaml) GetFileType ¶
func (e EditInPrettyYaml) GetFileType() string
func (EditInPrettyYaml) MarshalCardToCreate ¶
func (e EditInPrettyYaml) MarshalCardToCreate(ctc trello.CardToCreate, lists trello.Lists, labels trello.Labels) ([]byte, error)
func (EditInPrettyYaml) MarshalCardToEdit ¶
func (e EditInPrettyYaml) MarshalCardToEdit(cte trello.CardToEdit, lists trello.Lists, labels trello.Labels) ([]byte, error)
func (EditInPrettyYaml) Unmarshal ¶
func (e EditInPrettyYaml) Unmarshal(in []byte, v interface{}) error
type EditInYaml ¶
type EditInYaml struct{}
func (EditInYaml) GetFileType ¶
func (e EditInYaml) GetFileType() string
func (EditInYaml) MarshalCardToCreate ¶
func (e EditInYaml) MarshalCardToCreate(create trello.CardToCreate, _ trello.Lists, _ trello.Labels) ([]byte, error)
func (EditInYaml) MarshalCardToEdit ¶
func (e EditInYaml) MarshalCardToEdit(cte trello.CardToEdit, _ trello.Lists, _ trello.Labels) ([]byte, error)
func (EditInYaml) Unmarshal ¶
func (e EditInYaml) Unmarshal(in []byte, v interface{}) error
type MockRenderer ¶
type MockRenderer struct {
// contains filtered or unexported fields
}
MockRenderer is a mock of Renderer interface.
func NewMockRenderer ¶
func NewMockRenderer(ctrl *gomock.Controller) *MockRenderer
NewMockRenderer creates a new mock instance.
func (*MockRenderer) EXPECT ¶
func (m *MockRenderer) EXPECT() *MockRendererMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRenderer) RenderBoard ¶
func (m *MockRenderer) RenderBoard(arg0 trello.Board) string
RenderBoard mocks base method.
func (*MockRenderer) RenderBoards ¶
func (m *MockRenderer) RenderBoards(arg0 trello.Boards) string
RenderBoards mocks base method.
func (*MockRenderer) RenderCard ¶
func (m *MockRenderer) RenderCard(arg0 trello.Card) string
RenderCard mocks base method.
func (*MockRenderer) RenderCards ¶
func (m *MockRenderer) RenderCards(arg0 trello.Cards) string
RenderCards mocks base method.
func (*MockRenderer) RenderComment ¶
func (m *MockRenderer) RenderComment(arg0 trello.Comment) string
RenderComment mocks base method.
func (*MockRenderer) RenderComments ¶
func (m *MockRenderer) RenderComments(arg0 trello.Comments) string
RenderComments mocks base method.
func (*MockRenderer) RenderList ¶
func (m *MockRenderer) RenderList(arg0 trello.List) string
RenderList mocks base method.
func (*MockRenderer) RenderLists ¶
func (m *MockRenderer) RenderLists(arg0 trello.Lists) string
RenderLists mocks base method.
type MockRendererMockRecorder ¶
type MockRendererMockRecorder struct {
// contains filtered or unexported fields
}
MockRendererMockRecorder is the mock recorder for MockRenderer.
func (*MockRendererMockRecorder) RenderBoard ¶
func (mr *MockRendererMockRecorder) RenderBoard(arg0 interface{}) *gomock.Call
RenderBoard indicates an expected call of RenderBoard.
func (*MockRendererMockRecorder) RenderBoards ¶
func (mr *MockRendererMockRecorder) RenderBoards(arg0 interface{}) *gomock.Call
RenderBoards indicates an expected call of RenderBoards.
func (*MockRendererMockRecorder) RenderCard ¶
func (mr *MockRendererMockRecorder) RenderCard(arg0 interface{}) *gomock.Call
RenderCard indicates an expected call of RenderCard.
func (*MockRendererMockRecorder) RenderCards ¶
func (mr *MockRendererMockRecorder) RenderCards(arg0 interface{}) *gomock.Call
RenderCards indicates an expected call of RenderCards.
func (*MockRendererMockRecorder) RenderComment ¶
func (mr *MockRendererMockRecorder) RenderComment(arg0 interface{}) *gomock.Call
RenderComment indicates an expected call of RenderComment.
func (*MockRendererMockRecorder) RenderComments ¶
func (mr *MockRendererMockRecorder) RenderComments(arg0 interface{}) *gomock.Call
RenderComments indicates an expected call of RenderComments.
func (*MockRendererMockRecorder) RenderList ¶
func (mr *MockRendererMockRecorder) RenderList(arg0 interface{}) *gomock.Call
RenderList indicates an expected call of RenderList.
func (*MockRendererMockRecorder) RenderLists ¶
func (mr *MockRendererMockRecorder) RenderLists(arg0 interface{}) *gomock.Call
RenderLists indicates an expected call of RenderLists.
type PlainDescription ¶
type PlainDescription struct{}
type PlainLabel ¶
type PlainLabel struct{}
type Renderer ¶
type Renderer interface { RenderBoards(trello.Boards) string RenderBoard(trello.Board) string RenderLists(trello.Lists) string RenderList(trello.List) string RenderCards(trello.Cards) string RenderCard(trello.Card) string RenderComments(trello.Comments) string RenderComment(trello.Comment) string }
Renderer for displaying Trello entities in human friendly way
func NewInTableRenderer ¶
func NewInTableRenderer(lr Labels, cdr Description) Renderer
type TermEnvLabel ¶
type TermEnvLabel struct{}