# Functions
CombineParentHealth takes a ParentHealth directly queried from the parent service (ATS or the Origin) and the ParentServiceHealth directly queried from the parent's HealthService, combines them, and returns a ParentServiceHealth with each direct parent's RecursiveParentHealth containing both the direct ParentHealth and the ParentServiceHealth.
DeserializeParentHealth deserializes the ParentHealth from network or disk output, as previously serialized with Serialize.
DeserializeParentServiceHealth deserializes the ParentHealth from network or disk output, as previously serialized with Serialize.
No description provided by the author
NewParentHealthPtr is a convenience func for NewAtomicPtr(NewParentHealth()).
No description provided by the author
used at startup to load a trafficservers list of parents from it's 'parent.config', 'strategies.yaml' and current parent status from trafficservers HostStatus subsystem.
No description provided by the author
NewParentServiceHealthPtr is a convenience func for NewAtomicPtr(NewParentServiceHealth()).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
StartParentHealthPoller polls parents for health every pollInterval.
StartParentHealthService is a helper function that calls NewParentHealthServer, runs ListenAndServe in a goroutine, and returns the ParentHealthServer.
StartParentServiceHealthPoller polls parents for health every pollInterval.
StartTrafficMonitorHealthPoller The main polling function that keeps the parents list current if with any changes to the trafficserver 'parent.config' or 'strategies.yaml'.
# Constants
these are the HostStatus reason codes used within trafficserver.
TODO make configurable?.
these are the HostStatus reason codes used within trafficserver.
these are the HostStatus reason codes used within trafficserver.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
ParentServicePollTimeoutService is the timeout for PollParent.
# Structs
when reading the 'strategies.yaml', these fields are used to help parse out fail_over objects.
the fields used from 'strategies.yaml' that describe a parent.
MarkdownServer contains symbols for manipulating a running MarkdownService started by StartMarkdownService.
No description provided by the author
ParentHealthPollResult is the health data from polling a parent.
No description provided by the author
No description provided by the author
ParentInfo contains the necessary data required to keep track of trafficserver config files, lists of parents a trafficserver instance uses, and directory locations used for configuration and trafficserver executables.
ParentServiceHealth is the recursive parent health polled from other Parent Health Services.
ParentServiceHealthErrFQDN contains the health, any error, and the parent fqdn.
ParentServiceHealthPollResult is the health data from polling a parent.
ParentStatus contains the trafficserver 'HostStatus' fields that are necessary to interface with the trafficserver 'traffic_ctl' command.
the protocol object in 'strategies.yaml' that help to describe a parent.
RecursiveParentHealth is either a poll from a direct parent poll of a non-cache or a ParentServiceHealth from a parent service poll of a cache.
the top level array defintions in a trafficserver 'strategies.yaml' configuration file.
a trafficserver strategy object from 'strategies.yaml'.
TOData is the Traffic Ops data needed by various services.
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author