Documentation ¶
Index ¶
- type Herd
- func (herd *Herd) AddHtmlWriter(htmlWriter HtmlWriter)
- func (herd *Herd) ClearSafetyShutoff(hostname string) error
- func (herd *Herd) ConfigureSubs(configuration subproto.Configuration) error
- func (herd *Herd) DisableUpdates(username, reason string) error
- func (herd *Herd) EnableUpdates() error
- func (herd *Herd) GetDefaultImage() string
- func (herd *Herd) GetSubsConfiguration() subproto.Configuration
- func (herd *Herd) LockWithTimeout(timeout time.Duration)
- func (herd *Herd) MdbUpdate(mdb *mdb.Mdb)
- func (herd *Herd) PollNextSub() bool
- func (herd *Herd) RLockWithTimeout(timeout time.Duration)
- func (herd *Herd) SetDefaultImage(imageName string) error
- func (herd *Herd) StartServer(portNum uint, daemon bool) error
- type HtmlWriter
- type Sub
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Herd ¶
type Herd struct { sync.RWMutex // Protect map and slice mutations. // contains filtered or unexported fields }
func NewHerd ¶
func NewHerd(imageServerAddress string, objectServer objectserver.ObjectServer, metricsDir *tricorder.DirectorySpec, logger log.DebugLogger) *Herd
func (*Herd) AddHtmlWriter ¶
func (herd *Herd) AddHtmlWriter(htmlWriter HtmlWriter)
func (*Herd) ClearSafetyShutoff ¶
func (*Herd) ConfigureSubs ¶
func (herd *Herd) ConfigureSubs(configuration subproto.Configuration) error
func (*Herd) DisableUpdates ¶
func (*Herd) EnableUpdates ¶
func (*Herd) GetDefaultImage ¶
func (*Herd) GetSubsConfiguration ¶
func (herd *Herd) GetSubsConfiguration() subproto.Configuration
func (*Herd) LockWithTimeout ¶
func (*Herd) PollNextSub ¶
func (*Herd) RLockWithTimeout ¶
func (*Herd) SetDefaultImage ¶
type HtmlWriter ¶
Click to show internal directories.
Click to hide internal directories.