Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentConfiguration ¶
func (*AgentConfiguration) GetReportingIntervalDuration ¶
func (self *AgentConfiguration) GetReportingIntervalDuration() time.Duration
type LlamaCppObserver ¶
type LlamaCppObserver struct {
AgentConfiguration *AgentConfiguration
ExternalLlamaCppConfiguration *llamacpp.LlamaCppConfiguration
LlamaCppClient *llamacpp.LlamaCppClient
Logger hclog.Logger
ManagementClient *management.Client
}
func (*LlamaCppObserver) ObserveAndReport ¶
func (self *LlamaCppObserver) ObserveAndReport( serverEventsChannel chan<- goroutine.ResultMessage, )
func (*LlamaCppObserver) RunTickerInterval ¶
func (self *LlamaCppObserver) RunTickerInterval( llamaCppSlotsAggregateStatusChannel chan llamacpp.LlamaCppSlotsAggregatedStatus, ticker *time.Ticker, )
type RespondToHealth ¶ added in v0.6.0
type RespondToHealth struct {
ServerEventsChannel chan<- goroutine.ResultMessage
}
func (*RespondToHealth) ServeHTTP ¶ added in v0.6.0
func (self *RespondToHealth) ServeHTTP(response http.ResponseWriter, request *http.Request)
type StatusServer ¶ added in v0.6.0
type StatusServer struct {
StatusServerConfiguration *StatusServerConfiguration
Logger hclog.Logger
RespondToHealth http.Handler
}
func (*StatusServer) Serve ¶ added in v0.6.0
func (self *StatusServer) Serve(serverEventsChannel chan<- goroutine.ResultMessage)
type StatusServerConfiguration ¶ added in v0.6.0
type StatusServerConfiguration struct {
HttpAddress *netcfg.HttpAddressConfiguration
}
Click to show internal directories.
Click to hide internal directories.