terminalfakes

package
v6.33.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeUI

type FakeUI struct {
	PrintPaginatorStub func(rows []string, err error)

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

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

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

	AskStub func(prompt string) (answer string)

	AskForPasswordStub func(prompt string) (answer string)

	ConfirmStub func(message string) bool

	ConfirmDeleteStub func(modelType, modelName string) bool

	ConfirmDeleteWithAssociationsStub func(modelType, modelName string) bool

	OkStub func()

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

	ShowConfigurationStub func(coreconfig.Reader) error

	LoadingIndicationStub func()

	TableStub func(headers []string) *terminal.UITable

	NotifyUpdateIfNeededStub func(coreconfig.Reader)

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

func (*FakeUI) Ask

func (fake *FakeUI) Ask(prompt string) (answer string)

func (*FakeUI) AskArgsForCall

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

func (*FakeUI) AskCallCount

func (fake *FakeUI) AskCallCount() int

func (*FakeUI) AskForPassword

func (fake *FakeUI) AskForPassword(prompt string) (answer string)

func (*FakeUI) AskForPasswordArgsForCall

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

func (*FakeUI) AskForPasswordCallCount

func (fake *FakeUI) AskForPasswordCallCount() int

func (*FakeUI) AskForPasswordReturns

func (fake *FakeUI) AskForPasswordReturns(result1 string)

func (*FakeUI) AskReturns

func (fake *FakeUI) AskReturns(result1 string)

func (*FakeUI) Confirm

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

func (*FakeUI) ConfirmArgsForCall

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

func (*FakeUI) ConfirmCallCount

func (fake *FakeUI) ConfirmCallCount() int

func (*FakeUI) ConfirmDelete

func (fake *FakeUI) ConfirmDelete(modelType string, modelName string) bool

func (*FakeUI) ConfirmDeleteArgsForCall

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

func (*FakeUI) ConfirmDeleteCallCount

func (fake *FakeUI) ConfirmDeleteCallCount() int

func (*FakeUI) ConfirmDeleteReturns

func (fake *FakeUI) ConfirmDeleteReturns(result1 bool)

func (*FakeUI) ConfirmDeleteWithAssociations

func (fake *FakeUI) ConfirmDeleteWithAssociations(modelType string, modelName string) bool

func (*FakeUI) ConfirmDeleteWithAssociationsArgsForCall

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

func (*FakeUI) ConfirmDeleteWithAssociationsCallCount

func (fake *FakeUI) ConfirmDeleteWithAssociationsCallCount() int

func (*FakeUI) ConfirmDeleteWithAssociationsReturns

func (fake *FakeUI) ConfirmDeleteWithAssociationsReturns(result1 bool)

func (*FakeUI) ConfirmReturns

func (fake *FakeUI) ConfirmReturns(result1 bool)

func (*FakeUI) Failed

func (fake *FakeUI) Failed(message string, args ...interface{})

func (*FakeUI) FailedArgsForCall

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

func (*FakeUI) FailedCallCount

func (fake *FakeUI) FailedCallCount() int

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) 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) Ok

func (fake *FakeUI) Ok()

func (*FakeUI) OkCallCount

func (fake *FakeUI) OkCallCount() int

func (*FakeUI) PrintCapturingNoOutput

func (fake *FakeUI) PrintCapturingNoOutput(message string, args ...interface{})

func (*FakeUI) PrintCapturingNoOutputArgsForCall

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

func (*FakeUI) PrintCapturingNoOutputCallCount

func (fake *FakeUI) PrintCapturingNoOutputCallCount() int

func (*FakeUI) PrintPaginator

func (fake *FakeUI) PrintPaginator(rows []string, err error)

func (*FakeUI) PrintPaginatorArgsForCall

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

func (*FakeUI) PrintPaginatorCallCount

func (fake *FakeUI) PrintPaginatorCallCount() int

func (*FakeUI) Say

func (fake *FakeUI) Say(message string, args ...interface{})

func (*FakeUI) SayArgsForCall

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

func (*FakeUI) SayCallCount

func (fake *FakeUI) SayCallCount() int

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) ShowConfigurationReturns

func (fake *FakeUI) ShowConfigurationReturns(result1 error)

func (*FakeUI) Table

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

func (*FakeUI) TableArgsForCall

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

func (*FakeUI) TableCallCount

func (fake *FakeUI) TableCallCount() int

func (*FakeUI) TableReturns

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

func (*FakeUI) Warn

func (fake *FakeUI) Warn(message string, args ...interface{})

func (*FakeUI) WarnArgsForCall

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

func (*FakeUI) WarnCallCount

func (fake *FakeUI) WarnCallCount() int

func (*FakeUI) Writer

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

func (*FakeUI) WriterCallCount

func (fake *FakeUI) WriterCallCount() int

func (*FakeUI) WriterReturns

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

Jump to

Keyboard shortcuts

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