go-control-plane: github.com/envoyproxy/go-control-plane/envoy/config/filter/http/ext_authz/v2 Index | Files

package envoy_config_filter_http_ext_authz_v2

import "github.com/envoyproxy/go-control-plane/envoy/config/filter/http/ext_authz/v2"

Index

Package Files

ext_authz.pb.go ext_authz.pb.validate.go

Variables

var File_envoy_config_filter_http_ext_authz_v2_ext_authz_proto protoreflect.FileDescriptor

type AuthorizationRequest Uses

type AuthorizationRequest struct {
    AllowedHeaders *matcher.ListStringMatcher `protobuf:"bytes,1,opt,name=allowed_headers,json=allowedHeaders,proto3" json:"allowed_headers,omitempty"`
    HeadersToAdd   []*core.HeaderValue        `protobuf:"bytes,2,rep,name=headers_to_add,json=headersToAdd,proto3" json:"headers_to_add,omitempty"`
    // contains filtered or unexported fields
}

func (*AuthorizationRequest) Descriptor Uses

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

Deprecated: Use AuthorizationRequest.ProtoReflect.Descriptor instead.

func (*AuthorizationRequest) GetAllowedHeaders Uses

func (x *AuthorizationRequest) GetAllowedHeaders() *matcher.ListStringMatcher

func (*AuthorizationRequest) GetHeadersToAdd Uses

func (x *AuthorizationRequest) GetHeadersToAdd() []*core.HeaderValue

func (*AuthorizationRequest) ProtoMessage Uses

func (*AuthorizationRequest) ProtoMessage()

func (*AuthorizationRequest) ProtoReflect Uses

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

func (*AuthorizationRequest) Reset Uses

func (x *AuthorizationRequest) Reset()

func (*AuthorizationRequest) String Uses

func (x *AuthorizationRequest) String() string

func (*AuthorizationRequest) Validate Uses

func (m *AuthorizationRequest) Validate() error

Validate checks the field values on AuthorizationRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type AuthorizationRequestValidationError Uses

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

AuthorizationRequestValidationError is the validation error returned by AuthorizationRequest.Validate if the designated constraints aren't met.

func (AuthorizationRequestValidationError) Cause Uses

func (e AuthorizationRequestValidationError) Cause() error

Cause function returns cause value.

func (AuthorizationRequestValidationError) Error Uses

func (e AuthorizationRequestValidationError) Error() string

Error satisfies the builtin error interface

func (AuthorizationRequestValidationError) ErrorName Uses

func (e AuthorizationRequestValidationError) ErrorName() string

ErrorName returns error name.

func (AuthorizationRequestValidationError) Field Uses

func (e AuthorizationRequestValidationError) Field() string

Field function returns field value.

func (AuthorizationRequestValidationError) Key Uses

func (e AuthorizationRequestValidationError) Key() bool

Key function returns key value.

func (AuthorizationRequestValidationError) Reason Uses

func (e AuthorizationRequestValidationError) Reason() string

Reason function returns reason value.

type AuthorizationResponse Uses

type AuthorizationResponse struct {
    AllowedUpstreamHeaders *matcher.ListStringMatcher `protobuf:"bytes,1,opt,name=allowed_upstream_headers,json=allowedUpstreamHeaders,proto3" json:"allowed_upstream_headers,omitempty"`
    AllowedClientHeaders   *matcher.ListStringMatcher `protobuf:"bytes,2,opt,name=allowed_client_headers,json=allowedClientHeaders,proto3" json:"allowed_client_headers,omitempty"`
    // contains filtered or unexported fields
}

func (*AuthorizationResponse) Descriptor Uses

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

Deprecated: Use AuthorizationResponse.ProtoReflect.Descriptor instead.

func (*AuthorizationResponse) GetAllowedClientHeaders Uses

func (x *AuthorizationResponse) GetAllowedClientHeaders() *matcher.ListStringMatcher

func (*AuthorizationResponse) GetAllowedUpstreamHeaders Uses

func (x *AuthorizationResponse) GetAllowedUpstreamHeaders() *matcher.ListStringMatcher

func (*AuthorizationResponse) ProtoMessage Uses

func (*AuthorizationResponse) ProtoMessage()

func (*AuthorizationResponse) ProtoReflect Uses

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

