mocks

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAcylBackend

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

Mock of AcylBackend interface

func NewMockAcylBackend

func NewMockAcylBackend(ctrl *gomock.Controller) *MockAcylBackend

func (*MockAcylBackend) CreateEnvironment

func (_m *MockAcylBackend) CreateEnvironment(_param0 context.Context, _param1 *models.QAEnvironment, _param2 *models.QAType) (string, error)

func (*MockAcylBackend) DestroyEnvironment

func (_m *MockAcylBackend) DestroyEnvironment(_param0 context.Context, _param1 *models.QAEnvironment, _param2 bool) error

func (*MockAcylBackend) EXPECT

func (_m *MockAcylBackend) EXPECT() *_MockAcylBackendRecorder

type MockApplication

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

Mock of Application interface

func NewMockApplication

func NewMockApplication(ctrl *gomock.Controller) *MockApplication

func (*MockApplication) EXPECT

func (_m *MockApplication) EXPECT() *_MockApplicationRecorder

func (*MockApplication) RecordCustomEvent

func (_m *MockApplication) RecordCustomEvent(_param0 string, _param1 map[string]interface{}) error

func (*MockApplication) Shutdown

func (_m *MockApplication) Shutdown(_param0 time.Duration)

func (*MockApplication) StartTransaction

func (_m *MockApplication) StartTransaction(_param0 string, _param1 http.ResponseWriter, _param2 *http.Request) go_agent.Transaction

func (*MockApplication) WaitForConnection

func (_m *MockApplication) WaitForConnection(_param0 time.Duration) error

type MockCollector

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

Mock of Collector interface

func NewMockCollector

func NewMockCollector(ctrl *gomock.Controller) *MockCollector

func (*MockCollector) AminoDeployTimedOut

func (_m *MockCollector) AminoDeployTimedOut(_param0 string, _param1 string, _param2 string)

func (*MockCollector) ContainerBuildAllDuration

func (_m *MockCollector) ContainerBuildAllDuration(_param0 string, _param1 string, _param2 string, _param3 time.Duration, _param4 error)

func (*MockCollector) ContainerBuildDuration

func (_m *MockCollector) ContainerBuildDuration(_param0 string, _param1 string, _param2 string, _param3 string, _param4 string, _param5 time.Duration, _param6 error)

func (*MockCollector) EXPECT

func (_m *MockCollector) EXPECT() *_MockCollectorRecorder

func (*MockCollector) EnvironmentCount

func (_m *MockCollector) EnvironmentCount(_param0 string, _param1 models.EnvironmentStatus, _param2 uint)

func (*MockCollector) EventCountExceededDropped

func (_m *MockCollector) EventCountExceededDropped(_param0 string, _param1 string, _param2 string)

func (*MockCollector) EventRateLimitDropped

func (_m *MockCollector) EventRateLimitDropped(_param0 string)

func (*MockCollector) Failure

func (_m *MockCollector) Failure(_param0 string, _param1 string, _param2 string)

func (*MockCollector) ImageBuildFailed

func (_m *MockCollector) ImageBuildFailed(_param0 string, _param1 string, _param2 string)

func (*MockCollector) Operation

func (_m *MockCollector) Operation(_param0 string, _param1 string, _param2 string, _param3 string, _param4 error)

func (*MockCollector) ProvisioningDuration

func (_m *MockCollector) ProvisioningDuration(_param0 string, _param1 string, _param2 string, _param3 time.Duration, _param4 error)

func (*MockCollector) Pruned

func (_m *MockCollector) Pruned(_param0 int)

func (*MockCollector) Reaped

func (_m *MockCollector) Reaped(_param0 string, _param1 string, _param2 models.QADestroyReason, _param3 error)

func (*MockCollector) Success

func (_m *MockCollector) Success(_param0 string, _param1 string, _param2 string)

func (*MockCollector) TimeContainerBuild

func (_m *MockCollector) TimeContainerBuild(_param0 string, _param1 string, _param2 string, _param3 string, _param4 string, _param5 *error) func()

func (*MockCollector) TimeContainerBuildAll

func (_m *MockCollector) TimeContainerBuildAll(_param0 string, _param1 string, _param2 string, _param3 *error) func()

func (*MockCollector) TimeProvisioning

func (_m *MockCollector) TimeProvisioning(_param0 string, _param1 string, _param2 string, _param3 *error) func()

