Documentation ¶
Index ¶
- type Chart
- func (_m *Chart) BumpChartVersion(latestPublishedVersion string) (string, error)
- func (_m *Chart) EXPECT() *Chart_Expecter
- func (_m *Chart) GenerateDocs() error
- func (_m *Chart) LocalDependencies() []string
- func (_m *Chart) ManifestVersion() string
- func (_m *Chart) Name() string
- func (_m *Chart) PackageChart(destPath string) error
- func (_m *Chart) Path() string
- func (_m *Chart) SetDependencyVersion(dependencyName string, newVersionConstraint string) error
- func (_m *Chart) UpdateDependencies() error
- type Chart_BumpChartVersion_Call
- func (_c *Chart_BumpChartVersion_Call) Return(_a0 string, _a1 error) *Chart_BumpChartVersion_Call
- func (_c *Chart_BumpChartVersion_Call) Run(run func(latestPublishedVersion string)) *Chart_BumpChartVersion_Call
- func (_c *Chart_BumpChartVersion_Call) RunAndReturn(run func(string) (string, error)) *Chart_BumpChartVersion_Call
- type Chart_Expecter
- func (_e *Chart_Expecter) BumpChartVersion(latestPublishedVersion interface{}) *Chart_BumpChartVersion_Call
- func (_e *Chart_Expecter) GenerateDocs() *Chart_GenerateDocs_Call
- func (_e *Chart_Expecter) LocalDependencies() *Chart_LocalDependencies_Call
- func (_e *Chart_Expecter) ManifestVersion() *Chart_ManifestVersion_Call
- func (_e *Chart_Expecter) Name() *Chart_Name_Call
- func (_e *Chart_Expecter) PackageChart(destPath interface{}) *Chart_PackageChart_Call
- func (_e *Chart_Expecter) Path() *Chart_Path_Call
- func (_e *Chart_Expecter) SetDependencyVersion(dependencyName interface{}, newVersionConstraint interface{}) *Chart_SetDependencyVersion_Call
- func (_e *Chart_Expecter) UpdateDependencies() *Chart_UpdateDependencies_Call
- type Chart_GenerateDocs_Call
- type Chart_LocalDependencies_Call
- type Chart_ManifestVersion_Call
- type Chart_Name_Call
- type Chart_PackageChart_Call
- type Chart_Path_Call
- type Chart_SetDependencyVersion_Call
- func (_c *Chart_SetDependencyVersion_Call) Return(_a0 error) *Chart_SetDependencyVersion_Call
- func (_c *Chart_SetDependencyVersion_Call) Run(run func(dependencyName string, newVersionConstraint string)) *Chart_SetDependencyVersion_Call
- func (_c *Chart_SetDependencyVersion_Call) RunAndReturn(run func(string, string) error) *Chart_SetDependencyVersion_Call
- type Chart_UpdateDependencies_Call
- type ChartsDir
- func (_m *ChartsDir) EXPECT() *ChartsDir_Expecter
- func (_m *ChartsDir) Exists(name string) bool
- func (_m *ChartsDir) GetChart(name string) (source.Chart, error)
- func (_m *ChartsDir) GetCharts(name ...string) ([]source.Chart, error)
- func (_m *ChartsDir) Path() string
- func (_m *ChartsDir) RecursivelyUpdateDependencies(chart ...source.Chart) error
- func (_m *ChartsDir) UpdateDependentVersionConstraints(chart source.Chart, newVersionConstraint string) error
- func (_m *ChartsDir) WithTransitiveDependents(chart []source.Chart) ([]source.Chart, error)
- type ChartsDir_Exists_Call
- type ChartsDir_Expecter
- func (_e *ChartsDir_Expecter) Exists(name interface{}) *ChartsDir_Exists_Call
- func (_e *ChartsDir_Expecter) GetChart(name interface{}) *ChartsDir_GetChart_Call
- func (_e *ChartsDir_Expecter) GetCharts(name ...interface{}) *ChartsDir_GetCharts_Call
- func (_e *ChartsDir_Expecter) Path() *ChartsDir_Path_Call
- func (_e *ChartsDir_Expecter) RecursivelyUpdateDependencies(chart ...interface{}) *ChartsDir_RecursivelyUpdateDependencies_Call
- func (_e *ChartsDir_Expecter) UpdateDependentVersionConstraints(chart interface{}, newVersionConstraint interface{}) *ChartsDir_UpdateDependentVersionConstraints_Call
- func (_e *ChartsDir_Expecter) WithTransitiveDependents(chart interface{}) *ChartsDir_WithTransitiveDependents_Call
- type ChartsDir_GetChart_Call
- type ChartsDir_GetCharts_Call
- func (_c *ChartsDir_GetCharts_Call) Return(_a0 []source.Chart, _a1 error) *ChartsDir_GetCharts_Call
- func (_c *ChartsDir_GetCharts_Call) Run(run func(name ...string)) *ChartsDir_GetCharts_Call
- func (_c *ChartsDir_GetCharts_Call) RunAndReturn(run func(...string) ([]source.Chart, error)) *ChartsDir_GetCharts_Call
- type ChartsDir_Path_Call
- type ChartsDir_RecursivelyUpdateDependencies_Call
- func (_c *ChartsDir_RecursivelyUpdateDependencies_Call) Return(_a0 error) *ChartsDir_RecursivelyUpdateDependencies_Call
- func (_c *ChartsDir_RecursivelyUpdateDependencies_Call) Run(run func(chart ...source.Chart)) *ChartsDir_RecursivelyUpdateDependencies_Call
- func (_c *ChartsDir_RecursivelyUpdateDependencies_Call) RunAndReturn(run func(...source.Chart) error) *ChartsDir_RecursivelyUpdateDependencies_Call
- type ChartsDir_UpdateDependentVersionConstraints_Call
- func (_c *ChartsDir_UpdateDependentVersionConstraints_Call) Return(_a0 error) *ChartsDir_UpdateDependentVersionConstraints_Call
- func (_c *ChartsDir_UpdateDependentVersionConstraints_Call) Run(run func(chart source.Chart, newVersionConstraint string)) *ChartsDir_UpdateDependentVersionConstraints_Call
- func (_c *ChartsDir_UpdateDependentVersionConstraints_Call) RunAndReturn(run func(source.Chart, string) error) *ChartsDir_UpdateDependentVersionConstraints_Call
- type ChartsDir_WithTransitiveDependents_Call
- func (_c *ChartsDir_WithTransitiveDependents_Call) Return(_a0 []source.Chart, _a1 error) *ChartsDir_WithTransitiveDependents_Call
- func (_c *ChartsDir_WithTransitiveDependents_Call) Run(run func(chart []source.Chart)) *ChartsDir_WithTransitiveDependents_Call
- func (_c *ChartsDir_WithTransitiveDependents_Call) RunAndReturn(run func([]source.Chart) ([]source.Chart, error)) *ChartsDir_WithTransitiveDependents_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chart ¶
Chart is an autogenerated mock type for the Chart type
func NewChart ¶
NewChart creates a new instance of Chart. 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 (*Chart) BumpChartVersion ¶
BumpChartVersion provides a mock function with given fields: latestPublishedVersion
func (*Chart) EXPECT ¶
func (_m *Chart) EXPECT() *Chart_Expecter
func (*Chart) GenerateDocs ¶
GenerateDocs provides a mock function with given fields:
func (*Chart) LocalDependencies ¶
LocalDependencies provides a mock function with given fields:
func (*Chart) ManifestVersion ¶
ManifestVersion provides a mock function with given fields:
func (*Chart) PackageChart ¶
PackageChart provides a mock function with given fields: destPath
func (*Chart) SetDependencyVersion ¶
SetDependencyVersion provides a mock function with given fields: dependencyName, newVersionConstraint
func (*Chart) UpdateDependencies ¶
UpdateDependencies provides a mock function with given fields:
type Chart_BumpChartVersion_Call ¶
Chart_BumpChartVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BumpChartVersion'
func (*Chart_BumpChartVersion_Call) Return ¶
func (_c *Chart_BumpChartVersion_Call) Return(_a0 string, _a1 error) *Chart_BumpChartVersion_Call
func (*Chart_BumpChartVersion_Call) Run ¶
func (_c *Chart_BumpChartVersion_Call) Run(run func(latestPublishedVersion string)) *Chart_BumpChartVersion_Call
func (*Chart_BumpChartVersion_Call) RunAndReturn ¶
func (_c *Chart_BumpChartVersion_Call) RunAndReturn(run func(string) (string, error)) *Chart_BumpChartVersion_Call
type Chart_Expecter ¶
type Chart_Expecter struct {
// contains filtered or unexported fields
}
func (*Chart_Expecter) BumpChartVersion ¶
func (_e *Chart_Expecter) BumpChartVersion(latestPublishedVersion interface{}) *Chart_BumpChartVersion_Call
BumpChartVersion is a helper method to define mock.On call
- latestPublishedVersion string
func (*Chart_Expecter) GenerateDocs ¶
func (_e *Chart_Expecter) GenerateDocs() *Chart_GenerateDocs_Call
GenerateDocs is a helper method to define mock.On call
func (*Chart_Expecter) LocalDependencies ¶
func (_e *Chart_Expecter) LocalDependencies() *Chart_LocalDependencies_Call
LocalDependencies is a helper method to define mock.On call
func (*Chart_Expecter) ManifestVersion ¶
func (_e *Chart_Expecter) ManifestVersion() *Chart_ManifestVersion_Call
ManifestVersion is a helper method to define mock.On call
func (*Chart_Expecter) Name ¶
func (_e *Chart_Expecter) Name() *Chart_Name_Call
Name is a helper method to define mock.On call
func (*Chart_Expecter) PackageChart ¶
func (_e *Chart_Expecter) PackageChart(destPath interface{}) *Chart_PackageChart_Call
PackageChart is a helper method to define mock.On call
- destPath string
func (*Chart_Expecter) Path ¶
func (_e *Chart_Expecter) Path() *Chart_Path_Call
Path is a helper method to define mock.On call
func (*Chart_Expecter) SetDependencyVersion ¶
func (_e *Chart_Expecter) SetDependencyVersion(dependencyName interface{}, newVersionConstraint interface{}) *Chart_SetDependencyVersion_Call
SetDependencyVersion is a helper method to define mock.On call
- dependencyName string
- newVersionConstraint string
func (*Chart_Expecter) UpdateDependencies ¶
func (_e *Chart_Expecter) UpdateDependencies() *Chart_UpdateDependencies_Call
UpdateDependencies is a helper method to define mock.On call
type Chart_GenerateDocs_Call ¶
Chart_GenerateDocs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenerateDocs'
func (*Chart_GenerateDocs_Call) Return ¶
func (_c *Chart_GenerateDocs_Call) Return(_a0 error) *Chart_GenerateDocs_Call
func (*Chart_GenerateDocs_Call) Run ¶
func (_c *Chart_GenerateDocs_Call) Run(run func()) *Chart_GenerateDocs_Call
func (*Chart_GenerateDocs_Call) RunAndReturn ¶
func (_c *Chart_GenerateDocs_Call) RunAndReturn(run func() error) *Chart_GenerateDocs_Call
type Chart_LocalDependencies_Call ¶
Chart_LocalDependencies_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LocalDependencies'
func (*Chart_LocalDependencies_Call) Return ¶
func (_c *Chart_LocalDependencies_Call) Return(_a0 []string) *Chart_LocalDependencies_Call
func (*Chart_LocalDependencies_Call) Run ¶
func (_c *Chart_LocalDependencies_Call) Run(run func()) *Chart_LocalDependencies_Call
func (*Chart_LocalDependencies_Call) RunAndReturn ¶
func (_c *Chart_LocalDependencies_Call) RunAndReturn(run func() []string) *Chart_LocalDependencies_Call
type Chart_ManifestVersion_Call ¶
Chart_ManifestVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ManifestVersion'
func (*Chart_ManifestVersion_Call) Return ¶
func (_c *Chart_ManifestVersion_Call) Return(_a0 string) *Chart_ManifestVersion_Call
func (*Chart_ManifestVersion_Call) Run ¶
func (_c *Chart_ManifestVersion_Call) Run(run func()) *Chart_ManifestVersion_Call
func (*Chart_ManifestVersion_Call) RunAndReturn ¶
func (_c *Chart_ManifestVersion_Call) RunAndReturn(run func() string) *Chart_ManifestVersion_Call
type Chart_Name_Call ¶
Chart_Name_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Name'
func (*Chart_Name_Call) Return ¶
func (_c *Chart_Name_Call) Return(_a0 string) *Chart_Name_Call
func (*Chart_Name_Call) Run ¶
func (_c *Chart_Name_Call) Run(run func()) *Chart_Name_Call
func (*Chart_Name_Call) RunAndReturn ¶
func (_c *Chart_Name_Call) RunAndReturn(run func() string) *Chart_Name_Call
type Chart_PackageChart_Call ¶
Chart_PackageChart_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PackageChart'
func (*Chart_PackageChart_Call) Return ¶
func (_c *Chart_PackageChart_Call) Return(_a0 error) *Chart_PackageChart_Call
func (*Chart_PackageChart_Call) Run ¶
func (_c *Chart_PackageChart_Call) Run(run func(destPath string)) *Chart_PackageChart_Call
func (*Chart_PackageChart_Call) RunAndReturn ¶
func (_c *Chart_PackageChart_Call) RunAndReturn(run func(string) error) *Chart_PackageChart_Call
type Chart_Path_Call ¶
Chart_Path_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Path'
func (*Chart_Path_Call) Return ¶
func (_c *Chart_Path_Call) Return(_a0 string) *Chart_Path_Call
func (*Chart_Path_Call) Run ¶
func (_c *Chart_Path_Call) Run(run func()) *Chart_Path_Call
func (*Chart_Path_Call) RunAndReturn ¶
func (_c *Chart_Path_Call) RunAndReturn(run func() string) *Chart_Path_Call
type Chart_SetDependencyVersion_Call ¶
Chart_SetDependencyVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetDependencyVersion'
func (*Chart_SetDependencyVersion_Call) Return ¶
func (_c *Chart_SetDependencyVersion_Call) Return(_a0 error) *Chart_SetDependencyVersion_Call
func (*Chart_SetDependencyVersion_Call) Run ¶
func (_c *Chart_SetDependencyVersion_Call) Run(run func(dependencyName string, newVersionConstraint string)) *Chart_SetDependencyVersion_Call
func (*Chart_SetDependencyVersion_Call) RunAndReturn ¶
func (_c *Chart_SetDependencyVersion_Call) RunAndReturn(run func(string, string) error) *Chart_SetDependencyVersion_Call
type Chart_UpdateDependencies_Call ¶
Chart_UpdateDependencies_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDependencies'
func (*Chart_UpdateDependencies_Call) Return ¶
func (_c *Chart_UpdateDependencies_Call) Return(_a0 error) *Chart_UpdateDependencies_Call
func (*Chart_UpdateDependencies_Call) Run ¶
func (_c *Chart_UpdateDependencies_Call) Run(run func()) *Chart_UpdateDependencies_Call
func (*Chart_UpdateDependencies_Call) RunAndReturn ¶
func (_c *Chart_UpdateDependencies_Call) RunAndReturn(run func() error) *Chart_UpdateDependencies_Call
type ChartsDir ¶
ChartsDir is an autogenerated mock type for the ChartsDir type
func NewChartsDir ¶
NewChartsDir creates a new instance of ChartsDir. 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 (*ChartsDir) EXPECT ¶
func (_m *ChartsDir) EXPECT() *ChartsDir_Expecter
func (*ChartsDir) RecursivelyUpdateDependencies ¶
RecursivelyUpdateDependencies provides a mock function with given fields: chart
type ChartsDir_Exists_Call ¶
ChartsDir_Exists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exists'
func (*ChartsDir_Exists_Call) Return ¶
func (_c *ChartsDir_Exists_Call) Return(_a0 bool) *ChartsDir_Exists_Call
func (*ChartsDir_Exists_Call) Run ¶
func (_c *ChartsDir_Exists_Call) Run(run func(name string)) *ChartsDir_Exists_Call
func (*ChartsDir_Exists_Call) RunAndReturn ¶
func (_c *ChartsDir_Exists_Call) RunAndReturn(run func(string) bool) *ChartsDir_Exists_Call
type ChartsDir_Expecter ¶
type ChartsDir_Expecter struct {
// contains filtered or unexported fields
}
func (*ChartsDir_Expecter) Exists ¶
func (_e *ChartsDir_Expecter) Exists(name interface{}) *ChartsDir_Exists_Call
Exists is a helper method to define mock.On call
- name string
func (*ChartsDir_Expecter) GetChart ¶
func (_e *ChartsDir_Expecter) GetChart(name interface{}) *ChartsDir_GetChart_Call
GetChart is a helper method to define mock.On call
- name string
func (*ChartsDir_Expecter) GetCharts ¶
func (_e *ChartsDir_Expecter) GetCharts(name ...interface{}) *ChartsDir_GetCharts_Call
GetCharts is a helper method to define mock.On call
- name ...string
func (*ChartsDir_Expecter) Path ¶ added in v1.1.12
func (_e *ChartsDir_Expecter) Path() *ChartsDir_Path_Call
Path is a helper method to define mock.On call
func (*ChartsDir_Expecter) RecursivelyUpdateDependencies ¶
func (_e *ChartsDir_Expecter) RecursivelyUpdateDependencies(chart ...interface{}) *ChartsDir_RecursivelyUpdateDependencies_Call
RecursivelyUpdateDependencies is a helper method to define mock.On call
- chart ...source.Chart
func (*ChartsDir_Expecter) UpdateDependentVersionConstraints ¶
func (_e *ChartsDir_Expecter) UpdateDependentVersionConstraints(chart interface{}, newVersionConstraint interface{}) *ChartsDir_UpdateDependentVersionConstraints_Call
UpdateDependentVersionConstraints is a helper method to define mock.On call
- chart source.Chart
- newVersionConstraint string
func (*ChartsDir_Expecter) WithTransitiveDependents ¶
func (_e *ChartsDir_Expecter) WithTransitiveDependents(chart interface{}) *ChartsDir_WithTransitiveDependents_Call
WithTransitiveDependents is a helper method to define mock.On call
- chart []source.Chart
type ChartsDir_GetChart_Call ¶
ChartsDir_GetChart_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetChart'
func (*ChartsDir_GetChart_Call) Return ¶
func (_c *ChartsDir_GetChart_Call) Return(_a0 source.Chart, _a1 error) *ChartsDir_GetChart_Call
func (*ChartsDir_GetChart_Call) Run ¶
func (_c *ChartsDir_GetChart_Call) Run(run func(name string)) *ChartsDir_GetChart_Call
func (*ChartsDir_GetChart_Call) RunAndReturn ¶
func (_c *ChartsDir_GetChart_Call) RunAndReturn(run func(string) (source.Chart, error)) *ChartsDir_GetChart_Call
type ChartsDir_GetCharts_Call ¶
ChartsDir_GetCharts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCharts'
func (*ChartsDir_GetCharts_Call) Return ¶
func (_c *ChartsDir_GetCharts_Call) Return(_a0 []source.Chart, _a1 error) *ChartsDir_GetCharts_Call
func (*ChartsDir_GetCharts_Call) Run ¶
func (_c *ChartsDir_GetCharts_Call) Run(run func(name ...string)) *ChartsDir_GetCharts_Call
func (*ChartsDir_GetCharts_Call) RunAndReturn ¶
func (_c *ChartsDir_GetCharts_Call) RunAndReturn(run func(...string) ([]source.Chart, error)) *ChartsDir_GetCharts_Call
type ChartsDir_Path_Call ¶ added in v1.1.12
ChartsDir_Path_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Path'
func (*ChartsDir_Path_Call) Return ¶ added in v1.1.12
func (_c *ChartsDir_Path_Call) Return(_a0 string) *ChartsDir_Path_Call
func (*ChartsDir_Path_Call) Run ¶ added in v1.1.12
func (_c *ChartsDir_Path_Call) Run(run func()) *ChartsDir_Path_Call
func (*ChartsDir_Path_Call) RunAndReturn ¶ added in v1.1.12
func (_c *ChartsDir_Path_Call) RunAndReturn(run func() string) *ChartsDir_Path_Call
type ChartsDir_RecursivelyUpdateDependencies_Call ¶
ChartsDir_RecursivelyUpdateDependencies_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RecursivelyUpdateDependencies'
func (*ChartsDir_RecursivelyUpdateDependencies_Call) Return ¶
func (_c *ChartsDir_RecursivelyUpdateDependencies_Call) Return(_a0 error) *ChartsDir_RecursivelyUpdateDependencies_Call
func (*ChartsDir_RecursivelyUpdateDependencies_Call) Run ¶
func (_c *ChartsDir_RecursivelyUpdateDependencies_Call) Run(run func(chart ...source.Chart)) *ChartsDir_RecursivelyUpdateDependencies_Call
func (*ChartsDir_RecursivelyUpdateDependencies_Call) RunAndReturn ¶
func (_c *ChartsDir_RecursivelyUpdateDependencies_Call) RunAndReturn(run func(...source.Chart) error) *ChartsDir_RecursivelyUpdateDependencies_Call
type ChartsDir_UpdateDependentVersionConstraints_Call ¶
ChartsDir_UpdateDependentVersionConstraints_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDependentVersionConstraints'
func (*ChartsDir_UpdateDependentVersionConstraints_Call) Return ¶
func (_c *ChartsDir_UpdateDependentVersionConstraints_Call) Return(_a0 error) *ChartsDir_UpdateDependentVersionConstraints_Call
func (*ChartsDir_UpdateDependentVersionConstraints_Call) Run ¶
func (_c *ChartsDir_UpdateDependentVersionConstraints_Call) Run(run func(chart source.Chart, newVersionConstraint string)) *ChartsDir_UpdateDependentVersionConstraints_Call
func (*ChartsDir_UpdateDependentVersionConstraints_Call) RunAndReturn ¶
func (_c *ChartsDir_UpdateDependentVersionConstraints_Call) RunAndReturn(run func(source.Chart, string) error) *ChartsDir_UpdateDependentVersionConstraints_Call
type ChartsDir_WithTransitiveDependents_Call ¶
ChartsDir_WithTransitiveDependents_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithTransitiveDependents'
func (*ChartsDir_WithTransitiveDependents_Call) Return ¶
func (_c *ChartsDir_WithTransitiveDependents_Call) Return(_a0 []source.Chart, _a1 error) *ChartsDir_WithTransitiveDependents_Call
func (*ChartsDir_WithTransitiveDependents_Call) Run ¶
func (_c *ChartsDir_WithTransitiveDependents_Call) Run(run func(chart []source.Chart)) *ChartsDir_WithTransitiveDependents_Call
func (*ChartsDir_WithTransitiveDependents_Call) RunAndReturn ¶
func (_c *ChartsDir_WithTransitiveDependents_Call) RunAndReturn(run func([]source.Chart) ([]source.Chart, error)) *ChartsDir_WithTransitiveDependents_Call