Documentation
¶
Index ¶
Constants ¶
View Source
const ( HasSecrets = true NoSecrets = false )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvironWatcherTest ¶
type EnvironWatcherTest struct {
// contains filtered or unexported fields
}
func NewEnvironWatcherTest ¶
func NewEnvironWatcherTest( envWatcher EnvironmentWatcher, st *state.State, resources *common.Resources, hasSecrets bool) *EnvironWatcherTest
func (*EnvironWatcherTest) AssertEnvironConfig ¶
func (s *EnvironWatcherTest) AssertEnvironConfig(c *gc.C, envWatcher EnvironmentWatcher, hasSecrets bool)
AssertEnvironConfig provides a method to test the config from the envWatcher. This allows other tests that embed this type to have more than just the default test.
func (*EnvironWatcherTest) TestEnvironConfig ¶
func (s *EnvironWatcherTest) TestEnvironConfig(c *gc.C)
func (*EnvironWatcherTest) TestWatchForEnvironConfigChanges ¶
func (s *EnvironWatcherTest) TestWatchForEnvironConfigChanges(c *gc.C)
type EnvironmentWatcher ¶
type EnvironmentWatcher interface { WatchForEnvironConfigChanges() (params.NotifyWatchResult, error) EnvironConfig() (params.EnvironConfigResult, error) }
Click to show internal directories.
Click to hide internal directories.