Documentation ¶
Index ¶
- type ChartVersionUpdater
- type ChartVersionUpdater_Expecter
- type ChartVersionUpdater_UpdateForNewChartVersion_Call
- func (_c *ChartVersionUpdater_UpdateForNewChartVersion_Call) Return(_a0 error) *ChartVersionUpdater_UpdateForNewChartVersion_Call
- func (_c *ChartVersionUpdater_UpdateForNewChartVersion_Call) Run(run func(chartSelector string, newVersion string, lastVersion string, ...)) *ChartVersionUpdater_UpdateForNewChartVersion_Call
- type StateReadWriter
- func (_m *StateReadWriter) Clusters() (sherlock.Clusters, error)
- func (_m *StateReadWriter) CreateEnvironmentFromTemplate(templateName string, options terra.CreateOptions) (string, error)
- func (_m *StateReadWriter) DeleteEnvironments(_a0 []terra.Environment) ([]string, error)
- func (_m *StateReadWriter) DisableRelease(_a0 string, _a1 string) error
- func (_m *StateReadWriter) EXPECT() *StateReadWriter_Expecter
- func (_m *StateReadWriter) EnableRelease(_a0 terra.Environment, _a1 string) error
- func (_m *StateReadWriter) Environments() (sherlock.Environments, error)
- func (_m *StateReadWriter) PinEnvironmentVersions(environmentName string, versions map[string]terra.VersionOverride) error
- func (_m *StateReadWriter) Releases() (sherlock.Releases, error)
- func (_m *StateReadWriter) ResetEnvironmentAndPinToDev(environment terra.Environment) error
- func (_m *StateReadWriter) SetTerraHelmfileRefForEntireEnvironment(environment terra.Environment, terraHelmfileRef string) error
- func (_m *StateReadWriter) WriteClusters(_a0 []terra.Cluster) error
- func (_m *StateReadWriter) WriteEnvironments(_a0 []terra.Environment) ([]string, error)
- type StateReadWriter_Clusters_Call
- type StateReadWriter_CreateEnvironmentFromTemplate_Call
- func (_c *StateReadWriter_CreateEnvironmentFromTemplate_Call) Return(_a0 string, _a1 error) *StateReadWriter_CreateEnvironmentFromTemplate_Call
- func (_c *StateReadWriter_CreateEnvironmentFromTemplate_Call) Run(run func(templateName string, options terra.CreateOptions)) *StateReadWriter_CreateEnvironmentFromTemplate_Call
- type StateReadWriter_DeleteEnvironments_Call
- type StateReadWriter_DisableRelease_Call
- type StateReadWriter_EnableRelease_Call
- type StateReadWriter_Environments_Call
- type StateReadWriter_Expecter
- func (_e *StateReadWriter_Expecter) Clusters() *StateReadWriter_Clusters_Call
- func (_e *StateReadWriter_Expecter) CreateEnvironmentFromTemplate(templateName interface{}, options interface{}) *StateReadWriter_CreateEnvironmentFromTemplate_Call
- func (_e *StateReadWriter_Expecter) DeleteEnvironments(_a0 interface{}) *StateReadWriter_DeleteEnvironments_Call
- func (_e *StateReadWriter_Expecter) DisableRelease(_a0 interface{}, _a1 interface{}) *StateReadWriter_DisableRelease_Call
- func (_e *StateReadWriter_Expecter) EnableRelease(_a0 interface{}, _a1 interface{}) *StateReadWriter_EnableRelease_Call
- func (_e *StateReadWriter_Expecter) Environments() *StateReadWriter_Environments_Call
- func (_e *StateReadWriter_Expecter) PinEnvironmentVersions(environmentName interface{}, versions interface{}) *StateReadWriter_PinEnvironmentVersions_Call
- func (_e *StateReadWriter_Expecter) Releases() *StateReadWriter_Releases_Call
- func (_e *StateReadWriter_Expecter) ResetEnvironmentAndPinToDev(environment interface{}) *StateReadWriter_ResetEnvironmentAndPinToDev_Call
- func (_e *StateReadWriter_Expecter) SetTerraHelmfileRefForEntireEnvironment(environment interface{}, terraHelmfileRef interface{}) *StateReadWriter_SetTerraHelmfileRefForEntireEnvironment_Call
- func (_e *StateReadWriter_Expecter) WriteClusters(_a0 interface{}) *StateReadWriter_WriteClusters_Call
- func (_e *StateReadWriter_Expecter) WriteEnvironments(_a0 interface{}) *StateReadWriter_WriteEnvironments_Call
- type StateReadWriter_PinEnvironmentVersions_Call
- type StateReadWriter_Releases_Call
- type StateReadWriter_ResetEnvironmentAndPinToDev_Call
- type StateReadWriter_SetTerraHelmfileRefForEntireEnvironment_Call
- func (_c *StateReadWriter_SetTerraHelmfileRefForEntireEnvironment_Call) Return(_a0 error) *StateReadWriter_SetTerraHelmfileRefForEntireEnvironment_Call
- func (_c *StateReadWriter_SetTerraHelmfileRefForEntireEnvironment_Call) Run(run func(environment terra.Environment, terraHelmfileRef string)) *StateReadWriter_SetTerraHelmfileRefForEntireEnvironment_Call
- type StateReadWriter_WriteClusters_Call
- type StateReadWriter_WriteEnvironments_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChartVersionUpdater ¶ added in v0.0.74
ChartVersionUpdater is an autogenerated mock type for the ChartVersionUpdater type
func NewChartVersionUpdater ¶ added in v0.0.74
func NewChartVersionUpdater(t mockConstructorTestingTNewChartVersionUpdater) *ChartVersionUpdater
NewChartVersionUpdater creates a new instance of ChartVersionUpdater. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ChartVersionUpdater) EXPECT ¶ added in v1.0.8
func (_m *ChartVersionUpdater) EXPECT() *ChartVersionUpdater_Expecter
func (*ChartVersionUpdater) UpdateForNewChartVersion ¶ added in v0.0.74
func (_m *ChartVersionUpdater) UpdateForNewChartVersion(chartSelector string, newVersion string, lastVersion string, description string, chartReleaseSelectors ...string) error
UpdateForNewChartVersion provides a mock function with given fields: chartSelector, newVersion, lastVersion, description, chartReleaseSelectors
type ChartVersionUpdater_Expecter ¶ added in v1.0.8
type ChartVersionUpdater_Expecter struct {
// contains filtered or unexported fields
}
func (*ChartVersionUpdater_Expecter) UpdateForNewChartVersion ¶ added in v1.0.8
func (_e *ChartVersionUpdater_Expecter) UpdateForNewChartVersion(chartSelector interface{}, newVersion interface{}, lastVersion interface{}, description interface{}, chartReleaseSelectors ...interface{}) *ChartVersionUpdater_UpdateForNewChartVersion_Call
UpdateForNewChartVersion is a helper method to define mock.On call
- chartSelector string
- newVersion string
- lastVersion string
- description string
- chartReleaseSelectors ...string
type ChartVersionUpdater_UpdateForNewChartVersion_Call ¶ added in v1.0.8
ChartVersionUpdater_UpdateForNewChartVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateForNewChartVersion'
func (*ChartVersionUpdater_UpdateForNewChartVersion_Call) Return ¶ added in v1.0.8
func (_c *ChartVersionUpdater_UpdateForNewChartVersion_Call) Return(_a0 error) *ChartVersionUpdater_UpdateForNewChartVersion_Call
func (*ChartVersionUpdater_UpdateForNewChartVersion_Call) Run ¶ added in v1.0.8
func (_c *ChartVersionUpdater_UpdateForNewChartVersion_Call) Run(run func(chartSelector string, newVersion string, lastVersion string, description string, chartReleaseSelectors ...string)) *ChartVersionUpdater_UpdateForNewChartVersion_Call
type StateReadWriter ¶ added in v0.0.72
StateReadWriter is an autogenerated mock type for the StateReadWriter type
func NewStateReadWriter ¶ added in v0.0.72
func NewStateReadWriter(t mockConstructorTestingTNewStateReadWriter) *StateReadWriter
NewStateReadWriter creates a new instance of StateReadWriter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*StateReadWriter) Clusters ¶ added in v0.0.72
func (_m *StateReadWriter) Clusters() (sherlock.Clusters, error)
Clusters provides a mock function with given fields:
func (*StateReadWriter) CreateEnvironmentFromTemplate ¶ added in v0.0.72
func (_m *StateReadWriter) CreateEnvironmentFromTemplate(templateName string, options terra.CreateOptions) (string, error)
CreateEnvironmentFromTemplate provides a mock function with given fields: templateName, options
func (*StateReadWriter) DeleteEnvironments ¶ added in v0.0.72
func (_m *StateReadWriter) DeleteEnvironments(_a0 []terra.Environment) ([]string, error)
DeleteEnvironments provides a mock function with given fields: _a0
func (*StateReadWriter) DisableRelease ¶ added in v0.0.72
func (_m *StateReadWriter) DisableRelease(_a0 string, _a1 string) error
DisableRelease provides a mock function with given fields: _a0, _a1
func (*StateReadWriter) EXPECT ¶ added in v1.0.8
func (_m *StateReadWriter) EXPECT() *StateReadWriter_Expecter
func (*StateReadWriter) EnableRelease ¶ added in v0.0.72
func (_m *StateReadWriter) EnableRelease(_a0 terra.Environment, _a1 string) error
EnableRelease provides a mock function with given fields: _a0, _a1
func (*StateReadWriter) Environments ¶ added in v0.0.72
func (_m *StateReadWriter) Environments() (sherlock.Environments, error)
Environments provides a mock function with given fields:
func (*StateReadWriter) PinEnvironmentVersions ¶ added in v0.0.72
func (_m *StateReadWriter) PinEnvironmentVersions(environmentName string, versions map[string]terra.VersionOverride) error
PinEnvironmentVersions provides a mock function with given fields: environmentName, versions
func (*StateReadWriter) Releases ¶ added in v0.0.72
func (_m *StateReadWriter) Releases() (sherlock.Releases, error)
Releases provides a mock function with given fields:
func (*StateReadWriter) ResetEnvironmentAndPinToDev ¶ added in v0.0.72
func (_m *StateReadWriter) ResetEnvironmentAndPinToDev(environment terra.Environment) error
ResetEnvironmentAndPinToDev provides a mock function with given fields: environment
func (*StateReadWriter) SetTerraHelmfileRefForEntireEnvironment ¶ added in v0.0.72
func (_m *StateReadWriter) SetTerraHelmfileRefForEntireEnvironment(environment terra.Environment, terraHelmfileRef string) error
SetTerraHelmfileRefForEntireEnvironment provides a mock function with given fields: environment, terraHelmfileRef
func (*StateReadWriter) WriteClusters ¶ added in v0.0.72
func (_m *StateReadWriter) WriteClusters(_a0 []terra.Cluster) error
WriteClusters provides a mock function with given fields: _a0
func (*StateReadWriter) WriteEnvironments ¶ added in v0.0.72
func (_m *StateReadWriter) WriteEnvironments(_a0 []terra.Environment) ([]string, error)
WriteEnvironments provides a mock function with given fields: _a0
type StateReadWriter_Clusters_Call ¶ added in v1.0.8
StateReadWriter_Clusters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Clusters'
func (*StateReadWriter_Clusters_Call) Return ¶ added in v1.0.8
func (_c *StateReadWriter_Clusters_Call) Return(_a0 sherlock.Clusters, _a1 error) *StateReadWriter_Clusters_Call
func (*StateReadWriter_Clusters_Call) Run ¶ added in v1.0.8
func (_c *StateReadWriter_Clusters_Call) Run(run func()) *StateReadWriter_Clusters_Call
type StateReadWriter_CreateEnvironmentFromTemplate_Call ¶ added in v1.0.8
StateReadWriter_CreateEnvironmentFromTemplate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateEnvironmentFromTemplate'
func (*StateReadWriter_CreateEnvironmentFromTemplate_Call) Return ¶ added in v1.0.8
func (_c *StateReadWriter_CreateEnvironmentFromTemplate_Call) Return(_a0 string, _a1 error) *StateReadWriter_CreateEnvironmentFromTemplate_Call
func (*StateReadWriter_CreateEnvironmentFromTemplate_Call) Run ¶ added in v1.0.8
func (_c *StateReadWriter_CreateEnvironmentFromTemplate_Call) Run(run func(templateName string, options terra.CreateOptions)) *StateReadWriter_CreateEnvironmentFromTemplate_Call
type StateReadWriter_DeleteEnvironments_Call ¶ added in v1.0.8
StateReadWriter_DeleteEnvironments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteEnvironments'
func (*StateReadWriter_DeleteEnvironments_Call) Return ¶ added in v1.0.8
func (_c *StateReadWriter_DeleteEnvironments_Call) Return(_a0 []string, _a1 error) *StateReadWriter_DeleteEnvironments_Call
func (*StateReadWriter_DeleteEnvironments_Call) Run ¶ added in v1.0.8
func (_c *StateReadWriter_DeleteEnvironments_Call) Run(run func(_a0 []terra.Environment)) *StateReadWriter_DeleteEnvironments_Call
type StateReadWriter_DisableRelease_Call ¶ added in v1.0.8
StateReadWriter_DisableRelease_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DisableRelease'
func (*StateReadWriter_DisableRelease_Call) Return ¶ added in v1.0.8
func (_c *StateReadWriter_DisableRelease_Call) Return(_a0 error) *StateReadWriter_DisableRelease_Call
func (*StateReadWriter_DisableRelease_Call) Run ¶ added in v1.0.8
func (_c *StateReadWriter_DisableRelease_Call) Run(run func(_a0 string, _a1 string)) *StateReadWriter_DisableRelease_Call
type StateReadWriter_EnableRelease_Call ¶ added in v1.0.8
StateReadWriter_EnableRelease_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnableRelease'
func (*StateReadWriter_EnableRelease_Call) Return ¶ added in v1.0.8
func (_c *StateReadWriter_EnableRelease_Call) Return(_a0 error) *StateReadWriter_EnableRelease_Call
func (*StateReadWriter_EnableRelease_Call) Run ¶ added in v1.0.8
func (_c *StateReadWriter_EnableRelease_Call) Run(run func(_a0 terra.Environment, _a1 string)) *StateReadWriter_EnableRelease_Call
type StateReadWriter_Environments_Call ¶ added in v1.0.8
StateReadWriter_Environments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Environments'
func (*StateReadWriter_Environments_Call) Return ¶ added in v1.0.8
func (_c *StateReadWriter_Environments_Call) Return(_a0 sherlock.Environments, _a1 error) *StateReadWriter_Environments_Call
func (*StateReadWriter_Environments_Call) Run ¶ added in v1.0.8
func (_c *StateReadWriter_Environments_Call) Run(run func()) *StateReadWriter_Environments_Call
type StateReadWriter_Expecter ¶ added in v1.0.8
type StateReadWriter_Expecter struct {
// contains filtered or unexported fields
}
func (*StateReadWriter_Expecter) Clusters ¶ added in v1.0.8
func (_e *StateReadWriter_Expecter) Clusters() *StateReadWriter_Clusters_Call
Clusters is a helper method to define mock.On call
func (*StateReadWriter_Expecter) CreateEnvironmentFromTemplate ¶ added in v1.0.8
func (_e *StateReadWriter_Expecter) CreateEnvironmentFromTemplate(templateName interface{}, options interface{}) *StateReadWriter_CreateEnvironmentFromTemplate_Call
CreateEnvironmentFromTemplate is a helper method to define mock.On call
- templateName string
- options terra.CreateOptions
func (*StateReadWriter_Expecter) DeleteEnvironments ¶ added in v1.0.8
func (_e *StateReadWriter_Expecter) DeleteEnvironments(_a0 interface{}) *StateReadWriter_DeleteEnvironments_Call
DeleteEnvironments is a helper method to define mock.On call
- _a0 []terra.Environment
func (*StateReadWriter_Expecter) DisableRelease ¶ added in v1.0.8
func (_e *StateReadWriter_Expecter) DisableRelease(_a0 interface{}, _a1 interface{}) *StateReadWriter_DisableRelease_Call
DisableRelease is a helper method to define mock.On call
- _a0 string
- _a1 string
func (*StateReadWriter_Expecter) EnableRelease ¶ added in v1.0.8
func (_e *StateReadWriter_Expecter) EnableRelease(_a0 interface{}, _a1 interface{}) *StateReadWriter_EnableRelease_Call
EnableRelease is a helper method to define mock.On call
- _a0 terra.Environment
- _a1 string
func (*StateReadWriter_Expecter) Environments ¶ added in v1.0.8
func (_e *StateReadWriter_Expecter) Environments() *StateReadWriter_Environments_Call
Environments is a helper method to define mock.On call
func (*StateReadWriter_Expecter) PinEnvironmentVersions ¶ added in v1.0.8
func (_e *StateReadWriter_Expecter) PinEnvironmentVersions(environmentName interface{}, versions interface{}) *StateReadWriter_PinEnvironmentVersions_Call
PinEnvironmentVersions is a helper method to define mock.On call
- environmentName string
- versions map[string]terra.VersionOverride
func (*StateReadWriter_Expecter) Releases ¶ added in v1.0.8
func (_e *StateReadWriter_Expecter) Releases() *StateReadWriter_Releases_Call
Releases is a helper method to define mock.On call
func (*StateReadWriter_Expecter) ResetEnvironmentAndPinToDev ¶ added in v1.0.8
func (_e *StateReadWriter_Expecter) ResetEnvironmentAndPinToDev(environment interface{}) *StateReadWriter_ResetEnvironmentAndPinToDev_Call
ResetEnvironmentAndPinToDev is a helper method to define mock.On call
- environment terra.Environment
func (*StateReadWriter_Expecter) SetTerraHelmfileRefForEntireEnvironment ¶ added in v1.0.8
func (_e *StateReadWriter_Expecter) SetTerraHelmfileRefForEntireEnvironment(environment interface{}, terraHelmfileRef interface{}) *StateReadWriter_SetTerraHelmfileRefForEntireEnvironment_Call
SetTerraHelmfileRefForEntireEnvironment is a helper method to define mock.On call
- environment terra.Environment
- terraHelmfileRef string
func (*StateReadWriter_Expecter) WriteClusters ¶ added in v1.0.8
func (_e *StateReadWriter_Expecter) WriteClusters(_a0 interface{}) *StateReadWriter_WriteClusters_Call
WriteClusters is a helper method to define mock.On call
- _a0 []terra.Cluster
func (*StateReadWriter_Expecter) WriteEnvironments ¶ added in v1.0.8
func (_e *StateReadWriter_Expecter) WriteEnvironments(_a0 interface{}) *StateReadWriter_WriteEnvironments_Call
WriteEnvironments is a helper method to define mock.On call
- _a0 []terra.Environment
type StateReadWriter_PinEnvironmentVersions_Call ¶ added in v1.0.8
StateReadWriter_PinEnvironmentVersions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PinEnvironmentVersions'
func (*StateReadWriter_PinEnvironmentVersions_Call) Return ¶ added in v1.0.8
func (_c *StateReadWriter_PinEnvironmentVersions_Call) Return(_a0 error) *StateReadWriter_PinEnvironmentVersions_Call
func (*StateReadWriter_PinEnvironmentVersions_Call) Run ¶ added in v1.0.8
func (_c *StateReadWriter_PinEnvironmentVersions_Call) Run(run func(environmentName string, versions map[string]terra.VersionOverride)) *StateReadWriter_PinEnvironmentVersions_Call
type StateReadWriter_Releases_Call ¶ added in v1.0.8
StateReadWriter_Releases_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Releases'
func (*StateReadWriter_Releases_Call) Return ¶ added in v1.0.8
func (_c *StateReadWriter_Releases_Call) Return(_a0 sherlock.Releases, _a1 error) *StateReadWriter_Releases_Call
func (*StateReadWriter_Releases_Call) Run ¶ added in v1.0.8
func (_c *StateReadWriter_Releases_Call) Run(run func()) *StateReadWriter_Releases_Call
type StateReadWriter_ResetEnvironmentAndPinToDev_Call ¶ added in v1.0.8
StateReadWriter_ResetEnvironmentAndPinToDev_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResetEnvironmentAndPinToDev'
func (*StateReadWriter_ResetEnvironmentAndPinToDev_Call) Return ¶ added in v1.0.8
func (_c *StateReadWriter_ResetEnvironmentAndPinToDev_Call) Return(_a0 error) *StateReadWriter_ResetEnvironmentAndPinToDev_Call
func (*StateReadWriter_ResetEnvironmentAndPinToDev_Call) Run ¶ added in v1.0.8
func (_c *StateReadWriter_ResetEnvironmentAndPinToDev_Call) Run(run func(environment terra.Environment)) *StateReadWriter_ResetEnvironmentAndPinToDev_Call
type StateReadWriter_SetTerraHelmfileRefForEntireEnvironment_Call ¶ added in v1.0.8
StateReadWriter_SetTerraHelmfileRefForEntireEnvironment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTerraHelmfileRefForEntireEnvironment'
func (*StateReadWriter_SetTerraHelmfileRefForEntireEnvironment_Call) Run ¶ added in v1.0.8
func (_c *StateReadWriter_SetTerraHelmfileRefForEntireEnvironment_Call) Run(run func(environment terra.Environment, terraHelmfileRef string)) *StateReadWriter_SetTerraHelmfileRefForEntireEnvironment_Call
type StateReadWriter_WriteClusters_Call ¶ added in v1.0.8
StateReadWriter_WriteClusters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteClusters'
func (*StateReadWriter_WriteClusters_Call) Return ¶ added in v1.0.8
func (_c *StateReadWriter_WriteClusters_Call) Return(_a0 error) *StateReadWriter_WriteClusters_Call
func (*StateReadWriter_WriteClusters_Call) Run ¶ added in v1.0.8
func (_c *StateReadWriter_WriteClusters_Call) Run(run func(_a0 []terra.Cluster)) *StateReadWriter_WriteClusters_Call
type StateReadWriter_WriteEnvironments_Call ¶ added in v1.0.8
StateReadWriter_WriteEnvironments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteEnvironments'
func (*StateReadWriter_WriteEnvironments_Call) Return ¶ added in v1.0.8
func (_c *StateReadWriter_WriteEnvironments_Call) Return(_a0 []string, _a1 error) *StateReadWriter_WriteEnvironments_Call
func (*StateReadWriter_WriteEnvironments_Call) Run ¶ added in v1.0.8
func (_c *StateReadWriter_WriteEnvironments_Call) Run(run func(_a0 []terra.Environment)) *StateReadWriter_WriteEnvironments_Call