inertia: github.com/ubclaunchpad/inertia/daemon/inertiad/project/mocks Index | Files

package mocks

import "github.com/ubclaunchpad/inertia/daemon/inertiad/project/mocks"

Code generated by counterfeiter. DO NOT EDIT.

Index

Package Files

deployer.go

type FakeDeployer Uses

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 Uses

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

func (*FakeDeployer) CompareRemotesArgsForCall Uses

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

func (*FakeDeployer) CompareRemotesCallCount Uses

func (fake *FakeDeployer) CompareRemotesCallCount() int

func (*FakeDeployer) CompareRemotesCalls Uses

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

func (*FakeDeployer) CompareRemotesReturns Uses

func (fake *FakeDeployer) CompareRemotesReturns(result1 error)

func (*FakeDeployer) CompareRemotesReturnsOnCall Uses

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

func (*FakeDeployer) Deploy Uses

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

func (*FakeDeployer) DeployArgsForCall Uses

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

func (*FakeDeployer) DeployCallCount Uses

func (fake *FakeDeployer) DeployCallCount() int

func (*FakeDeployer) DeployCalls Uses

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

func (*FakeDeployer) DeployReturns Uses

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

func (*FakeDeployer) DeployReturnsOnCall Uses

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

func (*FakeDeployer) Destroy Uses

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

func (*FakeDeployer) DestroyArgsForCall Uses

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

func (*FakeDeployer) DestroyCallCount Uses

func (fake *FakeDeployer) DestroyCallCount() int

func (*FakeDeployer) DestroyCalls Uses

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

func (*FakeDeployer) DestroyReturns Uses

func (fake *FakeDeployer) DestroyReturns(result1 error)

func (*FakeDeployer) DestroyReturnsOnCall Uses

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

func (*FakeDeployer) Down Uses

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

func (*FakeDeployer) DownArgsForCall Uses

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

func (*FakeDeployer) DownCallCount Uses

func (fake *FakeDeployer) DownCallCount() int

func (*FakeDeployer) DownCalls Uses

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

func (*FakeDeployer) DownReturns Uses

func (fake *FakeDeployer) DownReturns(result1 error)

func (*FakeDeployer) DownReturnsOnCall Uses

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

func (*FakeDeployer) GetBranch Uses

func (fake *FakeDeployer) GetBranch() string

func (*FakeDeployer) GetBranchCallCount Uses

func (fake *FakeDeployer) GetBranchCallCount() int

func (*FakeDeployer) GetBranchCalls Uses

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

func (*FakeDeployer) GetBranchReturns Uses

func (fake *FakeDeployer) GetBranchReturns(result1 string)

func (*FakeDeployer) GetBranchReturnsOnCall Uses

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

func (*FakeDeployer) GetDataManager Uses

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

func (*FakeDeployer) GetDataManagerCallCount Uses

func (fake *FakeDeployer) GetDataManagerCallCount() int

func (*FakeDeployer) GetDataManagerCalls Uses

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

func (*FakeDeployer) GetDataManagerReturns Uses

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

func (*FakeDeployer) GetDataManagerReturnsOnCall Uses

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

func (*FakeDeployer) GetStatus Uses

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

func (*FakeDeployer) GetStatusArgsForCall Uses

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

func (*FakeDeployer) GetStatusCallCount Uses

func (fake *FakeDeployer) GetStatusCallCount() int

func (*FakeDeployer) GetStatusCalls Uses

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

func (*FakeDeployer) GetStatusReturns Uses

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

func (*FakeDeployer) GetStatusReturnsOnCall Uses

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

func (*FakeDeployer) Initialize Uses

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

func (*FakeDeployer) InitializeArgsForCall Uses

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

func (*FakeDeployer) InitializeCallCount Uses

func (fake *FakeDeployer) InitializeCallCount() int

func (*FakeDeployer) InitializeCalls Uses

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

func (*FakeDeployer) InitializeReturns Uses

func (fake *FakeDeployer) InitializeReturns(result1 error)

func (*FakeDeployer) InitializeReturnsOnCall Uses

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

func (*FakeDeployer) Invocations Uses

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

func (*FakeDeployer) Prune Uses

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

func (*FakeDeployer) PruneArgsForCall Uses

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

func (*FakeDeployer) PruneCallCount Uses

func (fake *FakeDeployer) PruneCallCount() int

func (*FakeDeployer) PruneCalls Uses

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

func (*FakeDeployer) PruneReturns Uses

func (fake *FakeDeployer) PruneReturns(result1 error)

func (*FakeDeployer) PruneReturnsOnCall Uses

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

func (*FakeDeployer) SetConfig Uses

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

func (*FakeDeployer) SetConfigArgsForCall Uses

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

func (*FakeDeployer) SetConfigCallCount Uses

func (fake *FakeDeployer) SetConfigCallCount() int

func (*FakeDeployer) SetConfigCalls Uses

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

func (*FakeDeployer) UpdateContainerHistory Uses

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

func (*FakeDeployer) UpdateContainerHistoryArgsForCall Uses

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

func (*FakeDeployer) UpdateContainerHistoryCallCount Uses

func (fake *FakeDeployer) UpdateContainerHistoryCallCount() int

func (*FakeDeployer) UpdateContainerHistoryCalls Uses

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

func (*FakeDeployer) UpdateContainerHistoryReturns Uses

func (fake *FakeDeployer) UpdateContainerHistoryReturns(result1 error)

func (*FakeDeployer) UpdateContainerHistoryReturnsOnCall Uses

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

func (*FakeDeployer) Watch Uses

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

func (*FakeDeployer) WatchArgsForCall Uses

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

func (*FakeDeployer) WatchCallCount Uses

func (fake *FakeDeployer) WatchCallCount() int

func (*FakeDeployer) WatchCalls Uses

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

func (*FakeDeployer) WatchReturns Uses

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

func (*FakeDeployer) WatchReturnsOnCall Uses

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

Package mocks imports 5 packages (graph). Updated 2021-01-28. Refresh now. Tools for package owners.