Documentation ¶
Index ¶
- Variables
- func DaemonHeartbeat(c rest.FrontClient, daemonName string) error
- func GetLearnSessionIDByName(c rest.LearnClient, name string) (akid.LearnSessionID, error)
- func GetServiceIDByName(c rest.FrontClient, name string) (akid.ServiceID, error)
- func LongPollActiveTracesForService(c rest.FrontClient, daemonName string, serviceID akid.ServiceID, ...) (daemon.ActiveTraceDiff, error)
- func NewLearnSession(domain string, clientID akid.ClientID, svc akid.ServiceID, sessionName string, ...) (akid.LearnSessionID, error)
- func ResolveSpecURI(lc rest.LearnClient, uri akiuri.URI) (akid.APISpecID, error)
- type ExitError
Constants ¶
This section is empty.
Variables ¶
View Source
var RandomAPIModelName func() string = randomName
Produces a random name for an API model.
View Source
var RandomLearnSessionName func() string = randomName
Produces a random name for a learning session.
Functions ¶
func DaemonHeartbeat ¶ added in v0.14.0
func DaemonHeartbeat(c rest.FrontClient, daemonName string) error
func GetLearnSessionIDByName ¶
func GetLearnSessionIDByName(c rest.LearnClient, name string) (akid.LearnSessionID, error)
func GetServiceIDByName ¶
func LongPollActiveTracesForService ¶ added in v0.14.0
func LongPollActiveTracesForService(c rest.FrontClient, daemonName string, serviceID akid.ServiceID, currentTraces []akid.LearnSessionID) (daemon.ActiveTraceDiff, error)
Long-polls the cloud for changes to the set of active traces for a service.
func NewLearnSession ¶
func ResolveSpecURI ¶ added in v0.12.0
Types ¶
Click to show internal directories.
Click to hide internal directories.