go-control-plane: github.com/envoyproxy/go-control-plane/envoy/service/auth/v2alpha Index | Files

package envoy_service_auth_v2alpha

import "github.com/envoyproxy/go-control-plane/envoy/service/auth/v2alpha"

Index

Package Files

external_auth.pb.go external_auth.pb.validate.go

Variables

var File_envoy_service_auth_v2alpha_external_auth_proto protoreflect.FileDescriptor

func RegisterAuthorizationServer Uses

func RegisterAuthorizationServer(s *grpc.Server, srv AuthorizationServer)

type AuthorizationClient Uses

type AuthorizationClient interface {
    // Performs authorization check based on the attributes associated with the
    // incoming request, and returns status `OK` or not `OK`.
    Check(ctx context.Context, in *v2.CheckRequest, opts ...grpc.CallOption) (*v2.CheckResponse, error)
}

AuthorizationClient is the client API for Authorization service.

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

func NewAuthorizationClient Uses

func NewAuthorizationClient(cc grpc.ClientConnInterface) AuthorizationClient

type AuthorizationServer Uses

type AuthorizationServer interface {
    // Performs authorization check based on the attributes associated with the
    // incoming request, and returns status `OK` or not `OK`.
    Check(context.Context, *v2.CheckRequest) (*v2.CheckResponse, error)
}

AuthorizationServer is the server API for Authorization service.

type UnimplementedAuthorizationServer Uses

type UnimplementedAuthorizationServer struct {
}

UnimplementedAuthorizationServer can be embedded to have forward compatible implementations.

func (*UnimplementedAuthorizationServer) Check Uses

func (*UnimplementedAuthorizationServer) Check(context.Context, *v2.CheckRequest) (*v2.CheckResponse, error)

Package envoy_service_auth_v2alpha imports 20 packages (graph) and is imported by 19 packages. Updated 2021-01-08. Refresh now. Tools for package owners.