connectivitymonitor

package
v0.0.0-...-1768917 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_arista_connectivitymonitor_v1_connectivitymonitor_proto protoreflect.FileDescriptor
View Source
var File_arista_connectivitymonitor_v1_services_gen_proto protoreflect.FileDescriptor
View Source
var ProbeService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "arista.connectivitymonitor.v1.ProbeService",
	HandlerType: (*ProbeServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetOne",
			Handler:    _ProbeService_GetOne_Handler,
		},
		{
			MethodName: "GetMeta",
			Handler:    _ProbeService_GetMeta_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "GetSome",
			Handler:       _ProbeService_GetSome_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "GetAll",
			Handler:       _ProbeService_GetAll_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "Subscribe",
			Handler:       _ProbeService_Subscribe_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "SubscribeMeta",
			Handler:       _ProbeService_SubscribeMeta_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "arista/connectivitymonitor.v1/services.gen.proto",
}

ProbeService_ServiceDesc is the grpc.ServiceDesc for ProbeService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ProbeStatsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "arista.connectivitymonitor.v1.ProbeStatsService",
	HandlerType: (*ProbeStatsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetOne",
			Handler:    _ProbeStatsService_GetOne_Handler,
		},
		{
			MethodName: "GetMeta",
			Handler:    _ProbeStatsService_GetMeta_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "GetSome",
			Handler:       _ProbeStatsService_GetSome_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "GetAll",
			Handler:       _ProbeStatsService_GetAll_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "Subscribe",
			Handler:       _ProbeStatsService_Subscribe_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "SubscribeMeta",
			Handler:       _ProbeStatsService_SubscribeMeta_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "arista/connectivitymonitor.v1/services.gen.proto",
}

ProbeStatsService_ServiceDesc is the grpc.ServiceDesc for ProbeStatsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterProbeServiceServer

func RegisterProbeServiceServer(s grpc.ServiceRegistrar, srv ProbeServiceServer)

func RegisterProbeStatsServiceServer

func RegisterProbeStatsServiceServer(s grpc.ServiceRegistrar, srv ProbeStatsServiceServer)

Types

type MetaResponse

type MetaResponse struct {

	// Time holds the timestamp of the last item included in the metadata calculation.
	Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	// Operation indicates how the value in this response should be considered.
	// Under non-subscribe requests, this value should always be INITIAL. In a subscription,
	// once all initial data is streamed and the client begins to receive modification updates,
	// you should not see INITIAL again.
	Type subscriptions.Operation `protobuf:"varint,2,opt,name=type,proto3,enum=arista.subscriptions.Operation" json:"type,omitempty"`
	// Count is the number of items present under the conditions of the request.
	Count *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*MetaResponse) Descriptor deprecated

func (*MetaResponse) Descriptor() ([]byte, []int)

Deprecated: Use MetaResponse.ProtoReflect.Descriptor instead.

func (*MetaResponse) GetCount

func (x *MetaResponse) GetCount() *wrapperspb.UInt32Value

func (*MetaResponse) GetTime

func (x *MetaResponse) GetTime() *timestamppb.Timestamp

func (*MetaResponse) GetType

func (x *MetaResponse) GetType() subscriptions.Operation

func (*MetaResponse) ProtoMessage

func (*MetaResponse) ProtoMessage()

func (*MetaResponse) ProtoReflect

func (x *MetaResponse) ProtoReflect() protoreflect.Message

func (*MetaResponse) Reset

func (x *MetaResponse) Reset()

func (*MetaResponse) String

func (x *MetaResponse) String() string

type Probe

