Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Publisher ¶
Publisher is an autogenerated mock type for the Publisher type
func NewPublisher ¶
NewPublisher creates a new instance of Publisher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Publisher) EXPECT ¶
func (_m *Publisher) EXPECT() *Publisher_Expecter
type Publisher_ChartDir_Call ¶
Publisher_ChartDir_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ChartDir'
func (*Publisher_ChartDir_Call) Return ¶
func (_c *Publisher_ChartDir_Call) Return(_a0 string) *Publisher_ChartDir_Call
func (*Publisher_ChartDir_Call) Run ¶
func (_c *Publisher_ChartDir_Call) Run(run func()) *Publisher_ChartDir_Call
func (*Publisher_ChartDir_Call) RunAndReturn ¶
func (_c *Publisher_ChartDir_Call) RunAndReturn(run func() string) *Publisher_ChartDir_Call
type Publisher_Close_Call ¶
Publisher_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*Publisher_Close_Call) Return ¶
func (_c *Publisher_Close_Call) Return(_a0 error) *Publisher_Close_Call
func (*Publisher_Close_Call) Run ¶
func (_c *Publisher_Close_Call) Run(run func()) *Publisher_Close_Call
func (*Publisher_Close_Call) RunAndReturn ¶
func (_c *Publisher_Close_Call) RunAndReturn(run func() error) *Publisher_Close_Call
type Publisher_Expecter ¶
type Publisher_Expecter struct {
// contains filtered or unexported fields
}
func (*Publisher_Expecter) ChartDir ¶
func (_e *Publisher_Expecter) ChartDir() *Publisher_ChartDir_Call
ChartDir is a helper method to define mock.On call
func (*Publisher_Expecter) Close ¶
func (_e *Publisher_Expecter) Close() *Publisher_Close_Call
Close is a helper method to define mock.On call
func (*Publisher_Expecter) Index ¶
func (_e *Publisher_Expecter) Index() *Publisher_Index_Call
Index is a helper method to define mock.On call
func (*Publisher_Expecter) Publish ¶
func (_e *Publisher_Expecter) Publish() *Publisher_Publish_Call
Publish is a helper method to define mock.On call
type Publisher_Index_Call ¶
Publisher_Index_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Index'
func (*Publisher_Index_Call) Return ¶
func (_c *Publisher_Index_Call) Return(_a0 index.Index) *Publisher_Index_Call
func (*Publisher_Index_Call) Run ¶
func (_c *Publisher_Index_Call) Run(run func()) *Publisher_Index_Call
func (*Publisher_Index_Call) RunAndReturn ¶
func (_c *Publisher_Index_Call) RunAndReturn(run func() index.Index) *Publisher_Index_Call
type Publisher_Publish_Call ¶
Publisher_Publish_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Publish'
func (*Publisher_Publish_Call) Return ¶
func (_c *Publisher_Publish_Call) Return(count int, err error) *Publisher_Publish_Call
func (*Publisher_Publish_Call) Run ¶
func (_c *Publisher_Publish_Call) Run(run func()) *Publisher_Publish_Call
func (*Publisher_Publish_Call) RunAndReturn ¶
func (_c *Publisher_Publish_Call) RunAndReturn(run func() (int, error)) *Publisher_Publish_Call