Documentation ¶
Index ¶
- type ChartVersionUpdater
- type StateReadWriter
- func (_m *StateReadWriter) Clusters() (sherlock.Clusters, error)
- func (_m *StateReadWriter) CreateEnvironmentFromTemplate(templateName string, desiredNamePrefix string, desiredName string, ...) (string, error)
- func (_m *StateReadWriter) DeleteEnvironments(_a0 []terra.Environment) ([]string, error)
- func (_m *StateReadWriter) DisableRelease(_a0 string, _a1 string) error
- 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)
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) 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 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, desiredNamePrefix string, desiredName string, desiredOwnerEmail string) (string, error)
CreateEnvironmentFromTemplate provides a mock function with given fields: templateName, desiredNamePrefix, desiredName, desiredOwnerEmail
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) 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