func (*AuthorizationResponse) Reset Uses

func (x *AuthorizationResponse) Reset()

func (*AuthorizationResponse) String Uses

func (x *AuthorizationResponse) String() string

func (*AuthorizationResponse) Validate Uses

func (m *AuthorizationResponse) Validate() error

Validate checks the field values on AuthorizationResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type AuthorizationResponseValidationError Uses

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

AuthorizationResponseValidationError is the validation error returned by AuthorizationResponse.Validate if the designated constraints aren't met.

func (AuthorizationResponseValidationError) Cause Uses

func (e AuthorizationResponseValidationError) Cause() error

Cause function returns cause value.

func (AuthorizationResponseValidationError) Error Uses

func (e AuthorizationResponseValidationError) Error() string

Error satisfies the builtin error interface

func (AuthorizationResponseValidationError) ErrorName Uses

func (e AuthorizationResponseValidationError) ErrorName() string

ErrorName returns error name.

func (AuthorizationResponseValidationError) Field Uses

func (e AuthorizationResponseValidationError) Field() string

Field function returns field value.

func (AuthorizationResponseValidationError) Key Uses

func (e AuthorizationResponseValidationError) Key() bool

Key function returns key value.

func (AuthorizationResponseValidationError) Reason Uses

func (e AuthorizationResponseValidationError) Reason() string

Reason function returns reason value.

type BufferSettings Uses

type BufferSettings struct {
    MaxRequestBytes     uint32 `protobuf:"varint,1,opt,name=max_request_bytes,json=maxRequestBytes,proto3" json:"max_request_bytes,omitempty"`
    AllowPartialMessage bool   `protobuf:"varint,2,opt,name=allow_partial_message,json=allowPartialMessage,proto3" json:"allow_partial_message,omitempty"`
    // contains filtered or unexported fields
}

func (*BufferSettings) Descriptor Uses

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

Deprecated: Use BufferSettings.ProtoReflect.Descriptor instead.

func (*BufferSettings) GetAllowPartialMessage Uses

func (x *BufferSettings) GetAllowPartialMessage() bool

func (*BufferSettings) GetMaxRequestBytes Uses

func (x *BufferSettings) GetMaxRequestBytes() uint32

func (*BufferSettings) ProtoMessage Uses

func (*BufferSettings) ProtoMessage()

func (*BufferSettings) ProtoReflect Uses

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

func (*BufferSettings) Reset Uses

func (x *BufferSettings) Reset()

func (*BufferSettings) String Uses

func (x *BufferSettings) String() string

func (*BufferSettings) Validate Uses

func (m *BufferSettings) Validate() error

Validate checks the field values on BufferSettings with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type BufferSettingsValidationError Uses

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

BufferSettingsValidationError is the validation error returned by BufferSettings.Validate if the designated constraints aren't met.

func (BufferSettingsValidationError) Cause Uses

func (e BufferSettingsValidationError) Cause() error

Cause function returns cause value.

func (BufferSettingsValidationError) Error Uses

func (e BufferSettingsValidationError) Error() string

Error satisfies the builtin error interface

func (BufferSettingsValidationError) ErrorName Uses

func (e BufferSettingsValidationError) ErrorName() string

ErrorName returns error name.

func (BufferSettingsValidationError) Field Uses

func (e BufferSettingsValidationError) Field() string

Field function returns field value.

func (BufferSettingsValidationError) Key Uses

func (e BufferSettingsValidationError) Key() bool

Key function returns key value.

func (BufferSettingsValidationError) Reason Uses

func (e BufferSettingsValidationError) Reason() string

Reason function returns reason value.

type CheckSettings Uses

