mocks

package
v0.0.66 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2022 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StateReadWriter

type StateReadWriter struct {
	mock.Mock
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL