terminalfakes

package
v6.48.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2019 License: Apache-2.0 Imports: 4 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 FakeUI

type FakeUI struct {
	AskStub func(string) string

	AskForPasswordStub func(string) string

	ConfirmStub func(string) bool

	ConfirmDeleteStub func(string, string) bool

	ConfirmDeleteWithAssociationsStub func(string, string) bool

	FailedStub func(string, ...interface{})

	LoadingIndicationStub func()

	NotifyUpdateIfNeededStub func(coreconfig.Reader)

	OkStub func()

	PrintCapturingNoOutputStub func(string, ...interface{})

	PrintPaginatorStub func([]string, error)

	SayStub func(string, ...interface{})

	ShowConfigurationStub func(coreconfig.Reader) error

	TableStub func([]string) *terminal.UITable

	WarnStub func(string, ...interface{})

	WriterStub func() io.Writer
	// contains filtered or unexported fields
}

func (*FakeUI) Ask

func (fake *FakeUI) Ask(arg1 string) string

func (*FakeUI) AskArgsForCall

func (fake *FakeUI) AskArgsForCall(i int) string

func (*FakeUI) AskCallCount

func (fake *FakeUI) AskCallCount() int

func (*FakeUI) AskCalls

func (fake *FakeUI) AskCalls(stub func(string) string)

func (*FakeUI) AskForPassword

func (fake *FakeUI) AskForPassword(arg1 string) string

func (*FakeUI) AskForPasswordArgsForCall

func (fake *FakeUI) AskForPasswordArgsForCall(i int) string

func (*FakeUI) AskForPasswordCallCount

func (fake *FakeUI) AskForPasswordCallCount() int

func (*FakeUI) AskForPasswordCalls

func (fake *FakeUI) AskForPasswordCalls(stub func(string) string)

func (*FakeUI) AskForPasswordReturns

func (fake *FakeUI) AskForPasswordReturns(result1 string)

func (*FakeUI) AskForPasswordReturnsOnCall

func (fake *FakeUI) AskForPasswordReturnsOnCall(i int, result1 string)

func (*FakeUI) AskReturns

func (fake *FakeUI) AskReturns(result1 string)

func (*FakeUI) AskReturnsOnCall

func (fake *FakeUI) AskReturnsOnCall(i int, result1 string)

func (*FakeUI) Confirm

func (fake *FakeUI) Confirm(arg1 string) bool

func (*FakeUI) ConfirmArgsForCall

func (fake *FakeUI) ConfirmArgsForCall(i int) string

func (*FakeUI) ConfirmCallCount

func (fake *FakeUI) ConfirmCallCount() int

func (*FakeUI) ConfirmCalls

func (fake *FakeUI) ConfirmCalls(stub func(string) bool)

func (*FakeUI) ConfirmDelete

func (fake *FakeUI) ConfirmDelete(arg1 string, arg2 string) bool

func (*FakeUI) ConfirmDeleteArgsForCall

func (fake *FakeUI) ConfirmDeleteArgsForCall(i int) (string, string)

func (*FakeUI) ConfirmDeleteCallCount

func (fake *FakeUI) ConfirmDeleteCallCount() int

func (*FakeUI) ConfirmDeleteCalls

func (fake *FakeUI) ConfirmDeleteCalls(stub func(string, string) bool)

func (*FakeUI) ConfirmDeleteReturns

func (fake *FakeUI) ConfirmDeleteReturns(result1 bool)

func (*FakeUI) ConfirmDeleteReturnsOnCall

func (fake *FakeUI) ConfirmDeleteReturnsOnCall(i int, result1 bool)

func (*FakeUI) ConfirmDeleteWithAssociations

func (fake *FakeUI) ConfirmDeleteWithAssociations(arg1 string, arg2 string) bool

func (*FakeUI) ConfirmDeleteWithAssociationsArgsForCall

func (fake *FakeUI) ConfirmDeleteWithAssociationsArgsForCall(i int) (string, string)

func (*FakeUI) ConfirmDeleteWithAssociationsCallCount

func (fake *FakeUI) ConfirmDeleteWithAssociationsCallCount() int

func (*FakeUI) ConfirmDeleteWithAssociationsCalls

func (fake *FakeUI) ConfirmDeleteWithAssociationsCalls(stub func(string, string) bool)

func (*FakeUI) ConfirmDeleteWithAssociationsReturns

func (fake *FakeUI) ConfirmDeleteWithAssociationsReturns(result1 bool)

func (*FakeUI) ConfirmDeleteWithAssociationsReturnsOnCall

func (fake *FakeUI) ConfirmDeleteWithAssociationsReturnsOnCall(i int, result1 bool)

func (*FakeUI) ConfirmReturns

func (fake *FakeUI) ConfirmReturns(result1 bool)

func (*FakeUI) ConfirmReturnsOnCall

func (fake *FakeUI) ConfirmReturnsOnCall(i int, result1 bool)

func (*FakeUI) Failed

func (fake *FakeUI) Failed(arg1 string, arg2 ...interface{})

func (*FakeUI) FailedArgsForCall

func (fake *FakeUI) FailedArgsForCall(i int) (string, []interface{})

func (*FakeUI) FailedCallCount

func (fake *FakeUI) FailedCallCount() int

func (*FakeUI) FailedCalls

func (fake *FakeUI) FailedCalls(stub func(string, ...interface{}))

func (*FakeUI) Invocations

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

func (*FakeUI) LoadingIndication