type MockConsulKV

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

Mock of ConsulKV interface

func NewMockConsulKV

func NewMockConsulKV(ctrl *gomock.Controller) *MockConsulKV

func (*MockConsulKV) DeleteCAS

func (_m *MockConsulKV) DeleteCAS(_param0 *api.KVPair, _param1 *api.WriteOptions) (bool, *api.WriteMeta, error)

func (*MockConsulKV) EXPECT

func (_m *MockConsulKV) EXPECT() *_MockConsulKVRecorder

func (*MockConsulKV) Get

func (_m *MockConsulKV) Get(_param0 string, _param1 *api.QueryOptions) (*api.KVPair, *api.QueryMeta, error)

func (*MockConsulKV) Put

func (_m *MockConsulKV) Put(_param0 *api.KVPair, _param1 *api.WriteOptions) (*api.WriteMeta, error)

type MockDataLayer

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

MockDataLayer is a mock of DataLayer interface

func NewMockDataLayer

func NewMockDataLayer(ctrl *gomock.Controller) *MockDataLayer

NewMockDataLayer creates a new mock instance

func (*MockDataLayer) AddEvent

func (m *MockDataLayer) AddEvent(arg0 context.Context, arg1, arg2 string) error

AddEvent mocks base method

func (*MockDataLayer) AppendToEventLog

func (m *MockDataLayer) AppendToEventLog(arg0 uuid.UUID, arg1 string) error

AppendToEventLog mocks base method

func (*MockDataLayer) Close

func (m *MockDataLayer) Close() error

Close mocks base method

func (*MockDataLayer) CreateEventLog

func (m *MockDataLayer) CreateEventLog(arg0 *models.EventLog) error

CreateEventLog mocks base method

func (*MockDataLayer) CreateHelmReleasesForEnv

func (m *MockDataLayer) CreateHelmReleasesForEnv(arg0 context.Context, arg1 []models.HelmRelease) error

CreateHelmReleasesForEnv mocks base method

func (*MockDataLayer) CreateK8sEnv

func (m *MockDataLayer) CreateK8sEnv(arg0 context.Context, arg1 *models.KubernetesEnvironment) error

CreateK8sEnv mocks base method

func (*MockDataLayer) CreateQAEnvironment

func (m *MockDataLayer) CreateQAEnvironment(arg0 context.Context, arg1 *models.QAEnvironment) error

CreateQAEnvironment mocks base method

func (*MockDataLayer) DeleteEventLog

func (m *MockDataLayer) DeleteEventLog(arg0 uuid.UUID) error

DeleteEventLog mocks base method

func (*MockDataLayer) DeleteEventLogsByEnvName

func (m *MockDataLayer) DeleteEventLogsByEnvName(arg0 string) (uint, error)

DeleteEventLogsByEnvName mocks base method

func (*MockDataLayer) DeleteEventLogsByRepoAndPR

func (m *MockDataLayer) DeleteEventLogsByRepoAndPR(arg0 string, arg1 uint) (uint, error)

DeleteEventLogsByRepoAndPR mocks base method

func (*MockDataLayer) DeleteHelmReleasesForEnv

func (m *MockDataLayer) DeleteHelmReleasesForEnv(arg0 context.Context, arg1 string) (uint, error)

DeleteHelmReleasesForEnv mocks base method

func (*MockDataLayer) DeleteK8sEnv

func (m *MockDataLayer) DeleteK8sEnv(arg0 context.Context, arg1 string) error

DeleteK8sEnv mocks base method

func (*MockDataLayer) DeleteQAEnvironment

func (m *MockDataLayer) DeleteQAEnvironment(arg0 context.Context, arg1 string) error

DeleteQAEnvironment mocks base method

func (*MockDataLayer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockDataLayer) GetEventLogByID

func (m *MockDataLayer) GetEventLogByID(arg0 uuid.UUID) (*models.EventLog, error)

GetEventLogByID mocks base method

func (*MockDataLayer) GetEventLogsByEnvName

func (m *MockDataLayer) GetEventLogsByEnvName(arg0 string) ([]models.EventLog, error)

GetEventLogsByEnvName mocks base method

func (*MockDataLayer) GetEventLogsByRepoAndPR

