Documentation ¶
Index ¶
- type Authorizer
- func (c *Authorizer) Compile(_ context.Context, _ *authz.CompileRequest, _ ...grpc.CallOption) (*authz.CompileResponse, error)
- func (c *Authorizer) DecisionTree(_ context.Context, _ *authz.DecisionTreeRequest, _ ...grpc.CallOption) (*authz.DecisionTreeResponse, error)
- func (c *Authorizer) GetPolicy(_ context.Context, _ *authz.GetPolicyRequest, _ ...grpc.CallOption) (*authz.GetPolicyResponse, error)
- func (c *Authorizer) Info(_ context.Context, _ *authz.InfoRequest, _ ...grpc.CallOption) (*authz.InfoResponse, error)
- func (c *Authorizer) Is(_ context.Context, in *authz.IsRequest, _ ...grpc.CallOption) (*authz.IsResponse, error)
- func (c *Authorizer) ListPolicies(_ context.Context, _ *authz.ListPoliciesRequest, _ ...grpc.CallOption) (*authz.ListPoliciesResponse, error)
- func (c *Authorizer) Query(_ context.Context, _ *authz.QueryRequest, _ ...grpc.CallOption) (*authz.QueryResponse, error)
- type ServerStream
- func (s *ServerStream) Context() context.Context
- func (s *ServerStream) RecvMsg(_ interface{}) error
- func (s *ServerStream) SendHeader(metadata.MD) error
- func (s *ServerStream) SendMsg(_ interface{}) error
- func (s *ServerStream) SetHeader(metadata.MD) error
- func (s *ServerStream) SetTrailer(metadata.MD)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authorizer ¶
type Authorizer struct {
// contains filtered or unexported fields
}
func (*Authorizer) Compile ¶
func (c *Authorizer) Compile( _ context.Context, _ *authz.CompileRequest, _ ...grpc.CallOption, ) (*authz.CompileResponse, error)
func (*Authorizer) DecisionTree ¶
func (c *Authorizer) DecisionTree( _ context.Context, _ *authz.DecisionTreeRequest, _ ...grpc.CallOption, ) (*authz.DecisionTreeResponse, error)
func (*Authorizer) GetPolicy ¶
func (c *Authorizer) GetPolicy( _ context.Context, _ *authz.GetPolicyRequest, _ ...grpc.CallOption, ) (*authz.GetPolicyResponse, error)
func (*Authorizer) Info ¶
func (c *Authorizer) Info( _ context.Context, _ *authz.InfoRequest, _ ...grpc.CallOption, ) (*authz.InfoResponse, error)
func (*Authorizer) Is ¶
func (c *Authorizer) Is( _ context.Context, in *authz.IsRequest, _ ...grpc.CallOption, ) (*authz.IsResponse, error)
func (*Authorizer) ListPolicies ¶
func (c *Authorizer) ListPolicies( _ context.Context, _ *authz.ListPoliciesRequest, _ ...grpc.CallOption, ) (*authz.ListPoliciesResponse, error)
func (*Authorizer) Query ¶
func (c *Authorizer) Query( _ context.Context, _ *authz.QueryRequest, _ ...grpc.CallOption, ) (*authz.QueryResponse, error)
type ServerStream ¶
Mock grpc.ServerStream.
func (*ServerStream) Context ¶
func (s *ServerStream) Context() context.Context
func (*ServerStream) RecvMsg ¶
func (s *ServerStream) RecvMsg(_ interface{}) error
func (*ServerStream) SendHeader ¶
func (s *ServerStream) SendHeader(metadata.MD) error
func (*ServerStream) SendMsg ¶
func (s *ServerStream) SendMsg(_ interface{}) error
func (*ServerStream) SetTrailer ¶
func (s *ServerStream) SetTrailer(metadata.MD)
Click to show internal directories.
Click to hide internal directories.