mocks

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 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 interface {
	mock.TestingT
	Cleanup(func())
}) *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. The first argument is typically a *testing.T value.

func (*ChartVersionUpdater) EXPECT added in v1.0.8

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 ChartVersionUpdater_Expecter added in v1.0.8

type ChartVersionUpdater_Expecter struct {
	// contains filtered or unexported fields
}

func (*ChartVersionUpdater_Expecter) UpdateForNewChartVersion added in v1.0.8

func (_e *ChartVersionUpdater_Expecter) UpdateForNewChartVersion(chartSelector interface{}, newVersion interface{}, lastVersion interface{}, description interface{}, chartReleaseSelectors ...interface{}) *ChartVersionUpdater_UpdateForNewChartVersion_Call

UpdateForNewChartVersion is a helper method to define mock.On call

  • chartSelector string
  • newVersion string
  • lastVersion string
  • description string
  • chartReleaseSelectors ...string

type ChartVersionUpdater_UpdateForNewChartVersion_Call added in v1.0.8

type ChartVersionUpdater_UpdateForNewChartVersion_Call struct {
	*mock.Call
}

ChartVersionUpdater_UpdateForNewChartVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateForNewChartVersion'

func (*ChartVersionUpdater_UpdateForNewChartVersion_Call) Return added in v1.0.8

func (*ChartVersionUpdater_UpdateForNewChartVersion_Call) Run added in v1.0.8

func (_c *ChartVersionUpdater_UpdateForNewChartVersion_Call) Run(run func(chartSelector string, newVersion string, lastVersion string, description string, chartReleaseSelectors ...string)) *ChartVersionUpdater_UpdateForNewChartVersion_Call

func (*ChartVersionUpdater_UpdateForNewChartVersion_Call) RunAndReturn added in v1.0.73

type Client added in v1.0.103

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func NewClient added in v1.0.103

func NewClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *Client

NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Client) Clusters added in v1.0.103

func (_m *Client) Clusters() (sherlock.Clusters, error)

Clusters provides a mock function with given fields:

func (*Client) CreateEnvironmentFromTemplate added in v1.0.103

func (_m *Client) CreateEnvironmentFromTemplate(templateName string, options terra.CreateOptions) (string, error)

CreateEnvironmentFromTemplate provides a mock function with given fields: templateName, options

func (*Client) DeleteEnvironments added in v1.0.103

func (_m *Client) DeleteEnvironments(_a0 []terra.Environment) ([]string, error)

DeleteEnvironments provides a mock function with given fields: _a0

func (*Client) DisableRelease added in v1.0.103

func (_m *Client) DisableRelease(_a0 string, _a1 string) error

DisableRelease provides a mock function with given fields: _a0, _a1

func (*Client) EXPECT added in v1.0.103

func (_m *Client) EXPECT() *Client_Expecter

func (*Client) EnableRelease added in v1.0.103

func (_m *Client) EnableRelease(_a0 terra.Environment, _a1 string) error

EnableRelease provides a mock function with given fields: _a0, _a1

func (*Client) Environments added in v1.0.103

func (_m *Client) Environments() (sherlock.Environments, error)

Environments provides a mock function with given fields:

func (*Client) GetStatus added in v1.0.103

func (_m *Client) GetStatus() error

GetStatus provides a mock function with given fields:

func (*Client) PinEnvironmentVersions added in v1.0.103

func (_m *Client) PinEnvironmentVersions(environmentName string, versions map[string]terra.VersionOverride) error

PinEnvironmentVersions provides a mock function with given fields: environmentName, versions

func (*Client) Releases added in v1.0.103

func (_m *Client) Releases() (sherlock.Releases, error)

Releases provides a mock function with given fields:

func (*Client) ResetEnvironmentAndPinToDev added in v1.0.103

func (_m *Client) ResetEnvironmentAndPinToDev(environment terra.Environment) error

ResetEnvironmentAndPinToDev provides a mock function with given fields: environment

func (*Client) SetEnvironmentOffline added in v1.0.103

func (_m *Client) SetEnvironmentOffline(environmentName string, offline bool) error