func (m *MockDataLayer) GetEventLogsByRepoAndPR(arg0 string, arg1 uint) ([]models.EventLog, error)

GetEventLogsByRepoAndPR mocks base method

func (*MockDataLayer) GetExtantQAEnvironments

func (m *MockDataLayer) GetExtantQAEnvironments(arg0 context.Context, arg1 string, arg2 uint) ([]models.QAEnvironment, error)

GetExtantQAEnvironments mocks base method

func (*MockDataLayer) GetHelmReleasesForEnv

func (m *MockDataLayer) GetHelmReleasesForEnv(arg0 context.Context, arg1 string) ([]models.HelmRelease, error)

GetHelmReleasesForEnv mocks base method

func (*MockDataLayer) GetK8sEnv

func (m *MockDataLayer) GetK8sEnv(arg0 context.Context, arg1 string) (*models.KubernetesEnvironment, error)

GetK8sEnv mocks base method

func (*MockDataLayer) GetK8sEnvsByNamespace

func (m *MockDataLayer) GetK8sEnvsByNamespace(arg0 context.Context, arg1 string) ([]models.KubernetesEnvironment, error)

GetK8sEnvsByNamespace mocks base method

func (*MockDataLayer) GetMostRecent

func (m *MockDataLayer) GetMostRecent(arg0 context.Context, arg1 uint) ([]models.QAEnvironment, error)

GetMostRecent mocks base method

func (*MockDataLayer) GetQAEnvironment

func (m *MockDataLayer) GetQAEnvironment(arg0 context.Context, arg1 string) (*models.QAEnvironment, error)

GetQAEnvironment mocks base method

func (*MockDataLayer) GetQAEnvironmentBySourceSHA

func (m *MockDataLayer) GetQAEnvironmentBySourceSHA(arg0 context.Context, arg1 string) (*models.QAEnvironment, error)

GetQAEnvironmentBySourceSHA mocks base method

func (*MockDataLayer) GetQAEnvironmentConsistently

func (m *MockDataLayer) GetQAEnvironmentConsistently(arg0 context.Context, arg1 string) (*models.QAEnvironment, error)

GetQAEnvironmentConsistently mocks base method

func (*MockDataLayer) GetQAEnvironments

func (m *MockDataLayer) GetQAEnvironments(arg0 context.Context) ([]models.QAEnvironment, error)

GetQAEnvironments mocks base method

func (*MockDataLayer) GetQAEnvironmentsByRepo

func (m *MockDataLayer) GetQAEnvironmentsByRepo(arg0 context.Context, arg1 string) ([]models.QAEnvironment, error)

GetQAEnvironmentsByRepo mocks base method

func (*MockDataLayer) GetQAEnvironmentsByRepoAndPR

func (m *MockDataLayer) GetQAEnvironmentsByRepoAndPR(arg0 context.Context, arg1 string, arg2 uint) ([]models.QAEnvironment, error)

GetQAEnvironmentsByRepoAndPR mocks base method

func (*MockDataLayer) GetQAEnvironmentsBySourceBranch

func (m *MockDataLayer) GetQAEnvironmentsBySourceBranch(arg0 context.Context, arg1 string) ([]models.QAEnvironment, error)

GetQAEnvironmentsBySourceBranch mocks base method

func (*MockDataLayer) GetQAEnvironmentsByStatus

func (m *MockDataLayer) GetQAEnvironmentsByStatus(arg0 context.Context, arg1 string) ([]models.QAEnvironment, error)

GetQAEnvironmentsByStatus mocks base method

func (*MockDataLayer) GetQAEnvironmentsByUser

func (m *MockDataLayer) GetQAEnvironmentsByUser(arg0 context.Context, arg1 string) ([]models.QAEnvironment, error)

GetQAEnvironmentsByUser mocks base method

func (*MockDataLayer) GetRunningQAEnvironments

func (m *MockDataLayer) GetRunningQAEnvironments(arg0 context.Context) ([]models.QAEnvironment, error)

GetRunningQAEnvironments mocks base method

func (*MockDataLayer) Search

Search mocks base method

func (*MockDataLayer) SetAminoEnvironmentID

func (m *MockDataLayer) SetAminoEnvironmentID(arg0 context.Context, arg1 string, arg2 int) error

SetAminoEnvironmentID mocks base method

func (*MockDataLayer) SetAminoKubernetesNamespace

