Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aristanetworks/goarista
/ types & classes
Types & classes
177 in github.com/aristanetworks/goarista
⨍
Functions
923
◇
Types & classes
177
↓ 6 callers
TypeAlias
customPath
key/path_test.go:44
↓ 5 callers
TypeAlias
pointer
key/pointer_test.go:31
↓ 4 callers
TypeAlias
code
test/data_test.go:40
↓ 4 callers
TypeAlias
message
test/data_test.go:42
↓ 3 callers
TypeAlias
pointer
This is the type returned by pointerKey.Key. Returning this is a lot faster than having pointerKey implement Pointer, since it is a compositeKey and t
key/pointer.go:25
↓ 2 callers
TypeAlias
Path
Path represents a path decomposed into elements where each element is a Key. A Path can be interpreted as either absolute or relative depending on how
key/path.go:15
↓ 2 callers
TypeAlias
nsHandle
The file descriptor associated with a network namespace
netns/netns.go:31
↓ 1 callers
TypeAlias
CongestionRecord_EntryType
lanz/proto/lanz.pb.go:66
↓ 1 callers
TypeAlias
GlobalBufferUsageRecord_EntryType
please upgrade the proto package
lanz/proto/lanz.pb.go:23
↓ 1 callers
TypeAlias
alias
test/pretty_test.go:15
↓ 1 callers
TypeAlias
boolKey
key/key.go:67
↓ 1 callers
TypeAlias
bytesKey
key/key.go:52
↓ 1 callers
TypeAlias
float32Key
key/key.go:64
↓ 1 callers
TypeAlias
float64Key
key/key.go:65
↓ 1 callers
TypeAlias
int16Key
key/key.go:55
↓ 1 callers
TypeAlias
int32Key
key/key.go:56
↓ 1 callers
TypeAlias
int64Key
key/key.go:57
↓ 1 callers
TypeAlias
int8Key
key/key.go:54
↓ 1 callers
TypeAlias
mockHandle
netns/netns_test.go:14
↓ 1 callers
TypeAlias
myStringError
test/data_test.go:56
↓ 1 callers
TypeAlias
strKey
key/key.go:51
↓ 1 callers
TypeAlias
uint16Key
key/key.go:60
↓ 1 callers
TypeAlias
uint32Key
key/key.go:61
↓ 1 callers
TypeAlias
uint64Key
key/key.go:62
↓ 1 callers
TypeAlias
uint8Key
key/key.go:59
Struct
A
sizeof/sizeof_test.go:358
Struct
B
sizeof/sizeof_test.go:362
Struct
BaseEncoder
BaseEncoder implements MessageEncoder interface and mainly handle monitoring
kafka/encoder.go:30
FuncType
Callback
Callback is a function that gets called in a given network namespace. The user needs to check any errors from any calls inside this function.
netns/netns.go:22
Interface
Client
Client is the LANZ client interface.
lanz/client.go:28
Struct
Client
Client is a connected gRPC client
openconfig/client/client.go:27
Interface
Comparable
Comparable types have an equality-testing method.
key/key.go:173
Struct
Config
Config is the gnmi.Client config
gnmi/client.go:58
Struct
Config
Config is the representation of octsdb's JSON config file.
cmd/octsdb/config.go:16
Struct
Config
Config is the representation of ocprometheus's YAML config file.
cmd/ocprometheus/config.go:18
Struct
ConfigRecord
lanz/proto/lanz.pb.go:112
Struct
ConfigRecord_PortConfigRecord
lanz/proto/lanz.pb.go:223
Struct
CongestionRecord
lanz/proto/lanz.pb.go:365
Interface
ConnectReadCloser
ConnectReadCloser extends the io.ReadCloser interface with a Connect method.
lanz/client.go:39
Struct
Counter
Counter is a counter that keeps track of its recent values over a given period of time, and with a given resolution. Use newCounter() to instantiate.
monitor/stats/counter.go:43
Struct
Data
Data represents the document format for a notification
elasticsearch/schema.go:24
Struct
DataPoint
DataPoint for OpenTSDB to store.
cmd/octsdb/tsdb.go:10
Interface
DeepEqualer
DeepEqualer allows collection types to compare their values using a given comparator.
test/deepequal.go:32
Struct
Empty
please upgrade the proto package
gnmireverse/gnmireverse.pb.go:28
Struct
ErrorRecord
lanz/proto/lanz.pb.go:484
FuncType
EscapeFunc
EscapeFunc is the escaping method for attribute names
openconfig/json.go:96
Interface
GNMIReverseClient
GNMIReverseClient is the client API for GNMIReverse service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://
gnmireverse/gnmireverse.pb.go:92
Interface
GNMIReverseServer
GNMIReverseServer is the server API for GNMIReverse service.
gnmireverse/gnmireverse.pb.go:139
Interface
GNMIReverse_PublishClient
gnmireverse/gnmireverse.pb.go:113
Interface
GNMIReverse_PublishServer
gnmireverse/gnmireverse.pb.go:159
Struct
GlobalBufferUsageRecord
lanz/proto/lanz.pb.go:302
Interface
Hashable
Hashable represents the key for an entry in a Map that cannot natively be hashed
key/map.go:194
Struct
Histogram
A Histogram accumulates values in the form of a histogram. The type of the values is int64, which is suitable for keeping track of things like RPC lat
monitor/stats/histogram.go:139
Struct
HistogramBucket
HistogramBucket is one histogram bucket.
monitor/stats/histogram.go:50
Struct
HistogramOptions
HistogramOptions contains the parameters that define the histogram's buckets.
monitor/stats/histogram.go:148
Struct
HistogramValue
HistogramValue is the value of Histogram objects.
monitor/stats/histogram.go:36
Struct
InfluxConfig
InfluxConfig is a configuration struct for influxlib.
influxlib/config.go:14
Struct
InfluxDBConnection
InfluxDBConnection is an object that the wrapper uses. Holds a client of the type v2.Client and the configuration
influxlib/lib.go:22
Interface
Key
Key represents the Key in the updates and deletes of the Notification objects. The only reason this exists is that Go won't let us define our own has
key/key.go:21
Struct
LanzRecord
lanz/proto/lanz.pb.go:531
Struct
LatencyHistogram
LatencyHistogram contains the data needed to properly export itself to expvar and provide a pretty printed version
monitor/histogram.go:17
Struct
Map
Map is a string-to-Var map variable that satisfies the Var interface. This a streamlined, more efficient version of expvar.Map, that also supports del
monitor/map.go:23
Struct
Map
Map associates paths to values. It allows wildcards. A Map is primarily used to register handlers with paths that can be easily looked up each time a
path/map.go:18
Struct
Map
Map allows the indexing of entries with arbitrary key types, so long as the keys are either hashable natively or implement Hashable
key/map.go:15
TypeAlias
Map
Map is a type used to provide mapped options via command line flags. It implements the flag.Value interface. If a flag is passed without a value, for
flag/map.go:16
Interface
MessageEncoder
MessageEncoder is an encoder interface which handles encoding proto.Message to sarama.ProducerMessage
kafka/encoder.go:22
Struct
Metadata
Metadata is used to store metadata for the sarama.ProducerMessages
kafka/metadata.go:12
Struct
Metric
A Metric to collect and how to massage it into an OpenTSDB put.
cmd/octsdb/config.go:28
Struct
MetricDef
MetricDef is the representation of a metric definiton in the config file.
cmd/ocprometheus/config.go:33
Interface
OpenTSDBConn
OpenTSDBConn is a managed connection to an OpenTSDB instance (or cluster).
cmd/octsdb/tsdb.go:35
Struct
Operation
Operation describes an gNMI operation.
gnmi/operation.go:337
FuncType
Option
Option is a LANZ client factory option.
lanz/option.go:10
Struct
Point
Point represents a datapoint to be written. Measurement: The measurement to write to Tags: A dictionary of tags in the form string=string Fields: A di
influxlib/lib.go:34
Interface
Pointer
Pointer is a pointer to a path.
key/pointer.go:12
Interface
PrintableHistogram
PrintableHistogram represents a Histogram that can be printed as a chart.
monitor/server.go:63
Interface
Producer
Producer forwards messages recvd on a channel to kafka.
kafka/producer/producer.go:20
FuncType
PublishFunc
PublishFunc is the method to publish responses
openconfig/client/client.go:24
FuncType
PublishFunc
PublishFunc is the method to publish responses
gnmi/client.go:37
TypeAlias
Row
Row is defined as a map where the key (string) is the name of the column (field name) and the value is left as an interface to accept any value.
influxlib/lib.go:18
Interface
Server
Server represents a monitoring server
monitor/server.go:22
TypeAlias
StringArrayOption
StringArrayOption is a type used to provide string options via command line flags.
flag/string_array.go:10
Struct
SubscribeOptions
SubscribeOptions is the gNMI subscription request options
gnmi/client.go:71
Struct
Tracker
Tracker is a min/max value tracker that keeps track of its min/max values over a given period of time, and with a given resolution. The initial min an
monitor/stats/tracker.go:34
Struct
Uint
Uint is a 64-bit unsigned integer variable that satisfies the Var interface.
monitor/types.go:13
Struct
UnhandledMessageError
UnhandledMessageError is used for proto messages not matching the handled types
kafka/openconfig/encoder.go:23
Struct
UnhandledMessageError
UnhandledMessageError is used for proto messages not matching the handled types
kafka/gnmi/encoder.go:22
Struct
UnhandledSubscribeResponseError
UnhandledSubscribeResponseError is used for subscribe responses not matching the handled types
kafka/openconfig/encoder.go:32
Struct
UnhandledSubscribeResponseError
UnhandledSubscribeResponseError is used for subscribe responses not matching the handled types
kafka/gnmi/encoder.go:31
Struct
UnimplementedGNMIReverseServer
UnimplementedGNMIReverseServer can be embedded to have forward compatible implementations.
gnmireverse/gnmireverse.pb.go:144
Interface
Value
Value is the interface that all types with value semantics must implement in order to be compatible with the Entity infrastructure and streaming proto
value/value.go:26
FuncType
VisitorFunc
VisitorFunc is a function that handles the value associated with a path in a Map. Note that only the value is passed in as an argument since the path
path/map.go:29
Struct
WildcardType
WildcardType is the type used to construct a Wildcard. It implements the value.Value interface so it can be used as a key.Key.
path/wildcard.go:16
Interface
baseClient
baseClient allows us to represent both a redis.Client and redis.ClusterClient.
cmd/ocredis/main.go:32
Struct
block
blocks are used to keep track of which memory areas were already been visited.
sizeof/sizeof.go:17
Struct
bucketInternal
bucketInternal is the internal representation of a bucket, which includes a rate counter.
monitor/stats/histogram.go:163
Struct
builtinCompare
test/data_test.go:16
Struct
chainedEntry
key/map.go:96
Struct
client
lanz/client.go:45
Struct
collector
cmd/ocprometheus/collector.go:36
Struct
comparableStruct
test/deepequal_test.go:9
next →
1–100 of 177, ranked by callers