SetEnvironmentOffline provides a mock function with given fields: environmentName, offline

func (*Client) SetTerraHelmfileRefForEntireEnvironment added in v1.0.103

func (_m *Client) SetTerraHelmfileRefForEntireEnvironment(environment terra.Environment, terraHelmfileRef string) error

SetTerraHelmfileRefForEntireEnvironment provides a mock function with given fields: environment, terraHelmfileRef

func (*Client) UpdateForNewChartVersion added in v1.0.103

func (_m *Client) 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

func (*Client) WriteClusters added in v1.0.103

func (_m *Client) WriteClusters(_a0 []terra.Cluster) error

WriteClusters provides a mock function with given fields: _a0

func (*Client) WriteEnvironments added in v1.0.103

func (_m *Client) WriteEnvironments(_a0 []terra.Environment) ([]string, error)

WriteEnvironments provides a mock function with given fields: _a0

type Client_Clusters_Call added in v1.0.103

type Client_Clusters_Call struct {
	*mock.Call
}

Client_Clusters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Clusters'

func (*Client_Clusters_Call) Return added in v1.0.103

func (*Client_Clusters_Call) Run added in v1.0.103

func (_c *Client_Clusters_Call) Run(run func()) *Client_Clusters_Call

func (*Client_Clusters_Call) RunAndReturn added in v1.0.103

func (_c *Client_Clusters_Call) RunAndReturn(run func() (sherlock.Clusters, error)) *Client_Clusters_Call

type Client_CreateEnvironmentFromTemplate_Call added in v1.0.103

type Client_CreateEnvironmentFromTemplate_Call struct {
	*mock.Call
}

Client_CreateEnvironmentFromTemplate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateEnvironmentFromTemplate'

func (*Client_CreateEnvironmentFromTemplate_Call) Return added in v1.0.103

func (*Client_CreateEnvironmentFromTemplate_Call) Run added in v1.0.103

func (*Client_CreateEnvironmentFromTemplate_Call) RunAndReturn added in v1.0.103

type Client_DeleteEnvironments_Call added in v1.0.103

type Client_DeleteEnvironments_Call struct {
	*mock.Call
}

Client_DeleteEnvironments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteEnvironments'

func (*Client_DeleteEnvironments_Call) Return added in v1.0.103

func (*Client_DeleteEnvironments_Call) Run added in v1.0.103

func (*Client_DeleteEnvironments_Call) RunAndReturn added in v1.0.103

type Client_DisableRelease_Call added in v1.0.103

type Client_DisableRelease_Call struct {
	*mock.Call
}

Client_DisableRelease_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DisableRelease'

func (*Client_DisableRelease_Call) Return added in v1.0.103

func (*Client_DisableRelease_Call) Run added in v1.0.103

func (*Client_DisableRelease_Call) RunAndReturn added in v1.0.103

type Client_EnableRelease_Call added in v1.0.103

type Client_EnableRelease_Call struct {
	*mock.Call
}

Client_EnableRelease_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnableRelease'

func (*Client_EnableRelease_Call) Return added in v1.0.103

func (*Client_EnableRelease_Call) Run added in v1.0.103

func (*Client_EnableRelease_Call) RunAndReturn added in v1.0.103

type Client_Environments_Call added in v1.0.103

type Client_Environments_Call struct {
	*mock.Call
}

Client_Environments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Environments'

func (*Client_Environments_Call) Return added in v1.0.103

func (*Client_Environments_Call) Run added in v1.0.103

func (*Client_Environments_Call) RunAndReturn added in v1.0.103

type Client_Expecter added in v1.0.103

type Client_Expecter struct {
	// contains filtered or unexported fields
}

func (*Client_Expecter) Clusters added in v1.0.103

func (_e *Client_Expecter) Clusters() *Client_Clusters_Call

Clusters is a helper method to define mock.On call

func (*Client_Expecter) CreateEnvironmentFromTemplate added in v1.0.103

func (_e *Client_Expecter) CreateEnvironmentFromTemplate(templateName interface{}, options interface{}) *Client_CreateEnvironmentFromTemplate_Call

