mocks

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeDeployer

type FakeDeployer struct {
	CompareRemotesStub func(string) error

	DeployStub func(*client.Client, io.Writer, project.DeployOptions) (func() error, error)

	DestroyStub func(*client.Client, io.Writer) error

	DownStub func(*client.Client, io.Writer) error

	GetBranchStub func() string

	GetDataManagerStub func() (*project.DeploymentDataManager, bool)

	GetStatusStub func(*client.Client) (api.DeploymentStatus, error)

	InitializeStub func(project.DeploymentConfig, io.Writer) error

	PruneStub func(*client.Client, io.Writer) error

	SetConfigStub func(project.DeploymentConfig)

	UpdateContainerHistoryStub func(*client.Client) error

	WatchStub func(*client.Client) (<-chan string, <-chan error)
	// contains filtered or unexported fields
}

func (*FakeDeployer) CompareRemotes

func (fake *FakeDeployer) CompareRemotes(arg1 string) error

func (*FakeDeployer) CompareRemotesArgsForCall

func (fake *FakeDeployer) CompareRemotesArgsForCall(i int) string

func (*FakeDeployer) CompareRemotesCallCount

func (fake *FakeDeployer) CompareRemotesCallCount() int

func (*FakeDeployer) CompareRemotesCalls

func (fake *FakeDeployer) CompareRemotesCalls(stub func(string) error)

func (*FakeDeployer) CompareRemotesReturns

func (fake *FakeDeployer) CompareRemotesReturns(result1 error)

func (*FakeDeployer) CompareRemotesReturnsOnCall

func (fake *FakeDeployer) CompareRemotesReturnsOnCall(i int, result1 error)

func (*FakeDeployer) Deploy

func (fake *FakeDeployer) Deploy(arg1 *client.Client, arg2 io.Writer, arg3 project.DeployOptions) (func() error, error)

func (*FakeDeployer) DeployArgsForCall

func (fake *FakeDeployer) DeployArgsForCall(i int) (*client.Client, io.Writer, project.DeployOptions)

func (*FakeDeployer) DeployCallCount

func (fake *FakeDeployer) DeployCallCount() int

func (*FakeDeployer) DeployCalls

func (fake *FakeDeployer) DeployCalls(stub func(*client.Client, io.Writer, project.DeployOptions) (func() error, error))

func (*FakeDeployer) DeployReturns

func (fake *FakeDeployer) DeployReturns(result1 func() error, result2 error)

func (*FakeDeployer) DeployReturnsOnCall

func (fake *FakeDeployer) DeployReturnsOnCall(i int, result1 func() error, result2 error)

func (*FakeDeployer) Destroy

func (fake *FakeDeployer) Destroy(arg1 *client.Client, arg2 io.Writer) error

func (*FakeDeployer) DestroyArgsForCall

func (fake *FakeDeployer) DestroyArgsForCall(i int) (*client.Client, io.Writer)

func (*FakeDeployer) DestroyCallCount

func (fake *FakeDeployer) DestroyCallCount() int

func (*FakeDeployer) DestroyCalls

func (fake *FakeDeployer) DestroyCalls(stub func(*client.Client, io.Writer) error)

func (*FakeDeployer) DestroyReturns

func (fake *FakeDeployer) DestroyReturns(result1 error)

func (*FakeDeployer) DestroyReturnsOnCall

func (fake *FakeDeployer) DestroyReturnsOnCall(i int, result1 error)

func (*FakeDeployer) Down

func (fake *FakeDeployer) Down(arg1 *client.Client, arg2 io.Writer) error

func (*FakeDeployer) DownArgsForCall

func (fake *FakeDeployer) DownArgsForCall(i int) (*client.Client, io.Writer)

func (*FakeDeployer) DownCallCount

func (fake *FakeDeployer) DownCallCount() int

func (*FakeDeployer) DownCalls

func (fake *FakeDeployer) DownCalls(stub func(*client.Client, io.Writer) error)

func (*FakeDeployer) DownReturns

func (fake *FakeDeployer) DownReturns(result1 error)

func (*FakeDeployer) DownReturnsOnCall

func (fake *FakeDeployer) DownReturnsOnCall(i int, result1 error)

func (*FakeDeployer) GetBranch

func (fake *FakeDeployer) GetBranch() string

func (*FakeDeployer) GetBranchCallCount

func (fake *FakeDeployer) GetBranchCallCount() int

func (*FakeDeployer) GetBranchCalls

func (fake *FakeDeployer) GetBranchCalls(stub func() string)

func (*FakeDeployer) GetBranchReturns

func (fake *FakeDeployer) GetBranchReturns(result1 string)

func (*FakeDeployer) GetBranchReturnsOnCall

func (fake *FakeDeployer) GetBranchReturnsOnCall(i int, result1 string)

func (*FakeDeployer) GetDataManager

func (fake *FakeDeployer) GetDataManager() (*project.DeploymentDataManager, bool)

func (*FakeDeployer) GetDataManagerCallCount

func (fake *FakeDeployer) GetDataManagerCallCount() int

func (*FakeDeployer) GetDataManagerCalls

func (fake *FakeDeployer) GetDataManagerCalls(stub func() (*project.DeploymentDataManager, bool))

func (*FakeDeployer) GetDataManagerReturns

func (fake *FakeDeployer) GetDataManagerReturns(result1 *project.DeploymentDataManager, result2 bool)

