Documentation
¶
Overview ¶
Package controller is the Controller page: the runners and clients the controller trusts, its trees, and the secrets and values set at each location, read through Corbie's packages and changed with its corbie controller commands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Controller *identity.Identity
Store store.Store
Command page.Command
Interval time.Duration
// Changed gives a channel closed at the next change the UI makes or
// reads in the store, so the page is sent it at once.
Changed func() <-chan struct{}
Shell page.Shell
}
Config is what the Controller page is given: the controller, its store, how a command runs, how often the store is read, and the shell every page shares.