CreateEnvironmentFromTemplate is a helper method to define mock.On call

  • templateName string
  • options terra.CreateOptions

func (*Client_Expecter) DeleteEnvironments added in v1.0.103

func (_e *Client_Expecter) DeleteEnvironments(_a0 interface{}) *Client_DeleteEnvironments_Call

DeleteEnvironments is a helper method to define mock.On call

  • _a0 []terra.Environment

func (*Client_Expecter) DisableRelease added in v1.0.103

func (_e *Client_Expecter) DisableRelease(_a0 interface{}, _a1 interface{}) *Client_DisableRelease_Call

DisableRelease is a helper method to define mock.On call

  • _a0 string
  • _a1 string

func (*Client_Expecter) EnableRelease added in v1.0.103

func (_e *Client_Expecter) EnableRelease(_a0 interface{}, _a1 interface{}) *Client_EnableRelease_Call

EnableRelease is a helper method to define mock.On call

  • _a0 terra.Environment
  • _a1 string

func (*Client_Expecter) Environments added in v1.0.103

func (_e *Client_Expecter) Environments() *Client_Environments_Call

Environments is a helper method to define mock.On call

func (*Client_Expecter) GetStatus added in v1.0.103

func (_e *Client_Expecter) GetStatus() *Client_GetStatus_Call

GetStatus is a helper method to define mock.On call

func (*Client_Expecter) PinEnvironmentVersions added in v1.0.103

func (_e *Client_Expecter) PinEnvironmentVersions(environmentName interface{}, versions interface{}) *Client_PinEnvironmentVersions_Call

PinEnvironmentVersions is a helper method to define mock.On call

  • environmentName string
  • versions map[string]terra.VersionOverride

func (*Client_Expecter) Releases added in v1.0.103

func (_e *Client_Expecter) Releases() *Client_Releases_Call

Releases is a helper method to define mock.On call

func (*Client_Expecter) ResetEnvironmentAndPinToDev added in v1.0.103

func (_e *Client_Expecter) ResetEnvironmentAndPinToDev(environment interface{}) *Client_ResetEnvironmentAndPinToDev_Call

ResetEnvironmentAndPinToDev is a helper method to define mock.On call

  • environment terra.Environment

func (*Client_Expecter) SetEnvironmentOffline added in v1.0.103

func (_e *Client_Expecter) SetEnvironmentOffline(environmentName interface{}, offline interface{}) *Client_SetEnvironmentOffline_Call

SetEnvironmentOffline is a helper method to define mock.On call

  • environmentName string
  • offline bool

func (*Client_Expecter) SetTerraHelmfileRefForEntireEnvironment added in v1.0.103

func (_e *Client_Expecter) SetTerraHelmfileRefForEntireEnvironment(environment interface{}, terraHelmfileRef interface{}) *Client_SetTerraHelmfileRefForEntireEnvironment_Call

SetTerraHelmfileRefForEntireEnvironment is a helper method to define mock.On call

  • environment terra.Environment
  • terraHelmfileRef string

func (*Client_Expecter) UpdateForNewChartVersion added in v1.0.103

func (_e *Client_Expecter) UpdateForNewChartVersion(chartSelector interface{}, newVersion interface{}, lastVersion interface{}, description interface{}, chartReleaseSelectors ...interface{}) *Client_UpdateForNewChartVersion_Call

UpdateForNewChartVersion is a helper method to define mock.On call

  • chartSelector string
  • newVersion string
  • lastVersion string
  • description string
  • chartReleaseSelectors ...string

func (*Client_Expecter) WriteClusters added in v1.0.103

func (_e *Client_Expecter) WriteClusters(_a0 interface{}) *Client_WriteClusters_Call

WriteClusters is a helper method to define mock.On call

  • _a0 []terra.Cluster

func (*Client_Expecter) WriteEnvironments added in v1.0.103

func (_e *Client_Expecter) WriteEnvironments(_a0 interface{}) *Client_WriteEnvironments_Call

WriteEnvironments is a helper method to define mock.On call

  • _a0 []terra.Environment

type Client_GetStatus_Call added in v1.0.103

type Client_GetStatus_Call struct {
	*mock.Call
}