func (*FakeDeployer) GetDataManagerReturnsOnCall

func (fake *FakeDeployer) GetDataManagerReturnsOnCall(i int, result1 *project.DeploymentDataManager, result2 bool)

func (*FakeDeployer) GetStatus

func (fake *FakeDeployer) GetStatus(arg1 *client.Client) (api.DeploymentStatus, error)

func (*FakeDeployer) GetStatusArgsForCall

func (fake *FakeDeployer) GetStatusArgsForCall(i int) *client.Client

func (*FakeDeployer) GetStatusCallCount

func (fake *FakeDeployer) GetStatusCallCount() int

func (*FakeDeployer) GetStatusCalls

func (fake *FakeDeployer) GetStatusCalls(stub func(*client.Client) (api.DeploymentStatus, error))

func (*FakeDeployer) GetStatusReturns

func (fake *FakeDeployer) GetStatusReturns(result1 api.DeploymentStatus, result2 error)

func (*FakeDeployer) GetStatusReturnsOnCall

func (fake *FakeDeployer) GetStatusReturnsOnCall(i int, result1 api.DeploymentStatus, result2 error)

func (*FakeDeployer) Initialize

func (fake *FakeDeployer) Initialize(arg1 project.DeploymentConfig, arg2 io.Writer) error

func (*FakeDeployer) InitializeArgsForCall

func (fake *FakeDeployer) InitializeArgsForCall(i int) (project.DeploymentConfig, io.Writer)

func (*FakeDeployer) InitializeCallCount

func (fake *FakeDeployer) InitializeCallCount() int

func (*FakeDeployer) InitializeCalls

func (fake *FakeDeployer) InitializeCalls(stub func(project.DeploymentConfig, io.Writer) error)

func (*FakeDeployer) InitializeReturns

func (fake *FakeDeployer) InitializeReturns(result1 error)

func (*FakeDeployer) InitializeReturnsOnCall

func (fake *FakeDeployer) InitializeReturnsOnCall(i int, result1 error)

func (*FakeDeployer) Invocations

func (fake *FakeDeployer) Invocations() map[string][][]interface{}

func (*FakeDeployer) Prune

func (fake *FakeDeployer) Prune(arg1 *client.Client, arg2 io.Writer) error

func (*FakeDeployer) PruneArgsForCall

func (fake *FakeDeployer) PruneArgsForCall(i int) (*client.Client, io.Writer)

func (*FakeDeployer) PruneCallCount

func (fake *FakeDeployer) PruneCallCount() int

func (*FakeDeployer) PruneCalls

func (fake *FakeDeployer) PruneCalls(stub func(*client.Client, io.Writer) error)

func (*FakeDeployer) PruneReturns

func (fake *FakeDeployer) PruneReturns(result1 error)

func (*FakeDeployer) PruneReturnsOnCall

func (fake *FakeDeployer) PruneReturnsOnCall(i int, result1 error)

func (*FakeDeployer) SetConfig

func (fake *FakeDeployer) SetConfig(arg1 project.DeploymentConfig)

func (*FakeDeployer) SetConfigArgsForCall

func (fake *FakeDeployer) SetConfigArgsForCall(i int) project.DeploymentConfig

func (*FakeDeployer) SetConfigCallCount

func (fake *FakeDeployer) SetConfigCallCount() int

func (*FakeDeployer) SetConfigCalls

func (fake *FakeDeployer) SetConfigCalls(stub func(project.DeploymentConfig))

func (*FakeDeployer) UpdateContainerHistory added in v0.6.0

func (fake *FakeDeployer) UpdateContainerHistory(arg1 *client.Client) error

func (*FakeDeployer) UpdateContainerHistoryArgsForCall added in v0.6.0

func (fake *FakeDeployer) UpdateContainerHistoryArgsForCall(i int) *client.Client

func (*FakeDeployer) UpdateContainerHistoryCallCount added in v0.6.0

func (fake *FakeDeployer) UpdateContainerHistoryCallCount() int

func (*FakeDeployer) UpdateContainerHistoryCalls added in v0.6.0

func (fake *FakeDeployer) UpdateContainerHistoryCalls(stub func(*client.Client) error)

func (*FakeDeployer) UpdateContainerHistoryReturns added in v0.6.0

func (fake *FakeDeployer) UpdateContainerHistoryReturns(result1 error)

func (*FakeDeployer) UpdateContainerHistoryReturnsOnCall added in v0.6.0

func (fake *FakeDeployer) UpdateContainerHistoryReturnsOnCall(i int, result1 error)

func (*FakeDeployer) Watch

func (fake *FakeDeployer) Watch(arg1 *client.Client) (<-chan string, <-chan error)

func (*FakeDeployer) WatchArgsForCall

func (fake *FakeDeployer) WatchArgsForCall(i int) *client.Client

func (*FakeDeployer) WatchCallCount

func (fake *FakeDeployer) WatchCallCount() int

func (*FakeDeployer) WatchCalls

func (fake *FakeDeployer) WatchCalls(stub func(*client.Client) (<-chan string, <-chan error))

func (*FakeDeployer) WatchReturns

func (fake *FakeDeployer) WatchReturns(result1 <-chan string, result2 <-chan error)

func (*FakeDeployer) WatchReturnsOnCall

func (fake *FakeDeployer) WatchReturnsOnCall(i int, result1 <-chan string, result2 <-chan error)

Jump to

Keyboard shortcuts

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