Documentation ¶
Index ¶
- func NewFakeCloudEnv() cloudenv.CloudEnv
- type FakeCloudEnv
- func (c FakeCloudEnv) CallLoad() int
- func (c FakeCloudEnv) GetAppInfo() cloudenv.AppInfo
- func (c FakeCloudEnv) GetServicesFromName(name string) []cloudenv.Service
- func (c FakeCloudEnv) GetServicesFromTags(tags []string) []cloudenv.Service
- func (c FakeCloudEnv) IsInCloudEnv() bool
- func (c *FakeCloudEnv) Load() error
- func (c FakeCloudEnv) Name() string
- func (c FakeCloudEnv) Services() []cloudenv.Service
- func (c *FakeCloudEnv) SetAppInfo(appInfo cloudenv.AppInfo)
- func (c *FakeCloudEnv) SetInCloudEnv(inCloudEnv bool)
- func (c *FakeCloudEnv) SetServices(services []cloudenv.Service)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFakeCloudEnv ¶
Types ¶
type FakeCloudEnv ¶
type FakeCloudEnv struct {
// contains filtered or unexported fields
}
func (FakeCloudEnv) CallLoad ¶
func (c FakeCloudEnv) CallLoad() int
func (FakeCloudEnv) GetAppInfo ¶
func (c FakeCloudEnv) GetAppInfo() cloudenv.AppInfo
func (FakeCloudEnv) GetServicesFromName ¶
func (c FakeCloudEnv) GetServicesFromName(name string) []cloudenv.Service
func (FakeCloudEnv) GetServicesFromTags ¶
func (c FakeCloudEnv) GetServicesFromTags(tags []string) []cloudenv.Service
func (FakeCloudEnv) IsInCloudEnv ¶
func (c FakeCloudEnv) IsInCloudEnv() bool
func (*FakeCloudEnv) Load ¶
func (c *FakeCloudEnv) Load() error
func (FakeCloudEnv) Name ¶
func (c FakeCloudEnv) Name() string
func (FakeCloudEnv) Services ¶
func (c FakeCloudEnv) Services() []cloudenv.Service
func (*FakeCloudEnv) SetAppInfo ¶
func (c *FakeCloudEnv) SetAppInfo(appInfo cloudenv.AppInfo)
func (*FakeCloudEnv) SetInCloudEnv ¶
func (c *FakeCloudEnv) SetInCloudEnv(inCloudEnv bool)
func (*FakeCloudEnv) SetServices ¶
func (c *FakeCloudEnv) SetServices(services []cloudenv.Service)
Click to show internal directories.
Click to hide internal directories.