Client_GetStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStatus'

func (*Client_GetStatus_Call) Return added in v1.0.103

func (*Client_GetStatus_Call) Run added in v1.0.103

func (_c *Client_GetStatus_Call) Run(run func()) *Client_GetStatus_Call

func (*Client_GetStatus_Call) RunAndReturn added in v1.0.103

func (_c *Client_GetStatus_Call) RunAndReturn(run func() error) *Client_GetStatus_Call

type Client_PinEnvironmentVersions_Call added in v1.0.103

type Client_PinEnvironmentVersions_Call struct {
	*mock.Call
}

Client_PinEnvironmentVersions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PinEnvironmentVersions'

func (*Client_PinEnvironmentVersions_Call) Return added in v1.0.103

func (*Client_PinEnvironmentVersions_Call) Run added in v1.0.103

func (*Client_PinEnvironmentVersions_Call) RunAndReturn added in v1.0.103

type Client_Releases_Call added in v1.0.103

type Client_Releases_Call struct {
	*mock.Call
}

Client_Releases_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Releases'

func (*Client_Releases_Call) Return added in v1.0.103

func (*Client_Releases_Call) Run added in v1.0.103

func (_c *Client_Releases_Call) Run(run func()) *Client_Releases_Call

func (*Client_Releases_Call) RunAndReturn added in v1.0.103

func (_c *Client_Releases_Call) RunAndReturn(run func() (sherlock.Releases, error)) *Client_Releases_Call

type Client_ResetEnvironmentAndPinToDev_Call added in v1.0.103

type Client_ResetEnvironmentAndPinToDev_Call struct {
	*mock.Call
}

Client_ResetEnvironmentAndPinToDev_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResetEnvironmentAndPinToDev'

func (*Client_ResetEnvironmentAndPinToDev_Call) Return added in v1.0.103

func (*Client_ResetEnvironmentAndPinToDev_Call) Run added in v1.0.103

func (*Client_ResetEnvironmentAndPinToDev_Call) RunAndReturn added in v1.0.103

type Client_SetEnvironmentOffline_Call added in v1.0.103

type Client_SetEnvironmentOffline_Call struct {
	*mock.Call
}

Client_SetEnvironmentOffline_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetEnvironmentOffline'

func (*Client_SetEnvironmentOffline_Call) Return added in v1.0.103

func (*Client_SetEnvironmentOffline_Call) Run added in v1.0.103

func (_c *Client_SetEnvironmentOffline_Call) Run(run func(environmentName string, offline bool)) *Client_SetEnvironmentOffline_Call

func (*Client_SetEnvironmentOffline_Call) RunAndReturn added in v1.0.103

type Client_SetTerraHelmfileRefForEntireEnvironment_Call added in v1.0.103

type Client_SetTerraHelmfileRefForEntireEnvironment_Call struct {
	*mock.Call
}

Client_SetTerraHelmfileRefForEntireEnvironment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTerraHelmfileRefForEntireEnvironment'

func (*Client_SetTerraHelmfileRefForEntireEnvironment_Call) Return added in v1.0.103

func (*Client_SetTerraHelmfileRefForEntireEnvironment_Call) Run added in v1.0.103

func (*Client_SetTerraHelmfileRefForEntireEnvironment_Call) RunAndReturn added in v1.0.103

type Client_UpdateForNewChartVersion_Call added in v1.0.103

type Client_UpdateForNewChartVersion_Call struct {
	*mock.Call
}

Client_UpdateForNewChartVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateForNewChartVersion'

func (*Client_UpdateForNewChartVersion_Call) Return added in v1.0.103

func (*Client_UpdateForNewChartVersion_Call) Run added in v1.0.103

func (_c *Client_UpdateForNewChartVersion_Call) Run(run func(chartSelector string, newVersion string, lastVersion string, description string, chartReleaseSelectors ...string)) *Client_UpdateForNewChartVersion_Call

func (*Client_UpdateForNewChartVersion_Call) RunAndReturn added in v1.0.103

type Client_WriteClusters_Call added in v1.0.103

type Client_WriteClusters_Call struct {
	*mock.Call
}

