bgp_monitoring

package
v0.0.0-...-e47837b 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: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BgpMonitorStatus_name = map[int32]string{
		0: "BGP_MONITOR_STATUS_UNSPECIFIED",
		1: "BGP_MONITOR_STATUS_ACTIVE",
		2: "BGP_MONITOR_STATUS_PAUSED",
		3: "BGP_MONITOR_STATUS_DELETED",
	}
	BgpMonitorStatus_value = map[string]int32{
		"BGP_MONITOR_STATUS_UNSPECIFIED": 0,
		"BGP_MONITOR_STATUS_ACTIVE":      1,
		"BGP_MONITOR_STATUS_PAUSED":      2,
		"BGP_MONITOR_STATUS_DELETED":     3,
	}
)

Enum value maps for BgpMonitorStatus.

View Source
var (
	BgpMetricType_name = map[int32]string{
		0: "BGP_METRIC_TYPE_UNSPECIFIED",
		1: "BGP_METRIC_TYPE_REACHABILITY",
		2: "BGP_METRIC_TYPE_PATH_CHANGES",
	}
	BgpMetricType_value = map[string]int32{
		"BGP_METRIC_TYPE_UNSPECIFIED":  0,
		"BGP_METRIC_TYPE_REACHABILITY": 1,
		"BGP_METRIC_TYPE_PATH_CHANGES": 2,
	}
)

Enum value maps for BgpMetricType.

View Source
var BgpMonitoringAdminService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "kentik.bgp_monitoring.v202210.BgpMonitoringAdminService",
	HandlerType: (*BgpMonitoringAdminServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListMonitors",
			Handler:    _BgpMonitoringAdminService_ListMonitors_Handler,
		},
		{
			MethodName: "CreateMonitor",
			Handler:    _BgpMonitoringAdminService_CreateMonitor_Handler,
		},
		{
			MethodName: "GetMonitor",
			Handler:    _BgpMonitoringAdminService_GetMonitor_Handler,
		},
		{
			MethodName: "UpdateMonitor",
			Handler:    _BgpMonitoringAdminService_UpdateMonitor_Handler,
		},
		{
			MethodName: "DeleteMonitor",
			Handler:    _BgpMonitoringAdminService_DeleteMonitor_Handler,
		},
		{
			MethodName: "SetMonitorStatus",
			Handler:    _BgpMonitoringAdminService_SetMonitorStatus_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "kentik/bgp_monitoring/v202210/bgp_monitoring.proto",
}

BgpMonitoringAdminService_ServiceDesc is the grpc.ServiceDesc for BgpMonitoringAdminService 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 BgpMonitoringDataService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "kentik.bgp_monitoring.v202210.BgpMonitoringDataService",
	HandlerType: (*BgpMonitoringDataServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetMetricsForTarget",
			Handler:    _BgpMonitoringDataService_GetMetricsForTarget_Handler,
		},
		{
			MethodName: "GetRoutesForTarget",
			Handler:    _BgpMonitoringDataService_GetRoutesForTarget_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "kentik/bgp_monitoring/v202210/bgp_monitoring.proto",
}

BgpMonitoringDataService_ServiceDesc is the grpc.ServiceDesc for BgpMonitoringDataService 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 File_kentik_bgp_monitoring_v202210_bgp_monitoring_proto protoreflect.FileDescriptor

Functions

func RegisterBgpMonitoringAdminServiceServer

func RegisterBgpMonitoringAdminServiceServer(s grpc.ServiceRegistrar, srv BgpMonitoringAdminServiceServer)

func RegisterBgpMonitoringDataServiceServer

func RegisterBgpMonitoringDataServiceServer(s grpc.ServiceRegistrar, srv BgpMonitoringDataServiceServer)

Types

type BgpHealthSettings

type BgpHealthSettings struct {
	ReachabilityWarning  float32 `protobuf:"fixed32,1,opt,name=reachability_warning,json=reachabilityWarning,proto3" json:"reachability_warning,omitempty"`
	ReachabilityCritical float32 `protobuf:"fixed32,2,opt,name=reachability_critical,json=reachabilityCritical,proto3" json:"reachability_critical,omitempty"`
	// contains filtered or unexported fields
}

{{.Name}}

func (*BgpHealthSettings) Descriptor deprecated

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

Deprecated: Use BgpHealthSettings.ProtoReflect.Descriptor instead.

func (*BgpHealthSettings) GetReachabilityCritical

func (x *BgpHealthSettings) GetReachabilityCritical() float32

func (*BgpHealthSettings) GetReachabilityWarning

