testing

package
v0.0.0-...-f19ae85 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2015 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HasSecrets = true
	NoSecrets  = false
)

Variables

This section is empty.

Functions

This section is empty.

Types

type APIAddresserFacade

type APIAddresserFacade interface {
	APIAddresses() ([]string, error)
	CACert() (string, error)
	APIHostPorts() ([][]network.HostPort, error)
	WatchAPIHostPorts() (watcher.NotifyWatcher, error)
}

type APIAddresserTests

type APIAddresserTests struct {
	// contains filtered or unexported fields
}

func NewAPIAddresserTests

func NewAPIAddresserTests(facade APIAddresserFacade, st *state.State) *APIAddresserTests

func (*APIAddresserTests) TestAPIAddresses

func (s *APIAddresserTests) TestAPIAddresses(c *gc.C)

func (*APIAddresserTests) TestAPIHostPorts

func (s *APIAddresserTests) TestAPIHostPorts(c *gc.C)

func (*APIAddresserTests) TestCACert

func (s *APIAddresserTests) TestCACert(c *gc.C)

func (*APIAddresserTests) TestWatchAPIHostPorts

func (s *APIAddresserTests) TestWatchAPIHostPorts(c *gc.C)

type EnvironWatcherFacade

type EnvironWatcherFacade interface {
	WatchForEnvironConfigChanges() (watcher.NotifyWatcher, error)
	EnvironConfig() (*config.Config, error)
}

type EnvironWatcherTests

type EnvironWatcherTests struct {
	// contains filtered or unexported fields
}

func NewEnvironWatcherTests

func NewEnvironWatcherTests(
	facade EnvironWatcherFacade,
	st *state.State,
	hasSecrets bool) *EnvironWatcherTests

func (*EnvironWatcherTests) TestEnvironConfig

func (s *EnvironWatcherTests) TestEnvironConfig(c *gc.C)

func (*EnvironWatcherTests) TestWatchForEnvironConfigChanges

func (s *EnvironWatcherTests) TestWatchForEnvironConfigChanges(c *gc.C)

Jump to

Keyboard shortcuts

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