sharedactionfakes

package
v7.0.0-beta.23+incompa... Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

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 FakeConfig

type FakeConfig struct {
	AccessTokenStub func() string

	BinaryNameStub func() string

	CurrentUserNameStub func() (string, error)

	HasTargetedOrganizationStub func() bool

	HasTargetedSpaceStub func() bool

	RefreshTokenStub func() string

	TargetedOrganizationNameStub func() string

	VerboseStub func() (bool, []string)
	// contains filtered or unexported fields
}

func (*FakeConfig) AccessToken

func (fake *FakeConfig) AccessToken() string

func (*FakeConfig) AccessTokenCallCount

func (fake *FakeConfig) AccessTokenCallCount() int

func (*FakeConfig) AccessTokenCalls

func (fake *FakeConfig) AccessTokenCalls(stub func() string)

func (*FakeConfig) AccessTokenReturns

func (fake *FakeConfig) AccessTokenReturns(result1 string)

func (*FakeConfig) AccessTokenReturnsOnCall

func (fake *FakeConfig) AccessTokenReturnsOnCall(i int, result1 string)

func (*FakeConfig) BinaryName

func (fake *FakeConfig) BinaryName() string

func (*FakeConfig) BinaryNameCallCount

func (fake *FakeConfig) BinaryNameCallCount() int

func (*FakeConfig) BinaryNameCalls

func (fake *FakeConfig) BinaryNameCalls(stub func() string)

func (*FakeConfig) BinaryNameReturns

func (fake *FakeConfig) BinaryNameReturns(result1 string)

func (*FakeConfig) BinaryNameReturnsOnCall

func (fake *FakeConfig) BinaryNameReturnsOnCall(i int, result1 string)

func (*FakeConfig) CurrentUserName

func (fake *FakeConfig) CurrentUserName() (string, error)

func (*FakeConfig) CurrentUserNameCallCount

func (fake *FakeConfig) CurrentUserNameCallCount() int

func (*FakeConfig) CurrentUserNameCalls

func (fake *FakeConfig) CurrentUserNameCalls(stub func() (string, error))

func (*FakeConfig) CurrentUserNameReturns

func (fake *FakeConfig) CurrentUserNameReturns(result1 string, result2 error)

func (*FakeConfig) CurrentUserNameReturnsOnCall

func (fake *FakeConfig) CurrentUserNameReturnsOnCall(i int, result1 string, result2 error)

func (*FakeConfig) HasTargetedOrganization

func (fake *FakeConfig) HasTargetedOrganization() bool

func (*FakeConfig) HasTargetedOrganizationCallCount

func (fake *FakeConfig) HasTargetedOrganizationCallCount() int

func (*FakeConfig) HasTargetedOrganizationCalls

func (fake *FakeConfig) HasTargetedOrganizationCalls(stub func() bool)

func (*FakeConfig) HasTargetedOrganizationReturns

func (fake *FakeConfig) HasTargetedOrganizationReturns(result1 bool)

func (*FakeConfig) HasTargetedOrganizationReturnsOnCall

func (fake *FakeConfig) HasTargetedOrganizationReturnsOnCall(i int, result1 bool)

func (*FakeConfig) HasTargetedSpace

func (fake *FakeConfig) HasTargetedSpace() bool

func (*FakeConfig) HasTargetedSpaceCallCount

func (fake *FakeConfig) HasTargetedSpaceCallCount() int

func (*FakeConfig) HasTargetedSpaceCalls

func (fake *FakeConfig) HasTargetedSpaceCalls(stub func() bool)

func (*FakeConfig) HasTargetedSpaceReturns

func (fake *FakeConfig) HasTargetedSpaceReturns(result1 bool)

func (*FakeConfig) HasTargetedSpaceReturnsOnCall

func (fake *FakeConfig) HasTargetedSpaceReturnsOnCall(i int, result1 bool)

func (*FakeConfig) Invocations

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

func (*FakeConfig) RefreshToken

func (fake *FakeConfig) RefreshToken() string

func (*FakeConfig) RefreshTokenCallCount

func (fake *FakeConfig) RefreshTokenCallCount() int

func (*FakeConfig) RefreshTokenCalls

func (fake *FakeConfig) RefreshTokenCalls(stub func() string)

func (*FakeConfig) RefreshTokenReturns

func (fake *FakeConfig) RefreshTokenReturns(result1 string)

func (*FakeConfig) RefreshTokenReturnsOnCall

func (fake *FakeConfig) RefreshTokenReturnsOnCall(i int, result1 string)

func (*FakeConfig) TargetedOrganizationName

func (fake *FakeConfig) TargetedOrganizationName() string

func (*FakeConfig) TargetedOrganizationNameCallCount

func (fake *FakeConfig) TargetedOrganizationNameCallCount() int

func (*FakeConfig) TargetedOrganizationNameCalls

func (fake *FakeConfig) TargetedOrganizationNameCalls(stub func() string)

func (*FakeConfig) TargetedOrganizationNameReturns

func (fake *FakeConfig) TargetedOrganizationNameReturns(result1 string)

func (*FakeConfig) TargetedOrganizationNameReturnsOnCall

func (fake *FakeConfig) TargetedOrganizationNameReturnsOnCall(i int, result1 string)