Client_WriteClusters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteClusters'

func (*Client_WriteClusters_Call) Return added in v1.0.103

func (*Client_WriteClusters_Call) Run added in v1.0.103

func (*Client_WriteClusters_Call) RunAndReturn added in v1.0.103

type Client_WriteEnvironments_Call added in v1.0.103

type Client_WriteEnvironments_Call struct {
	*mock.Call
}

Client_WriteEnvironments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteEnvironments'

func (*Client_WriteEnvironments_Call) Return added in v1.0.103

func (*Client_WriteEnvironments_Call) Run added in v1.0.103

func (*Client_WriteEnvironments_Call) RunAndReturn added in v1.0.103

type SherlockClient added in v1.0.103

type SherlockClient struct {
	mock.Mock
}

SherlockClient is an autogenerated mock type for the SherlockClient type

func NewSherlockClient added in v1.0.103

func NewSherlockClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *SherlockClient

NewSherlockClient creates a new instance of SherlockClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SherlockClient) Clusters added in v1.0.103

func (_m *SherlockClient) Clusters() (sherlock.Clusters, error)

Clusters provides a mock function with given fields:

func (*SherlockClient) CreateEnvironmentFromTemplate added in v1.0.103

func (_m *SherlockClient) CreateEnvironmentFromTemplate(templateName string, options terra.CreateOptions) (string, error)

CreateEnvironmentFromTemplate provides a mock function with given fields: templateName, options

func (*SherlockClient) DeleteEnvironments added in v1.0.103

func (_m *SherlockClient) DeleteEnvironments(_a0 []terra.Environment) ([]string, error)

DeleteEnvironments provides a mock function with given fields: _a0

func (*SherlockClient) DisableRelease added in v1.0.103

func (_m *SherlockClient) DisableRelease(_a0 string, _a1 string) error

DisableRelease provides a mock function with given fields: _a0, _a1

func (*SherlockClient) EXPECT added in v1.0.103

func (*SherlockClient) EnableRelease added in v1.0.103

func (_m *SherlockClient) EnableRelease(_a0 terra.Environment, _a1 string) error

EnableRelease provides a mock function with given fields: _a0, _a1

func (*SherlockClient) Environments added in v1.0.103

func (_m *SherlockClient) Environments() (sherlock.Environments, error)

Environments provides a mock function with given fields:

func (*SherlockClient) PinEnvironmentVersions added in v1.0.103

func (_m *SherlockClient) PinEnvironmentVersions(environmentName string, versions map[string]terra.VersionOverride) error

PinEnvironmentVersions provides a mock function with given fields: environmentName, versions

func (*SherlockClient) Releases added in v1.0.103

func (_m *SherlockClient) Releases() (sherlock.Releases, error)

Releases provides a mock function with given fields:

func (*SherlockClient) ResetEnvironmentAndPinToDev added in v1.0.103

func (_m *SherlockClient) ResetEnvironmentAndPinToDev(environment terra.Environment) error

ResetEnvironmentAndPinToDev provides a mock function with given fields: environment

func (*SherlockClient) SetEnvironmentOffline added in v1.0.103

func (_m *SherlockClient) SetEnvironmentOffline(environmentName string, offline bool) error

SetEnvironmentOffline provides a mock function with given fields: environmentName, offline

func (*SherlockClient) SetTerraHelmfileRefForEntireEnvironment added in v1.0.103

func (_m *SherlockClient) SetTerraHelmfileRefForEntireEnvironment(environment terra.Environment, terraHelmfileRef string) error

SetTerraHelmfileRefForEntireEnvironment provides a mock function with given fields: environment, terraHelmfileRef

func (*SherlockClient) UpdateForNewChartVersion added in v1.0.103

func (_m *SherlockClient) 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

func (*SherlockClient) WriteClusters added in v1.0.103

func (_m *SherlockClient) WriteClusters(_a0 []terra.Cluster) error

WriteClusters provides a mock function with given fields: _a0

func (*SherlockClient) WriteEnvironments added in v1.0.103

func (_m *SherlockClient) WriteEnvironments(_a0 []terra.Environment) ([]string, error)