type CheckSettings struct {
    ContextExtensions map[string]string `protobuf:"bytes,1,rep,name=context_extensions,json=contextExtensions,proto3" json:"context_extensions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // contains filtered or unexported fields
}

func (*CheckSettings) Descriptor Uses

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

Deprecated: Use CheckSettings.ProtoReflect.Descriptor instead.

func (*CheckSettings) GetContextExtensions Uses

func (x *CheckSettings) GetContextExtensions() map[string]string

func (*CheckSettings) ProtoMessage Uses

func (*CheckSettings) ProtoMessage()

func (*CheckSettings) ProtoReflect Uses

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

func (*CheckSettings) Reset Uses

func (x *CheckSettings) Reset()

func (*CheckSettings) String Uses

func (x *CheckSettings) String() string

func (*CheckSettings) Validate Uses

func (m *CheckSettings) Validate() error

Validate checks the field values on CheckSettings with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type CheckSettingsValidationError Uses

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

CheckSettingsValidationError is the validation error returned by CheckSettings.Validate if the designated constraints aren't met.

func (CheckSettingsValidationError) Cause Uses

func (e CheckSettingsValidationError) Cause() error

Cause function returns cause value.

func (CheckSettingsValidationError) Error Uses

func (e CheckSettingsValidationError) Error() string

Error satisfies the builtin error interface

func (CheckSettingsValidationError) ErrorName Uses

func (e CheckSettingsValidationError) ErrorName() string

ErrorName returns error name.

func (CheckSettingsValidationError) Field Uses

func (e CheckSettingsValidationError) Field() string

Field function returns field value.

func (CheckSettingsValidationError) Key Uses

func (e CheckSettingsValidationError) Key() bool

Key function returns key value.

func (CheckSettingsValidationError) Reason Uses

func (e CheckSettingsValidationError) Reason() string

Reason function returns reason value.

type ExtAuthz Uses

type ExtAuthz struct {

    // Types that are assignable to Services:
    //	*ExtAuthz_GrpcService
    //	*ExtAuthz_HttpService
    Services         isExtAuthz_Services `protobuf_oneof:"services"`
    FailureModeAllow bool                `protobuf:"varint,2,opt,name=failure_mode_allow,json=failureModeAllow,proto3" json:"failure_mode_allow,omitempty"`
    // Deprecated: Do not use.
    UseAlpha                  bool                           `protobuf:"varint,4,opt,name=use_alpha,json=useAlpha,proto3" json:"use_alpha,omitempty"`
    WithRequestBody           *BufferSettings                `protobuf:"bytes,5,opt,name=with_request_body,json=withRequestBody,proto3" json:"with_request_body,omitempty"`
    ClearRouteCache           bool                           `protobuf:"varint,6,opt,name=clear_route_cache,json=clearRouteCache,proto3" json:"clear_route_cache,omitempty"`
    StatusOnError             *_type.HttpStatus              `protobuf:"bytes,7,opt,name=status_on_error,json=statusOnError,proto3" json:"status_on_error,omitempty"`
    MetadataContextNamespaces []string                       `protobuf:"bytes,8,rep,name=metadata_context_namespaces,json=metadataContextNamespaces,proto3" json:"metadata_context_namespaces,omitempty"`
    FilterEnabled             *core.RuntimeFractionalPercent `protobuf:"bytes,9,opt,name=filter_enabled,json=filterEnabled,proto3" json:"filter_enabled,omitempty"`
    DenyAtDisable             *core.RuntimeFeatureFlag       `protobuf:"bytes,11,opt,name=deny_at_disable,json=denyAtDisable,proto3" json:"deny_at_disable,omitempty"`
    IncludePeerCertificate    bool                           `protobuf:"varint,10,opt,name=include_peer_certificate,json=includePeerCertificate,proto3" json:"include_peer_certificate,omitempty"`
    // contains filtered or unexported fields
}

func (*ExtAuthz) Descriptor Uses

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

Deprecated: Use ExtAuthz.ProtoReflect.Descriptor instead.

func (*ExtAuthz) GetClearRouteCache Uses

func (x *ExtAuthz) GetClearRouteCache() bool

func (*ExtAuthz) GetDenyAtDisable Uses

func (x *ExtAuthz) GetDenyAtDisable() *core.RuntimeFeatureFlag

func (*ExtAuthz) GetFailureModeAllow Uses

func (x *ExtAuthz) GetFailureModeAllow() bool

func (*ExtAuthz) GetFilterEnabled Uses

func (x *ExtAuthz) GetFilterEnabled() *core.RuntimeFractionalPercent

func (*ExtAuthz) GetGrpcService Uses

func (x *ExtAuthz) GetGrpcService() *core.GrpcService

func (*ExtAuthz) GetHttpService Uses

func (x *ExtAuthz) GetHttpService() *HttpService

func (*ExtAuthz) GetIncludePeerCertificate Uses

func (x *ExtAuthz) GetIncludePeerCertificate() bool

func (*ExtAuthz) GetMetadataContextNamespaces Uses

func (x *ExtAuthz) GetMetadataContextNamespaces() []string

func (*ExtAuthz) GetServices Uses

func (m *ExtAuthz) GetServices() isExtAuthz_Services

func (*ExtAuthz) GetStatusOnError Uses

func (x *ExtAuthz) GetStatusOnError() *_type.HttpStatus

func (*ExtAuthz) GetUseAlpha Uses

func (x *ExtAuthz) GetUseAlpha() bool

Deprecated: Do not use.

func (*ExtAuthz) GetWithRequestBody Uses

func (x *ExtAuthz) GetWithRequestBody() *BufferSettings

func (*ExtAuthz) ProtoMessage Uses

func (*ExtAuthz) ProtoMessage()

func (*ExtAuthz) ProtoReflect Uses

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

func (*ExtAuthz) Reset Uses

func (x *ExtAuthz) Reset()

func (*ExtAuthz) String Uses

func (x *ExtAuthz) String() string

func (*ExtAuthz) Validate Uses

func (m *ExtAuthz) Validate() error

Validate checks the field values on ExtAuthz with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ExtAuthzPerRoute Uses

type ExtAuthzPerRoute struct {

    // Types that are assignable to Override:
    //	*ExtAuthzPerRoute_Disabled
    //	*ExtAuthzPerRoute_CheckSettings
    Override isExtAuthzPerRoute_Override `protobuf_oneof:"override"`
    // contains filtered or unexported fields
}

func (*ExtAuthzPerRoute) Descriptor Uses

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

Deprecated: Use ExtAuthzPerRoute.ProtoReflect.Descriptor instead.

func (*ExtAuthzPerRoute) GetCheckSettings Uses

func (x *ExtAuthzPerRoute) GetCheckSettings() *CheckSettings

func (*ExtAuthzPerRoute) GetDisabled Uses

func (x *ExtAuthzPerRoute) GetDisabled() bool

func (*ExtAuthzPerRoute) GetOverride Uses

func (m *ExtAuthzPerRoute) GetOverride() isExtAuthzPerRoute_Override

func (*ExtAuthzPerRoute) ProtoMessage Uses

func (*ExtAuthzPerRoute) ProtoMessage()

func (*ExtAuthzPerRoute) ProtoReflect Uses

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

func (*ExtAuthzPerRoute) Reset Uses

func (x *ExtAuthzPerRoute) Reset()

func (*ExtAuthzPerRoute) String Uses

func (x *ExtAuthzPerRoute) String() string

func (*ExtAuthzPerRoute) Validate Uses

func (m *ExtAuthzPerRoute) Validate() error

Validate checks the field values on ExtAuthzPerRoute with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ExtAuthzPerRouteValidationError Uses

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

ExtAuthzPerRouteValidationError is the validation error returned by ExtAuthzPerRoute.Validate if the designated constraints aren't met.

func (ExtAuthzPerRouteValidationError) Cause Uses

func (e ExtAuthzPerRouteValidationError) Cause() error

Cause function returns cause value.

func (ExtAuthzPerRouteValidationError) Error Uses

func (e ExtAuthzPerRouteValidationError) Error() string

Error satisfies the builtin error interface

func (ExtAuthzPerRouteValidationError) ErrorName Uses

func (e ExtAuthzPerRouteValidationError) ErrorName() string

ErrorName returns error name.

func (ExtAuthzPerRouteValidationError) Field Uses

func (e ExtAuthzPerRouteValidationError) Field() string

Field function returns field value.

func (ExtAuthzPerRouteValidationError) Key Uses

func (e ExtAuthzPerRouteValidationError) Key() bool

Key function returns key value.

func (ExtAuthzPerRouteValidationError) Reason Uses

func (e ExtAuthzPerRouteValidationError) Reason() string

Reason function returns reason value.

type ExtAuthzPerRoute_CheckSettings Uses

type ExtAuthzPerRoute_CheckSettings struct {
    CheckSettings *CheckSettings `protobuf:"bytes,2,opt,name=check_settings,json=checkSettings,proto3,oneof"`
}

type ExtAuthzPerRoute_Disabled Uses

type ExtAuthzPerRoute_Disabled struct {
    Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3,oneof"`
}