func (x *BgpHealthSettings) GetReachabilityWarning() float32

func (*BgpHealthSettings) ProtoMessage

func (*BgpHealthSettings) ProtoMessage()

func (*BgpHealthSettings) ProtoReflect

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

func (*BgpHealthSettings) Reset

func (x *BgpHealthSettings) Reset()

func (*BgpHealthSettings) String

func (x *BgpHealthSettings) String() string

type BgpMetric

type BgpMetric struct {
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Nlri      *Nlri                  `protobuf:"bytes,2,opt,name=nlri,proto3" json:"nlri,omitempty"`
	// Types that are assignable to Type:
	//
	//	*BgpMetric_Reachability
	//	*BgpMetric_PathChanges
	Type isBgpMetric_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

{{.Name}}

func (*BgpMetric) Descriptor deprecated

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

Deprecated: Use BgpMetric.ProtoReflect.Descriptor instead.

func (*BgpMetric) GetNlri

func (x *BgpMetric) GetNlri() *Nlri

func (*BgpMetric) GetPathChanges

func (x *BgpMetric) GetPathChanges() uint32

func (*BgpMetric) GetReachability

func (x *BgpMetric) GetReachability() float32

func (*BgpMetric) GetTimestamp

func (x *BgpMetric) GetTimestamp() *timestamppb.Timestamp

func (*BgpMetric) GetType

func (m *BgpMetric) GetType() isBgpMetric_Type

func (*BgpMetric) ProtoMessage

func (*BgpMetric) ProtoMessage()

func (*BgpMetric) ProtoReflect

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

func (*BgpMetric) Reset

func (x *BgpMetric) Reset()

func (*BgpMetric) String

func (x *BgpMetric) String() string

type BgpMetricType

type BgpMetricType int32

{{.Name}}

const (
	// Invalid value.
	BgpMetricType_BGP_METRIC_TYPE_UNSPECIFIED BgpMetricType = 0
	// Reachability metric in percents
	BgpMetricType_BGP_METRIC_TYPE_REACHABILITY BgpMetricType = 1
	// Number of path changes over time interval
	BgpMetricType_BGP_METRIC_TYPE_PATH_CHANGES BgpMetricType = 2
)

func (BgpMetricType) Descriptor

func (BgpMetricType) Enum

func (x BgpMetricType) Enum() *BgpMetricType

func (BgpMetricType) EnumDescriptor deprecated

func (BgpMetricType) EnumDescriptor() ([]byte, []int)

Deprecated: Use BgpMetricType.Descriptor instead.

func (BgpMetricType) Number

func (BgpMetricType) String

func (x BgpMetricType) String() string

func (BgpMetricType) Type

type BgpMetric_PathChanges

type BgpMetric_PathChanges struct {
	PathChanges uint32 `protobuf:"varint,5,opt,name=path_changes,json=pathChanges,proto3,oneof"`
}

type BgpMetric_Reachability

type BgpMetric_Reachability struct {
	Reachability float32 `protobuf:"fixed32,3,opt,name=reachability,proto3,oneof"`
}

type BgpMonitor

type BgpMonitor struct {
	Id            string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name          string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Status        BgpMonitorStatus       `protobuf:"varint,3,opt,name=status,proto3,enum=kentik.bgp_monitoring.v202210.BgpMonitorStatus" json:"status,omitempty"`
	Settings      *BgpMonitorSettings    `protobuf:"bytes,4,opt,name=settings,proto3" json:"settings,omitempty"`
	Cdate         *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=cdate,proto3" json:"cdate,omitempty"`
	Edate         *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=edate,proto3" json:"edate,omitempty"`
	CreatedBy     *v2023031.UserInfo     `protobuf:"bytes,7,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	LastUpdatedBy *v2023031.UserInfo     `protobuf:"bytes,8,opt,name=last_updated_by,json=lastUpdatedBy,proto3" json:"last_updated_by,omitempty"`
	Labels        []string               `protobuf:"bytes,9,rep,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

{{.Name}}

func (*BgpMonitor) Descriptor deprecated

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

Deprecated: Use BgpMonitor.ProtoReflect.Descriptor instead.

func (*BgpMonitor) GetCdate

func (x *BgpMonitor) GetCdate() *timestamppb.Timestamp

func (*BgpMonitor) GetCreatedBy

func (x *BgpMonitor) GetCreatedBy() *v2023031.UserInfo

func (*BgpMonitor) GetEdate

func (x *BgpMonitor) GetEdate() *timestamppb.Timestamp

func (*BgpMonitor) GetId

func (x *BgpMonitor) GetId() string

func (*BgpMonitor) GetLabels

func (x *BgpMonitor) GetLabels() []string

func (*BgpMonitor) GetLastUpdatedBy

func (x *BgpMonitor) GetLastUpdatedBy() *v2023031.UserInfo

func (*BgpMonitor) GetName

func (x *BgpMonitor) GetName() string

func (*BgpMonitor) GetSettings

func (x *BgpMonitor) GetSettings() *BgpMonitorSettings

func (*BgpMonitor) GetStatus

func (x *BgpMonitor) GetStatus() BgpMonitorStatus

func (*BgpMonitor) ProtoMessage

func (*BgpMonitor) ProtoMessage()

func (*BgpMonitor) ProtoReflect

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

func (*BgpMonitor) Reset

func (x *BgpMonitor) Reset()

func (*BgpMonitor) String

func (x *BgpMonitor) String() string

type BgpMonitorSettings

type BgpMonitorSettings struct {
	AllowedAsns            []uint32           `protobuf:"varint,1,rep,packed,name=allowed_asns,json=allowedAsns,proto3" json:"allowed_asns,omitempty"`
	Targets                []*Nlri            `protobuf:"bytes,2,rep,name=targets,proto3" json:"targets,omitempty"`
	CheckRpki              bool               `protobuf:"varint,3,opt,name=check_rpki,json=checkRpki,proto3" json:"check_rpki,omitempty"`
	IncludeCoveredPrefixes bool               `` /* 130-byte string literal not displayed */
	HealthSettings         *BgpHealthSettings `protobuf:"bytes,5,opt,name=health_settings,json=healthSettings,proto3" json:"health_settings,omitempty"`
	NotificationChannels   []string           `protobuf:"bytes,6,rep,name=notification_channels,json=notificationChannels,proto3" json:"notification_channels,omitempty"`
	Notes                  string             `protobuf:"bytes,7,opt,name=notes,proto3" json:"notes,omitempty"`
	AllowedUpstreams       []uint32           `protobuf:"varint,8,rep,packed,name=allowed_upstreams,json=allowedUpstreams,proto3" json:"allowed_upstreams,omitempty"`
	// contains filtered or unexported fields
}

{{.Name}}

func (*BgpMonitorSettings) Descriptor deprecated

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

Deprecated: Use BgpMonitorSettings.ProtoReflect.Descriptor instead.

func (*BgpMonitorSettings) GetAllowedAsns

func (x *BgpMonitorSettings) GetAllowedAsns() []uint32

func (*BgpMonitorSettings) GetAllowedUpstreams

func (x *BgpMonitorSettings) GetAllowedUpstreams() []uint32

func (*BgpMonitorSettings) GetCheckRpki

func (x *BgpMonitorSettings) GetCheckRpki() bool

func (*BgpMonitorSettings) GetHealthSettings

func (x *BgpMonitorSettings) GetHealthSettings() *BgpHealthSettings

func (*BgpMonitorSettings) GetIncludeCoveredPrefixes

func (x *BgpMonitorSettings) GetIncludeCoveredPrefixes() bool

func (*BgpMonitorSettings) GetNotes

func (x *BgpMonitorSettings) GetNotes() string

func (*BgpMonitorSettings) GetNotificationChannels

func (x *BgpMonitorSettings) GetNotificationChannels() []string

func (*BgpMonitorSettings) GetTargets

func (x *BgpMonitorSettings) GetTargets() []*Nlri

func (*BgpMonitorSettings) ProtoMessage

func (*BgpMonitorSettings) ProtoMessage()

func (*BgpMonitorSettings) ProtoReflect

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

func (*BgpMonitorSettings) Reset

func (x *BgpMonitorSettings) Reset()

func (*BgpMonitorSettings) String

func (x *BgpMonitorSettings) String() string

type BgpMonitorStatus

type BgpMonitorStatus int32

{{.Name}}

const (
	// Invalid value.
	BgpMonitorStatus_BGP_MONITOR_STATUS_UNSPECIFIED BgpMonitorStatus = 0
	// Monitor is active.
	BgpMonitorStatus_BGP_MONITOR_STATUS_ACTIVE BgpMonitorStatus = 1
	// Monitor is paused.
	BgpMonitorStatus_BGP_MONITOR_STATUS_PAUSED BgpMonitorStatus = 2
	// Monitor is deleted. Not user settable
	BgpMonitorStatus_BGP_MONITOR_STATUS_DELETED BgpMonitorStatus = 3
)

func (BgpMonitorStatus) Descriptor

func (BgpMonitorStatus) Enum

func (BgpMonitorStatus) EnumDescriptor deprecated

func (BgpMonitorStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use BgpMonitorStatus.Descriptor instead.

func (BgpMonitorStatus) Number

func (BgpMonitorStatus) String

func (x BgpMonitorStatus) String() string

func (BgpMonitorStatus) Type

type BgpMonitoringAdminServiceClient

type BgpMonitoringAdminServiceClient interface {
	ListMonitors(ctx context.Context, in *ListMonitorsRequest, opts ...grpc.CallOption) (*ListMonitorsResponse, error)
	CreateMonitor(ctx context.Context, in *CreateMonitorRequest, opts ...grpc.CallOption) (*CreateMonitorResponse, error)
	GetMonitor(ctx context.Context, in *GetMonitorRequest, opts ...grpc.CallOption) (*GetMonitorResponse, error)
	UpdateMonitor(ctx context.Context, in *UpdateMonitorRequest, opts ...grpc.CallOption) (*UpdateMonitorResponse, error)
	DeleteMonitor(ctx context.Context, in *DeleteMonitorRequest, opts ...grpc.CallOption) (*DeleteMonitorResponse, error)
	SetMonitorStatus(ctx context.Context, in *SetMonitorStatusRequest, opts ...grpc.CallOption) (*SetMonitorStatusResponse, error)
}

BgpMonitoringAdminServiceClient is the client API for BgpMonitoringAdminService 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 BgpMonitoringAdminServiceServer

BgpMonitoringAdminServiceServer is the server API for BgpMonitoringAdminService service. All implementations should embed UnimplementedBgpMonitoringAdminServiceServer for forward compatibility

type BgpMonitoringDataServiceClient

type BgpMonitoringDataServiceClient interface {
	GetMetricsForTarget(ctx context.Context, in *GetMetricsForTargetRequest, opts ...grpc.CallOption) (*GetMetricsForTargetResponse, error)
	GetRoutesForTarget(ctx context.Context, in *GetRoutesForTargetRequest, opts ...grpc.CallOption) (*GetRoutesForTargetResponse, error)
}

BgpMonitoringDataServiceClient is the client API for BgpMonitoringDataService 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 BgpMonitoringDataServiceServer

type BgpMonitoringDataServiceServer interface {
	GetMetricsForTarget(context.Context, *GetMetricsForTargetRequest) (*GetMetricsForTargetResponse, error)
	GetRoutesForTarget(context.Context, *GetRoutesForTargetRequest) (*GetRoutesForTargetResponse, error)
}

BgpMonitoringDataServiceServer is the server API for BgpMonitoringDataService service. All implementations should embed UnimplementedBgpMonitoringDataServiceServer for forward compatibility

type CreateMonitorRequest

type CreateMonitorRequest struct {
	Monitor *BgpMonitor `protobuf:"bytes,1,opt,name=monitor,proto3" json:"monitor,omitempty"`
	// contains filtered or unexported fields
}

{{.Name}}

func (*CreateMonitorRequest) Descriptor deprecated

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

Deprecated: Use CreateMonitorRequest.ProtoReflect.Descriptor instead.

func (*CreateMonitorRequest) GetMonitor

func (x *CreateMonitorRequest) GetMonitor() *BgpMonitor

func (*CreateMonitorRequest) ProtoMessage

func (*CreateMonitorRequest) ProtoMessage()

func (*CreateMonitorRequest) ProtoReflect

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

func (*CreateMonitorRequest) Reset

func (x *CreateMonitorRequest) Reset()

func (*CreateMonitorRequest) String

func (x *CreateMonitorRequest) String() string

type CreateMonitorResponse

type CreateMonitorResponse struct {
	Monitor *BgpMonitor `protobuf:"bytes,1,opt,name=monitor,proto3" json:"monitor,omitempty"`
	// contains filtered or unexported fields
}

{{.Name}}

func (*CreateMonitorResponse) Descriptor deprecated

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

Deprecated: Use CreateMonitorResponse.ProtoReflect.Descriptor instead.

func (*CreateMonitorResponse) GetMonitor

func (x *CreateMonitorResponse) GetMonitor() *BgpMonitor

func (*CreateMonitorResponse) ProtoMessage

func (*CreateMonitorResponse) ProtoMessage()

func (*CreateMonitorResponse) ProtoReflect

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

func (*CreateMonitorResponse) Reset

func (x *CreateMonitorResponse) Reset()

func (*CreateMonitorResponse) String

func (x *CreateMonitorResponse) String() string

type DeleteMonitorRequest

type DeleteMonitorRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

{{.Name}}

func (*DeleteMonitorRequest) Descriptor deprecated

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

Deprecated: Use DeleteMonitorRequest.ProtoReflect.Descriptor instead.

func (*DeleteMonitorRequest) GetId

func (x *DeleteMonitorRequest) GetId() string

func (*DeleteMonitorRequest) ProtoMessage

func (*DeleteMonitorRequest) ProtoMessage()

func (*DeleteMonitorRequest) ProtoReflect

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

func (*DeleteMonitorRequest) Reset

func (x *DeleteMonitorRequest) Reset()

func (*DeleteMonitorRequest) String

func (x *DeleteMonitorRequest) String() string

type DeleteMonitorResponse

type DeleteMonitorResponse struct {
	// contains filtered or unexported fields
}

{{.Name}}

func (*DeleteMonitorResponse) Descriptor deprecated

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

Deprecated: Use DeleteMonitorResponse.ProtoReflect.Descriptor instead.

func (*DeleteMonitorResponse) ProtoMessage

func (*DeleteMonitorResponse) ProtoMessage()

func (*DeleteMonitorResponse) ProtoReflect

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

func (*DeleteMonitorResponse) Reset

func (x *DeleteMonitorResponse) Reset()

func (*DeleteMonitorResponse) String

func (x *DeleteMonitorResponse) String() string

type GetMetricsForTargetRequest

type GetMetricsForTargetRequest struct {
	StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// End of the time interval for this query.
	EndTime        *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	Target         *Nlri                  `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
	IncludeCovered bool                   `protobuf:"varint,4,opt,name=include_covered,json=includeCovered,proto3" json:"include_covered,omitempty"`
	Metrics        []BgpMetricType        `protobuf:"varint,5,rep,packed,name=metrics,proto3,enum=kentik.bgp_monitoring.v202210.BgpMetricType" json:"metrics,omitempty"`
	// contains filtered or unexported fields
}

{{.Name}}

func (*GetMetricsForTargetRequest) Descriptor deprecated

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

Deprecated: Use GetMetricsForTargetRequest.ProtoReflect.Descriptor instead.

func (*GetMetricsForTargetRequest) GetEndTime

func (*GetMetricsForTargetRequest) GetIncludeCovered

func (x *GetMetricsForTargetRequest) GetIncludeCovered() bool

func (*GetMetricsForTargetRequest) GetMetrics

func (x *GetMetricsForTargetRequest) GetMetrics() []BgpMetricType

func (*GetMetricsForTargetRequest) GetStartTime

func (*GetMetricsForTargetRequest) GetTarget

func (x *GetMetricsForTargetRequest) GetTarget() *Nlri

func (*GetMetricsForTargetRequest) ProtoMessage

func (*GetMetricsForTargetRequest) ProtoMessage()

func (*GetMetricsForTargetRequest) ProtoReflect

func (*GetMetricsForTargetRequest) Reset

func (x *GetMetricsForTargetRequest) Reset()

func (*GetMetricsForTargetRequest) String

func (x *GetMetricsForTargetRequest) String() string

type GetMetricsForTargetResponse

type GetMetricsForTargetResponse struct {
	Metrics []*BgpMetric `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty"`
	// contains filtered or unexported fields
}

{{.Name}}

func (*GetMetricsForTargetResponse) Descriptor deprecated

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

Deprecated: Use GetMetricsForTargetResponse.ProtoReflect.Descriptor instead.

func (*GetMetricsForTargetResponse) GetMetrics

func (x *GetMetricsForTargetResponse) GetMetrics() []*BgpMetric

func (*GetMetricsForTargetResponse) ProtoMessage

func (*GetMetricsForTargetResponse) ProtoMessage()

func (*GetMetricsForTargetResponse) ProtoReflect

func (*GetMetricsForTargetResponse) Reset

func (x *GetMetricsForTargetResponse) Reset()

func (*GetMetricsForTargetResponse) String

func (x *GetMetricsForTargetResponse) String() string

type GetMonitorRequest

type GetMonitorRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

{{.Name}}

func (*GetMonitorRequest) Descriptor deprecated

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

Deprecated: Use GetMonitorRequest.ProtoReflect.Descriptor instead.

func (*GetMonitorRequest) GetId

func (x *GetMonitorRequest) GetId() string

func (*GetMonitorRequest) ProtoMessage

func (*GetMonitorRequest) ProtoMessage()

func (*GetMonitorRequest) ProtoReflect

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

func (*GetMonitorRequest) Reset

func (x *GetMonitorRequest) Reset()

func (*GetMonitorRequest) String

func (x *GetMonitorRequest) String() string

type GetMonitorResponse

type GetMonitorResponse struct {
	Monitor *BgpMonitor `protobuf:"bytes,1,opt,name=monitor,proto3" json:"monitor,omitempty"`
	// contains filtered or unexported fields
}

{{.Name}}

func (*GetMonitorResponse) Descriptor deprecated

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

Deprecated: Use GetMonitorResponse.ProtoReflect.Descriptor instead.

func (*GetMonitorResponse) GetMonitor

func (x *GetMonitorResponse) GetMonitor() *BgpMonitor

func (*GetMonitorResponse) ProtoMessage

func (*GetMonitorResponse) ProtoMessage()

func (*GetMonitorResponse) ProtoReflect

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

func (*GetMonitorResponse) Reset

func (x *GetMonitorResponse) Reset()

func (*GetMonitorResponse) String

func (x *GetMonitorResponse) String() string

type GetRoutesForTargetRequest

type GetRoutesForTargetRequest struct {
	Time           *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	Target         *Nlri                  `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
	IncludeCovered bool                   `protobuf:"varint,4,opt,name=include_covered,json=includeCovered,proto3" json:"include_covered,omitempty"`
	CheckRpki      bool                   `protobuf:"varint,5,opt,name=check_rpki,json=checkRpki,proto3" json:"check_rpki,omitempty"`
	// contains filtered or unexported fields
}

{{.Name}}

func (*GetRoutesForTargetRequest) Descriptor deprecated

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

Deprecated: Use GetRoutesForTargetRequest.ProtoReflect.Descriptor instead.

func (*GetRoutesForTargetRequest) GetCheckRpki

func (x *GetRoutesForTargetRequest) GetCheckRpki() bool

func (*GetRoutesForTargetRequest) GetIncludeCovered

func (x *GetRoutesForTargetRequest) GetIncludeCovered() bool

func (*GetRoutesForTargetRequest) GetTarget

func (x *GetRoutesForTargetRequest) GetTarget() *Nlri

func (*GetRoutesForTargetRequest) GetTime

func (*GetRoutesForTargetRequest) ProtoMessage

func (*GetRoutesForTargetRequest) ProtoMessage()

func (*GetRoutesForTargetRequest) ProtoReflect

func (*GetRoutesForTargetRequest) Reset

func (x *GetRoutesForTargetRequest) Reset()

func (*GetRoutesForTargetRequest) String

func (x *GetRoutesForTargetRequest) String() string

type GetRoutesForTargetResponse

type GetRoutesForTargetResponse struct {
	Routes  []*RouteInfo      `protobuf:"bytes,1,rep,name=routes,proto3" json:"routes,omitempty"`
	AsNames map[uint32]string `` /* 171-byte string literal not displayed */
	// contains filtered or unexported fields
}

{{.Name}}

func (*GetRoutesForTargetResponse) Descriptor deprecated

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

Deprecated: Use GetRoutesForTargetResponse.ProtoReflect.Descriptor instead.

func (*GetRoutesForTargetResponse) GetAsNames

func (x *GetRoutesForTargetResponse) GetAsNames() map[uint32]string

func (*GetRoutesForTargetResponse) GetRoutes

func (x *GetRoutesForTargetResponse) GetRoutes() []*RouteInfo

func (*GetRoutesForTargetResponse) ProtoMessage

func (*GetRoutesForTargetResponse) ProtoMessage()

func (*GetRoutesForTargetResponse) ProtoReflect

func (*GetRoutesForTargetResponse) Reset

func (x *GetRoutesForTargetResponse) Reset()

func (*GetRoutesForTargetResponse) String

func (x *GetRoutesForTargetResponse) String() string

type ListMonitorsRequest

type ListMonitorsRequest struct {
	// contains filtered or unexported fields
}

{{.Name}}

func (*ListMonitorsRequest) Descriptor deprecated

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

Deprecated: Use ListMonitorsRequest.ProtoReflect.Descriptor instead.

func (*ListMonitorsRequest) ProtoMessage

func (*ListMonitorsRequest) ProtoMessage()

func (*ListMonitorsRequest) ProtoReflect

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

func (*ListMonitorsRequest) Reset

func (x *ListMonitorsRequest) Reset()

func (*ListMonitorsRequest) String

func (x *ListMonitorsRequest) String() string

type ListMonitorsResponse

type ListMonitorsResponse struct {
	Monitors     []*BgpMonitor `protobuf:"bytes,1,rep,name=monitors,proto3" json:"monitors,omitempty"`
	InvalidCount uint32        `protobuf:"varint,2,opt,name=invalid_count,json=invalidCount,proto3" json:"invalid_count,omitempty"`
	// contains filtered or unexported fields
}

{{.Name}}

func (*ListMonitorsResponse) Descriptor deprecated

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

Deprecated: Use ListMonitorsResponse.ProtoReflect.Descriptor instead.

func (*ListMonitorsResponse) GetInvalidCount

func (x *ListMonitorsResponse) GetInvalidCount() uint32

func (*ListMonitorsResponse) GetMonitors

func (x *ListMonitorsResponse) GetMonitors() []*BgpMonitor

func (*ListMonitorsResponse) ProtoMessage

func (*ListMonitorsResponse) ProtoMessage()

func (*ListMonitorsResponse) ProtoReflect

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

func (*ListMonitorsResponse) Reset

func (x *ListMonitorsResponse) Reset()

func (*ListMonitorsResponse) String

func (x *ListMonitorsResponse) String() string

type Nlri

type Nlri struct {
	Afi  v202303.Afi  `protobuf:"varint,1,opt,name=afi,proto3,enum=kentik.net.v202303.Afi" json:"afi,omitempty"`
	Safi v202303.Safi `protobuf:"varint,2,opt,name=safi,proto3,enum=kentik.net.v202303.Safi" json:"safi,omitempty"`
	// Types that are assignable to Type:
	//
	//	*Nlri_Prefix
	Type isNlri_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

{{.Name}}

func (*Nlri) Descriptor deprecated

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

Deprecated: Use Nlri.ProtoReflect.Descriptor instead.

func (*Nlri) GetAfi

func (x *Nlri) GetAfi() v202303.Afi

func (*Nlri) GetPrefix

func (x *Nlri) GetPrefix() string

func (*Nlri) GetSafi

func (x *Nlri) GetSafi() v202303.Safi

func (*Nlri) GetType

func (m *Nlri) GetType() isNlri_Type

func (*Nlri) ProtoMessage

func (*Nlri) ProtoMessage()

func (*Nlri) ProtoReflect

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

func (*Nlri) Reset

func (x *Nlri) Reset()

func (*Nlri) String

func (x *Nlri) String() string

type Nlri_Prefix

type Nlri_Prefix struct {
	Prefix string `protobuf:"bytes,3,opt,name=prefix,proto3,oneof"`
}

type RouteInfo

type RouteInfo struct {
	Nlri         *Nlri                 `protobuf:"bytes,1,opt,name=nlri,proto3" json:"nlri,omitempty"`
	OriginAsn    uint32                `protobuf:"varint,2,opt,name=origin_asn,json=originAsn,proto3" json:"origin_asn,omitempty"`
	AsPath       []string              `protobuf:"bytes,3,rep,name=as_path,json=asPath,proto3" json:"as_path,omitempty"`
	VantagePoint *v202303.VantagePoint `protobuf:"bytes,4,opt,name=vantage_point,json=vantagePoint,proto3" json:"vantage_point,omitempty"`
	RpkiStatus   v202303.RpkiStatus    `` /* 127-byte string literal not displayed */
	Nexthop      string                `protobuf:"bytes,6,opt,name=nexthop,proto3" json:"nexthop,omitempty"`
	// contains filtered or unexported fields
}

{{.Name}}

func (*RouteInfo) Descriptor deprecated

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

Deprecated: Use RouteInfo.ProtoReflect.Descriptor instead.

func (*RouteInfo) GetAsPath

func (x *RouteInfo) GetAsPath() []string

func (*RouteInfo) GetNexthop

func (x *RouteInfo) GetNexthop() string

func (*RouteInfo) GetNlri

func (x *RouteInfo) GetNlri() *Nlri

func (*RouteInfo) GetOriginAsn

func (x *RouteInfo) GetOriginAsn() uint32

func (*RouteInfo) GetRpkiStatus

func (x *RouteInfo) GetRpkiStatus() v202303.RpkiStatus

func (*RouteInfo) GetVantagePoint

func (x *RouteInfo) GetVantagePoint() *v202303.VantagePoint

func (*RouteInfo) ProtoMessage

func (*RouteInfo) ProtoMessage()

func (*RouteInfo) ProtoReflect

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

func (*RouteInfo) Reset

func (x *RouteInfo) Reset()

func (*RouteInfo) String

func (x *RouteInfo) String() string

type SetMonitorStatusRequest

type SetMonitorStatusRequest struct {
	Id     string           `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Status BgpMonitorStatus `protobuf:"varint,2,opt,name=status,proto3,enum=kentik.bgp_monitoring.v202210.BgpMonitorStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

{{.Name}}

func (*SetMonitorStatusRequest) Descriptor deprecated

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

Deprecated: Use SetMonitorStatusRequest.ProtoReflect.Descriptor instead.

func (*SetMonitorStatusRequest) GetId

func (x *SetMonitorStatusRequest) GetId() string

func (*SetMonitorStatusRequest) GetStatus

func (*SetMonitorStatusRequest) ProtoMessage

func (*SetMonitorStatusRequest) ProtoMessage()

func (*SetMonitorStatusRequest) ProtoReflect

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

func (*SetMonitorStatusRequest) Reset

func (x *SetMonitorStatusRequest) Reset()

func (*SetMonitorStatusRequest) String

func (x *SetMonitorStatusRequest) String() string

type SetMonitorStatusResponse

type SetMonitorStatusResponse struct {
	// contains filtered or unexported fields
}

{{.Name}}

func (*SetMonitorStatusResponse) Descriptor deprecated

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

Deprecated: Use SetMonitorStatusResponse.ProtoReflect.Descriptor instead.

func (*SetMonitorStatusResponse) ProtoMessage

func (*SetMonitorStatusResponse) ProtoMessage()

func (*SetMonitorStatusResponse) ProtoReflect

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

func (*SetMonitorStatusResponse) Reset

func (x *SetMonitorStatusResponse) Reset()

func (*SetMonitorStatusResponse) String

func (x *SetMonitorStatusResponse) String() string

type UnimplementedBgpMonitoringAdminServiceServer

type UnimplementedBgpMonitoringAdminServiceServer struct {
}

UnimplementedBgpMonitoringAdminServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedBgpMonitoringAdminServiceServer) CreateMonitor

func (UnimplementedBgpMonitoringAdminServiceServer) DeleteMonitor

func (UnimplementedBgpMonitoringAdminServiceServer) GetMonitor

func (UnimplementedBgpMonitoringAdminServiceServer) ListMonitors

func (UnimplementedBgpMonitoringAdminServiceServer) SetMonitorStatus

func (UnimplementedBgpMonitoringAdminServiceServer) UpdateMonitor

type UnimplementedBgpMonitoringDataServiceServer

type UnimplementedBgpMonitoringDataServiceServer struct {
}

UnimplementedBgpMonitoringDataServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedBgpMonitoringDataServiceServer) GetMetricsForTarget

func (UnimplementedBgpMonitoringDataServiceServer) GetRoutesForTarget

type UnsafeBgpMonitoringAdminServiceServer

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

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

type UnsafeBgpMonitoringDataServiceServer

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

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

type UpdateMonitorRequest

type UpdateMonitorRequest struct {
	Monitor *BgpMonitor `protobuf:"bytes,1,opt,name=monitor,proto3" json:"monitor,omitempty"`
	// contains filtered or unexported fields
}

{{.Name}}

func (*UpdateMonitorRequest) Descriptor deprecated

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

Deprecated: Use UpdateMonitorRequest.ProtoReflect.Descriptor instead.

func (*UpdateMonitorRequest) GetMonitor

func (x *UpdateMonitorRequest) GetMonitor() *BgpMonitor

func (*UpdateMonitorRequest) ProtoMessage

func (*UpdateMonitorRequest) ProtoMessage()

func (*UpdateMonitorRequest) ProtoReflect

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

func (*UpdateMonitorRequest) Reset

func (x *UpdateMonitorRequest) Reset()

func (*UpdateMonitorRequest) String

func (x *UpdateMonitorRequest) String() string

type UpdateMonitorResponse

type UpdateMonitorResponse struct {
	Monitor *BgpMonitor `protobuf:"bytes,1,opt,name=monitor,proto3" json:"monitor,omitempty"`
	// contains filtered or unexported fields
}

{{.Name}}

func (*UpdateMonitorResponse) Descriptor deprecated

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

Deprecated: Use UpdateMonitorResponse.ProtoReflect.Descriptor instead.

func (*UpdateMonitorResponse) GetMonitor

func (x *UpdateMonitorResponse) GetMonitor() *BgpMonitor

func (*UpdateMonitorResponse) ProtoMessage

func (*UpdateMonitorResponse) ProtoMessage()

func (*UpdateMonitorResponse) ProtoReflect

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

func (*UpdateMonitorResponse) Reset

func (x *UpdateMonitorResponse) Reset()

func (*UpdateMonitorResponse) String

func (x *UpdateMonitorResponse) String() string

Jump to

Keyboard shortcuts

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