Documentation
¶
Index ¶
Constants ¶
View Source
const ( KeyColor = "color" // string KeyDebug = "debug" // bool KeyOutput = "output" // string KeyTty = "tty-encode" // string KeyServerAddress = "server-address" // string KeyTimeout = "timeout" // duration KeyRetries = "retries" // int )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConnectedClient ¶ added in v1.0.0
type ConnectedClient struct { Client tetragon.FineGuidanceSensorsClient Ctx context.Context // contains filtered or unexported fields }
func NewConnectedClient ¶ added in v1.0.0
func NewConnectedClient() ConnectedClient
NewConnectedClient return a connected client to a tetragon server, caller must call Close() on the client. On failure to connect, this function calls Fatal() thus stopping execution.
func (ConnectedClient) Close ¶ added in v1.0.0
func (c ConnectedClient) Close()
Close cleanup resources, it closes the connection and cancel the context
Click to show internal directories.
Click to hide internal directories.