func (m *MockDataLayer) SetAminoKubernetesNamespace(arg0 context.Context, arg1, arg2 string) error

SetAminoKubernetesNamespace mocks base method

func (*MockDataLayer) SetAminoServiceToPort

func (m *MockDataLayer) SetAminoServiceToPort(arg0 context.Context, arg1 string, arg2 map[string]int64) error

SetAminoServiceToPort mocks base method

func (*MockDataLayer) SetEventLogEnvName

func (m *MockDataLayer) SetEventLogEnvName(arg0 uuid.UUID, arg1 string) error

SetEventLogEnvName mocks base method

func (*MockDataLayer) SetQAEnvironmentCommitSHAMap

func (m *MockDataLayer) SetQAEnvironmentCommitSHAMap(arg0 context.Context, arg1 string, arg2 models.RefMap) error

SetQAEnvironmentCommitSHAMap mocks base method

func (*MockDataLayer) SetQAEnvironmentCreated

func (m *MockDataLayer) SetQAEnvironmentCreated(arg0 context.Context, arg1 string, arg2 time.Time) error

SetQAEnvironmentCreated mocks base method

func (*MockDataLayer) SetQAEnvironmentRefMap

func (m *MockDataLayer) SetQAEnvironmentRefMap(arg0 context.Context, arg1 string, arg2 models.RefMap) error

SetQAEnvironmentRefMap mocks base method

func (*MockDataLayer) SetQAEnvironmentRepoData

func (m *MockDataLayer) SetQAEnvironmentRepoData(arg0 context.Context, arg1 string, arg2 *models.RepoRevisionData) error

SetQAEnvironmentRepoData mocks base method

func (*MockDataLayer) SetQAEnvironmentStatus

func (m *MockDataLayer) SetQAEnvironmentStatus(arg0 context.Context, arg1 string, arg2 models.EnvironmentStatus) error

SetQAEnvironmentStatus mocks base method

func (*MockDataLayer) UpdateHelmReleaseRevision

func (m *MockDataLayer) UpdateHelmReleaseRevision(arg0 context.Context, arg1, arg2, arg3 string) error

UpdateHelmReleaseRevision mocks base method

func (*MockDataLayer) UpdateK8sEnvTillerAddr

func (m *MockDataLayer) UpdateK8sEnvTillerAddr(arg0 context.Context, arg1, arg2 string) error

UpdateK8sEnvTillerAddr mocks base method

type MockDataLayerMockRecorder

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

MockDataLayerMockRecorder is the mock recorder for MockDataLayer

func (*MockDataLayerMockRecorder) AddEvent

func (mr *MockDataLayerMockRecorder) AddEvent(arg0, arg1, arg2 interface{}) *gomock.Call

AddEvent indicates an expected call of AddEvent

func (*MockDataLayerMockRecorder) AppendToEventLog

func (mr *MockDataLayerMockRecorder) AppendToEventLog(arg0, arg1 interface{}) *gomock.Call

AppendToEventLog indicates an expected call of AppendToEventLog

func (*MockDataLayerMockRecorder) Close

func (mr *MockDataLayerMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockDataLayerMockRecorder) CreateEventLog

func (mr *MockDataLayerMockRecorder) CreateEventLog(arg0 interface{}) *gomock.Call

CreateEventLog indicates an expected call of CreateEventLog

func (*MockDataLayerMockRecorder) CreateHelmReleasesForEnv

func (mr *MockDataLayerMockRecorder) CreateHelmReleasesForEnv(arg0, arg1 interface{}) *gomock.Call

CreateHelmReleasesForEnv indicates an expected call of CreateHelmReleasesForEnv

func (*MockDataLayerMockRecorder) CreateK8sEnv

func (mr *MockDataLayerMockRecorder) CreateK8sEnv(arg0, arg1 interface{}) *gomock.Call

CreateK8sEnv indicates an expected call of CreateK8sEnv

func (*MockDataLayerMockRecorder) CreateQAEnvironment

func (mr *MockDataLayerMockRecorder) CreateQAEnvironment(arg0, arg1 interface{}) *gomock.Call

CreateQAEnvironment indicates an expected call of CreateQAEnvironment

func (*MockDataLayerMockRecorder) DeleteEventLog

func (mr *MockDataLayerMockRecorder) DeleteEventLog(arg0 interface{}) *gomock.Call

