(p []*config.Profile)
| 113 | } |
| 114 | |
| 115 | func NewConfigStubWithProfiles(p []*config.Profile) *ConfigStub { |
| 116 | return &ConfigStub{ |
| 117 | CurrentProfile: *p[0], |
| 118 | profiles: p, |
| 119 | } |
| 120 | } |
| 121 | |
| 122 | func NewDefaultConfigStub() *ConfigStub { |
| 123 | return NewConfigStubWithProfiles([]*config.Profile{ |
no outgoing calls