Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Index ¶
Index is an autogenerated mock type for the Index type
func NewIndex ¶
NewIndex creates a new instance of Index. 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 (*Index) EXPECT ¶
func (_m *Index) EXPECT() *Index_Expecter
func (*Index) HasVersion ¶
HasVersion provides a mock function with given fields: chartName, version
func (*Index) MostRecentVersion ¶
MostRecentVersion provides a mock function with given fields: chartName
type Index_Expecter ¶
type Index_Expecter struct {
// contains filtered or unexported fields
}
func (*Index_Expecter) HasVersion ¶
func (_e *Index_Expecter) HasVersion(chartName interface{}, version interface{}) *Index_HasVersion_Call
HasVersion is a helper method to define mock.On call
- chartName string
- version string
func (*Index_Expecter) MostRecentVersion ¶
func (_e *Index_Expecter) MostRecentVersion(chartName interface{}) *Index_MostRecentVersion_Call
MostRecentVersion is a helper method to define mock.On call
- chartName string
func (*Index_Expecter) Versions ¶
func (_e *Index_Expecter) Versions(chartName interface{}) *Index_Versions_Call
Versions is a helper method to define mock.On call
- chartName string
type Index_HasVersion_Call ¶
Index_HasVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasVersion'
func (*Index_HasVersion_Call) Return ¶
func (_c *Index_HasVersion_Call) Return(_a0 bool) *Index_HasVersion_Call
func (*Index_HasVersion_Call) Run ¶
func (_c *Index_HasVersion_Call) Run(run func(chartName string, version string)) *Index_HasVersion_Call
func (*Index_HasVersion_Call) RunAndReturn ¶
func (_c *Index_HasVersion_Call) RunAndReturn(run func(string, string) bool) *Index_HasVersion_Call
type Index_MostRecentVersion_Call ¶
Index_MostRecentVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MostRecentVersion'
func (*Index_MostRecentVersion_Call) Return ¶
func (_c *Index_MostRecentVersion_Call) Return(_a0 string) *Index_MostRecentVersion_Call
func (*Index_MostRecentVersion_Call) Run ¶
func (_c *Index_MostRecentVersion_Call) Run(run func(chartName string)) *Index_MostRecentVersion_Call
func (*Index_MostRecentVersion_Call) RunAndReturn ¶
func (_c *Index_MostRecentVersion_Call) RunAndReturn(run func(string) string) *Index_MostRecentVersion_Call
type Index_Versions_Call ¶
Index_Versions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Versions'
func (*Index_Versions_Call) Return ¶
func (_c *Index_Versions_Call) Return(_a0 []string) *Index_Versions_Call
func (*Index_Versions_Call) Run ¶
func (_c *Index_Versions_Call) Run(run func(chartName string)) *Index_Versions_Call
func (*Index_Versions_Call) RunAndReturn ¶
func (_c *Index_Versions_Call) RunAndReturn(run func(string) []string) *Index_Versions_Call