Documentation ¶
Index ¶
- type StateReadWriter
- func (_m *StateReadWriter) ClusterReleases(clusterName string) (sherlock.Releases, error)
- func (_m *StateReadWriter) Clusters() (sherlock.Clusters, 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) 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) 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) 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