Documentation ¶
Index ¶
- type StateReadWriter
- func (_m *StateReadWriter) ClusterReleases(clusterName string) (sherlock.Releases, error)
- 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) EnvironmentReleases(environmentName string) (sherlock.Releases, error)
- func (_m *StateReadWriter) Environments() (sherlock.Environments, error)
- func (_m *StateReadWriter) PinEnvironmentVersions(environmentName string, versions map[string]terra.VersionOverride) 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 StateReadWriter ¶
StateReadWriter is an autogenerated mock type for the StateReadWriter type
func NewStateReadWriter ¶
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) ClusterReleases ¶
func (_m *StateReadWriter) ClusterReleases(clusterName string) (sherlock.Releases, error)
ClusterReleases provides a mock function with given fields: clusterName
func (*StateReadWriter) Clusters ¶
func (_m *StateReadWriter) Clusters() (sherlock.Clusters, error)
Clusters provides a mock function with given fields:
func (*StateReadWriter) CreateEnvironmentFromTemplate ¶ added in v0.0.71
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 ¶
func (_m *StateReadWriter) DeleteEnvironments(_a0 []terra.Environment) ([]string, error)
DeleteEnvironments provides a mock function with given fields: _a0
func (*StateReadWriter) DisableRelease ¶
func (_m *StateReadWriter) DisableRelease(_a0 string, _a1 string) error
DisableRelease provides a mock function with given fields: _a0, _a1
func (*StateReadWriter) EnableRelease ¶
func (_m *StateReadWriter) EnableRelease(_a0 terra.Environment, _a1 string) error
EnableRelease provides a mock function with given fields: _a0, _a1
func (*StateReadWriter) EnvironmentReleases ¶
func (_m *StateReadWriter) EnvironmentReleases(environmentName string) (sherlock.Releases, error)
EnvironmentReleases provides a mock function with given fields: environmentName
func (*StateReadWriter) Environments ¶
func (_m *StateReadWriter) Environments() (sherlock.Environments, error)
Environments provides a mock function with given fields:
func (*StateReadWriter) PinEnvironmentVersions ¶ added in v0.0.71
func (_m *StateReadWriter) PinEnvironmentVersions(environmentName string, versions map[string]terra.VersionOverride) error
PinEnvironmentVersions provides a mock function with given fields: environmentName, versions
func (*StateReadWriter) ResetEnvironmentAndPinToDev ¶ added in v0.0.71
func (_m *StateReadWriter) ResetEnvironmentAndPinToDev(environment terra.Environment) error
ResetEnvironmentAndPinToDev provides a mock function with given fields: environment
func (*StateReadWriter) SetTerraHelmfileRefForEntireEnvironment ¶ added in v0.0.71
func (_m *StateReadWriter) SetTerraHelmfileRefForEntireEnvironment(environment terra.Environment, terraHelmfileRef string) error
SetTerraHelmfileRefForEntireEnvironment provides a mock function with given fields: environment, terraHelmfileRef
func (*StateReadWriter) WriteClusters ¶
func (_m *StateReadWriter) WriteClusters(_a0 []terra.Cluster) error
WriteClusters provides a mock function with given fields: _a0
func (*StateReadWriter) WriteEnvironments ¶
func (_m *StateReadWriter) WriteEnvironments(_a0 []terra.Environment) ([]string, error)
WriteEnvironments provides a mock function with given fields: _a0