Documentation ¶
Index ¶
- type Herd
- func (herd *Herd) AddHtmlWriter(htmlWriter HtmlWriter)
- func (herd *Herd) ClearSafetyShutoff(hostname string, authInfo *srpc.AuthInformation) 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) ForceDisruptiveUpdate(hostname string, authInfo *srpc.AuthInformation) error
- func (herd *Herd) GetDefaultImage() string
- func (herd *Herd) GetInfoForSubs(request domproto.GetInfoForSubsRequest) ([]domproto.SubInfo, error)
- func (herd *Herd) GetSubsConfiguration() subproto.Configuration
- func (herd *Herd) ListSubs(request domproto.ListSubsRequest) ([]string, error)
- 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 *Herd) ClearSafetyShutoff(hostname string, authInfo *srpc.AuthInformation) error
func (*Herd) ConfigureSubs ¶
func (herd *Herd) ConfigureSubs(configuration subproto.Configuration) error
func (*Herd) DisableUpdates ¶
func (*Herd) EnableUpdates ¶
func (*Herd) ForceDisruptiveUpdate ¶ added in v0.3.2
func (herd *Herd) ForceDisruptiveUpdate(hostname string, authInfo *srpc.AuthInformation) error
func (*Herd) GetDefaultImage ¶
func (*Herd) GetInfoForSubs ¶ added in v0.3.2
func (*Herd) GetSubsConfiguration ¶
func (herd *Herd) GetSubsConfiguration() subproto.Configuration
func (*Herd) ListSubs ¶ added in v0.3.2
func (herd *Herd) ListSubs(request domproto.ListSubsRequest) ([]string, error)
func (*Herd) LockWithTimeout ¶
func (*Herd) PollNextSub ¶
func (*Herd) RLockWithTimeout ¶
func (*Herd) SetDefaultImage ¶
type HtmlWriter ¶
Click to show internal directories.
Click to hide internal directories.