Documentation ¶
Index ¶
- type Agent
- func (a *Agent) Conf() *config.GloriousConfig
- func (a *Agent) Config(_ struct{}, units *[]UnitConfig) error
- func (a *Agent) ExchangeTailToken(token string) ([]string, bool)
- func (a *Agent) Greet(params []string, reply *string) error
- func (a *Agent) Logger() context.Logger
- func (a *Agent) Reload(_ struct{}, err *error) error
- func (a *Agent) StartUnit(unitName string, err *string) error
- func (a *Agent) Status(_ struct{}, units *[]UnitStatus) error
- func (a *Agent) StopUnit(unitName string, err *string) error
- func (a *Agent) StoreGetValues(req *StoreGetValuesRequest, resp *StoreGetValuesResponse) error
- func (a *Agent) StorePutValue(req StorePutValueRequest, resp *ErrResponse) error
- func (a *Agent) TailProcesses(req *TailProcessesRequest, resp *TailProcessesResponse) error
- type ErrResponse
- type StoreGetValuesRequest
- type StoreGetValuesResponse
- type StorePutValueRequest
- type TailProcessesRequest
- type TailProcessesResponse
- type UnitConfig
- type UnitStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct {
// contains filtered or unexported fields
}
func (*Agent) Conf ¶
func (a *Agent) Conf() *config.GloriousConfig
func (*Agent) Config ¶
func (a *Agent) Config(_ struct{}, units *[]UnitConfig) error
func (*Agent) Status ¶
func (a *Agent) Status(_ struct{}, units *[]UnitStatus) error
func (*Agent) StoreGetValues ¶
func (a *Agent) StoreGetValues(req *StoreGetValuesRequest, resp *StoreGetValuesResponse) error
func (*Agent) StorePutValue ¶
func (a *Agent) StorePutValue(req StorePutValueRequest, resp *ErrResponse) error
func (*Agent) TailProcesses ¶
func (a *Agent) TailProcesses(req *TailProcessesRequest, resp *TailProcessesResponse) error
type ErrResponse ¶
type ErrResponse struct {
Err string
}
type StoreGetValuesRequest ¶
type StoreGetValuesRequest struct {
Keys []string
}
type StoreGetValuesResponse ¶
type StorePutValueRequest ¶
type TailProcessesRequest ¶
type TailProcessesRequest struct {
Names []string
}
type TailProcessesResponse ¶
type UnitConfig ¶
type UnitStatus ¶
Click to show internal directories.
Click to hide internal directories.