WriteEnvironments provides a mock function with given fields: _a0

type SherlockClient_Clusters_Call added in v1.0.103

type SherlockClient_Clusters_Call struct {
	*mock.Call
}

SherlockClient_Clusters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Clusters'

func (*SherlockClient_Clusters_Call) Return added in v1.0.103

func (*SherlockClient_Clusters_Call) Run added in v1.0.103

func (*SherlockClient_Clusters_Call) RunAndReturn added in v1.0.103

type SherlockClient_CreateEnvironmentFromTemplate_Call added in v1.0.103

type SherlockClient_CreateEnvironmentFromTemplate_Call struct {
	*mock.Call
}

SherlockClient_CreateEnvironmentFromTemplate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateEnvironmentFromTemplate'

func (*SherlockClient_CreateEnvironmentFromTemplate_Call) Return added in v1.0.103

func (*SherlockClient_CreateEnvironmentFromTemplate_Call) Run added in v1.0.103

func (*SherlockClient_CreateEnvironmentFromTemplate_Call) RunAndReturn added in v1.0.103

type SherlockClient_DeleteEnvironments_Call added in v1.0.103

type SherlockClient_DeleteEnvironments_Call struct {
	*mock.Call
}

SherlockClient_DeleteEnvironments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteEnvironments'

func (*SherlockClient_DeleteEnvironments_Call) Return added in v1.0.103

func (*SherlockClient_DeleteEnvironments_Call) Run added in v1.0.103

func (*SherlockClient_DeleteEnvironments_Call) RunAndReturn added in v1.0.103

type SherlockClient_DisableRelease_Call added in v1.0.103

type SherlockClient_DisableRelease_Call struct {
	*mock.Call
}

SherlockClient_DisableRelease_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DisableRelease'

func (*SherlockClient_DisableRelease_Call) Return added in v1.0.103

func (*SherlockClient_DisableRelease_Call) Run added in v1.0.103

func (*SherlockClient_DisableRelease_Call) RunAndReturn added in v1.0.103

type SherlockClient_EnableRelease_Call added in v1.0.103

type SherlockClient_EnableRelease_Call struct {
	*mock.Call
}

SherlockClient_EnableRelease_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnableRelease'

func (*SherlockClient_EnableRelease_Call) Return added in v1.0.103

func (*SherlockClient_EnableRelease_Call) Run added in v1.0.103

func (*SherlockClient_EnableRelease_Call) RunAndReturn added in v1.0.103

type SherlockClient_Environments_Call added in v1.0.103

type SherlockClient_Environments_Call struct {
	*mock.Call
}

SherlockClient_Environments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Environments'

func (*SherlockClient_Environments_Call) Return added in v1.0.103

func (*SherlockClient_Environments_Call) Run added in v1.0.103

func (*SherlockClient_Environments_Call) RunAndReturn added in v1.0.103

type SherlockClient_Expecter added in v1.0.103

type SherlockClient_Expecter struct {
	// contains filtered or unexported fields
}

func (*SherlockClient_Expecter) Clusters added in v1.0.103

Clusters is a helper method to define mock.On call

func (*SherlockClient_Expecter) CreateEnvironmentFromTemplate added in v1.0.103

func (_e *SherlockClient_Expecter) CreateEnvironmentFromTemplate(templateName interface{}, options interface{}) *SherlockClient_CreateEnvironmentFromTemplate_Call

CreateEnvironmentFromTemplate is a helper method to define mock.On call

  • templateName string
  • options terra.CreateOptions

func (*SherlockClient_Expecter) DeleteEnvironments added in v1.0.103

func (_e *SherlockClient_Expecter) DeleteEnvironments(_a0 interface{}) *SherlockClient_DeleteEnvironments_Call

DeleteEnvironments is a helper method to define mock.On call

  • _a0 []terra.Environment

func (*SherlockClient_Expecter) DisableRelease added in v1.0.103

func (_e *SherlockClient_Expecter) DisableRelease(_a0 interface{}, _a1 interface{}) *SherlockClient_DisableRelease_Call

DisableRelease is a helper method to define mock.On call

  • _a0 string
  • _a1 string