DeleteEventLog indicates an expected call of DeleteEventLog

func (*MockDataLayerMockRecorder) DeleteEventLogsByEnvName

func (mr *MockDataLayerMockRecorder) DeleteEventLogsByEnvName(arg0 interface{}) *gomock.Call

DeleteEventLogsByEnvName indicates an expected call of DeleteEventLogsByEnvName

func (*MockDataLayerMockRecorder) DeleteEventLogsByRepoAndPR

func (mr *MockDataLayerMockRecorder) DeleteEventLogsByRepoAndPR(arg0, arg1 interface{}) *gomock.Call

DeleteEventLogsByRepoAndPR indicates an expected call of DeleteEventLogsByRepoAndPR

func (*MockDataLayerMockRecorder) DeleteHelmReleasesForEnv

func (mr *MockDataLayerMockRecorder) DeleteHelmReleasesForEnv(arg0, arg1 interface{}) *gomock.Call

DeleteHelmReleasesForEnv indicates an expected call of DeleteHelmReleasesForEnv

func (*MockDataLayerMockRecorder) DeleteK8sEnv

func (mr *MockDataLayerMockRecorder) DeleteK8sEnv(arg0, arg1 interface{}) *gomock.Call

DeleteK8sEnv indicates an expected call of DeleteK8sEnv

func (*MockDataLayerMockRecorder) DeleteQAEnvironment

func (mr *MockDataLayerMockRecorder) DeleteQAEnvironment(arg0, arg1 interface{}) *gomock.Call

DeleteQAEnvironment indicates an expected call of DeleteQAEnvironment

func (*MockDataLayerMockRecorder) GetEventLogByID

func (mr *MockDataLayerMockRecorder) GetEventLogByID(arg0 interface{}) *gomock.Call

GetEventLogByID indicates an expected call of GetEventLogByID

func (*MockDataLayerMockRecorder) GetEventLogsByEnvName

func (mr *MockDataLayerMockRecorder) GetEventLogsByEnvName(arg0 interface{}) *gomock.Call

GetEventLogsByEnvName indicates an expected call of GetEventLogsByEnvName

func (*MockDataLayerMockRecorder) GetEventLogsByRepoAndPR

func (mr *MockDataLayerMockRecorder) GetEventLogsByRepoAndPR(arg0, arg1 interface{}) *gomock.Call

GetEventLogsByRepoAndPR indicates an expected call of GetEventLogsByRepoAndPR

func (*MockDataLayerMockRecorder) GetExtantQAEnvironments

func (mr *MockDataLayerMockRecorder) GetExtantQAEnvironments(arg0, arg1, arg2 interface{}) *gomock.Call

GetExtantQAEnvironments indicates an expected call of GetExtantQAEnvironments

func (*MockDataLayerMockRecorder) GetHelmReleasesForEnv

func (mr *MockDataLayerMockRecorder) GetHelmReleasesForEnv(arg0, arg1 interface{}) *gomock.Call

GetHelmReleasesForEnv indicates an expected call of GetHelmReleasesForEnv

func (*MockDataLayerMockRecorder) GetK8sEnv

func (mr *MockDataLayerMockRecorder) GetK8sEnv(arg0, arg1 interface{}) *gomock.Call

GetK8sEnv indicates an expected call of GetK8sEnv

func (*MockDataLayerMockRecorder) GetK8sEnvsByNamespace

func (mr *MockDataLayerMockRecorder) GetK8sEnvsByNamespace(arg0, arg1 interface{}) *gomock.Call

GetK8sEnvsByNamespace indicates an expected call of GetK8sEnvsByNamespace

func (*MockDataLayerMockRecorder) GetMostRecent

func (mr *MockDataLayerMockRecorder) GetMostRecent(arg0, arg1 interface{}) *gomock.Call

GetMostRecent indicates an expected call of GetMostRecent

func (*MockDataLayerMockRecorder) GetQAEnvironment

func (mr *MockDataLayerMockRecorder) GetQAEnvironment(arg0, arg1 interface{}) *gomock.Call

GetQAEnvironment indicates an expected call of GetQAEnvironment

func (*MockDataLayerMockRecorder) GetQAEnvironmentBySourceSHA

