Documentation ¶
Index ¶
- type ChartReleaseStatusUpdater
- type ChartReleaseStatusUpdater_Expecter
- type ChartReleaseStatusUpdater_UpdateChartReleaseStatuses_Call
- func (_c *ChartReleaseStatusUpdater_UpdateChartReleaseStatuses_Call) Return(_a0 error) *ChartReleaseStatusUpdater_UpdateChartReleaseStatuses_Call
- func (_c *ChartReleaseStatusUpdater_UpdateChartReleaseStatuses_Call) Run(run func(chartReleaseStatuses map[string]string)) *ChartReleaseStatusUpdater_UpdateChartReleaseStatuses_Call
- func (_c *ChartReleaseStatusUpdater_UpdateChartReleaseStatuses_Call) RunAndReturn(run func(map[string]string) error) *ChartReleaseStatusUpdater_UpdateChartReleaseStatuses_Call
- 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
- func (_c *ChartVersionUpdater_UpdateForNewChartVersion_Call) RunAndReturn(run func(string, string, string, string, ...string) error) *ChartVersionUpdater_UpdateForNewChartVersion_Call
- type Client
- func (_m *Client) Clusters() (sherlock.Clusters, error)
- func (_m *Client) CreateEnvironmentFromTemplate(templateName string, options terra.CreateOptions) (string, error)
- func (_m *Client) DeleteEnvironments(_a0 []terra.Environment) ([]string, error)
- func (_m *Client) DisableRelease(_a0 string, _a1 string) error
- func (_m *Client) EXPECT() *Client_Expecter
- func (_m *Client) EnableRelease(_a0 terra.Environment, _a1 string) error
- func (_m *Client) Environments() (sherlock.Environments, error)
- func (_m *Client) GetStatus() error
- func (_m *Client) PinEnvironmentVersions(environmentName string, versions map[string]terra.VersionOverride) error
- func (_m *Client) Releases() (sherlock.Releases, error)
- func (_m *Client) ResetEnvironmentAndPinToDev(environment terra.Environment) error
- func (_m *Client) SetEnvironmentOffline(environmentName string, offline bool) error
- func (_m *Client) SetTerraHelmfileRefForEntireEnvironment(environment terra.Environment, terraHelmfileRef string) error
- func (_m *Client) UpdateChartReleaseStatuses(chartReleaseStatuses map[string]string) error
- func (_m *Client) UpdateForNewChartVersion(chartSelector string, newVersion string, lastVersion string, ...) error
- func (_m *Client) WriteClusters(_a0 []terra.Cluster) error
- func (_m *Client) WriteEnvironments(_a0 []terra.Environment) ([]string, error)
- type Client_Clusters_Call
- type Client_CreateEnvironmentFromTemplate_Call
- func (_c *Client_CreateEnvironmentFromTemplate_Call) Return(_a0 string, _a1 error) *Client_CreateEnvironmentFromTemplate_Call
- func (_c *Client_CreateEnvironmentFromTemplate_Call) Run(run func(templateName string, options terra.CreateOptions)) *Client_CreateEnvironmentFromTemplate_Call
- func (_c *Client_CreateEnvironmentFromTemplate_Call) RunAndReturn(run func(string, terra.CreateOptions) (string, error)) *Client_CreateEnvironmentFromTemplate_Call
- type Client_DeleteEnvironments_Call
- func (_c *Client_DeleteEnvironments_Call) Return(_a0 []string, _a1 error) *Client_DeleteEnvironments_Call
- func (_c *Client_DeleteEnvironments_Call) Run(run func(_a0 []terra.Environment)) *Client_DeleteEnvironments_Call
- func (_c *Client_DeleteEnvironments_Call) RunAndReturn(run func([]terra.Environment) ([]string, error)) *Client_DeleteEnvironments_Call
- type Client_DisableRelease_Call
- type Client_EnableRelease_Call
- func (_c *Client_EnableRelease_Call) Return(_a0 error) *Client_EnableRelease_Call
- func (_c *Client_EnableRelease_Call) Run(run func(_a0 terra.Environment, _a1 string)) *Client_EnableRelease_Call
- func (_c *Client_EnableRelease_Call) RunAndReturn(run func(terra.Environment, string) error) *Client_EnableRelease_Call
- type Client_Environments_Call
- func (_c *Client_Environments_Call) Return(_a0 sherlock.Environments, _a1 error) *Client_Environments_Call
- func (_c *Client_Environments_Call) Run(run func()) *Client_Environments_Call
- func (_c *Client_Environments_Call) RunAndReturn(run func() (sherlock.Environments, error)) *Client_Environments_Call
- type Client_Expecter
- func (_e *Client_Expecter) Clusters() *Client_Clusters_Call
- func (_e *Client_Expecter) CreateEnvironmentFromTemplate(templateName interface{}, options interface{}) *Client_CreateEnvironmentFromTemplate_Call
- func (_e *Client_Expecter) DeleteEnvironments(_a0 interface{}) *Client_DeleteEnvironments_Call
- func (_e *Client_Expecter) DisableRelease(_a0 interface{}, _a1 interface{}) *Client_DisableRelease_Call
- func (_e *Client_Expecter) EnableRelease(_a0 interface{}, _a1 interface{}) *Client_EnableRelease_Call
- func (_e *Client_Expecter) Environments() *Client_Environments_Call
- func (_e *Client_Expecter) GetStatus() *Client_GetStatus_Call
- func (_e *Client_Expecter) PinEnvironmentVersions(environmentName interface{}, versions interface{}) *Client_PinEnvironmentVersions_Call
- func (_e *Client_Expecter) Releases() *Client_Releases_Call
- func (_e *Client_Expecter) ResetEnvironmentAndPinToDev(environment interface{}) *Client_ResetEnvironmentAndPinToDev_Call
- func (_e *Client_Expecter) SetEnvironmentOffline(environmentName interface{}, offline interface{}) *Client_SetEnvironmentOffline_Call
- func (_e *Client_Expecter) SetTerraHelmfileRefForEntireEnvironment(environment interface{}, terraHelmfileRef interface{}) *Client_SetTerraHelmfileRefForEntireEnvironment_Call
- func (_e *Client_Expecter) UpdateChartReleaseStatuses(chartReleaseStatuses interface{}) *Client_UpdateChartReleaseStatuses_Call
- func (_e *Client_Expecter) UpdateForNewChartVersion(chartSelector interface{}, newVersion interface{}, lastVersion interface{}, ...) *Client_UpdateForNewChartVersion_Call
- func (_e *Client_Expecter) WriteClusters(_a0 interface{}) *Client_WriteClusters_Call
- func (_e *Client_Expecter) WriteEnvironments(_a0 interface{}) *Client_WriteEnvironments_Call
- type Client_GetStatus_Call
- type Client_PinEnvironmentVersions_Call
- func (_c *Client_PinEnvironmentVersions_Call) Return(_a0 error) *Client_PinEnvironmentVersions_Call
- func (_c *Client_PinEnvironmentVersions_Call) Run(run func(environmentName string, versions map[string]terra.VersionOverride)) *Client_PinEnvironmentVersions_Call
- func (_c *Client_PinEnvironmentVersions_Call) RunAndReturn(run func(string, map[string]terra.VersionOverride) error) *Client_PinEnvironmentVersions_Call
- type Client_Releases_Call
- type Client_ResetEnvironmentAndPinToDev_Call
- func (_c *Client_ResetEnvironmentAndPinToDev_Call) Return(_a0 error) *Client_ResetEnvironmentAndPinToDev_Call
- func (_c *Client_ResetEnvironmentAndPinToDev_Call) Run(run func(environment terra.Environment)) *Client_ResetEnvironmentAndPinToDev_Call
- func (_c *Client_ResetEnvironmentAndPinToDev_Call) RunAndReturn(run func(terra.Environment) error) *Client_ResetEnvironmentAndPinToDev_Call
- type Client_SetEnvironmentOffline_Call
- func (_c *Client_SetEnvironmentOffline_Call) Return(_a0 error) *Client_SetEnvironmentOffline_Call
- func (_c *Client_SetEnvironmentOffline_Call) Run(run func(environmentName string, offline bool)) *Client_SetEnvironmentOffline_Call
- func (_c *Client_SetEnvironmentOffline_Call) RunAndReturn(run func(string, bool) error) *Client_SetEnvironmentOffline_Call
- type Client_SetTerraHelmfileRefForEntireEnvironment_Call
- func (_c *Client_SetTerraHelmfileRefForEntireEnvironment_Call) Return(_a0 error) *Client_SetTerraHelmfileRefForEntireEnvironment_Call
- func (_c *Client_SetTerraHelmfileRefForEntireEnvironment_Call) Run(run func(environment terra.Environment, terraHelmfileRef string)) *Client_SetTerraHelmfileRefForEntireEnvironment_Call
- func (_c *Client_SetTerraHelmfileRefForEntireEnvironment_Call) RunAndReturn(run func(terra.Environment, string) error) *Client_SetTerraHelmfileRefForEntireEnvironment_Call
- type Client_UpdateChartReleaseStatuses_Call
- func (_c *Client_UpdateChartReleaseStatuses_Call) Return(_a0 error) *Client_UpdateChartReleaseStatuses_Call
- func (_c *Client_UpdateChartReleaseStatuses_Call) Run(run func(chartReleaseStatuses map[string]string)) *Client_UpdateChartReleaseStatuses_Call
- func (_c *Client_UpdateChartReleaseStatuses_Call) RunAndReturn(run func(map[string]string) error) *Client_UpdateChartReleaseStatuses_Call
- type Client_UpdateForNewChartVersion_Call
- func (_c *Client_UpdateForNewChartVersion_Call) Return(_a0 error) *Client_UpdateForNewChartVersion_Call
- func (_c *Client_UpdateForNewChartVersion_Call) Run(run func(chartSelector string, newVersion string, lastVersion string, ...)) *Client_UpdateForNewChartVersion_Call
- func (_c *Client_UpdateForNewChartVersion_Call) RunAndReturn(run func(string, string, string, string, ...string) error) *Client_UpdateForNewChartVersion_Call
- type Client_WriteClusters_Call
- type Client_WriteEnvironments_Call
- func (_c *Client_WriteEnvironments_Call) Return(_a0 []string, _a1 error) *Client_WriteEnvironments_Call
- func (_c *Client_WriteEnvironments_Call) Run(run func(_a0 []terra.Environment)) *Client_WriteEnvironments_Call
- func (_c *Client_WriteEnvironments_Call) RunAndReturn(run func([]terra.Environment) ([]string, error)) *Client_WriteEnvironments_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChartReleaseStatusUpdater ¶ added in v1.1.6
ChartReleaseStatusUpdater is an autogenerated mock type for the ChartReleaseStatusUpdater type
func NewChartReleaseStatusUpdater ¶ added in v1.1.6
func NewChartReleaseStatusUpdater(t interface { mock.TestingT Cleanup(func()) }) *ChartReleaseStatusUpdater
NewChartReleaseStatusUpdater creates a new instance of ChartReleaseStatusUpdater. 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 (*ChartReleaseStatusUpdater) EXPECT ¶ added in v1.1.6
func (_m *ChartReleaseStatusUpdater) EXPECT() *ChartReleaseStatusUpdater_Expecter
func (*ChartReleaseStatusUpdater) UpdateChartReleaseStatuses ¶ added in v1.1.6
func (_m *ChartReleaseStatusUpdater) UpdateChartReleaseStatuses(chartReleaseStatuses map[string]string) error
UpdateChartReleaseStatuses provides a mock function with given fields: chartReleaseStatuses
type ChartReleaseStatusUpdater_Expecter ¶ added in v1.1.6
type ChartReleaseStatusUpdater_Expecter struct {
// contains filtered or unexported fields
}
func (*ChartReleaseStatusUpdater_Expecter) UpdateChartReleaseStatuses ¶ added in v1.1.6
func (_e *ChartReleaseStatusUpdater_Expecter) UpdateChartReleaseStatuses(chartReleaseStatuses interface{}) *ChartReleaseStatusUpdater_UpdateChartReleaseStatuses_Call
UpdateChartReleaseStatuses is a helper method to define mock.On call
- chartReleaseStatuses map[string]string
type ChartReleaseStatusUpdater_UpdateChartReleaseStatuses_Call ¶ added in v1.1.6
ChartReleaseStatusUpdater_UpdateChartReleaseStatuses_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateChartReleaseStatuses'
func (*ChartReleaseStatusUpdater_UpdateChartReleaseStatuses_Call) Run ¶ added in v1.1.6
func (_c *ChartReleaseStatusUpdater_UpdateChartReleaseStatuses_Call) Run(run func(chartReleaseStatuses map[string]string)) *ChartReleaseStatusUpdater_UpdateChartReleaseStatuses_Call
func (*ChartReleaseStatusUpdater_UpdateChartReleaseStatuses_Call) RunAndReturn ¶ added in v1.1.6
func (_c *ChartReleaseStatusUpdater_UpdateChartReleaseStatuses_Call) RunAndReturn(run func(map[string]string) error) *ChartReleaseStatusUpdater_UpdateChartReleaseStatuses_Call
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 interface { mock.TestingT Cleanup(func()) }) *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. The first argument is typically a *testing.T value.
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
func (*ChartVersionUpdater_UpdateForNewChartVersion_Call) RunAndReturn ¶ added in v1.0.73
func (_c *ChartVersionUpdater_UpdateForNewChartVersion_Call) RunAndReturn(run func(string, string, string, string, ...string) error) *ChartVersionUpdater_UpdateForNewChartVersion_Call
type Client ¶ added in v1.0.103
Client is an autogenerated mock type for the Client type
func NewClient ¶ added in v1.0.103
NewClient creates a new instance of Client. 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 (*Client) CreateEnvironmentFromTemplate ¶ added in v1.0.103
func (_m *Client) CreateEnvironmentFromTemplate(templateName string, options terra.CreateOptions) (string, error)
CreateEnvironmentFromTemplate provides a mock function with given fields: templateName, options
func (*Client) DeleteEnvironments ¶ added in v1.0.103
func (_m *Client) DeleteEnvironments(_a0 []terra.Environment) ([]string, error)
DeleteEnvironments provides a mock function with given fields: _a0
func (*Client) DisableRelease ¶ added in v1.0.103
DisableRelease provides a mock function with given fields: _a0, _a1
func (*Client) EXPECT ¶ added in v1.0.103
func (_m *Client) EXPECT() *Client_Expecter
func (*Client) EnableRelease ¶ added in v1.0.103
func (_m *Client) EnableRelease(_a0 terra.Environment, _a1 string) error
EnableRelease provides a mock function with given fields: _a0, _a1
func (*Client) Environments ¶ added in v1.0.103
func (_m *Client) Environments() (sherlock.Environments, error)
Environments provides a mock function with given fields:
func (*Client) PinEnvironmentVersions ¶ added in v1.0.103
func (_m *Client) PinEnvironmentVersions(environmentName string, versions map[string]terra.VersionOverride) error
PinEnvironmentVersions provides a mock function with given fields: environmentName, versions
func (*Client) ResetEnvironmentAndPinToDev ¶ added in v1.0.103
func (_m *Client) ResetEnvironmentAndPinToDev(environment terra.Environment) error
ResetEnvironmentAndPinToDev provides a mock function with given fields: environment
func (*Client) SetEnvironmentOffline ¶ added in v1.0.103
SetEnvironmentOffline provides a mock function with given fields: environmentName, offline
func (*Client) SetTerraHelmfileRefForEntireEnvironment ¶ added in v1.0.103
func (_m *Client) SetTerraHelmfileRefForEntireEnvironment(environment terra.Environment, terraHelmfileRef string) error
SetTerraHelmfileRefForEntireEnvironment provides a mock function with given fields: environment, terraHelmfileRef
func (*Client) UpdateChartReleaseStatuses ¶ added in v1.1.6
UpdateChartReleaseStatuses provides a mock function with given fields: chartReleaseStatuses
func (*Client) UpdateForNewChartVersion ¶ added in v1.0.103
func (_m *Client) 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
func (*Client) WriteClusters ¶ added in v1.0.103
WriteClusters provides a mock function with given fields: _a0
func (*Client) WriteEnvironments ¶ added in v1.0.103
func (_m *Client) WriteEnvironments(_a0 []terra.Environment) ([]string, error)
WriteEnvironments provides a mock function with given fields: _a0
type Client_Clusters_Call ¶ added in v1.0.103
Client_Clusters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Clusters'
func (*Client_Clusters_Call) Return ¶ added in v1.0.103
func (_c *Client_Clusters_Call) Return(_a0 sherlock.Clusters, _a1 error) *Client_Clusters_Call
func (*Client_Clusters_Call) Run ¶ added in v1.0.103
func (_c *Client_Clusters_Call) Run(run func()) *Client_Clusters_Call
func (*Client_Clusters_Call) RunAndReturn ¶ added in v1.0.103
func (_c *Client_Clusters_Call) RunAndReturn(run func() (sherlock.Clusters, error)) *Client_Clusters_Call
type Client_CreateEnvironmentFromTemplate_Call ¶ added in v1.0.103
Client_CreateEnvironmentFromTemplate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateEnvironmentFromTemplate'
func (*Client_CreateEnvironmentFromTemplate_Call) Return ¶ added in v1.0.103
func (_c *Client_CreateEnvironmentFromTemplate_Call) Return(_a0 string, _a1 error) *Client_CreateEnvironmentFromTemplate_Call
func (*Client_CreateEnvironmentFromTemplate_Call) Run ¶ added in v1.0.103
func (_c *Client_CreateEnvironmentFromTemplate_Call) Run(run func(templateName string, options terra.CreateOptions)) *Client_CreateEnvironmentFromTemplate_Call
func (*Client_CreateEnvironmentFromTemplate_Call) RunAndReturn ¶ added in v1.0.103
func (_c *Client_CreateEnvironmentFromTemplate_Call) RunAndReturn(run func(string, terra.CreateOptions) (string, error)) *Client_CreateEnvironmentFromTemplate_Call
type Client_DeleteEnvironments_Call ¶ added in v1.0.103
Client_DeleteEnvironments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteEnvironments'
func (*Client_DeleteEnvironments_Call) Return ¶ added in v1.0.103
func (_c *Client_DeleteEnvironments_Call) Return(_a0 []string, _a1 error) *Client_DeleteEnvironments_Call
func (*Client_DeleteEnvironments_Call) Run ¶ added in v1.0.103
func (_c *Client_DeleteEnvironments_Call) Run(run func(_a0 []terra.Environment)) *Client_DeleteEnvironments_Call
func (*Client_DeleteEnvironments_Call) RunAndReturn ¶ added in v1.0.103
func (_c *Client_DeleteEnvironments_Call) RunAndReturn(run func([]terra.Environment) ([]string, error)) *Client_DeleteEnvironments_Call
type Client_DisableRelease_Call ¶ added in v1.0.103
Client_DisableRelease_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DisableRelease'
func (*Client_DisableRelease_Call) Return ¶ added in v1.0.103
func (_c *Client_DisableRelease_Call) Return(_a0 error) *Client_DisableRelease_Call
func (*Client_DisableRelease_Call) Run ¶ added in v1.0.103
func (_c *Client_DisableRelease_Call) Run(run func(_a0 string, _a1 string)) *Client_DisableRelease_Call
func (*Client_DisableRelease_Call) RunAndReturn ¶ added in v1.0.103
func (_c *Client_DisableRelease_Call) RunAndReturn(run func(string, string) error) *Client_DisableRelease_Call
type Client_EnableRelease_Call ¶ added in v1.0.103
Client_EnableRelease_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnableRelease'
func (*Client_EnableRelease_Call) Return ¶ added in v1.0.103
func (_c *Client_EnableRelease_Call) Return(_a0 error) *Client_EnableRelease_Call
func (*Client_EnableRelease_Call) Run ¶ added in v1.0.103
func (_c *Client_EnableRelease_Call) Run(run func(_a0 terra.Environment, _a1 string)) *Client_EnableRelease_Call
func (*Client_EnableRelease_Call) RunAndReturn ¶ added in v1.0.103
func (_c *Client_EnableRelease_Call) RunAndReturn(run func(terra.Environment, string) error) *Client_EnableRelease_Call
type Client_Environments_Call ¶ added in v1.0.103
Client_Environments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Environments'
func (*Client_Environments_Call) Return ¶ added in v1.0.103
func (_c *Client_Environments_Call) Return(_a0 sherlock.Environments, _a1 error) *Client_Environments_Call
func (*Client_Environments_Call) Run ¶ added in v1.0.103
func (_c *Client_Environments_Call) Run(run func()) *Client_Environments_Call
func (*Client_Environments_Call) RunAndReturn ¶ added in v1.0.103
func (_c *Client_Environments_Call) RunAndReturn(run func() (sherlock.Environments, error)) *Client_Environments_Call
type Client_Expecter ¶ added in v1.0.103
type Client_Expecter struct {
// contains filtered or unexported fields
}
func (*Client_Expecter) Clusters ¶ added in v1.0.103
func (_e *Client_Expecter) Clusters() *Client_Clusters_Call
Clusters is a helper method to define mock.On call
func (*Client_Expecter) CreateEnvironmentFromTemplate ¶ added in v1.0.103
func (_e *Client_Expecter) CreateEnvironmentFromTemplate(templateName interface{}, options interface{}) *Client_CreateEnvironmentFromTemplate_Call
CreateEnvironmentFromTemplate is a helper method to define mock.On call
- templateName string
- options terra.CreateOptions
func (*Client_Expecter) DeleteEnvironments ¶ added in v1.0.103
func (_e *Client_Expecter) DeleteEnvironments(_a0 interface{}) *Client_DeleteEnvironments_Call
DeleteEnvironments is a helper method to define mock.On call
- _a0 []terra.Environment
func (*Client_Expecter) DisableRelease ¶ added in v1.0.103
func (_e *Client_Expecter) DisableRelease(_a0 interface{}, _a1 interface{}) *Client_DisableRelease_Call
DisableRelease is a helper method to define mock.On call
- _a0 string
- _a1 string
func (*Client_Expecter) EnableRelease ¶ added in v1.0.103
func (_e *Client_Expecter) EnableRelease(_a0 interface{}, _a1 interface{}) *Client_EnableRelease_Call
EnableRelease is a helper method to define mock.On call
- _a0 terra.Environment
- _a1 string
func (*Client_Expecter) Environments ¶ added in v1.0.103
func (_e *Client_Expecter) Environments() *Client_Environments_Call
Environments is a helper method to define mock.On call
func (*Client_Expecter) GetStatus ¶ added in v1.0.103
func (_e *Client_Expecter) GetStatus() *Client_GetStatus_Call
GetStatus is a helper method to define mock.On call
func (*Client_Expecter) PinEnvironmentVersions ¶ added in v1.0.103
func (_e *Client_Expecter) PinEnvironmentVersions(environmentName interface{}, versions interface{}) *Client_PinEnvironmentVersions_Call
PinEnvironmentVersions is a helper method to define mock.On call
- environmentName string
- versions map[string]terra.VersionOverride
func (*Client_Expecter) Releases ¶ added in v1.0.103
func (_e *Client_Expecter) Releases() *Client_Releases_Call
Releases is a helper method to define mock.On call
func (*Client_Expecter) ResetEnvironmentAndPinToDev ¶ added in v1.0.103
func (_e *Client_Expecter) ResetEnvironmentAndPinToDev(environment interface{}) *Client_ResetEnvironmentAndPinToDev_Call
ResetEnvironmentAndPinToDev is a helper method to define mock.On call
- environment terra.Environment
func (*Client_Expecter) SetEnvironmentOffline ¶ added in v1.0.103
func (_e *Client_Expecter) SetEnvironmentOffline(environmentName interface{}, offline interface{}) *Client_SetEnvironmentOffline_Call
SetEnvironmentOffline is a helper method to define mock.On call
- environmentName string
- offline bool
func (*Client_Expecter) SetTerraHelmfileRefForEntireEnvironment ¶ added in v1.0.103
func (_e *Client_Expecter) SetTerraHelmfileRefForEntireEnvironment(environment interface{}, terraHelmfileRef interface{}) *Client_SetTerraHelmfileRefForEntireEnvironment_Call
SetTerraHelmfileRefForEntireEnvironment is a helper method to define mock.On call
- environment terra.Environment
- terraHelmfileRef string
func (*Client_Expecter) UpdateChartReleaseStatuses ¶ added in v1.1.6
func (_e *Client_Expecter) UpdateChartReleaseStatuses(chartReleaseStatuses interface{}) *Client_UpdateChartReleaseStatuses_Call
UpdateChartReleaseStatuses is a helper method to define mock.On call
- chartReleaseStatuses map[string]string
func (*Client_Expecter) UpdateForNewChartVersion ¶ added in v1.0.103
func (_e *Client_Expecter) UpdateForNewChartVersion(chartSelector interface{}, newVersion interface{}, lastVersion interface{}, description interface{}, chartReleaseSelectors ...interface{}) *Client_UpdateForNewChartVersion_Call
UpdateForNewChartVersion is a helper method to define mock.On call
- chartSelector string
- newVersion string
- lastVersion string
- description string
- chartReleaseSelectors ...string
func (*Client_Expecter) WriteClusters ¶ added in v1.0.103
func (_e *Client_Expecter) WriteClusters(_a0 interface{}) *Client_WriteClusters_Call
WriteClusters is a helper method to define mock.On call
- _a0 []terra.Cluster
func (*Client_Expecter) WriteEnvironments ¶ added in v1.0.103
func (_e *Client_Expecter) WriteEnvironments(_a0 interface{}) *Client_WriteEnvironments_Call
WriteEnvironments is a helper method to define mock.On call
- _a0 []terra.Environment
type Client_GetStatus_Call ¶ added in v1.0.103
Client_GetStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStatus'
func (*Client_GetStatus_Call) Return ¶ added in v1.0.103
func (_c *Client_GetStatus_Call) Return(_a0 error) *Client_GetStatus_Call
func (*Client_GetStatus_Call) Run ¶ added in v1.0.103
func (_c *Client_GetStatus_Call) Run(run func()) *Client_GetStatus_Call
func (*Client_GetStatus_Call) RunAndReturn ¶ added in v1.0.103
func (_c *Client_GetStatus_Call) RunAndReturn(run func() error) *Client_GetStatus_Call
type Client_PinEnvironmentVersions_Call ¶ added in v1.0.103
Client_PinEnvironmentVersions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PinEnvironmentVersions'
func (*Client_PinEnvironmentVersions_Call) Return ¶ added in v1.0.103
func (_c *Client_PinEnvironmentVersions_Call) Return(_a0 error) *Client_PinEnvironmentVersions_Call
func (*Client_PinEnvironmentVersions_Call) Run ¶ added in v1.0.103
func (_c *Client_PinEnvironmentVersions_Call) Run(run func(environmentName string, versions map[string]terra.VersionOverride)) *Client_PinEnvironmentVersions_Call
func (*Client_PinEnvironmentVersions_Call) RunAndReturn ¶ added in v1.0.103
func (_c *Client_PinEnvironmentVersions_Call) RunAndReturn(run func(string, map[string]terra.VersionOverride) error) *Client_PinEnvironmentVersions_Call
type Client_Releases_Call ¶ added in v1.0.103
Client_Releases_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Releases'
func (*Client_Releases_Call) Return ¶ added in v1.0.103
func (_c *Client_Releases_Call) Return(_a0 sherlock.Releases, _a1 error) *Client_Releases_Call
func (*Client_Releases_Call) Run ¶ added in v1.0.103
func (_c *Client_Releases_Call) Run(run func()) *Client_Releases_Call
func (*Client_Releases_Call) RunAndReturn ¶ added in v1.0.103
func (_c *Client_Releases_Call) RunAndReturn(run func() (sherlock.Releases, error)) *Client_Releases_Call
type Client_ResetEnvironmentAndPinToDev_Call ¶ added in v1.0.103
Client_ResetEnvironmentAndPinToDev_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResetEnvironmentAndPinToDev'
func (*Client_ResetEnvironmentAndPinToDev_Call) Return ¶ added in v1.0.103
func (_c *Client_ResetEnvironmentAndPinToDev_Call) Return(_a0 error) *Client_ResetEnvironmentAndPinToDev_Call
func (*Client_ResetEnvironmentAndPinToDev_Call) Run ¶ added in v1.0.103
func (_c *Client_ResetEnvironmentAndPinToDev_Call) Run(run func(environment terra.Environment)) *Client_ResetEnvironmentAndPinToDev_Call
func (*Client_ResetEnvironmentAndPinToDev_Call) RunAndReturn ¶ added in v1.0.103
func (_c *Client_ResetEnvironmentAndPinToDev_Call) RunAndReturn(run func(terra.Environment) error) *Client_ResetEnvironmentAndPinToDev_Call
type Client_SetEnvironmentOffline_Call ¶ added in v1.0.103
Client_SetEnvironmentOffline_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetEnvironmentOffline'
func (*Client_SetEnvironmentOffline_Call) Return ¶ added in v1.0.103
func (_c *Client_SetEnvironmentOffline_Call) Return(_a0 error) *Client_SetEnvironmentOffline_Call
func (*Client_SetEnvironmentOffline_Call) Run ¶ added in v1.0.103
func (_c *Client_SetEnvironmentOffline_Call) Run(run func(environmentName string, offline bool)) *Client_SetEnvironmentOffline_Call
func (*Client_SetEnvironmentOffline_Call) RunAndReturn ¶ added in v1.0.103
func (_c *Client_SetEnvironmentOffline_Call) RunAndReturn(run func(string, bool) error) *Client_SetEnvironmentOffline_Call
type Client_SetTerraHelmfileRefForEntireEnvironment_Call ¶ added in v1.0.103
Client_SetTerraHelmfileRefForEntireEnvironment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTerraHelmfileRefForEntireEnvironment'
func (*Client_SetTerraHelmfileRefForEntireEnvironment_Call) Run ¶ added in v1.0.103
func (_c *Client_SetTerraHelmfileRefForEntireEnvironment_Call) Run(run func(environment terra.Environment, terraHelmfileRef string)) *Client_SetTerraHelmfileRefForEntireEnvironment_Call
func (*Client_SetTerraHelmfileRefForEntireEnvironment_Call) RunAndReturn ¶ added in v1.0.103
func (_c *Client_SetTerraHelmfileRefForEntireEnvironment_Call) RunAndReturn(run func(terra.Environment, string) error) *Client_SetTerraHelmfileRefForEntireEnvironment_Call
type Client_UpdateChartReleaseStatuses_Call ¶ added in v1.1.6
Client_UpdateChartReleaseStatuses_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateChartReleaseStatuses'
func (*Client_UpdateChartReleaseStatuses_Call) Return ¶ added in v1.1.6
func (_c *Client_UpdateChartReleaseStatuses_Call) Return(_a0 error) *Client_UpdateChartReleaseStatuses_Call
func (*Client_UpdateChartReleaseStatuses_Call) Run ¶ added in v1.1.6
func (_c *Client_UpdateChartReleaseStatuses_Call) Run(run func(chartReleaseStatuses map[string]string)) *Client_UpdateChartReleaseStatuses_Call
func (*Client_UpdateChartReleaseStatuses_Call) RunAndReturn ¶ added in v1.1.6
func (_c *Client_UpdateChartReleaseStatuses_Call) RunAndReturn(run func(map[string]string) error) *Client_UpdateChartReleaseStatuses_Call
type Client_UpdateForNewChartVersion_Call ¶ added in v1.0.103
Client_UpdateForNewChartVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateForNewChartVersion'
func (*Client_UpdateForNewChartVersion_Call) Return ¶ added in v1.0.103
func (_c *Client_UpdateForNewChartVersion_Call) Return(_a0 error) *Client_UpdateForNewChartVersion_Call
func (*Client_UpdateForNewChartVersion_Call) Run ¶ added in v1.0.103
func (_c *Client_UpdateForNewChartVersion_Call) Run(run func(chartSelector string, newVersion string, lastVersion string, description string, chartReleaseSelectors ...string)) *Client_UpdateForNewChartVersion_Call
func (*Client_UpdateForNewChartVersion_Call) RunAndReturn ¶ added in v1.0.103
func (_c *Client_UpdateForNewChartVersion_Call) RunAndReturn(run func(string, string, string, string, ...string) error) *Client_UpdateForNewChartVersion_Call
type Client_WriteClusters_Call ¶ added in v1.0.103
Client_WriteClusters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteClusters'
func (*Client_WriteClusters_Call) Return ¶ added in v1.0.103
func (_c *Client_WriteClusters_Call) Return(_a0 error) *Client_WriteClusters_Call
func (*Client_WriteClusters_Call) Run ¶ added in v1.0.103
func (_c *Client_WriteClusters_Call) Run(run func(_a0 []terra.Cluster)) *Client_WriteClusters_Call
func (*Client_WriteClusters_Call) RunAndReturn ¶ added in v1.0.103
func (_c *Client_WriteClusters_Call) RunAndReturn(run func([]terra.Cluster) error) *Client_WriteClusters_Call
type Client_WriteEnvironments_Call ¶ added in v1.0.103
Client_WriteEnvironments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteEnvironments'
func (*Client_WriteEnvironments_Call) Return ¶ added in v1.0.103
func (_c *Client_WriteEnvironments_Call) Return(_a0 []string, _a1 error) *Client_WriteEnvironments_Call
func (*Client_WriteEnvironments_Call) Run ¶ added in v1.0.103
func (_c *Client_WriteEnvironments_Call) Run(run func(_a0 []terra.Environment)) *Client_WriteEnvironments_Call
func (*Client_WriteEnvironments_Call) RunAndReturn ¶ added in v1.0.103
func (_c *Client_WriteEnvironments_Call) RunAndReturn(run func([]terra.Environment) ([]string, error)) *Client_WriteEnvironments_Call