func (*FakeConfig) Verbose

func (fake *FakeConfig) Verbose() (bool, []string)

func (*FakeConfig) VerboseCallCount

func (fake *FakeConfig) VerboseCallCount() int

func (*FakeConfig) VerboseCalls

func (fake *FakeConfig) VerboseCalls(stub func() (bool, []string))

func (*FakeConfig) VerboseReturns

func (fake *FakeConfig) VerboseReturns(result1 bool, result2 []string)

func (*FakeConfig) VerboseReturnsOnCall

func (fake *FakeConfig) VerboseReturnsOnCall(i int, result1 bool, result2 []string)

type FakeSecureShellClient

type FakeSecureShellClient struct {
	CloseStub func() error

	ConnectStub func(string, string, string, string, bool) error

	InteractiveSessionStub func([]string, clissh.TTYRequest) error

	LocalPortForwardStub func([]clissh.LocalPortForward) error

	WaitStub func() error
	// contains filtered or unexported fields
}

func (*FakeSecureShellClient) Close

func (fake *FakeSecureShellClient) Close() error

func (*FakeSecureShellClient) CloseCallCount

func (fake *FakeSecureShellClient) CloseCallCount() int

func (*FakeSecureShellClient) CloseCalls

func (fake *FakeSecureShellClient) CloseCalls(stub func() error)

func (*FakeSecureShellClient) CloseReturns

func (fake *FakeSecureShellClient) CloseReturns(result1 error)

func (*FakeSecureShellClient) CloseReturnsOnCall

func (fake *FakeSecureShellClient) CloseReturnsOnCall(i int, result1 error)

func (*FakeSecureShellClient) Connect

func (fake *FakeSecureShellClient) Connect(arg1 string, arg2 string, arg3 string, arg4 string, arg5 bool) error

func (*FakeSecureShellClient) ConnectArgsForCall

func (fake *FakeSecureShellClient) ConnectArgsForCall(i int) (string, string, string, string, bool)

func (*FakeSecureShellClient) ConnectCallCount

func (fake *FakeSecureShellClient) ConnectCallCount() int

func (*FakeSecureShellClient) ConnectCalls

func (fake *FakeSecureShellClient) ConnectCalls(stub func(string, string, string, string, bool) error)

func (*FakeSecureShellClient) ConnectReturns

func (fake *FakeSecureShellClient) ConnectReturns(result1 error)

func (*FakeSecureShellClient) ConnectReturnsOnCall

func (fake *FakeSecureShellClient) ConnectReturnsOnCall(i int, result1 error)

func (*FakeSecureShellClient) InteractiveSession

func (fake *FakeSecureShellClient) InteractiveSession(arg1 []string, arg2 clissh.TTYRequest) error

func (*FakeSecureShellClient) InteractiveSessionArgsForCall

func (fake *FakeSecureShellClient) InteractiveSessionArgsForCall(i int) ([]string, clissh.TTYRequest)

func (*FakeSecureShellClient) InteractiveSessionCallCount

func (fake *FakeSecureShellClient) InteractiveSessionCallCount() int

func (*FakeSecureShellClient) InteractiveSessionCalls

func (fake *FakeSecureShellClient) InteractiveSessionCalls(stub func([]string, clissh.TTYRequest) error)

func (*FakeSecureShellClient) InteractiveSessionReturns

func (fake *FakeSecureShellClient) InteractiveSessionReturns(result1 error)

func (*FakeSecureShellClient) InteractiveSessionReturnsOnCall

func (fake *FakeSecureShellClient) InteractiveSessionReturnsOnCall(i int, result1 error)

func (*FakeSecureShellClient) Invocations

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

func (*FakeSecureShellClient) LocalPortForward

func (fake *FakeSecureShellClient) LocalPortForward(arg1 []clissh.LocalPortForward) error

func (*FakeSecureShellClient) LocalPortForwardArgsForCall

func (fake *FakeSecureShellClient) LocalPortForwardArgsForCall(i int) []clissh.LocalPortForward

func (*FakeSecureShellClient) LocalPortForwardCallCount

func (fake *FakeSecureShellClient) LocalPortForwardCallCount() int

func (*FakeSecureShellClient) LocalPortForwardCalls

func (fake *FakeSecureShellClient) LocalPortForwardCalls(stub func([]clissh.LocalPortForward) error)

func (*FakeSecureShellClient) LocalPortForwardReturns

func (fake *FakeSecureShellClient) LocalPortForwardReturns(result1 error)

func (*FakeSecureShellClient) LocalPortForwardReturnsOnCall

func (fake *FakeSecureShellClient) LocalPortForwardReturnsOnCall(i int, result1 error)

func (*FakeSecureShellClient) Wait

func (fake *FakeSecureShellClient) Wait() error

func (*FakeSecureShellClient) WaitCallCount

func (fake *FakeSecureShellClient) WaitCallCount() int

func (*FakeSecureShellClient) WaitCalls

func (fake *FakeSecureShellClient) WaitCalls(stub func() error)

func (*FakeSecureShellClient) WaitReturns

func (fake *FakeSecureShellClient) WaitReturns(result1 error)

func (*FakeSecureShellClient) WaitReturnsOnCall

func (fake *FakeSecureShellClient) WaitReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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