func (mr *MockDataLayerMockRecorder) GetQAEnvironmentBySourceSHA(arg0, arg1 interface{}) *gomock.Call

GetQAEnvironmentBySourceSHA indicates an expected call of GetQAEnvironmentBySourceSHA

func (*MockDataLayerMockRecorder) GetQAEnvironmentConsistently

func (mr *MockDataLayerMockRecorder) GetQAEnvironmentConsistently(arg0, arg1 interface{}) *gomock.Call

GetQAEnvironmentConsistently indicates an expected call of GetQAEnvironmentConsistently

func (*MockDataLayerMockRecorder) GetQAEnvironments

func (mr *MockDataLayerMockRecorder) GetQAEnvironments(arg0 interface{}) *gomock.Call

GetQAEnvironments indicates an expected call of GetQAEnvironments

func (*MockDataLayerMockRecorder) GetQAEnvironmentsByRepo

func (mr *MockDataLayerMockRecorder) GetQAEnvironmentsByRepo(arg0, arg1 interface{}) *gomock.Call

GetQAEnvironmentsByRepo indicates an expected call of GetQAEnvironmentsByRepo

func (*MockDataLayerMockRecorder) GetQAEnvironmentsByRepoAndPR

func (mr *MockDataLayerMockRecorder) GetQAEnvironmentsByRepoAndPR(arg0, arg1, arg2 interface{}) *gomock.Call

GetQAEnvironmentsByRepoAndPR indicates an expected call of GetQAEnvironmentsByRepoAndPR

func (*MockDataLayerMockRecorder) GetQAEnvironmentsBySourceBranch

func (mr *MockDataLayerMockRecorder) GetQAEnvironmentsBySourceBranch(arg0, arg1 interface{}) *gomock.Call

GetQAEnvironmentsBySourceBranch indicates an expected call of GetQAEnvironmentsBySourceBranch

func (*MockDataLayerMockRecorder) GetQAEnvironmentsByStatus

func (mr *MockDataLayerMockRecorder) GetQAEnvironmentsByStatus(arg0, arg1 interface{}) *gomock.Call

GetQAEnvironmentsByStatus indicates an expected call of GetQAEnvironmentsByStatus

func (*MockDataLayerMockRecorder) GetQAEnvironmentsByUser

func (mr *MockDataLayerMockRecorder) GetQAEnvironmentsByUser(arg0, arg1 interface{}) *gomock.Call

GetQAEnvironmentsByUser indicates an expected call of GetQAEnvironmentsByUser

func (*MockDataLayerMockRecorder) GetRunningQAEnvironments

func (mr *MockDataLayerMockRecorder) GetRunningQAEnvironments(arg0 interface{}) *gomock.Call

GetRunningQAEnvironments indicates an expected call of GetRunningQAEnvironments

func (*MockDataLayerMockRecorder) Search

func (mr *MockDataLayerMockRecorder) Search(arg0, arg1 interface{}) *gomock.Call

Search indicates an expected call of Search

func (*MockDataLayerMockRecorder) SetAminoEnvironmentID

func (mr *MockDataLayerMockRecorder) SetAminoEnvironmentID(arg0, arg1, arg2 interface{}) *gomock.Call

SetAminoEnvironmentID indicates an expected call of SetAminoEnvironmentID

func (*MockDataLayerMockRecorder) SetAminoKubernetesNamespace

func (mr *MockDataLayerMockRecorder) SetAminoKubernetesNamespace(arg0, arg1, arg2 interface{}) *gomock.Call

SetAminoKubernetesNamespace indicates an expected call of SetAminoKubernetesNamespace

func (*MockDataLayerMockRecorder) SetAminoServiceToPort

func (mr *MockDataLayerMockRecorder) SetAminoServiceToPort(arg0, arg1, arg2 interface{}) *gomock.Call

SetAminoServiceToPort indicates an expected call of SetAminoServiceToPort

func (*MockDataLayerMockRecorder) SetEventLogEnvName

func (mr *MockDataLayerMockRecorder) SetEventLogEnvName(arg0, arg1 interface{}) *gomock.Call

SetEventLogEnvName indicates an expected call of SetEventLogEnvName

func (*MockDataLayerMockRecorder) SetQAEnvironmentCommitSHAMap

func (mr *MockDataLayerMockRecorder) SetQAEnvironmentCommitSHAMap(arg0, arg1, arg2 interface{}) *gomock.Call

