Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterHandleAuthnZServiceServer(s *grpc.Server, srv HandleAuthnZServiceServer)
- type HandleAuthnZRequest
- func (*HandleAuthnZRequest) Descriptor() ([]byte, []int)
- func (m *HandleAuthnZRequest) Marshal() (dAtA []byte, err error)
- func (m *HandleAuthnZRequest) MarshalTo(dAtA []byte) (int, error)
- func (*HandleAuthnZRequest) ProtoMessage()
- func (m *HandleAuthnZRequest) Reset()
- func (m *HandleAuthnZRequest) Size() (n int)
- func (this *HandleAuthnZRequest) String() string
- func (m *HandleAuthnZRequest) Unmarshal(dAtA []byte) error
- func (m *HandleAuthnZRequest) XXX_DiscardUnknown()
- func (m *HandleAuthnZRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HandleAuthnZRequest) XXX_Merge(src proto.Message)
- func (m *HandleAuthnZRequest) XXX_Size() int
- func (m *HandleAuthnZRequest) XXX_Unmarshal(b []byte) error
- type HandleAuthnZResponse
- func (*HandleAuthnZResponse) Descriptor() ([]byte, []int)
- func (m *HandleAuthnZResponse) Marshal() (dAtA []byte, err error)
- func (m *HandleAuthnZResponse) MarshalTo(dAtA []byte) (int, error)
- func (*HandleAuthnZResponse) ProtoMessage()
- func (m *HandleAuthnZResponse) Reset()
- func (m *HandleAuthnZResponse) Size() (n int)
- func (this *HandleAuthnZResponse) String() string
- func (m *HandleAuthnZResponse) Unmarshal(dAtA []byte) error
- func (m *HandleAuthnZResponse) XXX_DiscardUnknown()
- func (m *HandleAuthnZResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HandleAuthnZResponse) XXX_Merge(src proto.Message)
- func (m *HandleAuthnZResponse) XXX_Size() int
- func (m *HandleAuthnZResponse) XXX_Unmarshal(b []byte) error
- type HandleAuthnZServiceClient
- type HandleAuthnZServiceServer
- type Handler
- type HandlerBuilder
- type Headers
- type HeadersInstanceParam
- func (*HeadersInstanceParam) Descriptor() ([]byte, []int)
- func (m *HeadersInstanceParam) Marshal() (dAtA []byte, err error)
- func (m *HeadersInstanceParam) MarshalTo(dAtA []byte) (int, error)
- func (*HeadersInstanceParam) ProtoMessage()
- func (m *HeadersInstanceParam) Reset()
- func (m *HeadersInstanceParam) Size() (n int)
- func (this *HeadersInstanceParam) String() string
- func (m *HeadersInstanceParam) Unmarshal(dAtA []byte) error
- func (m *HeadersInstanceParam) XXX_DiscardUnknown()
- func (m *HeadersInstanceParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HeadersInstanceParam) XXX_Merge(src proto.Message)
- func (m *HeadersInstanceParam) XXX_Size() int
- func (m *HeadersInstanceParam) XXX_Unmarshal(b []byte) error
- type HeadersMsg
- func (*HeadersMsg) Descriptor() ([]byte, []int)
- func (m *HeadersMsg) Marshal() (dAtA []byte, err error)
- func (m *HeadersMsg) MarshalTo(dAtA []byte) (int, error)
- func (*HeadersMsg) ProtoMessage()
- func (m *HeadersMsg) Reset()
- func (m *HeadersMsg) Size() (n int)
- func (this *HeadersMsg) String() string
- func (m *HeadersMsg) Unmarshal(dAtA []byte) error
- func (m *HeadersMsg) XXX_DiscardUnknown()
- func (m *HeadersMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HeadersMsg) XXX_Merge(src proto.Message)
- func (m *HeadersMsg) XXX_Size() int
- func (m *HeadersMsg) XXX_Unmarshal(b []byte) error
- type HeadersType
- func (*HeadersType) Descriptor() ([]byte, []int)
- func (m *HeadersType) Marshal() (dAtA []byte, err error)
- func (m *HeadersType) MarshalTo(dAtA []byte) (int, error)
- func (*HeadersType) ProtoMessage()
- func (m *HeadersType) Reset()
- func (m *HeadersType) Size() (n int)
- func (this *HeadersType) String() string
- func (m *HeadersType) Unmarshal(dAtA []byte) error
- func (m *HeadersType) XXX_DiscardUnknown()
- func (m *HeadersType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HeadersType) XXX_Merge(src proto.Message)
- func (m *HeadersType) XXX_Size() int
- func (m *HeadersType) XXX_Unmarshal(b []byte) error
- type Instance
- type InstanceMsg
- func (*InstanceMsg) Descriptor() ([]byte, []int)
- func (m *InstanceMsg) Marshal() (dAtA []byte, err error)
- func (m *InstanceMsg) MarshalTo(dAtA []byte) (int, error)
- func (*InstanceMsg) ProtoMessage()
- func (m *InstanceMsg) Reset()
- func (m *InstanceMsg) Size() (n int)
- func (this *InstanceMsg) String() string
- func (m *InstanceMsg) Unmarshal(dAtA []byte) error
- func (m *InstanceMsg) XXX_DiscardUnknown()
- func (m *InstanceMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InstanceMsg) XXX_Merge(src proto.Message)
- func (m *InstanceMsg) XXX_Size() int
- func (m *InstanceMsg) XXX_Unmarshal(b []byte) error
- type InstanceParam
- func (*InstanceParam) Descriptor() ([]byte, []int)
- func (m *InstanceParam) Marshal() (dAtA []byte, err error)
- func (m *InstanceParam) MarshalTo(dAtA []byte) (int, error)
- func (*InstanceParam) ProtoMessage()
- func (m *InstanceParam) Reset()
- func (m *InstanceParam) Size() (n int)
- func (this *InstanceParam) String() string
- func (m *InstanceParam) Unmarshal(dAtA []byte) error
- func (m *InstanceParam) XXX_DiscardUnknown()
- func (m *InstanceParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InstanceParam) XXX_Merge(src proto.Message)
- func (m *InstanceParam) XXX_Size() int
- func (m *InstanceParam) XXX_Unmarshal(b []byte) error
- type Output
- type OutputMsg
- func (*OutputMsg) Descriptor() ([]byte, []int)
- func (m *OutputMsg) Marshal() (dAtA []byte, err error)
- func (m *OutputMsg) MarshalTo(dAtA []byte) (int, error)
- func (*OutputMsg) ProtoMessage()
- func (m *OutputMsg) Reset()
- func (m *OutputMsg) Size() (n int)
- func (this *OutputMsg) String() string
- func (m *OutputMsg) Unmarshal(dAtA []byte) error
- func (m *OutputMsg) XXX_DiscardUnknown()
- func (m *OutputMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OutputMsg) XXX_Merge(src proto.Message)
- func (m *OutputMsg) XXX_Size() int
- func (m *OutputMsg) XXX_Unmarshal(b []byte) error
- type QueryParams
- type QueryParamsInstanceParam
- func (*QueryParamsInstanceParam) Descriptor() ([]byte, []int)
- func (m *QueryParamsInstanceParam) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsInstanceParam) MarshalTo(dAtA []byte) (int, error)
- func (*QueryParamsInstanceParam) ProtoMessage()
- func (m *QueryParamsInstanceParam) Reset()
- func (m *QueryParamsInstanceParam) Size() (n int)
- func (this *QueryParamsInstanceParam) String() string
- func (m *QueryParamsInstanceParam) Unmarshal(dAtA []byte) error
- func (m *QueryParamsInstanceParam) XXX_DiscardUnknown()
- func (m *QueryParamsInstanceParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsInstanceParam) XXX_Merge(src proto.Message)
- func (m *QueryParamsInstanceParam) XXX_Size() int
- func (m *QueryParamsInstanceParam) XXX_Unmarshal(b []byte) error
- type QueryParamsMsg
- func (*QueryParamsMsg) Descriptor() ([]byte, []int)
- func (m *QueryParamsMsg) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsMsg) MarshalTo(dAtA []byte) (int, error)
- func (*QueryParamsMsg) ProtoMessage()
- func (m *QueryParamsMsg) Reset()
- func (m *QueryParamsMsg) Size() (n int)
- func (this *QueryParamsMsg) String() string
- func (m *QueryParamsMsg) Unmarshal(dAtA []byte) error
- func (m *QueryParamsMsg) XXX_DiscardUnknown()
- func (m *QueryParamsMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsMsg) XXX_Merge(src proto.Message)
- func (m *QueryParamsMsg) XXX_Size() int
- func (m *QueryParamsMsg) XXX_Unmarshal(b []byte) error
- type QueryParamsType
- func (*QueryParamsType) Descriptor() ([]byte, []int)
- func (m *QueryParamsType) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsType) MarshalTo(dAtA []byte) (int, error)
- func (*QueryParamsType) ProtoMessage()
- func (m *QueryParamsType) Reset()
- func (m *QueryParamsType) Size() (n int)
- func (this *QueryParamsType) String() string
- func (m *QueryParamsType) Unmarshal(dAtA []byte) error
- func (m *QueryParamsType) XXX_DiscardUnknown()
- func (m *QueryParamsType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsType) XXX_Merge(src proto.Message)
- func (m *QueryParamsType) XXX_Size() int
- func (m *QueryParamsType) XXX_Unmarshal(b []byte) error
- type Request
- type RequestInstanceParam
- func (*RequestInstanceParam) Descriptor() ([]byte, []int)
- func (m *RequestInstanceParam) Marshal() (dAtA []byte, err error)
- func (m *RequestInstanceParam) MarshalTo(dAtA []byte) (int, error)
- func (*RequestInstanceParam) ProtoMessage()
- func (m *RequestInstanceParam) Reset()
- func (m *RequestInstanceParam) Size() (n int)
- func (this *RequestInstanceParam) String() string
- func (m *RequestInstanceParam) Unmarshal(dAtA []byte) error
- func (m *RequestInstanceParam) XXX_DiscardUnknown()
- func (m *RequestInstanceParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestInstanceParam) XXX_Merge(src proto.Message)
- func (m *RequestInstanceParam) XXX_Size() int
- func (m *RequestInstanceParam) XXX_Unmarshal(b []byte) error
- type RequestMsg
- func (*RequestMsg) Descriptor() ([]byte, []int)
- func (m *RequestMsg) Marshal() (dAtA []byte, err error)
- func (m *RequestMsg) MarshalTo(dAtA []byte) (int, error)
- func (*RequestMsg) ProtoMessage()
- func (m *RequestMsg) Reset()
- func (m *RequestMsg) Size() (n int)
- func (this *RequestMsg) String() string
- func (m *RequestMsg) Unmarshal(dAtA []byte) error
- func (m *RequestMsg) XXX_DiscardUnknown()
- func (m *RequestMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestMsg) XXX_Merge(src proto.Message)
- func (m *RequestMsg) XXX_Size() int
- func (m *RequestMsg) XXX_Unmarshal(b []byte) error
- type RequestType
- func (*RequestType) Descriptor() ([]byte, []int)
- func (m *RequestType) Marshal() (dAtA []byte, err error)
- func (m *RequestType) MarshalTo(dAtA []byte) (int, error)
- func (*RequestType) ProtoMessage()
- func (m *RequestType) Reset()
- func (m *RequestType) Size() (n int)
- func (this *RequestType) String() string
- func (m *RequestType) Unmarshal(dAtA []byte) error
- func (m *RequestType) XXX_DiscardUnknown()
- func (m *RequestType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestType) XXX_Merge(src proto.Message)
- func (m *RequestType) XXX_Size() int
- func (m *RequestType) XXX_Unmarshal(b []byte) error
- type Target
- type TargetInstanceParam
- func (*TargetInstanceParam) Descriptor() ([]byte, []int)
- func (m *TargetInstanceParam) Marshal() (dAtA []byte, err error)
- func (m *TargetInstanceParam) MarshalTo(dAtA []byte) (int, error)
- func (*TargetInstanceParam) ProtoMessage()
- func (m *TargetInstanceParam) Reset()
- func (m *TargetInstanceParam) Size() (n int)
- func (this *TargetInstanceParam) String() string
- func (m *TargetInstanceParam) Unmarshal(dAtA []byte) error
- func (m *TargetInstanceParam) XXX_DiscardUnknown()
- func (m *TargetInstanceParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TargetInstanceParam) XXX_Merge(src proto.Message)
- func (m *TargetInstanceParam) XXX_Size() int
- func (m *TargetInstanceParam) XXX_Unmarshal(b []byte) error
- type TargetMsg
- func (*TargetMsg) Descriptor() ([]byte, []int)
- func (m *TargetMsg) Marshal() (dAtA []byte, err error)
- func (m *TargetMsg) MarshalTo(dAtA []byte) (int, error)
- func (*TargetMsg) ProtoMessage()
- func (m *TargetMsg) Reset()
- func (m *TargetMsg) Size() (n int)
- func (this *TargetMsg) String() string
- func (m *TargetMsg) Unmarshal(dAtA []byte) error
- func (m *TargetMsg) XXX_DiscardUnknown()
- func (m *TargetMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TargetMsg) XXX_Merge(src proto.Message)
- func (m *TargetMsg) XXX_Size() int
- func (m *TargetMsg) XXX_Unmarshal(b []byte) error
- type TargetType
- func (*TargetType) Descriptor() ([]byte, []int)
- func (m *TargetType) Marshal() (dAtA []byte, err error)
- func (m *TargetType) MarshalTo(dAtA []byte) (int, error)
- func (*TargetType) ProtoMessage()
- func (m *TargetType) Reset()
- func (m *TargetType) Size() (n int)
- func (this *TargetType) String() string
- func (m *TargetType) Unmarshal(dAtA []byte) error
- func (m *TargetType) XXX_DiscardUnknown()
- func (m *TargetType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TargetType) XXX_Merge(src proto.Message)
- func (m *TargetType) XXX_Size() int
- func (m *TargetType) XXX_Unmarshal(b []byte) error
- type Type
- func (*Type) Descriptor() ([]byte, []int)
- func (m *Type) Marshal() (dAtA []byte, err error)
- func (m *Type) MarshalTo(dAtA []byte) (int, error)
- func (*Type) ProtoMessage()
- func (m *Type) Reset()
- func (m *Type) Size() (n int)
- func (this *Type) String() string
- func (m *Type) Unmarshal(dAtA []byte) error
- func (m *Type) XXX_DiscardUnknown()
- func (m *Type) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Type) XXX_Merge(src proto.Message)
- func (m *Type) XXX_Size() int
- func (m *Type) XXX_Unmarshal(b []byte) error
Constants ¶
const TemplateName = "authnz"
Fully qualified name of the template
Variables ¶
var ( ErrInvalidLengthTemplateHandlerService = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTemplateHandlerService = fmt.Errorf("proto: integer overflow") )
Functions ¶
func RegisterHandleAuthnZServiceServer ¶
func RegisterHandleAuthnZServiceServer(s *grpc.Server, srv HandleAuthnZServiceServer)
Types ¶
type HandleAuthnZRequest ¶
type HandleAuthnZRequest struct { // 'authnz' instance. Instance *InstanceMsg `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` // Adapter specific handler configuration. // // Note: Backends can also implement [InfrastructureBackend][https://istio.io/docs/reference/config/mixer/istio.mixer.adapter.model.v1beta1.html#InfrastructureBackend] // service and therefore opt to receive handler configuration during session creation through [InfrastructureBackend.CreateSession][TODO: Link to this fragment] // call. In that case, adapter_config will have type_url as 'google.protobuf.Any.type_url' and would contain string // value of session_id (returned from InfrastructureBackend.CreateSession). AdapterConfig *types.Any `protobuf:"bytes,2,opt,name=adapter_config,json=adapterConfig,proto3" json:"adapter_config,omitempty"` // Id to dedupe identical requests from Mixer. DedupId string `protobuf:"bytes,3,opt,name=dedup_id,json=dedupId,proto3" json:"dedup_id,omitempty"` }
Request message for HandleAuthnZ method.
func (*HandleAuthnZRequest) Descriptor ¶
func (*HandleAuthnZRequest) Descriptor() ([]byte, []int)
func (*HandleAuthnZRequest) Marshal ¶
func (m *HandleAuthnZRequest) Marshal() (dAtA []byte, err error)
func (*HandleAuthnZRequest) MarshalTo ¶
func (m *HandleAuthnZRequest) MarshalTo(dAtA []byte) (int, error)
func (*HandleAuthnZRequest) ProtoMessage ¶
func (*HandleAuthnZRequest) ProtoMessage()
func (*HandleAuthnZRequest) Reset ¶
func (m *HandleAuthnZRequest) Reset()
func (*HandleAuthnZRequest) Size ¶
func (m *HandleAuthnZRequest) Size() (n int)
func (*HandleAuthnZRequest) String ¶
func (this *HandleAuthnZRequest) String() string
func (*HandleAuthnZRequest) Unmarshal ¶
func (m *HandleAuthnZRequest) Unmarshal(dAtA []byte) error
func (*HandleAuthnZRequest) XXX_DiscardUnknown ¶
func (m *HandleAuthnZRequest) XXX_DiscardUnknown()
func (*HandleAuthnZRequest) XXX_Marshal ¶
func (m *HandleAuthnZRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HandleAuthnZRequest) XXX_Merge ¶
func (m *HandleAuthnZRequest) XXX_Merge(src proto.Message)
func (*HandleAuthnZRequest) XXX_Size ¶
func (m *HandleAuthnZRequest) XXX_Size() int
func (*HandleAuthnZRequest) XXX_Unmarshal ¶
func (m *HandleAuthnZRequest) XXX_Unmarshal(b []byte) error
type HandleAuthnZResponse ¶
type HandleAuthnZResponse struct { Result *v1beta1.CheckResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` Output *OutputMsg `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"` }
func (*HandleAuthnZResponse) Descriptor ¶
func (*HandleAuthnZResponse) Descriptor() ([]byte, []int)
func (*HandleAuthnZResponse) Marshal ¶
func (m *HandleAuthnZResponse) Marshal() (dAtA []byte, err error)
func (*HandleAuthnZResponse) MarshalTo ¶
func (m *HandleAuthnZResponse) MarshalTo(dAtA []byte) (int, error)
func (*HandleAuthnZResponse) ProtoMessage ¶
func (*HandleAuthnZResponse) ProtoMessage()
func (*HandleAuthnZResponse) Reset ¶
func (m *HandleAuthnZResponse) Reset()
func (*HandleAuthnZResponse) Size ¶
func (m *HandleAuthnZResponse) Size() (n int)
func (*HandleAuthnZResponse) String ¶
func (this *HandleAuthnZResponse) String() string
func (*HandleAuthnZResponse) Unmarshal ¶
func (m *HandleAuthnZResponse) Unmarshal(dAtA []byte) error
func (*HandleAuthnZResponse) XXX_DiscardUnknown ¶
func (m *HandleAuthnZResponse) XXX_DiscardUnknown()
func (*HandleAuthnZResponse) XXX_Marshal ¶
func (m *HandleAuthnZResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HandleAuthnZResponse) XXX_Merge ¶
func (m *HandleAuthnZResponse) XXX_Merge(src proto.Message)
func (*HandleAuthnZResponse) XXX_Size ¶
func (m *HandleAuthnZResponse) XXX_Size() int
func (*HandleAuthnZResponse) XXX_Unmarshal ¶
func (m *HandleAuthnZResponse) XXX_Unmarshal(b []byte) error
type HandleAuthnZServiceClient ¶
type HandleAuthnZServiceClient interface { // HandleAuthnZ is called by Mixer at request-time to deliver 'authnz' instances to the backend. HandleAuthnZ(ctx context.Context, in *HandleAuthnZRequest, opts ...grpc.CallOption) (*HandleAuthnZResponse, error) }
HandleAuthnZServiceClient is the client API for HandleAuthnZService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewHandleAuthnZServiceClient ¶
func NewHandleAuthnZServiceClient(cc *grpc.ClientConn) HandleAuthnZServiceClient
type HandleAuthnZServiceServer ¶
type HandleAuthnZServiceServer interface { // HandleAuthnZ is called by Mixer at request-time to deliver 'authnz' instances to the backend. HandleAuthnZ(context.Context, *HandleAuthnZRequest) (*HandleAuthnZResponse, error) }
HandleAuthnZServiceServer is the server API for HandleAuthnZService service.
type Handler ¶
type Handler interface { adapter.Handler // HandleAuthnZ is called by Mixer at request time to deliver instances to // to an adapter. HandleAuthnZ(context.Context, *Instance) (adapter.CheckResult, *Output, error) }
Handler must be implemented by adapter code if it wants to process data associated with the 'authnz' template.
Mixer uses this interface to call into the adapter at request time in order to dispatch created instances to the adapter. Adapters take the incoming instances and do what they need to achieve their primary function.
The name of each instance can be used as a key into the Type map supplied to the adapter at configuration time via the method 'SetAuthnZTypes'. These Type associated with an instance describes the shape of the instance
type HandlerBuilder ¶
type HandlerBuilder interface { adapter.HandlerBuilder // SetAuthnZTypes is invoked by Mixer to pass the template-specific Type information for instances that an adapter // may receive at runtime. The type information describes the shape of the instance. SetAuthnZTypes(map[string]*Type) }
HandlerBuilder must be implemented by adapters if they want to process data associated with the 'authnz' template.
Mixer uses this interface to call into the adapter at configuration time to configure it with adapter-specific configuration as well as all template-specific type information.
type Headers ¶
type Headers struct { // The optional cookies are the HTTP request cookies sent by the browser. These // contain the encrypted session toke Cookies string // The optional authorization header contains credentials needed to verify // access / authorization privileges. Authorization string // Additional data about the headers for use in policy. Properties map[string]interface{} }
The Headers models the core HTTP headers needed for the JWT/OIDC flows
type HeadersInstanceParam ¶
type HeadersInstanceParam struct { // The optional cookies are the HTTP request cookies sent by the browser. These // contain the encrypted session toke Cookies string `protobuf:"bytes,1,opt,name=cookies,proto3" json:"cookies,omitempty"` // The optional authorization header contains credentials needed to verify // access / authorization privileges. Authorization string `protobuf:"bytes,2,opt,name=authorization,proto3" json:"authorization,omitempty"` // Additional data about the headers for use in policy. Properties map[string]string `` /* 161-byte string literal not displayed */ }
The Headers models the core HTTP headers needed for the JWT/OIDC flows
func (*HeadersInstanceParam) Descriptor ¶
func (*HeadersInstanceParam) Descriptor() ([]byte, []int)
func (*HeadersInstanceParam) Marshal ¶
func (m *HeadersInstanceParam) Marshal() (dAtA []byte, err error)
func (*HeadersInstanceParam) MarshalTo ¶
func (m *HeadersInstanceParam) MarshalTo(dAtA []byte) (int, error)
func (*HeadersInstanceParam) ProtoMessage ¶
func (*HeadersInstanceParam) ProtoMessage()
func (*HeadersInstanceParam) Reset ¶
func (m *HeadersInstanceParam) Reset()
func (*HeadersInstanceParam) Size ¶
func (m *HeadersInstanceParam) Size() (n int)
func (*HeadersInstanceParam) String ¶
func (this *HeadersInstanceParam) String() string
func (*HeadersInstanceParam) Unmarshal ¶
func (m *HeadersInstanceParam) Unmarshal(dAtA []byte) error
func (*HeadersInstanceParam) XXX_DiscardUnknown ¶
func (m *HeadersInstanceParam) XXX_DiscardUnknown()
func (*HeadersInstanceParam) XXX_Marshal ¶
func (m *HeadersInstanceParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HeadersInstanceParam) XXX_Merge ¶
func (m *HeadersInstanceParam) XXX_Merge(src proto.Message)
func (*HeadersInstanceParam) XXX_Size ¶
func (m *HeadersInstanceParam) XXX_Size() int
func (*HeadersInstanceParam) XXX_Unmarshal ¶
func (m *HeadersInstanceParam) XXX_Unmarshal(b []byte) error
type HeadersMsg ¶
type HeadersMsg struct { // The optional cookies are the HTTP request cookies sent by the browser. These // contain the encrypted session toke Cookies string `protobuf:"bytes,1,opt,name=cookies,proto3" json:"cookies,omitempty"` // The optional authorization header contains credentials needed to verify // access / authorization privileges. Authorization string `protobuf:"bytes,2,opt,name=authorization,proto3" json:"authorization,omitempty"` // Additional data about the headers for use in policy. Properties map[string]*v1beta11.Value `` /* 161-byte string literal not displayed */ }
The Headers models the core HTTP headers needed for the JWT/OIDC flows
func (*HeadersMsg) Descriptor ¶
func (*HeadersMsg) Descriptor() ([]byte, []int)
func (*HeadersMsg) Marshal ¶
func (m *HeadersMsg) Marshal() (dAtA []byte, err error)
func (*HeadersMsg) ProtoMessage ¶
func (*HeadersMsg) ProtoMessage()
func (*HeadersMsg) Reset ¶
func (m *HeadersMsg) Reset()
func (*HeadersMsg) Size ¶
func (m *HeadersMsg) Size() (n int)
func (*HeadersMsg) String ¶
func (this *HeadersMsg) String() string
func (*HeadersMsg) Unmarshal ¶
func (m *HeadersMsg) Unmarshal(dAtA []byte) error
func (*HeadersMsg) XXX_DiscardUnknown ¶
func (m *HeadersMsg) XXX_DiscardUnknown()
func (*HeadersMsg) XXX_Marshal ¶
func (m *HeadersMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HeadersMsg) XXX_Merge ¶
func (m *HeadersMsg) XXX_Merge(src proto.Message)
func (*HeadersMsg) XXX_Size ¶
func (m *HeadersMsg) XXX_Size() int
func (*HeadersMsg) XXX_Unmarshal ¶
func (m *HeadersMsg) XXX_Unmarshal(b []byte) error
type HeadersType ¶
type HeadersType struct { // Additional data about the headers for use in policy. Properties map[string]v1beta11.ValueType `` /* 198-byte string literal not displayed */ }
The Headers models the core HTTP headers needed for the JWT/OIDC flows
func (*HeadersType) Descriptor ¶
func (*HeadersType) Descriptor() ([]byte, []int)
func (*HeadersType) Marshal ¶
func (m *HeadersType) Marshal() (dAtA []byte, err error)
func (*HeadersType) ProtoMessage ¶
func (*HeadersType) ProtoMessage()
func (*HeadersType) Reset ¶
func (m *HeadersType) Reset()
func (*HeadersType) Size ¶
func (m *HeadersType) Size() (n int)
func (*HeadersType) String ¶
func (this *HeadersType) String() string
func (*HeadersType) Unmarshal ¶
func (m *HeadersType) Unmarshal(dAtA []byte) error
func (*HeadersType) XXX_DiscardUnknown ¶
func (m *HeadersType) XXX_DiscardUnknown()
func (*HeadersType) XXX_Marshal ¶
func (m *HeadersType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HeadersType) XXX_Merge ¶
func (m *HeadersType) XXX_Merge(src proto.Message)
func (*HeadersType) XXX_Size ¶
func (m *HeadersType) XXX_Size() int
func (*HeadersType) XXX_Unmarshal ¶
func (m *HeadersType) XXX_Unmarshal(b []byte) error
type Instance ¶
type Instance struct { // Name of the instance as specified in configuration. Name string // The request contains the core information about the request being made Request *Request // The target contains aggregated Kube information about the destination Target *Target }
Instance is constructed by Mixer for the 'authnz' template.
The Authn/Z template contains the information necessary to control authorization and authentication using OAuth 2.0 / OIDC defined protocols. It captures information about the request source, destination and code request telemetry that allows comprehensive JWT policy definitions.
type InstanceMsg ¶
type InstanceMsg struct { // Name of the instance as specified in configuration. Name string `protobuf:"bytes,72295727,opt,name=name,proto3" json:"name,omitempty"` // The request contains the core information about the request being made Request *RequestMsg `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` // The target contains aggregated Kube information about the destination Target *TargetMsg `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` }
Contains instance payload for 'authnz' template. This is passed to infrastructure backends during request-time through HandleAuthnZService.HandleAuthnZ.
func (*InstanceMsg) Descriptor ¶
func (*InstanceMsg) Descriptor() ([]byte, []int)
func (*InstanceMsg) Marshal ¶
func (m *InstanceMsg) Marshal() (dAtA []byte, err error)
func (*InstanceMsg) ProtoMessage ¶
func (*InstanceMsg) ProtoMessage()
func (*InstanceMsg) Reset ¶
func (m *InstanceMsg) Reset()
func (*InstanceMsg) Size ¶
func (m *InstanceMsg) Size() (n int)
func (*InstanceMsg) String ¶
func (this *InstanceMsg) String() string
func (*InstanceMsg) Unmarshal ¶
func (m *InstanceMsg) Unmarshal(dAtA []byte) error
func (*InstanceMsg) XXX_DiscardUnknown ¶
func (m *InstanceMsg) XXX_DiscardUnknown()
func (*InstanceMsg) XXX_Marshal ¶
func (m *InstanceMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InstanceMsg) XXX_Merge ¶
func (m *InstanceMsg) XXX_Merge(src proto.Message)
func (*InstanceMsg) XXX_Size ¶
func (m *InstanceMsg) XXX_Size() int
func (*InstanceMsg) XXX_Unmarshal ¶
func (m *InstanceMsg) XXX_Unmarshal(b []byte) error
type InstanceParam ¶
type InstanceParam struct { // The request contains the core information about the request being made Request *RequestInstanceParam `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` // The target contains aggregated Kube information about the destination Target *TargetInstanceParam `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` }
Represents instance configuration schema for 'authnz' template.
func (*InstanceParam) Descriptor ¶
func (*InstanceParam) Descriptor() ([]byte, []int)
func (*InstanceParam) Marshal ¶
func (m *InstanceParam) Marshal() (dAtA []byte, err error)
func (*InstanceParam) ProtoMessage ¶
func (*InstanceParam) ProtoMessage()
func (*InstanceParam) Reset ¶
func (m *InstanceParam) Reset()
func (*InstanceParam) Size ¶
func (m *InstanceParam) Size() (n int)
func (*InstanceParam) String ¶
func (this *InstanceParam) String() string
func (*InstanceParam) Unmarshal ¶
func (m *InstanceParam) Unmarshal(dAtA []byte) error
func (*InstanceParam) XXX_DiscardUnknown ¶
func (m *InstanceParam) XXX_DiscardUnknown()
func (*InstanceParam) XXX_Marshal ¶
func (m *InstanceParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InstanceParam) XXX_Merge ¶
func (m *InstanceParam) XXX_Merge(src proto.Message)
func (*InstanceParam) XXX_Size ¶
func (m *InstanceParam) XXX_Size() int
func (*InstanceParam) XXX_Unmarshal ¶
func (m *InstanceParam) XXX_Unmarshal(b []byte) error
type Output ¶
type Output struct { // The authorization header Authorization string // The session-cookie to append to the response SessionCookie string // contains filtered or unexported fields }
Output struct is returned by the attribute producing adapters that handle this template.
The Authn/Z template produces an authorization header of the format `Bearer <access> <id>` which should be replaced on the ongoing request. as well as optional cookies to be set on the outgoing response
func (*Output) SetAuthorization ¶
func (*Output) SetSessionCookie ¶
type OutputMsg ¶
type OutputMsg struct { // The authorization header Authorization string `protobuf:"bytes,1,opt,name=authorization,proto3" json:"authorization,omitempty"` // The session-cookie to append to the response SessionCookie string `protobuf:"bytes,2,opt,name=sessionCookie,proto3" json:"sessionCookie,omitempty"` }
Contains output payload for 'authnz' template.
func (*OutputMsg) Descriptor ¶
func (*OutputMsg) ProtoMessage ¶
func (*OutputMsg) ProtoMessage()
func (*OutputMsg) XXX_DiscardUnknown ¶
func (m *OutputMsg) XXX_DiscardUnknown()
func (*OutputMsg) XXX_Marshal ¶
func (*OutputMsg) XXX_Unmarshal ¶
type QueryParams ¶
type QueryParams struct { // The error matches an OAuth 2.0 callback error response Error string // The code matches an OAuth 2.0 callback authorization code grant Code string // The state matches an OAuth 2.0 callback authorization state parameter State string // Additional data about the query parameters for use in policy. Properties map[string]interface{} }
The QueryParams are the code HTTP request query parameters used in an OAuth 2.0 / OIDC flow
type QueryParamsInstanceParam ¶
type QueryParamsInstanceParam struct { // The error matches an OAuth 2.0 callback error response Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // The code matches an OAuth 2.0 callback authorization code grant Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` // The state matches an OAuth 2.0 callback authorization state parameter State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` // Additional data about the query parameters for use in policy. Properties map[string]string `` /* 161-byte string literal not displayed */ }
The QueryParams are the code HTTP request query parameters used in an OAuth 2.0 / OIDC flow
func (*QueryParamsInstanceParam) Descriptor ¶
func (*QueryParamsInstanceParam) Descriptor() ([]byte, []int)
func (*QueryParamsInstanceParam) Marshal ¶
func (m *QueryParamsInstanceParam) Marshal() (dAtA []byte, err error)
func (*QueryParamsInstanceParam) MarshalTo ¶
func (m *QueryParamsInstanceParam) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsInstanceParam) ProtoMessage ¶
func (*QueryParamsInstanceParam) ProtoMessage()
func (*QueryParamsInstanceParam) Reset ¶
func (m *QueryParamsInstanceParam) Reset()
func (*QueryParamsInstanceParam) Size ¶
func (m *QueryParamsInstanceParam) Size() (n int)
func (*QueryParamsInstanceParam) String ¶
func (this *QueryParamsInstanceParam) String() string
func (*QueryParamsInstanceParam) Unmarshal ¶
func (m *QueryParamsInstanceParam) Unmarshal(dAtA []byte) error
func (*QueryParamsInstanceParam) XXX_DiscardUnknown ¶
func (m *QueryParamsInstanceParam) XXX_DiscardUnknown()
func (*QueryParamsInstanceParam) XXX_Marshal ¶
func (m *QueryParamsInstanceParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsInstanceParam) XXX_Merge ¶
func (m *QueryParamsInstanceParam) XXX_Merge(src proto.Message)
func (*QueryParamsInstanceParam) XXX_Size ¶
func (m *QueryParamsInstanceParam) XXX_Size() int
func (*QueryParamsInstanceParam) XXX_Unmarshal ¶
func (m *QueryParamsInstanceParam) XXX_Unmarshal(b []byte) error
type QueryParamsMsg ¶
type QueryParamsMsg struct { // The error matches an OAuth 2.0 callback error response Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // The code matches an OAuth 2.0 callback authorization code grant Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` // The state matches an OAuth 2.0 callback authorization state parameter State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` // Additional data about the query parameters for use in policy. Properties map[string]*v1beta11.Value `` /* 161-byte string literal not displayed */ }
The QueryParams are the code HTTP request query parameters used in an OAuth 2.0 / OIDC flow
func (*QueryParamsMsg) Descriptor ¶
func (*QueryParamsMsg) Descriptor() ([]byte, []int)
func (*QueryParamsMsg) Marshal ¶
func (m *QueryParamsMsg) Marshal() (dAtA []byte, err error)
func (*QueryParamsMsg) ProtoMessage ¶
func (*QueryParamsMsg) ProtoMessage()
func (*QueryParamsMsg) Reset ¶
func (m *QueryParamsMsg) Reset()
func (*QueryParamsMsg) Size ¶
func (m *QueryParamsMsg) Size() (n int)
func (*QueryParamsMsg) String ¶
func (this *QueryParamsMsg) String() string
func (*QueryParamsMsg) Unmarshal ¶
func (m *QueryParamsMsg) Unmarshal(dAtA []byte) error
func (*QueryParamsMsg) XXX_DiscardUnknown ¶
func (m *QueryParamsMsg) XXX_DiscardUnknown()
func (*QueryParamsMsg) XXX_Marshal ¶
func (m *QueryParamsMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsMsg) XXX_Merge ¶
func (m *QueryParamsMsg) XXX_Merge(src proto.Message)
func (*QueryParamsMsg) XXX_Size ¶
func (m *QueryParamsMsg) XXX_Size() int
func (*QueryParamsMsg) XXX_Unmarshal ¶
func (m *QueryParamsMsg) XXX_Unmarshal(b []byte) error
type QueryParamsType ¶
type QueryParamsType struct { // Additional data about the query parameters for use in policy. Properties map[string]v1beta11.ValueType `` /* 198-byte string literal not displayed */ }
The QueryParams are the code HTTP request query parameters used in an OAuth 2.0 / OIDC flow
func (*QueryParamsType) Descriptor ¶
func (*QueryParamsType) Descriptor() ([]byte, []int)
func (*QueryParamsType) Marshal ¶
func (m *QueryParamsType) Marshal() (dAtA []byte, err error)
func (*QueryParamsType) ProtoMessage ¶
func (*QueryParamsType) ProtoMessage()
func (*QueryParamsType) Reset ¶
func (m *QueryParamsType) Reset()
func (*QueryParamsType) Size ¶
func (m *QueryParamsType) Size() (n int)
func (*QueryParamsType) String ¶
func (this *QueryParamsType) String() string
func (*QueryParamsType) Unmarshal ¶
func (m *QueryParamsType) Unmarshal(dAtA []byte) error
func (*QueryParamsType) XXX_DiscardUnknown ¶
func (m *QueryParamsType) XXX_DiscardUnknown()
func (*QueryParamsType) XXX_Marshal ¶
func (m *QueryParamsType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsType) XXX_Merge ¶
func (m *QueryParamsType) XXX_Merge(src proto.Message)
func (*QueryParamsType) XXX_Size ¶
func (m *QueryParamsType) XXX_Size() int
func (*QueryParamsType) XXX_Unmarshal ¶
func (m *QueryParamsType) XXX_Unmarshal(b []byte) error
type Request ¶
type Request struct { // The HTTP scheme Scheme string // The HTTP host Host string // The HTTP path Path string // The HTTP headers on the request Headers *Headers // THE HTTP query params Params *QueryParams // Additional data about the Request for use in policy. Properties map[string]interface{} }
The Request captures information about the incoming HTTP request
type RequestInstanceParam ¶
type RequestInstanceParam struct { // The HTTP scheme Scheme string `protobuf:"bytes,1,opt,name=scheme,proto3" json:"scheme,omitempty"` // The HTTP host Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` // The HTTP path Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` // The HTTP headers on the request Headers *HeadersInstanceParam `protobuf:"bytes,4,opt,name=headers,proto3" json:"headers,omitempty"` // THE HTTP query params Params *QueryParamsInstanceParam `protobuf:"bytes,5,opt,name=params,proto3" json:"params,omitempty"` // Additional data about the Request for use in policy. Properties map[string]string `` /* 161-byte string literal not displayed */ }
The Request captures information about the incoming HTTP request
func (*RequestInstanceParam) Descriptor ¶
func (*RequestInstanceParam) Descriptor() ([]byte, []int)
func (*RequestInstanceParam) Marshal ¶
func (m *RequestInstanceParam) Marshal() (dAtA []byte, err error)
func (*RequestInstanceParam) MarshalTo ¶
func (m *RequestInstanceParam) MarshalTo(dAtA []byte) (int, error)
func (*RequestInstanceParam) ProtoMessage ¶
func (*RequestInstanceParam) ProtoMessage()
func (*RequestInstanceParam) Reset ¶
func (m *RequestInstanceParam) Reset()
func (*RequestInstanceParam) Size ¶
func (m *RequestInstanceParam) Size() (n int)
func (*RequestInstanceParam) String ¶
func (this *RequestInstanceParam) String() string
func (*RequestInstanceParam) Unmarshal ¶
func (m *RequestInstanceParam) Unmarshal(dAtA []byte) error
func (*RequestInstanceParam) XXX_DiscardUnknown ¶
func (m *RequestInstanceParam) XXX_DiscardUnknown()
func (*RequestInstanceParam) XXX_Marshal ¶
func (m *RequestInstanceParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestInstanceParam) XXX_Merge ¶
func (m *RequestInstanceParam) XXX_Merge(src proto.Message)
func (*RequestInstanceParam) XXX_Size ¶
func (m *RequestInstanceParam) XXX_Size() int
func (*RequestInstanceParam) XXX_Unmarshal ¶
func (m *RequestInstanceParam) XXX_Unmarshal(b []byte) error
type RequestMsg ¶
type RequestMsg struct { // The HTTP scheme Scheme string `protobuf:"bytes,1,opt,name=scheme,proto3" json:"scheme,omitempty"` // The HTTP host Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` // The HTTP path Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` // The HTTP headers on the request Headers *HeadersMsg `protobuf:"bytes,4,opt,name=headers,proto3" json:"headers,omitempty"` // THE HTTP query params Params *QueryParamsMsg `protobuf:"bytes,5,opt,name=params,proto3" json:"params,omitempty"` // Additional data about the Request for use in policy. Properties map[string]*v1beta11.Value `` /* 161-byte string literal not displayed */ }
The Request captures information about the incoming HTTP request
func (*RequestMsg) Descriptor ¶
func (*RequestMsg) Descriptor() ([]byte, []int)
func (*RequestMsg) Marshal ¶
func (m *RequestMsg) Marshal() (dAtA []byte, err error)
func (*RequestMsg) ProtoMessage ¶
func (*RequestMsg) ProtoMessage()
func (*RequestMsg) Reset ¶
func (m *RequestMsg) Reset()
func (*RequestMsg) Size ¶
func (m *RequestMsg) Size() (n int)
func (*RequestMsg) String ¶
func (this *RequestMsg) String() string
func (*RequestMsg) Unmarshal ¶
func (m *RequestMsg) Unmarshal(dAtA []byte) error
func (*RequestMsg) XXX_DiscardUnknown ¶
func (m *RequestMsg) XXX_DiscardUnknown()
func (*RequestMsg) XXX_Marshal ¶
func (m *RequestMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestMsg) XXX_Merge ¶
func (m *RequestMsg) XXX_Merge(src proto.Message)
func (*RequestMsg) XXX_Size ¶
func (m *RequestMsg) XXX_Size() int
func (*RequestMsg) XXX_Unmarshal ¶
func (m *RequestMsg) XXX_Unmarshal(b []byte) error
type RequestType ¶
type RequestType struct { // The HTTP headers on the request Headers *HeadersType `protobuf:"bytes,4,opt,name=headers,proto3" json:"headers,omitempty"` // THE HTTP query params Params *QueryParamsType `protobuf:"bytes,5,opt,name=params,proto3" json:"params,omitempty"` // Additional data about the Request for use in policy. Properties map[string]v1beta11.ValueType `` /* 198-byte string literal not displayed */ }
The Request captures information about the incoming HTTP request
func (*RequestType) Descriptor ¶
func (*RequestType) Descriptor() ([]byte, []int)
func (*RequestType) Marshal ¶
func (m *RequestType) Marshal() (dAtA []byte, err error)
func (*RequestType) ProtoMessage ¶
func (*RequestType) ProtoMessage()
func (*RequestType) Reset ¶
func (m *RequestType) Reset()
func (*RequestType) Size ¶
func (m *RequestType) Size() (n int)
func (*RequestType) String ¶
func (this *RequestType) String() string
func (*RequestType) Unmarshal ¶
func (m *RequestType) Unmarshal(dAtA []byte) error
func (*RequestType) XXX_DiscardUnknown ¶
func (m *RequestType) XXX_DiscardUnknown()
func (*RequestType) XXX_Marshal ¶
func (m *RequestType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestType) XXX_Merge ¶
func (m *RequestType) XXX_Merge(src proto.Message)
func (*RequestType) XXX_Size ¶
func (m *RequestType) XXX_Size() int
func (*RequestType) XXX_Unmarshal ¶
func (m *RequestType) XXX_Unmarshal(b []byte) error
type Target ¶
type Target struct { // The namespace the target service is in Namespace string // The service the action is being taken on. Service string // The HTTP method of the request Method string // The HTTP REST path within the service Path string // Additional data about the target for use in policy. Properties map[string]interface{} }
A Target contains the Action destination.
type TargetInstanceParam ¶
type TargetInstanceParam struct { // The namespace the target service is in Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // The service the action is being taken on. Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` // The HTTP method of the request Method string `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"` // The HTTP REST path within the service Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` // Additional data about the target for use in policy. Properties map[string]string `` /* 161-byte string literal not displayed */ }
A Target contains the Action destination.
func (*TargetInstanceParam) Descriptor ¶
func (*TargetInstanceParam) Descriptor() ([]byte, []int)
func (*TargetInstanceParam) Marshal ¶
func (m *TargetInstanceParam) Marshal() (dAtA []byte, err error)
func (*TargetInstanceParam) MarshalTo ¶
func (m *TargetInstanceParam) MarshalTo(dAtA []byte) (int, error)
func (*TargetInstanceParam) ProtoMessage ¶
func (*TargetInstanceParam) ProtoMessage()
func (*TargetInstanceParam) Reset ¶
func (m *TargetInstanceParam) Reset()
func (*TargetInstanceParam) Size ¶
func (m *TargetInstanceParam) Size() (n int)
func (*TargetInstanceParam) String ¶
func (this *TargetInstanceParam) String() string
func (*TargetInstanceParam) Unmarshal ¶
func (m *TargetInstanceParam) Unmarshal(dAtA []byte) error
func (*TargetInstanceParam) XXX_DiscardUnknown ¶
func (m *TargetInstanceParam) XXX_DiscardUnknown()
func (*TargetInstanceParam) XXX_Marshal ¶
func (m *TargetInstanceParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TargetInstanceParam) XXX_Merge ¶
func (m *TargetInstanceParam) XXX_Merge(src proto.Message)
func (*TargetInstanceParam) XXX_Size ¶
func (m *TargetInstanceParam) XXX_Size() int
func (*TargetInstanceParam) XXX_Unmarshal ¶
func (m *TargetInstanceParam) XXX_Unmarshal(b []byte) error
type TargetMsg ¶
type TargetMsg struct { // The namespace the target service is in Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // The service the action is being taken on. Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` // The HTTP method of the request Method string `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"` // The HTTP REST path within the service Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` // Additional data about the target for use in policy. Properties map[string]*v1beta11.Value `` /* 161-byte string literal not displayed */ }
A Target contains the Action destination.
func (*TargetMsg) Descriptor ¶
func (*TargetMsg) ProtoMessage ¶
func (*TargetMsg) ProtoMessage()
func (*TargetMsg) XXX_DiscardUnknown ¶
func (m *TargetMsg) XXX_DiscardUnknown()
func (*TargetMsg) XXX_Marshal ¶
func (*TargetMsg) XXX_Unmarshal ¶
type TargetType ¶
type TargetType struct { // Additional data about the target for use in policy. Properties map[string]v1beta11.ValueType `` /* 198-byte string literal not displayed */ }
A Target contains the Action destination.
func (*TargetType) Descriptor ¶
func (*TargetType) Descriptor() ([]byte, []int)
func (*TargetType) Marshal ¶
func (m *TargetType) Marshal() (dAtA []byte, err error)
func (*TargetType) ProtoMessage ¶
func (*TargetType) ProtoMessage()
func (*TargetType) Reset ¶
func (m *TargetType) Reset()
func (*TargetType) Size ¶
func (m *TargetType) Size() (n int)
func (*TargetType) String ¶
func (this *TargetType) String() string
func (*TargetType) Unmarshal ¶
func (m *TargetType) Unmarshal(dAtA []byte) error
func (*TargetType) XXX_DiscardUnknown ¶
func (m *TargetType) XXX_DiscardUnknown()
func (*TargetType) XXX_Marshal ¶
func (m *TargetType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TargetType) XXX_Merge ¶
func (m *TargetType) XXX_Merge(src proto.Message)
func (*TargetType) XXX_Size ¶
func (m *TargetType) XXX_Size() int
func (*TargetType) XXX_Unmarshal ¶
func (m *TargetType) XXX_Unmarshal(b []byte) error
type Type ¶
type Type struct { // The request contains the core information about the request being made Request *RequestType `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` // The target contains aggregated Kube information about the destination Target *TargetType `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` }
Contains inferred type information about specific instance of 'authnz' template. This is passed to infrastructure backends during configuration-time through [InfrastructureBackend.CreateSession][TODO: Link to this fragment].
func (*Type) Descriptor ¶
func (*Type) ProtoMessage ¶
func (*Type) ProtoMessage()
func (*Type) XXX_DiscardUnknown ¶
func (m *Type) XXX_DiscardUnknown()