type ExtAuthzValidationError Uses

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

ExtAuthzValidationError is the validation error returned by ExtAuthz.Validate if the designated constraints aren't met.

func (ExtAuthzValidationError) Cause Uses

func (e ExtAuthzValidationError) Cause() error

Cause function returns cause value.

func (ExtAuthzValidationError) Error Uses

func (e ExtAuthzValidationError) Error() string

Error satisfies the builtin error interface

func (ExtAuthzValidationError) ErrorName Uses

func (e ExtAuthzValidationError) ErrorName() string

ErrorName returns error name.

func (ExtAuthzValidationError) Field Uses

func (e ExtAuthzValidationError) Field() string

Field function returns field value.

func (ExtAuthzValidationError) Key Uses

func (e ExtAuthzValidationError) Key() bool

Key function returns key value.

func (ExtAuthzValidationError) Reason Uses

func (e ExtAuthzValidationError) Reason() string

Reason function returns reason value.

type ExtAuthz_GrpcService Uses

type ExtAuthz_GrpcService struct {
    GrpcService *core.GrpcService `protobuf:"bytes,1,opt,name=grpc_service,json=grpcService,proto3,oneof"`
}

type ExtAuthz_HttpService Uses

type ExtAuthz_HttpService struct {
    HttpService *HttpService `protobuf:"bytes,3,opt,name=http_service,json=httpService,proto3,oneof"`
}