func (fake *FakeUI) LoadingIndication()

func (*FakeUI) LoadingIndicationCallCount

func (fake *FakeUI) LoadingIndicationCallCount() int

func (*FakeUI) LoadingIndicationCalls

func (fake *FakeUI) LoadingIndicationCalls(stub func())

func (*FakeUI) NotifyUpdateIfNeeded

func (fake *FakeUI) NotifyUpdateIfNeeded(arg1 coreconfig.Reader)

func (*FakeUI) NotifyUpdateIfNeededArgsForCall

func (fake *FakeUI) NotifyUpdateIfNeededArgsForCall(i int) coreconfig.Reader

func (*FakeUI) NotifyUpdateIfNeededCallCount

func (fake *FakeUI) NotifyUpdateIfNeededCallCount() int

func (*FakeUI) NotifyUpdateIfNeededCalls

func (fake *FakeUI) NotifyUpdateIfNeededCalls(stub func(coreconfig.Reader))

func (*FakeUI) Ok

func (fake *FakeUI) Ok()

func (*FakeUI) OkCallCount

func (fake *FakeUI) OkCallCount() int

func (*FakeUI) OkCalls

func (fake *FakeUI) OkCalls(stub func())

func (*FakeUI) PrintCapturingNoOutput

func (fake *FakeUI) PrintCapturingNoOutput(arg1 string, arg2 ...interface{})

func (*FakeUI) PrintCapturingNoOutputArgsForCall

func (fake *FakeUI) PrintCapturingNoOutputArgsForCall(i int) (string, []interface{})

func (*FakeUI) PrintCapturingNoOutputCallCount

func (fake *FakeUI) PrintCapturingNoOutputCallCount() int

func (*FakeUI) PrintCapturingNoOutputCalls

func (fake *FakeUI) PrintCapturingNoOutputCalls(stub func(string, ...interface{}))

func (*FakeUI) PrintPaginator

func (fake *FakeUI) PrintPaginator(arg1 []string, arg2 error)

func (*FakeUI) PrintPaginatorArgsForCall

func (fake *FakeUI) PrintPaginatorArgsForCall(i int) ([]string, error)

func (*FakeUI) PrintPaginatorCallCount

func (fake *FakeUI) PrintPaginatorCallCount() int

func (*FakeUI) PrintPaginatorCalls

func (fake *FakeUI) PrintPaginatorCalls(stub func([]string, error))

func (*FakeUI) Say

func (fake *FakeUI) Say(arg1 string, arg2 ...interface{})

func (*FakeUI) SayArgsForCall

func (fake *FakeUI) SayArgsForCall(i int) (string, []interface{})

func (*FakeUI) SayCallCount

func (fake *FakeUI) SayCallCount() int

func (*FakeUI) SayCalls

func (fake *FakeUI) SayCalls(stub func(string, ...interface{}))

func (*FakeUI) ShowConfiguration

func (fake *FakeUI) ShowConfiguration(arg1 coreconfig.Reader) error

func (*FakeUI) ShowConfigurationArgsForCall

func (fake *FakeUI) ShowConfigurationArgsForCall(i int) coreconfig.Reader

func (*FakeUI) ShowConfigurationCallCount

func (fake *FakeUI) ShowConfigurationCallCount() int

func (*FakeUI) ShowConfigurationCalls

func (fake *FakeUI) ShowConfigurationCalls(stub func(coreconfig.Reader) error)

func (*FakeUI) ShowConfigurationReturns

func (fake *FakeUI) ShowConfigurationReturns(result1 error)

func (*FakeUI) ShowConfigurationReturnsOnCall

func (fake *FakeUI) ShowConfigurationReturnsOnCall(i int, result1 error)

func (*FakeUI) Table

func (fake *FakeUI) Table(arg1 []string) *terminal.UITable

func (*FakeUI) TableArgsForCall

func (fake *FakeUI) TableArgsForCall(i int) []string

func (*FakeUI) TableCallCount

func (fake *FakeUI) TableCallCount() int

func (*FakeUI) TableCalls

func (fake *FakeUI) TableCalls(stub func([]string) *terminal.UITable)

func (*FakeUI) TableReturns

func (fake *FakeUI) TableReturns(result1 *terminal.UITable)

func (*FakeUI) TableReturnsOnCall

func (fake *FakeUI) TableReturnsOnCall(i int, result1 *terminal.UITable)

func (*FakeUI) Warn

func (fake *FakeUI) Warn(arg1 string, arg2 ...interface{})

func (*FakeUI) WarnArgsForCall

func (fake *FakeUI) WarnArgsForCall(i int) (string, []interface{})

func (*FakeUI) WarnCallCount

func (fake *FakeUI) WarnCallCount() int

func (*FakeUI) WarnCalls

func (fake *FakeUI) WarnCalls(stub func(string, ...interface{}))

func (*FakeUI) Writer

func (fake *FakeUI) Writer() io.Writer

func (*FakeUI) WriterCallCount

func (fake *FakeUI) WriterCallCount() int

func (*FakeUI) WriterCalls

func (fake *FakeUI) WriterCalls(stub func() io.Writer)

func (*FakeUI) WriterReturns

func (fake *FakeUI) WriterReturns(result1 io.Writer)

func (*FakeUI) WriterReturnsOnCall

func (fake *FakeUI) WriterReturnsOnCall(i int, result1 io.Writer)

Jump to

Keyboard shortcuts

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