SetQAEnvironmentCommitSHAMap indicates an expected call of SetQAEnvironmentCommitSHAMap

func (*MockDataLayerMockRecorder) SetQAEnvironmentCreated

func (mr *MockDataLayerMockRecorder) SetQAEnvironmentCreated(arg0, arg1, arg2 interface{}) *gomock.Call

SetQAEnvironmentCreated indicates an expected call of SetQAEnvironmentCreated

func (*MockDataLayerMockRecorder) SetQAEnvironmentRefMap

func (mr *MockDataLayerMockRecorder) SetQAEnvironmentRefMap(arg0, arg1, arg2 interface{}) *gomock.Call

SetQAEnvironmentRefMap indicates an expected call of SetQAEnvironmentRefMap

func (*MockDataLayerMockRecorder) SetQAEnvironmentRepoData

func (mr *MockDataLayerMockRecorder) SetQAEnvironmentRepoData(arg0, arg1, arg2 interface{}) *gomock.Call

SetQAEnvironmentRepoData indicates an expected call of SetQAEnvironmentRepoData

func (*MockDataLayerMockRecorder) SetQAEnvironmentStatus

func (mr *MockDataLayerMockRecorder) SetQAEnvironmentStatus(arg0, arg1, arg2 interface{}) *gomock.Call

SetQAEnvironmentStatus indicates an expected call of SetQAEnvironmentStatus

func (*MockDataLayerMockRecorder) UpdateHelmReleaseRevision