type HttpService Uses

type HttpService struct {
    ServerUri             *core.HttpUri          `protobuf:"bytes,1,opt,name=server_uri,json=serverUri,proto3" json:"server_uri,omitempty"`
    PathPrefix            string                 `protobuf:"bytes,2,opt,name=path_prefix,json=pathPrefix,proto3" json:"path_prefix,omitempty"`
    AuthorizationRequest  *AuthorizationRequest  `protobuf:"bytes,7,opt,name=authorization_request,json=authorizationRequest,proto3" json:"authorization_request,omitempty"`
    AuthorizationResponse *AuthorizationResponse `protobuf:"bytes,8,opt,name=authorization_response,json=authorizationResponse,proto3" json:"authorization_response,omitempty"`
    // contains filtered or unexported fields
}

func (*HttpService) Descriptor Uses

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

Deprecated: Use HttpService.ProtoReflect.Descriptor instead.

func (*HttpService) GetAuthorizationRequest Uses

func (x *HttpService) GetAuthorizationRequest() *AuthorizationRequest

func (*HttpService) GetAuthorizationResponse Uses

func (x *HttpService) GetAuthorizationResponse() *AuthorizationResponse

func (*HttpService) GetPathPrefix Uses

func (x *HttpService) GetPathPrefix() string

func (*HttpService) GetServerUri Uses

func (x *HttpService) GetServerUri() *core.HttpUri

func (*HttpService) ProtoMessage Uses

func (*HttpService) ProtoMessage()

func (*HttpService) ProtoReflect Uses

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

func (*HttpService) Reset Uses

func (x *HttpService) Reset()

func (*HttpService) String Uses

func (x *HttpService) String() string

func (*HttpService) Validate Uses

func (m *HttpService) Validate() error

Validate checks the field values on HttpService with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type HttpServiceValidationError Uses

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

HttpServiceValidationError is the validation error returned by HttpService.Validate if the designated constraints aren't met.

func (HttpServiceValidationError) Cause Uses

func (e HttpServiceValidationError) Cause() error

Cause function returns cause value.

func (HttpServiceValidationError) Error Uses

func (e HttpServiceValidationError) Error() string

Error satisfies the builtin error interface

func (HttpServiceValidationError) ErrorName Uses

func (e HttpServiceValidationError) ErrorName() string

ErrorName returns error name.

func (HttpServiceValidationError) Field Uses

func (e HttpServiceValidationError) Field() string

Field function returns field value.

func (HttpServiceValidationError) Key Uses

func (e HttpServiceValidationError) Key() bool

Key function returns key value.

func (HttpServiceValidationError) Reason Uses

func (e HttpServiceValidationError) Reason() string

Reason function returns reason value.

Package envoy_config_filter_http_ext_authz_v2 imports 22 packages (graph) and is imported by 5 packages. Updated 2020-06-22. Refresh now. Tools for package owners.