func (*SherlockClient_Expecter) EnableRelease added in v1.0.103

func (_e *SherlockClient_Expecter) EnableRelease(_a0 interface{}, _a1 interface{}) *SherlockClient_EnableRelease_Call

EnableRelease is a helper method to define mock.On call

  • _a0 terra.Environment
  • _a1 string

func (*SherlockClient_Expecter) Environments added in v1.0.103

Environments is a helper method to define mock.On call

func (*SherlockClient_Expecter) PinEnvironmentVersions added in v1.0.103

func (_e *SherlockClient_Expecter) PinEnvironmentVersions(environmentName interface{}, versions interface{}) *SherlockClient_PinEnvironmentVersions_Call

PinEnvironmentVersions is a helper method to define mock.On call

  • environmentName string
  • versions map[string]terra.VersionOverride

func (*SherlockClient_Expecter) Releases added in v1.0.103

Releases is a helper method to define mock.On call

func (*SherlockClient_Expecter) ResetEnvironmentAndPinToDev added in v1.0.103

func (_e *SherlockClient_Expecter) ResetEnvironmentAndPinToDev(environment interface{}) *SherlockClient_ResetEnvironmentAndPinToDev_Call

ResetEnvironmentAndPinToDev is a helper method to define mock.On call

  • environment terra.Environment

func (*SherlockClient_Expecter) SetEnvironmentOffline added in v1.0.103

func (_e *SherlockClient_Expecter) SetEnvironmentOffline(environmentName interface{}, offline interface{}) *SherlockClient_SetEnvironmentOffline_Call

SetEnvironmentOffline is a helper method to define mock.On call

  • environmentName string
  • offline bool

func (*SherlockClient_Expecter) SetTerraHelmfileRefForEntireEnvironment added in v1.0.103

func (_e *SherlockClient_Expecter) SetTerraHelmfileRefForEntireEnvironment(environment interface{}, terraHelmfileRef interface{}) *SherlockClient_SetTerraHelmfileRefForEntireEnvironment_Call

SetTerraHelmfileRefForEntireEnvironment is a helper method to define mock.On call

  • environment terra.Environment
  • terraHelmfileRef string

func (*SherlockClient_Expecter) UpdateForNewChartVersion added in v1.0.103

func (_e *SherlockClient_Expecter) UpdateForNewChartVersion(chartSelector interface{}, newVersion interface{}, lastVersion interface{}, description interface{}, chartReleaseSelectors ...interface{}) *SherlockClient_UpdateForNewChartVersion_Call

UpdateForNewChartVersion is a helper method to define mock.On call

  • chartSelector string
  • newVersion string
  • lastVersion string
  • description string
  • chartReleaseSelectors ...string

func (*SherlockClient_Expecter) WriteClusters added in v1.0.103

func (_e *SherlockClient_Expecter) WriteClusters(_a0 interface{}) *SherlockClient_WriteClusters_Call

WriteClusters is a helper method to define mock.On call

  • _a0 []terra.Cluster

func (*SherlockClient_Expecter) WriteEnvironments added in v1.0.103

func (_e *SherlockClient_Expecter) WriteEnvironments(_a0 interface{}) *SherlockClient_WriteEnvironments_Call

WriteEnvironments is a helper method to define mock.On call

  • _a0 []terra.Environment

type SherlockClient_PinEnvironmentVersions_Call added in v1.0.103

type SherlockClient_PinEnvironmentVersions_Call struct {
	*mock.Call
}

SherlockClient_PinEnvironmentVersions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PinEnvironmentVersions'

func (*SherlockClient_PinEnvironmentVersions_Call) Return added in v1.0.103

func (*SherlockClient_PinEnvironmentVersions_Call) Run added in v1.0.103

func (*SherlockClient_PinEnvironmentVersions_Call) RunAndReturn added in v1.0.103

type SherlockClient_Releases_Call added in v1.0.103

type SherlockClient_Releases_Call struct {
	*mock.Call
}

SherlockClient_Releases_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Releases'

func (*SherlockClient_Releases_Call) Return added in v1.0.103

func (*SherlockClient_Releases_Call) Run added in v1.0.103

