alertmanagerpb

package
v1.8.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterAlertmanagerServer

func RegisterAlertmanagerServer(s *grpc.Server, srv AlertmanagerServer)

Types

type AlertmanagerClient

type AlertmanagerClient interface {
	HandleRequest(ctx context.Context, in *httpgrpc.HTTPRequest, opts ...grpc.CallOption) (*httpgrpc.HTTPResponse, error)
}

AlertmanagerClient is the client API for Alertmanager service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewAlertmanagerClient

func NewAlertmanagerClient(cc *grpc.ClientConn) AlertmanagerClient

type AlertmanagerServer

type AlertmanagerServer interface {
	HandleRequest(context.Context, *httpgrpc.HTTPRequest) (*httpgrpc.HTTPResponse, error)
}

AlertmanagerServer is the server API for Alertmanager service.

type UnimplementedAlertmanagerServer

type UnimplementedAlertmanagerServer struct {
}

UnimplementedAlertmanagerServer can be embedded to have forward compatible implementations.

func (*UnimplementedAlertmanagerServer) HandleRequest

Jump to

Keyboard shortcuts

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