Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
API makes calls to the ApplicationScaler facade.
func NewAPI ¶
func NewAPI(caller base.APICaller, newWatcher NewWatcherFunc) *API
NewAPI returns a new API using the supplied caller.
type NewWatcherFunc ¶
type NewWatcherFunc func(base.APICaller, params.StringsWatchResult) watcher.StringsWatcher
NewWatcherFunc exists to let us test Watch properly.
Click to show internal directories.
Click to hide internal directories.