func (*SherlockClient_Releases_Call) RunAndReturn added in v1.0.103

type SherlockClient_ResetEnvironmentAndPinToDev_Call added in v1.0.103

type SherlockClient_ResetEnvironmentAndPinToDev_Call struct {
	*mock.Call
}

SherlockClient_ResetEnvironmentAndPinToDev_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResetEnvironmentAndPinToDev'

func (*SherlockClient_ResetEnvironmentAndPinToDev_Call) Return added in v1.0.103

func (*SherlockClient_ResetEnvironmentAndPinToDev_Call) Run added in v1.0.103

func (*SherlockClient_ResetEnvironmentAndPinToDev_Call) RunAndReturn added in v1.0.103

type SherlockClient_SetEnvironmentOffline_Call added in v1.0.103

type SherlockClient_SetEnvironmentOffline_Call struct {
	*mock.Call
}

SherlockClient_SetEnvironmentOffline_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetEnvironmentOffline'

func (*SherlockClient_SetEnvironmentOffline_Call) Return added in v1.0.103

func (*SherlockClient_SetEnvironmentOffline_Call) Run added in v1.0.103

func (*SherlockClient_SetEnvironmentOffline_Call) RunAndReturn added in v1.0.103

type SherlockClient_SetTerraHelmfileRefForEntireEnvironment_Call added in v1.0.103

type SherlockClient_SetTerraHelmfileRefForEntireEnvironment_Call struct {
	*mock.Call
}

SherlockClient_SetTerraHelmfileRefForEntireEnvironment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTerraHelmfileRefForEntireEnvironment'

func (*SherlockClient_SetTerraHelmfileRefForEntireEnvironment_Call) Return added in v1.0.103

func (*SherlockClient_SetTerraHelmfileRefForEntireEnvironment_Call) Run added in v1.0.103

func (*SherlockClient_SetTerraHelmfileRefForEntireEnvironment_Call) RunAndReturn added in v1.0.103

type SherlockClient_UpdateForNewChartVersion_Call added in v1.0.103

type SherlockClient_UpdateForNewChartVersion_Call struct {
	*mock.Call
}

SherlockClient_UpdateForNewChartVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateForNewChartVersion'

func (*SherlockClient_UpdateForNewChartVersion_Call) Return added in v1.0.103

func (*SherlockClient_UpdateForNewChartVersion_Call) Run added in v1.0.103

func (_c *SherlockClient_UpdateForNewChartVersion_Call) Run(run func(chartSelector string, newVersion string, lastVersion string, description string, chartReleaseSelectors ...string)) *SherlockClient_UpdateForNewChartVersion_Call

func (*SherlockClient_UpdateForNewChartVersion_Call) RunAndReturn added in v1.0.103

type SherlockClient_WriteClusters_Call added in v1.0.103

type SherlockClient_WriteClusters_Call struct {
	*mock.Call
}

SherlockClient_WriteClusters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteClusters'

func (*SherlockClient_WriteClusters_Call) Return added in v1.0.103

func (*SherlockClient_WriteClusters_Call) Run added in v1.0.103

func (*SherlockClient_WriteClusters_Call) RunAndReturn added in v1.0.103

type SherlockClient_WriteEnvironments_Call added in v1.0.103

type SherlockClient_WriteEnvironments_Call struct {
	*mock.Call
}

SherlockClient_WriteEnvironments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteEnvironments'

func (*SherlockClient_WriteEnvironments_Call) Return added in v1.0.103

func (*SherlockClient_WriteEnvironments_Call) Run added in v1.0.103

func (*SherlockClient_WriteEnvironments_Call) RunAndReturn added in v1.0.103

type SherlockClient_getStatus_Call added in v1.0.103

type SherlockClient_getStatus_Call struct {
	*mock.Call
}

SherlockClient_getStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'getStatus'

func (*SherlockClient_getStatus_Call) Return added in v1.0.103

func (*SherlockClient_getStatus_Call) Run added in v1.0.103

func (*SherlockClient_getStatus_Call) RunAndReturn added in v1.0.103

Jump to

Keyboard shortcuts

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