Documentation ¶
Index ¶
- func NewHttpService(service configuration.Service) (svr *http.Server)
- type Cards
- type HttpService
- type Service
- func (s *Service) GenerateWorkflowDescriptor(wfPath string, vars map[string]string) string
- func (s *Service) GetAndProcessComponentConfiguration(query *componentcfg.Query, varStack map[string]string) (payload string, err error)
- func (s *Service) GetCRUCardsForHost(hostname string) (string, error)
- func (s *Service) GetComponentConfiguration(query *componentcfg.Query) (payload string, err error)
- func (s *Service) GetComponentConfigurationWithLastIndex(query *componentcfg.Query) (payload string, lastIndex uint64, err error)
- func (s *Service) GetDefaults() map[string]string
- func (s *Service) GetDetectorForHost(hostname string) (string, error)
- func (s *Service) GetDetectorsForHosts(hosts []string) ([]string, error)
- func (s *Service) GetEndpointsForCRUCard(hostname, cardSerial string) (string, error)
- func (s *Service) GetHostInventory(detector string) (hosts []string, err error)
- func (s *Service) GetRuntimeEntry(component string, key string) (string, error)
- func (s *Service) GetVars() map[string]string
- func (s *Service) ImportComponentConfiguration(query *componentcfg.Query, payload string, newComponent bool, ...) (existingComponentUpdated bool, existingEntryUpdated bool, newTimestamp int64, ...)
- func (s *Service) ListComponentEntries(query *componentcfg.EntriesQuery, showLatestTimestamp bool) (entries []string, err error)
- func (s *Service) ListComponentEntryHistory(query *componentcfg.Query) (entries []string, err error)
- func (s *Service) ListComponents() (components []string, err error)
- func (s *Service) ListDetectors() (detectors []string, err error)
- func (s *Service) ListRuntimeEntries(component string) ([]string, error)
- func (s *Service) NewRunNumber() (runNumber uint32, err error)
- func (s *Service) RawGetRecursive(path string) (string, error)
- func (s *Service) SetRuntimeEntry(component string, key string, value string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHttpService ¶ added in v0.22.80
func NewHttpService(service configuration.Service) (svr *http.Server)
Types ¶
type HttpService ¶ added in v0.22.80
type HttpService struct {
// contains filtered or unexported fields
}
func (*HttpService) ApiGetClusterInformation ¶ added in v0.22.80
func (httpsvc *HttpService) ApiGetClusterInformation(w http.ResponseWriter, r *http.Request, detector string)
func (*HttpService) ApiGetDetectorFlps ¶ added in v0.22.80
func (httpsvc *HttpService) ApiGetDetectorFlps(w http.ResponseWriter, r *http.Request)
func (*HttpService) ApiGetFlps ¶ added in v0.22.80
func (httpsvc *HttpService) ApiGetFlps(w http.ResponseWriter, r *http.Request)
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) GenerateWorkflowDescriptor ¶
Returns a YAML file OR even a structure made of Roles or Nodes with: import() functions already computed and resolved vars inserted
func (*Service) GetAndProcessComponentConfiguration ¶
func (*Service) GetCRUCardsForHost ¶ added in v0.22.0
func (*Service) GetComponentConfiguration ¶
func (s *Service) GetComponentConfiguration(query *componentcfg.Query) (payload string, err error)
func (*Service) GetComponentConfigurationWithLastIndex ¶ added in v0.29.2
func (*Service) GetDefaults ¶
maybe this one shouldn't exist at all, because vars should get inserted response: but not all of them! some vars will likely only get parsed at deployment time i.e. right before pushing TaskInfos
func (*Service) GetDetectorForHost ¶ added in v0.22.0
func (*Service) GetDetectorsForHosts ¶ added in v0.26.3
func (*Service) GetEndpointsForCRUCard ¶ added in v0.22.0
func (*Service) GetHostInventory ¶ added in v0.22.80
func (*Service) GetRuntimeEntry ¶
func (*Service) ImportComponentConfiguration ¶
func (*Service) ListComponentEntries ¶
func (s *Service) ListComponentEntries(query *componentcfg.EntriesQuery, showLatestTimestamp bool) (entries []string, err error)
func (*Service) ListComponentEntryHistory ¶
func (s *Service) ListComponentEntryHistory(query *componentcfg.Query) (entries []string, err error)
func (*Service) ListComponents ¶
func (*Service) ListDetectors ¶ added in v0.26.3
func (*Service) ListRuntimeEntries ¶ added in v0.25.80
func (*Service) NewRunNumber ¶
Click to show internal directories.
Click to hide internal directories.