type Probe struct {

	// key uniquely identifies the connectivity monitor probe.
	Key *ProbeKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// ip_addr is the IP Address of the probe.
	IpAddr *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=ip_addr,json=ipAddr,proto3" json:"ip_addr,omitempty"`
	// host_name is the name of the host of the probe.
	HostName *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"`
	// description is the description of the probe.
	Description *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

Probe is identifying information of a connectivity monitor probe. It is used to retrieve probe information without getting the corresponding stats so that probe information can be displayed without streaming all related data, such as in the UI.

func (*Probe) Descriptor deprecated

func (*Probe) Descriptor() ([]byte, []int)

Deprecated: Use Probe.ProtoReflect.Descriptor instead.

func (*Probe) GetDescription

func (x *Probe) GetDescription() *wrapperspb.StringValue

func (*Probe) GetHostName

func (x *Probe) GetHostName() *wrapperspb.StringValue

func (*Probe) GetIpAddr

func (x *Probe) GetIpAddr() *wrapperspb.StringValue

func (*Probe) GetKey

func (x *Probe) GetKey() *ProbeKey

func (*Probe) ProtoMessage

func (*Probe) ProtoMessage()

func (*Probe) ProtoReflect

func (x *Probe) ProtoReflect() protoreflect.Message

func (*Probe) Reset

func (x *Probe) Reset()

func (*Probe) String

func (x *Probe) String() string

type ProbeKey

type ProbeKey struct {

	// device_id is the id of the device in the probe.
	DeviceId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	// host is the hostname used in the probe.
	Host *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
	// vrf is the name of the VRF in the probe.
	Vrf *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=vrf,proto3" json:"vrf,omitempty"`
	// contains filtered or unexported fields
}

ProbeKey uniquely identifies a connectivity monitor probe.

func (*ProbeKey) Descriptor deprecated

func (*ProbeKey) Descriptor() ([]byte, []int)

Deprecated: Use ProbeKey.ProtoReflect.Descriptor instead.

func (*ProbeKey) GetDeviceId

func (x *ProbeKey) GetDeviceId() *wrapperspb.StringValue

func (*ProbeKey) GetHost

func (x *ProbeKey) GetHost() *wrapperspb.StringValue

func (*ProbeKey) GetVrf

func (x *ProbeKey) GetVrf() *wrapperspb.StringValue

func (*ProbeKey) ProtoMessage

func (*ProbeKey) ProtoMessage()

func (*ProbeKey) ProtoReflect

func (x *ProbeKey) ProtoReflect() protoreflect.Message

func (*ProbeKey) Reset

func (x *ProbeKey) Reset()

func (*ProbeKey) String

func (x *ProbeKey) String() string

type ProbeRequest

type ProbeRequest struct {

	// Key uniquely identifies a Probe instance to retrieve.
	// This value must be populated.
	Key *ProbeKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Time indicates the time for which you are interested in the data.
	// If no time is given, the server will use the time at which it makes the request.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*ProbeRequest) Descriptor deprecated

func (*ProbeRequest) Descriptor() ([]byte, []int)

Deprecated: Use ProbeRequest.ProtoReflect.Descriptor instead.

func (*ProbeRequest) GetKey

func (x *ProbeRequest) GetKey() *ProbeKey

func (*ProbeRequest) GetTime

func (x *ProbeRequest) GetTime() *timestamppb.Timestamp

func (*ProbeRequest) ProtoMessage

func (*ProbeRequest) ProtoMessage()

func (*ProbeRequest) ProtoReflect

func (x *ProbeRequest) ProtoReflect() protoreflect.Message

func (*ProbeRequest) Reset

func (x *ProbeRequest) Reset()

func (*ProbeRequest) String

func (x *ProbeRequest) String() string

type ProbeResponse

type ProbeResponse struct {

	// Value is the value requested.
	// This structure will be fully-populated as it exists in the datastore. If
	// optional fields were not given at creation, these fields will be empty or
	// set to default values.
	Value *Probe `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Time carries the (UTC) timestamp of the last-modification of the
	// Probe instance in this response.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*ProbeResponse) Descriptor deprecated

func (*ProbeResponse) Descriptor() ([]byte, []int)

Deprecated: Use ProbeResponse.ProtoReflect.Descriptor instead.

func (*ProbeResponse) GetTime

func (x *ProbeResponse) GetTime() *timestamppb.Timestamp

func (*ProbeResponse) GetValue

func (x *ProbeResponse) GetValue() *Probe

func (*ProbeResponse) ProtoMessage

func (*ProbeResponse) ProtoMessage()

func (*ProbeResponse) ProtoReflect

func (x *ProbeResponse) ProtoReflect() protoreflect.Message

func (*ProbeResponse) Reset

func (x *ProbeResponse) Reset()

func (*ProbeResponse) String

func (x *ProbeResponse) String() string

type ProbeServiceClient

ProbeServiceClient is the client API for ProbeService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ProbeServiceServer

ProbeServiceServer is the server API for ProbeService service. All implementations must embed UnimplementedProbeServiceServer for forward compatibility

type ProbeService_GetAllClient

type ProbeService_GetAllClient interface {
	Recv() (*ProbeStreamResponse, error)
	grpc.ClientStream
}

type ProbeService_GetAllServer

type ProbeService_GetAllServer interface {
	Send(*ProbeStreamResponse) error
	grpc.ServerStream
}

type ProbeService_GetSomeClient

type ProbeService_GetSomeClient interface {
	Recv() (*ProbeSomeResponse, error)
	grpc.ClientStream
}

type ProbeService_GetSomeServer

type ProbeService_GetSomeServer interface {
	Send(*ProbeSomeResponse) error
	grpc.ServerStream
}

type ProbeService_SubscribeClient

type ProbeService_SubscribeClient interface {
	Recv() (*ProbeStreamResponse, error)
	grpc.ClientStream
}

type ProbeService_SubscribeMetaClient

type ProbeService_SubscribeMetaClient interface {
	Recv() (*MetaResponse, error)
	grpc.ClientStream
}

type ProbeService_SubscribeMetaServer

type ProbeService_SubscribeMetaServer interface {
	Send(*MetaResponse) error
	grpc.ServerStream
}

type ProbeService_SubscribeServer

type ProbeService_SubscribeServer interface {
	Send(*ProbeStreamResponse) error
	grpc.ServerStream
}

type ProbeSomeRequest

type ProbeSomeRequest struct {
	Keys []*ProbeKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	// Time indicates the time for which you are interested in the data.
	// If no time is given, the server will use the time at which it makes the request.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*ProbeSomeRequest) Descriptor deprecated

func (*ProbeSomeRequest) Descriptor() ([]byte, []int)

Deprecated: Use ProbeSomeRequest.ProtoReflect.Descriptor instead.

func (*ProbeSomeRequest) GetKeys

func (x *ProbeSomeRequest) GetKeys() []*ProbeKey

func (*ProbeSomeRequest) GetTime

func (x *ProbeSomeRequest) GetTime() *timestamppb.Timestamp

func (*ProbeSomeRequest) ProtoMessage

func (*ProbeSomeRequest) ProtoMessage()

func (*ProbeSomeRequest) ProtoReflect

func (x *ProbeSomeRequest) ProtoReflect() protoreflect.Message

func (*ProbeSomeRequest) Reset

func (x *ProbeSomeRequest) Reset()

func (*ProbeSomeRequest) String

func (x *ProbeSomeRequest) String() string

type ProbeSomeResponse

type ProbeSomeResponse struct {

	// Value is the value requested.
	// This structure will be fully-populated as it exists in the datastore. If
	// optional fields were not given at creation, these fields will be empty or
	// set to default values.
	Value *Probe `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Error is an optional field.
	// It should be filled when there is an error in the GetSome process.
	Error *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	Time  *timestamppb.Timestamp  `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*ProbeSomeResponse) Descriptor deprecated

func (*ProbeSomeResponse) Descriptor() ([]byte, []int)

Deprecated: Use ProbeSomeResponse.ProtoReflect.Descriptor instead.

func (*ProbeSomeResponse) GetError

func (x *ProbeSomeResponse) GetError() *wrapperspb.StringValue

func (*ProbeSomeResponse) GetTime

func (x *ProbeSomeResponse) GetTime() *timestamppb.Timestamp

func (*ProbeSomeResponse) GetValue

func (x *ProbeSomeResponse) GetValue() *Probe

func (*ProbeSomeResponse) ProtoMessage

func (*ProbeSomeResponse) ProtoMessage()

func (*ProbeSomeResponse) ProtoReflect

func (x *ProbeSomeResponse) ProtoReflect() protoreflect.Message

func (*ProbeSomeResponse) Reset

func (x *ProbeSomeResponse) Reset()

func (*ProbeSomeResponse) String

func (x *ProbeSomeResponse) String() string

type ProbeStats

type ProbeStats struct {

	// key uniquely identifies the connectivity monitor probe.
	Key *ProbeStatsKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// latency_millis is the latency between the device interface and the host.
	// Value is in milliseconds.
	LatencyMillis *wrapperspb.DoubleValue `protobuf:"bytes,2,opt,name=latency_millis,json=latencyMillis,proto3" json:"latency_millis,omitempty"`
	// jitter_millis is the amount of jitter experienced by requests
	// between the device interface and host.
	// Value is in milliseconds.
	JitterMillis *wrapperspb.DoubleValue `protobuf:"bytes,3,opt,name=jitter_millis,json=jitterMillis,proto3" json:"jitter_millis,omitempty"`
	// http_response_time_millis is the amount of time taken to respond to a http
	// request between the device interface and the host.
	// Value is in milliseconds.
	HttpResponseTimeMillis *wrapperspb.DoubleValue `` /* 131-byte string literal not displayed */
	// packet_loss_percent is the amount of packet loss experienced
	// by requests between the device interface and host.
	// Value is a percentage.
	PacketLossPercent *wrapperspb.Int64Value `protobuf:"bytes,5,opt,name=packet_loss_percent,json=packetLossPercent,proto3" json:"packet_loss_percent,omitempty"`
	// error is the error reported on the connection.
	Error *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

ProbeStats is the connectivity monitor statistics related to the specified probe.

func (*ProbeStats) Descriptor deprecated

func (*ProbeStats) Descriptor() ([]byte, []int)

Deprecated: Use ProbeStats.ProtoReflect.Descriptor instead.

func (*ProbeStats) GetError

func (x *ProbeStats) GetError() *wrapperspb.StringValue

func (*ProbeStats) GetHttpResponseTimeMillis

func (x *ProbeStats) GetHttpResponseTimeMillis() *wrapperspb.DoubleValue

func (*ProbeStats) GetJitterMillis

func (x *ProbeStats) GetJitterMillis() *wrapperspb.DoubleValue

func (*ProbeStats) GetKey

func (x *ProbeStats) GetKey() *ProbeStatsKey

func (*ProbeStats) GetLatencyMillis

func (x *ProbeStats) GetLatencyMillis() *wrapperspb.DoubleValue

func (*ProbeStats) GetPacketLossPercent

func (x *ProbeStats) GetPacketLossPercent() *wrapperspb.Int64Value

func (*ProbeStats) ProtoMessage

func (*ProbeStats) ProtoMessage()

func (*ProbeStats) ProtoReflect

func (x *ProbeStats) ProtoReflect() protoreflect.Message

func (*ProbeStats) Reset

func (x *ProbeStats) Reset()

func (*ProbeStats) String

func (x *ProbeStats) String() string

type ProbeStatsKey

type ProbeStatsKey struct {

	// device_id is the id of the device in the probe.
	DeviceId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	// host is the hostname used in the probe.
	Host *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
	// vrf is the name of the VRF in the probe.
	Vrf *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=vrf,proto3" json:"vrf,omitempty"`
	// source_intf is the name of the interface in the probe.
	SourceIntf *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=source_intf,json=sourceIntf,proto3" json:"source_intf,omitempty"`
	// contains filtered or unexported fields
}

ProbeStatsKey uniquely identifies a connectivity monitor probe's statistics, per source interface.

func (*ProbeStatsKey) Descriptor deprecated

func (*ProbeStatsKey) Descriptor() ([]byte, []int)

Deprecated: Use ProbeStatsKey.ProtoReflect.Descriptor instead.

func (*ProbeStatsKey) GetDeviceId

func (x *ProbeStatsKey) GetDeviceId() *wrapperspb.StringValue

func (*ProbeStatsKey) GetHost

func (x *ProbeStatsKey) GetHost() *wrapperspb.StringValue

func (*ProbeStatsKey) GetSourceIntf

func (x *ProbeStatsKey) GetSourceIntf() *wrapperspb.StringValue

func (*ProbeStatsKey) GetVrf

func (x *ProbeStatsKey) GetVrf() *wrapperspb.StringValue

func (*ProbeStatsKey) ProtoMessage

func (*ProbeStatsKey) ProtoMessage()

func (*ProbeStatsKey) ProtoReflect

func (x *ProbeStatsKey) ProtoReflect() protoreflect.Message

func (*ProbeStatsKey) Reset

func (x *ProbeStatsKey) Reset()

func (*ProbeStatsKey) String

func (x *ProbeStatsKey) String() string

type ProbeStatsRequest

type ProbeStatsRequest struct {

	// Key uniquely identifies a ProbeStats instance to retrieve.
	// This value must be populated.
	Key *ProbeStatsKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Time indicates the time for which you are interested in the data.
	// If no time is given, the server will use the time at which it makes the request.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*ProbeStatsRequest) Descriptor deprecated

func (*ProbeStatsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ProbeStatsRequest.ProtoReflect.Descriptor instead.

func (*ProbeStatsRequest) GetKey

func (x *ProbeStatsRequest) GetKey() *ProbeStatsKey

func (*ProbeStatsRequest) GetTime

func (x *ProbeStatsRequest) GetTime() *timestamppb.Timestamp

func (*ProbeStatsRequest) ProtoMessage

func (*ProbeStatsRequest) ProtoMessage()

func (*ProbeStatsRequest) ProtoReflect

func (x *ProbeStatsRequest) ProtoReflect() protoreflect.Message

func (*ProbeStatsRequest) Reset

func (x *ProbeStatsRequest) Reset()

func (*ProbeStatsRequest) String

func (x *ProbeStatsRequest) String() string

type ProbeStatsResponse

type ProbeStatsResponse struct {

	// Value is the value requested.
	// This structure will be fully-populated as it exists in the datastore. If
	// optional fields were not given at creation, these fields will be empty or
	// set to default values.
	Value *ProbeStats `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Time carries the (UTC) timestamp of the last-modification of the
	// ProbeStats instance in this response.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*ProbeStatsResponse) Descriptor deprecated

func (*ProbeStatsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ProbeStatsResponse.ProtoReflect.Descriptor instead.

func (*ProbeStatsResponse) GetTime

func (*ProbeStatsResponse) GetValue

func (x *ProbeStatsResponse) GetValue() *ProbeStats

func (*ProbeStatsResponse) ProtoMessage

func (*ProbeStatsResponse) ProtoMessage()

func (*ProbeStatsResponse) ProtoReflect

func (x *ProbeStatsResponse) ProtoReflect() protoreflect.Message

func (*ProbeStatsResponse) Reset

func (x *ProbeStatsResponse) Reset()

func (*ProbeStatsResponse) String

func (x *ProbeStatsResponse) String() string

type ProbeStatsServiceClient

ProbeStatsServiceClient is the client API for ProbeStatsService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ProbeStatsServiceServer

ProbeStatsServiceServer is the server API for ProbeStatsService service. All implementations must embed UnimplementedProbeStatsServiceServer for forward compatibility

type ProbeStatsService_GetAllClient

type ProbeStatsService_GetAllClient interface {
	Recv() (*ProbeStatsStreamResponse, error)
	grpc.ClientStream
}

type ProbeStatsService_GetAllServer

type ProbeStatsService_GetAllServer interface {
	Send(*ProbeStatsStreamResponse) error
	grpc.ServerStream
}

type ProbeStatsService_GetSomeClient

type ProbeStatsService_GetSomeClient interface {
	Recv() (*ProbeStatsSomeResponse, error)
	grpc.ClientStream
}

type ProbeStatsService_GetSomeServer

type ProbeStatsService_GetSomeServer interface {
	Send(*ProbeStatsSomeResponse) error
	grpc.ServerStream
}

type ProbeStatsService_SubscribeClient

type ProbeStatsService_SubscribeClient interface {
	Recv() (*ProbeStatsStreamResponse, error)
	grpc.ClientStream
}

type ProbeStatsService_SubscribeMetaClient

type ProbeStatsService_SubscribeMetaClient interface {
	Recv() (*MetaResponse, error)
	grpc.ClientStream
}

type ProbeStatsService_SubscribeMetaServer

type ProbeStatsService_SubscribeMetaServer interface {
	Send(*MetaResponse) error
	grpc.ServerStream
}

type ProbeStatsService_SubscribeServer

type ProbeStatsService_SubscribeServer interface {
	Send(*ProbeStatsStreamResponse) error
	grpc.ServerStream
}

type ProbeStatsSomeRequest

type ProbeStatsSomeRequest struct {
	Keys []*ProbeStatsKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	// Time indicates the time for which you are interested in the data.
	// If no time is given, the server will use the time at which it makes the request.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*ProbeStatsSomeRequest) Descriptor deprecated

func (*ProbeStatsSomeRequest) Descriptor() ([]byte, []int)

Deprecated: Use ProbeStatsSomeRequest.ProtoReflect.Descriptor instead.

func (*ProbeStatsSomeRequest) GetKeys

func (x *ProbeStatsSomeRequest) GetKeys() []*ProbeStatsKey

func (*ProbeStatsSomeRequest) GetTime

func (*ProbeStatsSomeRequest) ProtoMessage

func (*ProbeStatsSomeRequest) ProtoMessage()

func (*ProbeStatsSomeRequest) ProtoReflect

func (x *ProbeStatsSomeRequest) ProtoReflect() protoreflect.Message

func (*ProbeStatsSomeRequest) Reset

func (x *ProbeStatsSomeRequest) Reset()

func (*ProbeStatsSomeRequest) String

func (x *ProbeStatsSomeRequest) String() string

type ProbeStatsSomeResponse

type ProbeStatsSomeResponse struct {

	// Value is the value requested.
	// This structure will be fully-populated as it exists in the datastore. If
	// optional fields were not given at creation, these fields will be empty or
	// set to default values.
	Value *ProbeStats `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Error is an optional field.
	// It should be filled when there is an error in the GetSome process.
	Error *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	Time  *timestamppb.Timestamp  `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*ProbeStatsSomeResponse) Descriptor deprecated

func (*ProbeStatsSomeResponse) Descriptor() ([]byte, []int)

Deprecated: Use ProbeStatsSomeResponse.ProtoReflect.Descriptor instead.

func (*ProbeStatsSomeResponse) GetError

func (*ProbeStatsSomeResponse) GetTime

func (*ProbeStatsSomeResponse) GetValue

func (x *ProbeStatsSomeResponse) GetValue() *ProbeStats

func (*ProbeStatsSomeResponse) ProtoMessage

func (*ProbeStatsSomeResponse) ProtoMessage()

func (*ProbeStatsSomeResponse) ProtoReflect

func (x *ProbeStatsSomeResponse) ProtoReflect() protoreflect.Message

func (*ProbeStatsSomeResponse) Reset

func (x *ProbeStatsSomeResponse) Reset()

func (*ProbeStatsSomeResponse) String

func (x *ProbeStatsSomeResponse) String() string

type ProbeStatsStreamRequest

type ProbeStatsStreamRequest struct {

	// PartialEqFilter provides a way to server-side filter a GetAll/Subscribe.
	// This requires all provided fields to be equal to the response.
	//
	// While transparent to users, this field also allows services to optimize internal
	// subscriptions if filter(s) are sufficiently specific.
	PartialEqFilter []*ProbeStats `protobuf:"bytes,1,rep,name=partial_eq_filter,json=partialEqFilter,proto3" json:"partial_eq_filter,omitempty"`
	// TimeRange allows limiting response data to within a specified time window.
	// If this field is populated, at least one of the two time fields are required.
	//
	// For GetAll, the fields start and end can be used as follows:
	//
	//   * end: Returns the state of each ProbeStats at end.
	//     * Each ProbeStats response is fully-specified (all fields set).
	//   * start: Returns the state of each ProbeStats at start, followed by updates until now.
	//     * Each ProbeStats response at start is fully-specified, but updates may be partial.
	//   * start and end: Returns the state of each ProbeStats at start, followed by updates
	//     until end.
	//     * Each ProbeStats response at start is fully-specified, but updates until end may
	//       be partial.
	//
	// This field is not allowed in the Subscribe RPC.
	Time *time.TimeBounds `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*ProbeStatsStreamRequest) Descriptor deprecated

func (*ProbeStatsStreamRequest) Descriptor() ([]byte, []int)

Deprecated: Use ProbeStatsStreamRequest.ProtoReflect.Descriptor instead.

func (*ProbeStatsStreamRequest) GetPartialEqFilter

func (x *ProbeStatsStreamRequest) GetPartialEqFilter() []*ProbeStats

func (*ProbeStatsStreamRequest) GetTime

func (x *ProbeStatsStreamRequest) GetTime() *time.TimeBounds

func (*ProbeStatsStreamRequest) ProtoMessage

func (*ProbeStatsStreamRequest) ProtoMessage()

func (*ProbeStatsStreamRequest) ProtoReflect

func (x *ProbeStatsStreamRequest) ProtoReflect() protoreflect.Message

func (*ProbeStatsStreamRequest) Reset

func (x *ProbeStatsStreamRequest) Reset()

func (*ProbeStatsStreamRequest) String

func (x *ProbeStatsStreamRequest) String() string

type ProbeStatsStreamResponse

type ProbeStatsStreamResponse struct {

	// Value is a value deemed relevant to the initiating request.
	// This structure will always have its key-field populated. Which other fields are
	// populated, and why, depends on the value of Operation and what triggered this notification.
	Value *ProbeStats `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Time holds the timestamp of this ProbeStats's last modification.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// Operation indicates how the ProbeStats value in this response should be considered.
	// Under non-subscribe requests, this value should always be INITIAL. In a subscription,
	// once all initial data is streamed and the client begins to receive modification updates,
	// you should not see INITIAL again.
	Type subscriptions.Operation `protobuf:"varint,3,opt,name=type,proto3,enum=arista.subscriptions.Operation" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*ProbeStatsStreamResponse) Descriptor deprecated

func (*ProbeStatsStreamResponse) Descriptor() ([]byte, []int)

Deprecated: Use ProbeStatsStreamResponse.ProtoReflect.Descriptor instead.

func (*ProbeStatsStreamResponse) GetTime

func (*ProbeStatsStreamResponse) GetType

func (*ProbeStatsStreamResponse) GetValue

func (x *ProbeStatsStreamResponse) GetValue() *ProbeStats

func (*ProbeStatsStreamResponse) ProtoMessage

func (*ProbeStatsStreamResponse) ProtoMessage()

func (*ProbeStatsStreamResponse) ProtoReflect

func (x *ProbeStatsStreamResponse) ProtoReflect() protoreflect.Message

func (*ProbeStatsStreamResponse) Reset

func (x *ProbeStatsStreamResponse) Reset()

func (*ProbeStatsStreamResponse) String

func (x *ProbeStatsStreamResponse) String() string

type ProbeStreamRequest

type ProbeStreamRequest struct {

	// PartialEqFilter provides a way to server-side filter a GetAll/Subscribe.
	// This requires all provided fields to be equal to the response.
	//
	// While transparent to users, this field also allows services to optimize internal
	// subscriptions if filter(s) are sufficiently specific.
	PartialEqFilter []*Probe `protobuf:"bytes,1,rep,name=partial_eq_filter,json=partialEqFilter,proto3" json:"partial_eq_filter,omitempty"`
	// TimeRange allows limiting response data to within a specified time window.
	// If this field is populated, at least one of the two time fields are required.
	//
	// For GetAll, the fields start and end can be used as follows:
	//
	//   * end: Returns the state of each Probe at end.
	//     * Each Probe response is fully-specified (all fields set).
	//   * start: Returns the state of each Probe at start, followed by updates until now.
	//     * Each Probe response at start is fully-specified, but updates may be partial.
	//   * start and end: Returns the state of each Probe at start, followed by updates
	//     until end.
	//     * Each Probe response at start is fully-specified, but updates until end may
	//       be partial.
	//
	// This field is not allowed in the Subscribe RPC.
	Time *time.TimeBounds `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*ProbeStreamRequest) Descriptor deprecated

func (*ProbeStreamRequest) Descriptor() ([]byte, []int)

Deprecated: Use ProbeStreamRequest.ProtoReflect.Descriptor instead.

func (*ProbeStreamRequest) GetPartialEqFilter

func (x *ProbeStreamRequest) GetPartialEqFilter() []*Probe

func (*ProbeStreamRequest) GetTime

func (x *ProbeStreamRequest) GetTime() *time.TimeBounds

func (*ProbeStreamRequest) ProtoMessage

func (*ProbeStreamRequest) ProtoMessage()

func (*ProbeStreamRequest) ProtoReflect

func (x *ProbeStreamRequest) ProtoReflect() protoreflect.Message

func (*ProbeStreamRequest) Reset

func (x *ProbeStreamRequest) Reset()

func (*ProbeStreamRequest) String

func (x *ProbeStreamRequest) String() string

type ProbeStreamResponse

type ProbeStreamResponse struct {

	// Value is a value deemed relevant to the initiating request.
	// This structure will always have its key-field populated. Which other fields are
	// populated, and why, depends on the value of Operation and what triggered this notification.
	Value *Probe `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Time holds the timestamp of this Probe's last modification.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// Operation indicates how the Probe value in this response should be considered.
	// Under non-subscribe requests, this value should always be INITIAL. In a subscription,
	// once all initial data is streamed and the client begins to receive modification updates,
	// you should not see INITIAL again.
	Type subscriptions.Operation `protobuf:"varint,3,opt,name=type,proto3,enum=arista.subscriptions.Operation" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*ProbeStreamResponse) Descriptor deprecated

func (*ProbeStreamResponse) Descriptor() ([]byte, []int)

Deprecated: Use ProbeStreamResponse.ProtoReflect.Descriptor instead.

func (*ProbeStreamResponse) GetTime

func (*ProbeStreamResponse) GetType

func (*ProbeStreamResponse) GetValue

func (x *ProbeStreamResponse) GetValue() *Probe

func (*ProbeStreamResponse) ProtoMessage

func (*ProbeStreamResponse) ProtoMessage()

func (*ProbeStreamResponse) ProtoReflect

func (x *ProbeStreamResponse) ProtoReflect() protoreflect.Message

func (*ProbeStreamResponse) Reset

func (x *ProbeStreamResponse) Reset()

func (*ProbeStreamResponse) String

func (x *ProbeStreamResponse) String() string

type UnimplementedProbeServiceServer

type UnimplementedProbeServiceServer struct {
}

UnimplementedProbeServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedProbeServiceServer) GetAll

func (UnimplementedProbeServiceServer) GetMeta

func (UnimplementedProbeServiceServer) GetOne

func (UnimplementedProbeServiceServer) GetSome

func (UnimplementedProbeServiceServer) Subscribe

func (UnimplementedProbeServiceServer) SubscribeMeta

type UnimplementedProbeStatsServiceServer

type UnimplementedProbeStatsServiceServer struct {
}

UnimplementedProbeStatsServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedProbeStatsServiceServer) GetAll

func (UnimplementedProbeStatsServiceServer) GetMeta

func (UnimplementedProbeStatsServiceServer) GetOne

func (UnimplementedProbeStatsServiceServer) GetSome

type UnsafeProbeServiceServer

type UnsafeProbeServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeProbeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProbeServiceServer will result in compilation errors.

type UnsafeProbeStatsServiceServer

type UnsafeProbeStatsServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeProbeStatsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProbeStatsServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL