mocks

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 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 ChartVersionUpdater added in v0.0.74

type ChartVersionUpdater struct {
	mock.Mock
}

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

type StateReadWriter struct {
	mock.Mock
}

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

Jump to

Keyboard shortcuts

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