Versions in this module Expand all Collapse all v0 v0.9.7 Sep 1, 2020 Changes in this version + var File_envoy_service_auth_v4alpha_attribute_context_proto protoreflect.FileDescriptor + var File_envoy_service_auth_v4alpha_external_auth_proto protoreflect.FileDescriptor + func RegisterAuthorizationServer(s *grpc.Server, srv AuthorizationServer) + type AttributeContext struct + ContextExtensions map[string]string + Destination *AttributeContext_Peer + MetadataContext *v4alpha.Metadata + Request *AttributeContext_Request + Source *AttributeContext_Peer + func (*AttributeContext) Descriptor() ([]byte, []int) + func (*AttributeContext) ProtoMessage() + func (m *AttributeContext) Validate() error + func (x *AttributeContext) GetContextExtensions() map[string]string + func (x *AttributeContext) GetDestination() *AttributeContext_Peer + func (x *AttributeContext) GetMetadataContext() *v4alpha.Metadata + func (x *AttributeContext) GetRequest() *AttributeContext_Request + func (x *AttributeContext) GetSource() *AttributeContext_Peer + func (x *AttributeContext) ProtoReflect() protoreflect.Message + func (x *AttributeContext) Reset() + func (x *AttributeContext) String() string + type AttributeContextValidationError struct + func (e AttributeContextValidationError) Cause() error + func (e AttributeContextValidationError) Error() string + func (e AttributeContextValidationError) ErrorName() string + func (e AttributeContextValidationError) Field() string + func (e AttributeContextValidationError) Key() bool + func (e AttributeContextValidationError) Reason() string + type AttributeContext_HttpRequest struct + Body string + Fragment string + Headers map[string]string + Host string + Id string + Method string + Path string + Protocol string + Query string + Scheme string + Size int64 + func (*AttributeContext_HttpRequest) Descriptor() ([]byte, []int) + func (*AttributeContext_HttpRequest) ProtoMessage() + func (m *AttributeContext_HttpRequest) Validate() error + func (x *AttributeContext_HttpRequest) GetBody() string + func (x *AttributeContext_HttpRequest) GetFragment() string + func (x *AttributeContext_HttpRequest) GetHeaders() map[string]string + func (x *AttributeContext_HttpRequest) GetHost() string + func (x *AttributeContext_HttpRequest) GetId() string + func (x *AttributeContext_HttpRequest) GetMethod() string + func (x *AttributeContext_HttpRequest) GetPath() string + func (x *AttributeContext_HttpRequest) GetProtocol() string + func (x *AttributeContext_HttpRequest) GetQuery() string + func (x *AttributeContext_HttpRequest) GetScheme() string + func (x *AttributeContext_HttpRequest) GetSize() int64 + func (x *AttributeContext_HttpRequest) ProtoReflect() protoreflect.Message + func (x *AttributeContext_HttpRequest) Reset() + func (x *AttributeContext_HttpRequest) String() string + type AttributeContext_HttpRequestValidationError struct + func (e AttributeContext_HttpRequestValidationError) Cause() error + func (e AttributeContext_HttpRequestValidationError) Error() string + func (e AttributeContext_HttpRequestValidationError) ErrorName() string + func (e AttributeContext_HttpRequestValidationError) Field() string + func (e AttributeContext_HttpRequestValidationError) Key() bool + func (e AttributeContext_HttpRequestValidationError) Reason() string + type AttributeContext_Peer struct + Address *v4alpha.Address + Certificate string + Labels map[string]string + Principal string + Service string + func (*AttributeContext_Peer) Descriptor() ([]byte, []int) + func (*AttributeContext_Peer) ProtoMessage() + func (m *AttributeContext_Peer) Validate() error + func (x *AttributeContext_Peer) GetAddress() *v4alpha.Address + func (x *AttributeContext_Peer) GetCertificate() string + func (x *AttributeContext_Peer) GetLabels() map[string]string + func (x *AttributeContext_Peer) GetPrincipal() string + func (x *AttributeContext_Peer) GetService() string + func (x *AttributeContext_Peer) ProtoReflect() protoreflect.Message + func (x *AttributeContext_Peer) Reset() + func (x *AttributeContext_Peer) String() string + type AttributeContext_PeerValidationError struct + func (e AttributeContext_PeerValidationError) Cause() error + func (e AttributeContext_PeerValidationError) Error() string + func (e AttributeContext_PeerValidationError) ErrorName() string + func (e AttributeContext_PeerValidationError) Field() string + func (e AttributeContext_PeerValidationError) Key() bool + func (e AttributeContext_PeerValidationError) Reason() string + type AttributeContext_Request struct + Http *AttributeContext_HttpRequest + Time *timestamp.Timestamp + func (*AttributeContext_Request) Descriptor() ([]byte, []int) + func (*AttributeContext_Request) ProtoMessage() + func (m *AttributeContext_Request) Validate() error + func (x *AttributeContext_Request) GetHttp() *AttributeContext_HttpRequest + func (x *AttributeContext_Request) GetTime() *timestamp.Timestamp + func (x *AttributeContext_Request) ProtoReflect() protoreflect.Message + func (x *AttributeContext_Request) Reset() + func (x *AttributeContext_Request) String() string + type AttributeContext_RequestValidationError struct + func (e AttributeContext_RequestValidationError) Cause() error + func (e AttributeContext_RequestValidationError) Error() string + func (e AttributeContext_RequestValidationError) ErrorName() string + func (e AttributeContext_RequestValidationError) Field() string + func (e AttributeContext_RequestValidationError) Key() bool + func (e AttributeContext_RequestValidationError) Reason() string + type AuthorizationClient interface + Check func(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error) + func NewAuthorizationClient(cc grpc.ClientConnInterface) AuthorizationClient + type AuthorizationServer interface + Check func(context.Context, *CheckRequest) (*CheckResponse, error) + type CheckRequest struct + Attributes *AttributeContext + func (*CheckRequest) Descriptor() ([]byte, []int) + func (*CheckRequest) ProtoMessage() + func (m *CheckRequest) Validate() error + func (x *CheckRequest) GetAttributes() *AttributeContext + func (x *CheckRequest) ProtoReflect() protoreflect.Message + func (x *CheckRequest) Reset() + func (x *CheckRequest) String() string + type CheckRequestValidationError struct + func (e CheckRequestValidationError) Cause() error + func (e CheckRequestValidationError) Error() string + func (e CheckRequestValidationError) ErrorName() string + func (e CheckRequestValidationError) Field() string + func (e CheckRequestValidationError) Key() bool + func (e CheckRequestValidationError) Reason() string + type CheckResponse struct + DynamicMetadata *_struct.Struct + HttpResponse isCheckResponse_HttpResponse + Status *status.Status + func (*CheckResponse) Descriptor() ([]byte, []int) + func (*CheckResponse) ProtoMessage() + func (m *CheckResponse) GetHttpResponse() isCheckResponse_HttpResponse + func (m *CheckResponse) Validate() error + func (x *CheckResponse) GetDeniedResponse() *DeniedHttpResponse + func (x *CheckResponse) GetDynamicMetadata() *_struct.Struct + func (x *CheckResponse) GetOkResponse() *OkHttpResponse + func (x *CheckResponse) GetStatus() *status.Status + func (x *CheckResponse) ProtoReflect() protoreflect.Message + func (x *CheckResponse) Reset() + func (x *CheckResponse) String() string + type CheckResponseValidationError struct + func (e CheckResponseValidationError) Cause() error + func (e CheckResponseValidationError) Error() string + func (e CheckResponseValidationError) ErrorName() string + func (e CheckResponseValidationError) Field() string + func (e CheckResponseValidationError) Key() bool + func (e CheckResponseValidationError) Reason() string + type CheckResponse_DeniedResponse struct + DeniedResponse *DeniedHttpResponse + type CheckResponse_OkResponse struct + OkResponse *OkHttpResponse + type DeniedHttpResponse struct + Body string + Headers []*v4alpha.HeaderValueOption + Status *v3.HttpStatus + func (*DeniedHttpResponse) Descriptor() ([]byte, []int) + func (*DeniedHttpResponse) ProtoMessage() + func (m *DeniedHttpResponse) Validate() error + func (x *DeniedHttpResponse) GetBody() string + func (x *DeniedHttpResponse) GetHeaders() []*v4alpha.HeaderValueOption + func (x *DeniedHttpResponse) GetStatus() *v3.HttpStatus + func (x *DeniedHttpResponse) ProtoReflect() protoreflect.Message + func (x *DeniedHttpResponse) Reset() + func (x *DeniedHttpResponse) String() string + type DeniedHttpResponseValidationError struct + func (e DeniedHttpResponseValidationError) Cause() error + func (e DeniedHttpResponseValidationError) Error() string + func (e DeniedHttpResponseValidationError) ErrorName() string + func (e DeniedHttpResponseValidationError) Field() string + func (e DeniedHttpResponseValidationError) Key() bool + func (e DeniedHttpResponseValidationError) Reason() string + type OkHttpResponse struct + Headers []*v4alpha.HeaderValueOption + HiddenEnvoyDeprecatedDynamicMetadata *_struct.Struct + func (*OkHttpResponse) Descriptor() ([]byte, []int) + func (*OkHttpResponse) ProtoMessage() + func (m *OkHttpResponse) Validate() error + func (x *OkHttpResponse) GetHeaders() []*v4alpha.HeaderValueOption + func (x *OkHttpResponse) GetHiddenEnvoyDeprecatedDynamicMetadata() *_struct.Struct + func (x *OkHttpResponse) ProtoReflect() protoreflect.Message + func (x *OkHttpResponse) Reset() + func (x *OkHttpResponse) String() string + type OkHttpResponseValidationError struct + func (e OkHttpResponseValidationError) Cause() error + func (e OkHttpResponseValidationError) Error() string + func (e OkHttpResponseValidationError) ErrorName() string + func (e OkHttpResponseValidationError) Field() string + func (e OkHttpResponseValidationError) Key() bool + func (e OkHttpResponseValidationError) Reason() string + type UnimplementedAuthorizationServer struct + func (*UnimplementedAuthorizationServer) Check(context.Context, *CheckRequest) (*CheckResponse, error)