func (mr *MockDataLayerMockRecorder) UpdateHelmReleaseRevision(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

UpdateHelmReleaseRevision indicates an expected call of UpdateHelmReleaseRevision

func (*MockDataLayerMockRecorder) UpdateK8sEnvTillerAddr

func (mr *MockDataLayerMockRecorder) UpdateK8sEnvTillerAddr(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateK8sEnvTillerAddr indicates an expected call of UpdateK8sEnvTillerAddr

type MockNameGenerator

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

Mock of NameGenerator interface

func NewMockNameGenerator

func NewMockNameGenerator(ctrl *gomock.Controller) *MockNameGenerator

func (*MockNameGenerator) EXPECT

func (_m *MockNameGenerator) EXPECT() *_MockNameGeneratorRecorder

func (*MockNameGenerator) New

func (_m *MockNameGenerator) New() (string, error)

type MockPreemptableLock

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

Mock of PreemptableLock interface

func NewMockPreemptableLock

func NewMockPreemptableLock(ctrl *gomock.Controller) *MockPreemptableLock

func (*MockPreemptableLock) Destroy

func (_m *MockPreemptableLock) Destroy() error

func (*MockPreemptableLock) EXPECT

func (_m *MockPreemptableLock) EXPECT() *_MockPreemptableLockRecorder

func (*MockPreemptableLock) Lock

func (_m *MockPreemptableLock) Lock(_param0 <-chan struct{}) (<-chan struct{}, error)

func (*MockPreemptableLock) Unlock

func (_m *MockPreemptableLock) Unlock() error

type MockRepoClient

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

MockRepoClient is a mock of RepoClient interface

func NewMockRepoClient

func NewMockRepoClient(ctrl *gomock.Controller) *MockRepoClient

NewMockRepoClient creates a new mock instance

func (*MockRepoClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockRepoClient) GetBranch

func (m *MockRepoClient) GetBranch(arg0 context.Context, arg1, arg2 string) (ghclient.BranchInfo, error)

GetBranch mocks base method

func (*MockRepoClient) GetBranches

func (m *MockRepoClient) GetBranches(arg0 context.Context, arg1 string) ([]ghclient.BranchInfo, error)

GetBranches mocks base method

func (*MockRepoClient) GetCommitMessage

func (m *MockRepoClient) GetCommitMessage(arg0 context.Context, arg1, arg2 string) (string, error)

GetCommitMessage mocks base method

func (*MockRepoClient) GetDirectoryContents

func (m *MockRepoClient) GetDirectoryContents(arg0 context.Context, arg1, arg2, arg3 string) (map[string]ghclient.FileContents, error)

GetDirectoryContents mocks base method

func (*MockRepoClient) GetFileContents

func (m *MockRepoClient) GetFileContents(arg0 context.Context, arg1, arg2, arg3 string) ([]byte, error)

GetFileContents mocks base method

func (*MockRepoClient) GetPRStatus

func (m *MockRepoClient) GetPRStatus(arg0 context.Context, arg1 string, arg2 uint) (string, error)

GetPRStatus mocks base method

func (*MockRepoClient) GetTags

func (m *MockRepoClient) GetTags(arg0 context.Context, arg1 string) ([]ghclient.BranchInfo, error)

GetTags mocks base method

func (*MockRepoClient) SetStatus

func (m *MockRepoClient) SetStatus(arg0 context.Context, arg1, arg2 string, arg3 *ghclient.CommitStatus) error

SetStatus mocks base method

type MockRepoClientMockRecorder

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

MockRepoClientMockRecorder is the mock recorder for MockRepoClient

func (*MockRepoClientMockRecorder) GetBranch

func (mr *MockRepoClientMockRecorder) GetBranch(arg0, arg1, arg2 interface{}) *gomock.Call

GetBranch indicates an expected call of GetBranch

func (*MockRepoClientMockRecorder) GetBranches

func (mr *MockRepoClientMockRecorder) GetBranches(arg0, arg1 interface{}) *gomock.Call

GetBranches indicates an expected call of GetBranches

func (*MockRepoClientMockRecorder) GetCommitMessage

func (mr *MockRepoClientMockRecorder) GetCommitMessage(arg0, arg1, arg2 interface{}) *gomock.Call

GetCommitMessage indicates an expected call of GetCommitMessage

func (*MockRepoClientMockRecorder) GetDirectoryContents

func (mr *MockRepoClientMockRecorder) GetDirectoryContents(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetDirectoryContents indicates an expected call of GetDirectoryContents

func (*MockRepoClientMockRecorder) GetFileContents

func (mr *MockRepoClientMockRecorder) GetFileContents(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetFileContents indicates an expected call of GetFileContents

func (*MockRepoClientMockRecorder) GetPRStatus

func (mr *MockRepoClientMockRecorder) GetPRStatus(arg0, arg1, arg2 interface{}) *gomock.Call

GetPRStatus indicates an expected call of GetPRStatus

func (*MockRepoClientMockRecorder) GetTags

func (mr *MockRepoClientMockRecorder) GetTags(arg0, arg1 interface{}) *gomock.Call

GetTags indicates an expected call of GetTags

func (*MockRepoClientMockRecorder) SetStatus

func (mr *MockRepoClientMockRecorder) SetStatus(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

SetStatus indicates an expected call of SetStatus

type MockSlackAPIClient

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

Mock of SlackAPIClient interface

func NewMockSlackAPIClient

func NewMockSlackAPIClient(ctrl *gomock.Controller) *MockSlackAPIClient

func (*MockSlackAPIClient) EXPECT

func (_m *MockSlackAPIClient) EXPECT() *_MockSlackAPIClientRecorder

func (*MockSlackAPIClient) PostMessage

func (_m *MockSlackAPIClient) PostMessage(_param0 string, _param1 string, _param2 slack.PostMessageParameters) (string, string, error)

type MockTransaction

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

Mock of Transaction interface

func NewMockTransaction

func NewMockTransaction(ctrl *gomock.Controller) *MockTransaction

func (*MockTransaction) AddAttribute

func (_m *MockTransaction) AddAttribute(_param0 string, _param1 interface{}) error

func (*MockTransaction) EXPECT

func (_m *MockTransaction) EXPECT() *_MockTransactionRecorder

func (*MockTransaction) End

func (_m *MockTransaction) End() error

func (*MockTransaction) Header

func (_m *MockTransaction) Header() http.Header

func (*MockTransaction) Ignore

func (_m *MockTransaction) Ignore() error

func (*MockTransaction) NoticeError

func (_m *MockTransaction) NoticeError(_param0 error) error

func (*MockTransaction) SetName

func (_m *MockTransaction) SetName(_param0 string) error

func (*MockTransaction) StartSegmentNow

func (_m *MockTransaction) StartSegmentNow() go_agent.SegmentStartTime

func (*MockTransaction) Write

func (_m *MockTransaction) Write(_param0 []byte) (int, error)

func (*MockTransaction) WriteHeader

func (_m *MockTransaction) WriteHeader(_param0 int)

Jump to

Keyboard shortcuts

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