MCPcopy Create free account
hub / github.com/cloudfoundry/cli / FakeConfig

Struct FakeConfig

util/ui/uifakes/fake_config.go:11–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9)
10
11type FakeConfig struct {
12 ColorEnabledStub func() configv3.ColorSetting
13 colorEnabledMutex sync.RWMutex
14 colorEnabledArgsForCall []struct {
15 }
16 colorEnabledReturns struct {
17 result1 configv3.ColorSetting
18 }
19 colorEnabledReturnsOnCall map[int]struct {
20 result1 configv3.ColorSetting
21 }
22 IsTTYStub func() bool
23 isTTYMutex sync.RWMutex
24 isTTYArgsForCall []struct {
25 }
26 isTTYReturns struct {
27 result1 bool
28 }
29 isTTYReturnsOnCall map[int]struct {
30 result1 bool
31 }
32 LocaleStub func() string
33 localeMutex sync.RWMutex
34 localeArgsForCall []struct {
35 }
36 localeReturns struct {
37 result1 string
38 }
39 localeReturnsOnCall map[int]struct {
40 result1 string
41 }
42 TerminalWidthStub func() int
43 terminalWidthMutex sync.RWMutex
44 terminalWidthArgsForCall []struct {
45 }
46 terminalWidthReturns struct {
47 result1 int
48 }
49 terminalWidthReturnsOnCall map[int]struct {
50 result1 int
51 }
52 invocations map[string][][]interface{}
53 invocationsMutex sync.RWMutex
54}
55
56func (fake *FakeConfig) ColorEnabled() configv3.ColorSetting {
57 fake.colorEnabledMutex.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected