Documentation ¶
Index ¶
- type AuthorizationRequest
- func (*AuthorizationRequest) Descriptor() ([]byte, []int)
- func (m *AuthorizationRequest) GetAllowedHeaders() *matcher.ListStringMatcher
- func (m *AuthorizationRequest) GetHeadersToAdd() []*core.HeaderValue
- func (*AuthorizationRequest) ProtoMessage()
- func (m *AuthorizationRequest) Reset()
- func (m *AuthorizationRequest) String() string
- func (m *AuthorizationRequest) Validate() error
- func (m *AuthorizationRequest) XXX_DiscardUnknown()
- func (m *AuthorizationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuthorizationRequest) XXX_Merge(src proto.Message)
- func (m *AuthorizationRequest) XXX_Size() int
- func (m *AuthorizationRequest) XXX_Unmarshal(b []byte) error
- type AuthorizationRequestValidationError
- func (e AuthorizationRequestValidationError) Cause() error
- func (e AuthorizationRequestValidationError) Error() string
- func (e AuthorizationRequestValidationError) ErrorName() string
- func (e AuthorizationRequestValidationError) Field() string
- func (e AuthorizationRequestValidationError) Key() bool
- func (e AuthorizationRequestValidationError) Reason() string
- type AuthorizationResponse
- func (*AuthorizationResponse) Descriptor() ([]byte, []int)
- func (m *AuthorizationResponse) GetAllowedClientHeaders() *matcher.ListStringMatcher
- func (m *AuthorizationResponse) GetAllowedUpstreamHeaders() *matcher.ListStringMatcher
- func (*AuthorizationResponse) ProtoMessage()
- func (m *AuthorizationResponse) Reset()
- func (m *AuthorizationResponse) String() string
- func (m *AuthorizationResponse) Validate() error
- func (m *AuthorizationResponse) XXX_DiscardUnknown()
- func (m *AuthorizationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuthorizationResponse) XXX_Merge(src proto.Message)
- func (m *AuthorizationResponse) XXX_Size() int
- func (m *AuthorizationResponse) XXX_Unmarshal(b []byte) error
- type AuthorizationResponseValidationError
- func (e AuthorizationResponseValidationError) Cause() error
- func (e AuthorizationResponseValidationError) Error() string
- func (e AuthorizationResponseValidationError) ErrorName() string
- func (e AuthorizationResponseValidationError) Field() string
- func (e AuthorizationResponseValidationError) Key() bool
- func (e AuthorizationResponseValidationError) Reason() string
- type BufferSettings
- func (*BufferSettings) Descriptor() ([]byte, []int)
- func (m *BufferSettings) GetAllowPartialMessage() bool
- func (m *BufferSettings) GetMaxRequestBytes() uint32
- func (*BufferSettings) ProtoMessage()
- func (m *BufferSettings) Reset()
- func (m *BufferSettings) String() string
- func (m *BufferSettings) Validate() error
- func (m *BufferSettings) XXX_DiscardUnknown()
- func (m *BufferSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BufferSettings) XXX_Merge(src proto.Message)
- func (m *BufferSettings) XXX_Size() int
- func (m *BufferSettings) XXX_Unmarshal(b []byte) error
- type BufferSettingsValidationError
- func (e BufferSettingsValidationError) Cause() error
- func (e BufferSettingsValidationError) Error() string
- func (e BufferSettingsValidationError) ErrorName() string
- func (e BufferSettingsValidationError) Field() string
- func (e BufferSettingsValidationError) Key() bool
- func (e BufferSettingsValidationError) Reason() string
- type CheckSettings
- func (*CheckSettings) Descriptor() ([]byte, []int)
- func (m *CheckSettings) GetContextExtensions() map[string]string
- func (*CheckSettings) ProtoMessage()
- func (m *CheckSettings) Reset()
- func (m *CheckSettings) String() string
- func (m *CheckSettings) Validate() error
- func (m *CheckSettings) XXX_DiscardUnknown()
- func (m *CheckSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CheckSettings) XXX_Merge(src proto.Message)
- func (m *CheckSettings) XXX_Size() int
- func (m *CheckSettings) XXX_Unmarshal(b []byte) error
- type CheckSettingsValidationError
- func (e CheckSettingsValidationError) Cause() error
- func (e CheckSettingsValidationError) Error() string
- func (e CheckSettingsValidationError) ErrorName() string
- func (e CheckSettingsValidationError) Field() string
- func (e CheckSettingsValidationError) Key() bool
- func (e CheckSettingsValidationError) Reason() string
- type ExtAuthz
- func (*ExtAuthz) Descriptor() ([]byte, []int)
- func (m *ExtAuthz) GetClearRouteCache() bool
- func (m *ExtAuthz) GetFailureModeAllow() bool
- func (m *ExtAuthz) GetFilterEnabled() *core.RuntimeFractionalPercent
- func (m *ExtAuthz) GetGrpcService() *core.GrpcService
- func (m *ExtAuthz) GetHttpService() *HttpService
- func (m *ExtAuthz) GetIncludePeerCertificate() bool
- func (m *ExtAuthz) GetMetadataContextNamespaces() []string
- func (m *ExtAuthz) GetServices() isExtAuthz_Services
- func (m *ExtAuthz) GetStatusOnError() *_type.HttpStatus
- func (m *ExtAuthz) GetUseAlpha() booldeprecated
- func (m *ExtAuthz) GetWithRequestBody() *BufferSettings
- func (*ExtAuthz) ProtoMessage()
- func (m *ExtAuthz) Reset()
- func (m *ExtAuthz) String() string
- func (m *ExtAuthz) Validate() error
- func (m *ExtAuthz) XXX_DiscardUnknown()
- func (m *ExtAuthz) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExtAuthz) XXX_Merge(src proto.Message)
- func (*ExtAuthz) XXX_OneofWrappers() []interface{}
- func (m *ExtAuthz) XXX_Size() int
- func (m *ExtAuthz) XXX_Unmarshal(b []byte) error
- type ExtAuthzPerRoute
- func (*ExtAuthzPerRoute) Descriptor() ([]byte, []int)
- func (m *ExtAuthzPerRoute) GetCheckSettings() *CheckSettings
- func (m *ExtAuthzPerRoute) GetDisabled() bool
- func (m *ExtAuthzPerRoute) GetOverride() isExtAuthzPerRoute_Override
- func (*ExtAuthzPerRoute) ProtoMessage()
- func (m *ExtAuthzPerRoute) Reset()
- func (m *ExtAuthzPerRoute) String() string
- func (m *ExtAuthzPerRoute) Validate() error
- func (m *ExtAuthzPerRoute) XXX_DiscardUnknown()
- func (m *ExtAuthzPerRoute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExtAuthzPerRoute) XXX_Merge(src proto.Message)
- func (*ExtAuthzPerRoute) XXX_OneofWrappers() []interface{}
- func (m *ExtAuthzPerRoute) XXX_Size() int
- func (m *ExtAuthzPerRoute) XXX_Unmarshal(b []byte) error
- type ExtAuthzPerRouteValidationError
- func (e ExtAuthzPerRouteValidationError) Cause() error
- func (e ExtAuthzPerRouteValidationError) Error() string
- func (e ExtAuthzPerRouteValidationError) ErrorName() string
- func (e ExtAuthzPerRouteValidationError) Field() string
- func (e ExtAuthzPerRouteValidationError) Key() bool
- func (e ExtAuthzPerRouteValidationError) Reason() string
- type ExtAuthzPerRoute_CheckSettings
- type ExtAuthzPerRoute_Disabled
- type ExtAuthzValidationError
- type ExtAuthz_GrpcService
- type ExtAuthz_HttpService
- type HttpService
- func (*HttpService) Descriptor() ([]byte, []int)
- func (m *HttpService) GetAuthorizationRequest() *AuthorizationRequest
- func (m *HttpService) GetAuthorizationResponse() *AuthorizationResponse
- func (m *HttpService) GetPathPrefix() string
- func (m *HttpService) GetServerUri() *core.HttpUri
- func (*HttpService) ProtoMessage()
- func (m *HttpService) Reset()
- func (m *HttpService) String() string
- func (m *HttpService) Validate() error
- func (m *HttpService) XXX_DiscardUnknown()
- func (m *HttpService) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HttpService) XXX_Merge(src proto.Message)
- func (m *HttpService) XXX_Size() int
- func (m *HttpService) XXX_Unmarshal(b []byte) error
- type HttpServiceValidationError
- func (e HttpServiceValidationError) Cause() error
- func (e HttpServiceValidationError) Error() string
- func (e HttpServiceValidationError) ErrorName() string
- func (e HttpServiceValidationError) Field() string
- func (e HttpServiceValidationError) Key() bool
- func (e HttpServiceValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizationRequest ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AuthorizationRequest) Descriptor ¶
func (*AuthorizationRequest) Descriptor() ([]byte, []int)
func (*AuthorizationRequest) GetAllowedHeaders ¶
func (m *AuthorizationRequest) GetAllowedHeaders() *matcher.ListStringMatcher
func (*AuthorizationRequest) GetHeadersToAdd ¶
func (m *AuthorizationRequest) GetHeadersToAdd() []*core.HeaderValue
func (*AuthorizationRequest) ProtoMessage ¶
func (*AuthorizationRequest) ProtoMessage()
func (*AuthorizationRequest) Reset ¶
func (m *AuthorizationRequest) Reset()
func (*AuthorizationRequest) String ¶
func (m *AuthorizationRequest) String() string
func (*AuthorizationRequest) Validate ¶
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.
func (*AuthorizationRequest) XXX_DiscardUnknown ¶
func (m *AuthorizationRequest) XXX_DiscardUnknown()
func (*AuthorizationRequest) XXX_Marshal ¶
func (m *AuthorizationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthorizationRequest) XXX_Merge ¶
func (m *AuthorizationRequest) XXX_Merge(src proto.Message)
func (*AuthorizationRequest) XXX_Size ¶
func (m *AuthorizationRequest) XXX_Size() int
func (*AuthorizationRequest) XXX_Unmarshal ¶
func (m *AuthorizationRequest) XXX_Unmarshal(b []byte) error
type AuthorizationRequestValidationError ¶
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 ¶
func (e AuthorizationRequestValidationError) Cause() error
Cause function returns cause value.
func (AuthorizationRequestValidationError) Error ¶
func (e AuthorizationRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AuthorizationRequestValidationError) ErrorName ¶ added in v0.7.0
func (e AuthorizationRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AuthorizationRequestValidationError) Field ¶
func (e AuthorizationRequestValidationError) Field() string
Field function returns field value.
func (AuthorizationRequestValidationError) Key ¶
func (e AuthorizationRequestValidationError) Key() bool
Key function returns key value.
func (AuthorizationRequestValidationError) Reason ¶
func (e AuthorizationRequestValidationError) Reason() string
Reason function returns reason value.
type AuthorizationResponse ¶
type AuthorizationResponse struct { AllowedUpstreamHeaders *matcher.ListStringMatcher `` /* 129-byte string literal not displayed */ AllowedClientHeaders *matcher.ListStringMatcher `protobuf:"bytes,2,opt,name=allowed_client_headers,json=allowedClientHeaders,proto3" json:"allowed_client_headers,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AuthorizationResponse) Descriptor ¶
func (*AuthorizationResponse) Descriptor() ([]byte, []int)
func (*AuthorizationResponse) GetAllowedClientHeaders ¶
func (m *AuthorizationResponse) GetAllowedClientHeaders() *matcher.ListStringMatcher
func (*AuthorizationResponse) GetAllowedUpstreamHeaders ¶
func (m *AuthorizationResponse) GetAllowedUpstreamHeaders() *matcher.ListStringMatcher
func (*AuthorizationResponse) ProtoMessage ¶
func (*AuthorizationResponse) ProtoMessage()
func (*AuthorizationResponse) Reset ¶
func (m *AuthorizationResponse) Reset()
func (*AuthorizationResponse) String ¶
func (m *AuthorizationResponse) String() string
func (*AuthorizationResponse) Validate ¶
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.
func (*AuthorizationResponse) XXX_DiscardUnknown ¶
func (m *AuthorizationResponse) XXX_DiscardUnknown()
func (*AuthorizationResponse) XXX_Marshal ¶
func (m *AuthorizationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthorizationResponse) XXX_Merge ¶
func (m *AuthorizationResponse) XXX_Merge(src proto.Message)
func (*AuthorizationResponse) XXX_Size ¶
func (m *AuthorizationResponse) XXX_Size() int
func (*AuthorizationResponse) XXX_Unmarshal ¶
func (m *AuthorizationResponse) XXX_Unmarshal(b []byte) error
type AuthorizationResponseValidationError ¶
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 ¶
func (e AuthorizationResponseValidationError) Cause() error
Cause function returns cause value.
func (AuthorizationResponseValidationError) Error ¶
func (e AuthorizationResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AuthorizationResponseValidationError) ErrorName ¶ added in v0.7.0
func (e AuthorizationResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AuthorizationResponseValidationError) Field ¶
func (e AuthorizationResponseValidationError) Field() string
Field function returns field value.
func (AuthorizationResponseValidationError) Key ¶
func (e AuthorizationResponseValidationError) Key() bool
Key function returns key value.
func (AuthorizationResponseValidationError) Reason ¶
func (e AuthorizationResponseValidationError) Reason() string
Reason function returns reason value.
type BufferSettings ¶ added in v0.7.0
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BufferSettings) Descriptor ¶ added in v0.7.0
func (*BufferSettings) Descriptor() ([]byte, []int)
func (*BufferSettings) GetAllowPartialMessage ¶ added in v0.7.0
func (m *BufferSettings) GetAllowPartialMessage() bool
func (*BufferSettings) GetMaxRequestBytes ¶ added in v0.7.0
func (m *BufferSettings) GetMaxRequestBytes() uint32
func (*BufferSettings) ProtoMessage ¶ added in v0.7.0
func (*BufferSettings) ProtoMessage()
func (*BufferSettings) Reset ¶ added in v0.7.0
func (m *BufferSettings) Reset()
func (*BufferSettings) String ¶ added in v0.7.0
func (m *BufferSettings) String() string
func (*BufferSettings) Validate ¶ added in v0.7.0
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.
func (*BufferSettings) XXX_DiscardUnknown ¶ added in v0.7.0
func (m *BufferSettings) XXX_DiscardUnknown()
func (*BufferSettings) XXX_Marshal ¶ added in v0.7.0
func (m *BufferSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BufferSettings) XXX_Merge ¶ added in v0.7.0
func (m *BufferSettings) XXX_Merge(src proto.Message)
func (*BufferSettings) XXX_Size ¶ added in v0.7.0
func (m *BufferSettings) XXX_Size() int
func (*BufferSettings) XXX_Unmarshal ¶ added in v0.7.0
func (m *BufferSettings) XXX_Unmarshal(b []byte) error
type BufferSettingsValidationError ¶ added in v0.7.0
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 ¶ added in v0.7.0
func (e BufferSettingsValidationError) Cause() error
Cause function returns cause value.
func (BufferSettingsValidationError) Error ¶ added in v0.7.0
func (e BufferSettingsValidationError) Error() string
Error satisfies the builtin error interface
func (BufferSettingsValidationError) ErrorName ¶ added in v0.7.0
func (e BufferSettingsValidationError) ErrorName() string
ErrorName returns error name.
func (BufferSettingsValidationError) Field ¶ added in v0.7.0
func (e BufferSettingsValidationError) Field() string
Field function returns field value.
func (BufferSettingsValidationError) Key ¶ added in v0.7.0
func (e BufferSettingsValidationError) Key() bool
Key function returns key value.
func (BufferSettingsValidationError) Reason ¶ added in v0.7.0
func (e BufferSettingsValidationError) Reason() string
Reason function returns reason value.
type CheckSettings ¶
type CheckSettings struct { ContextExtensions map[string]string `` /* 200-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CheckSettings) Descriptor ¶
func (*CheckSettings) Descriptor() ([]byte, []int)
func (*CheckSettings) GetContextExtensions ¶
func (m *CheckSettings) GetContextExtensions() map[string]string
func (*CheckSettings) ProtoMessage ¶
func (*CheckSettings) ProtoMessage()
func (*CheckSettings) Reset ¶
func (m *CheckSettings) Reset()
func (*CheckSettings) String ¶
func (m *CheckSettings) String() string
func (*CheckSettings) Validate ¶
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.
func (*CheckSettings) XXX_DiscardUnknown ¶
func (m *CheckSettings) XXX_DiscardUnknown()
func (*CheckSettings) XXX_Marshal ¶
func (m *CheckSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CheckSettings) XXX_Merge ¶
func (m *CheckSettings) XXX_Merge(src proto.Message)
func (*CheckSettings) XXX_Size ¶
func (m *CheckSettings) XXX_Size() int
func (*CheckSettings) XXX_Unmarshal ¶
func (m *CheckSettings) XXX_Unmarshal(b []byte) error
type CheckSettingsValidationError ¶
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 ¶
func (e CheckSettingsValidationError) Cause() error
Cause function returns cause value.
func (CheckSettingsValidationError) Error ¶
func (e CheckSettingsValidationError) Error() string
Error satisfies the builtin error interface
func (CheckSettingsValidationError) ErrorName ¶ added in v0.7.0
func (e CheckSettingsValidationError) ErrorName() string
ErrorName returns error name.
func (CheckSettingsValidationError) Field ¶
func (e CheckSettingsValidationError) Field() string
Field function returns field value.
func (CheckSettingsValidationError) Key ¶
func (e CheckSettingsValidationError) Key() bool
Key function returns key value.
func (CheckSettingsValidationError) Reason ¶
func (e CheckSettingsValidationError) Reason() string
Reason function returns reason value.
type ExtAuthz ¶
type ExtAuthz struct { // Types that are valid to be assigned 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"` UseAlpha bool `protobuf:"varint,4,opt,name=use_alpha,json=useAlpha,proto3" json:"use_alpha,omitempty"` // Deprecated: Do not use. 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 `` /* 138-byte string literal not displayed */ FilterEnabled *core.RuntimeFractionalPercent `protobuf:"bytes,9,opt,name=filter_enabled,json=filterEnabled,proto3" json:"filter_enabled,omitempty"` IncludePeerCertificate bool `` /* 131-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExtAuthz) Descriptor ¶
func (*ExtAuthz) GetClearRouteCache ¶ added in v0.7.1
func (*ExtAuthz) GetFailureModeAllow ¶
func (*ExtAuthz) GetFilterEnabled ¶ added in v0.9.1
func (m *ExtAuthz) GetFilterEnabled() *core.RuntimeFractionalPercent
func (*ExtAuthz) GetGrpcService ¶
func (m *ExtAuthz) GetGrpcService() *core.GrpcService
func (*ExtAuthz) GetHttpService ¶
func (m *ExtAuthz) GetHttpService() *HttpService
func (*ExtAuthz) GetIncludePeerCertificate ¶ added in v0.9.2
func (*ExtAuthz) GetMetadataContextNamespaces ¶ added in v0.9.0
func (*ExtAuthz) GetServices ¶
func (m *ExtAuthz) GetServices() isExtAuthz_Services
func (*ExtAuthz) GetStatusOnError ¶ added in v0.8.1
func (m *ExtAuthz) GetStatusOnError() *_type.HttpStatus
func (*ExtAuthz) GetUseAlpha
deprecated
func (*ExtAuthz) GetWithRequestBody ¶ added in v0.7.0
func (m *ExtAuthz) GetWithRequestBody() *BufferSettings
func (*ExtAuthz) ProtoMessage ¶
func (*ExtAuthz) ProtoMessage()
func (*ExtAuthz) Validate ¶
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.
func (*ExtAuthz) XXX_DiscardUnknown ¶
func (m *ExtAuthz) XXX_DiscardUnknown()
func (*ExtAuthz) XXX_Marshal ¶
func (*ExtAuthz) XXX_OneofWrappers ¶ added in v0.9.0
func (*ExtAuthz) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ExtAuthz) XXX_Unmarshal ¶
type ExtAuthzPerRoute ¶
type ExtAuthzPerRoute struct { // Types that are valid to be assigned to Override: // *ExtAuthzPerRoute_Disabled // *ExtAuthzPerRoute_CheckSettings Override isExtAuthzPerRoute_Override `protobuf_oneof:"override"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExtAuthzPerRoute) Descriptor ¶
func (*ExtAuthzPerRoute) Descriptor() ([]byte, []int)
func (*ExtAuthzPerRoute) GetCheckSettings ¶
func (m *ExtAuthzPerRoute) GetCheckSettings() *CheckSettings
func (*ExtAuthzPerRoute) GetDisabled ¶
func (m *ExtAuthzPerRoute) GetDisabled() bool
func (*ExtAuthzPerRoute) GetOverride ¶
func (m *ExtAuthzPerRoute) GetOverride() isExtAuthzPerRoute_Override
func (*ExtAuthzPerRoute) ProtoMessage ¶
func (*ExtAuthzPerRoute) ProtoMessage()
func (*ExtAuthzPerRoute) Reset ¶
func (m *ExtAuthzPerRoute) Reset()
func (*ExtAuthzPerRoute) String ¶
func (m *ExtAuthzPerRoute) String() string
func (*ExtAuthzPerRoute) Validate ¶
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.
func (*ExtAuthzPerRoute) XXX_DiscardUnknown ¶
func (m *ExtAuthzPerRoute) XXX_DiscardUnknown()
func (*ExtAuthzPerRoute) XXX_Marshal ¶
func (m *ExtAuthzPerRoute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExtAuthzPerRoute) XXX_Merge ¶
func (m *ExtAuthzPerRoute) XXX_Merge(src proto.Message)
func (*ExtAuthzPerRoute) XXX_OneofWrappers ¶ added in v0.9.0
func (*ExtAuthzPerRoute) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ExtAuthzPerRoute) XXX_Size ¶
func (m *ExtAuthzPerRoute) XXX_Size() int
func (*ExtAuthzPerRoute) XXX_Unmarshal ¶
func (m *ExtAuthzPerRoute) XXX_Unmarshal(b []byte) error
type ExtAuthzPerRouteValidationError ¶
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 ¶
func (e ExtAuthzPerRouteValidationError) Cause() error
Cause function returns cause value.
func (ExtAuthzPerRouteValidationError) Error ¶
func (e ExtAuthzPerRouteValidationError) Error() string
Error satisfies the builtin error interface
func (ExtAuthzPerRouteValidationError) ErrorName ¶ added in v0.7.0
func (e ExtAuthzPerRouteValidationError) ErrorName() string
ErrorName returns error name.
func (ExtAuthzPerRouteValidationError) Field ¶
func (e ExtAuthzPerRouteValidationError) Field() string
Field function returns field value.
func (ExtAuthzPerRouteValidationError) Key ¶
func (e ExtAuthzPerRouteValidationError) Key() bool
Key function returns key value.
func (ExtAuthzPerRouteValidationError) Reason ¶
func (e ExtAuthzPerRouteValidationError) Reason() string
Reason function returns reason value.
type ExtAuthzPerRoute_CheckSettings ¶
type ExtAuthzPerRoute_CheckSettings struct {
CheckSettings *CheckSettings `protobuf:"bytes,2,opt,name=check_settings,json=checkSettings,proto3,oneof"`
}
type ExtAuthzPerRoute_Disabled ¶
type ExtAuthzPerRoute_Disabled struct {
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3,oneof"`
}
type ExtAuthzValidationError ¶
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 ¶
func (e ExtAuthzValidationError) Cause() error
Cause function returns cause value.
func (ExtAuthzValidationError) Error ¶
func (e ExtAuthzValidationError) Error() string
Error satisfies the builtin error interface
func (ExtAuthzValidationError) ErrorName ¶ added in v0.7.0
func (e ExtAuthzValidationError) ErrorName() string
ErrorName returns error name.
func (ExtAuthzValidationError) Field ¶
func (e ExtAuthzValidationError) Field() string
Field function returns field value.
func (ExtAuthzValidationError) Key ¶
func (e ExtAuthzValidationError) Key() bool
Key function returns key value.
func (ExtAuthzValidationError) Reason ¶
func (e ExtAuthzValidationError) Reason() string
Reason function returns reason value.
type ExtAuthz_GrpcService ¶
type ExtAuthz_GrpcService struct {
GrpcService *core.GrpcService `protobuf:"bytes,1,opt,name=grpc_service,json=grpcService,proto3,oneof"`
}
type ExtAuthz_HttpService ¶
type ExtAuthz_HttpService struct {
HttpService *HttpService `protobuf:"bytes,3,opt,name=http_service,json=httpService,proto3,oneof"`
}
type HttpService ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HttpService) Descriptor ¶
func (*HttpService) Descriptor() ([]byte, []int)
func (*HttpService) GetAuthorizationRequest ¶
func (m *HttpService) GetAuthorizationRequest() *AuthorizationRequest
func (*HttpService) GetAuthorizationResponse ¶
func (m *HttpService) GetAuthorizationResponse() *AuthorizationResponse
func (*HttpService) GetPathPrefix ¶
func (m *HttpService) GetPathPrefix() string
func (*HttpService) GetServerUri ¶
func (m *HttpService) GetServerUri() *core.HttpUri
func (*HttpService) ProtoMessage ¶
func (*HttpService) ProtoMessage()
func (*HttpService) Reset ¶
func (m *HttpService) Reset()
func (*HttpService) String ¶
func (m *HttpService) String() string
func (*HttpService) Validate ¶
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.
func (*HttpService) XXX_DiscardUnknown ¶
func (m *HttpService) XXX_DiscardUnknown()
func (*HttpService) XXX_Marshal ¶
func (m *HttpService) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HttpService) XXX_Merge ¶
func (m *HttpService) XXX_Merge(src proto.Message)
func (*HttpService) XXX_Size ¶
func (m *HttpService) XXX_Size() int
func (*HttpService) XXX_Unmarshal ¶
func (m *HttpService) XXX_Unmarshal(b []byte) error
type HttpServiceValidationError ¶
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 ¶
func (e HttpServiceValidationError) Cause() error
Cause function returns cause value.
func (HttpServiceValidationError) Error ¶
func (e HttpServiceValidationError) Error() string
Error satisfies the builtin error interface
func (HttpServiceValidationError) ErrorName ¶ added in v0.7.0
func (e HttpServiceValidationError) ErrorName() string
ErrorName returns error name.
func (HttpServiceValidationError) Field ¶
func (e HttpServiceValidationError) Field() string
Field function returns field value.
func (HttpServiceValidationError) Key ¶
func (e HttpServiceValidationError) Key() bool
Key function returns key value.
func (HttpServiceValidationError) Reason ¶
func (e HttpServiceValidationError) Reason() string
Reason function returns reason value.