access

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2026 License: Apache-2.0 Imports: 20 Imported by: 8

Documentation

Overview

Package access is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	Access_Evaluation_FullMethodName     = "/authzen.access.v1.Access/Evaluation"
	Access_Evaluations_FullMethodName    = "/authzen.access.v1.Access/Evaluations"
	Access_SubjectSearch_FullMethodName  = "/authzen.access.v1.Access/SubjectSearch"
	Access_ResourceSearch_FullMethodName = "/authzen.access.v1.Access/ResourceSearch"
	Access_ActionSearch_FullMethodName   = "/authzen.access.v1.Access/ActionSearch"
)

Variables

View Source
var Access_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "authzen.access.v1.Access",
	HandlerType: (*AccessServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Evaluation",
			Handler:    _Access_Evaluation_Handler,
		},
		{
			MethodName: "Evaluations",
			Handler:    _Access_Evaluations_Handler,
		},
		{
			MethodName: "SubjectSearch",
			Handler:    _Access_SubjectSearch_Handler,
		},
		{
			MethodName: "ResourceSearch",
			Handler:    _Access_ResourceSearch_Handler,
		},
		{
			MethodName: "ActionSearch",
			Handler:    _Access_ActionSearch_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "access/v1/access.proto",
}

Access_ServiceDesc is the grpc.ServiceDesc for Access service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_access_v1_access_proto protoreflect.FileDescriptor

Functions

func RegisterAccessHandler

func RegisterAccessHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterAccessHandler registers the http handlers for service Access to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterAccessHandlerClient

func RegisterAccessHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AccessClient) error

RegisterAccessHandlerClient registers the http handlers for service Access to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AccessClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AccessClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AccessClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterAccessHandlerFromEndpoint

func RegisterAccessHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterAccessHandlerFromEndpoint is same as RegisterAccessHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterAccessHandlerServer

func RegisterAccessHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AccessServer) error

RegisterAccessHandlerServer registers the http handlers for service Access to "mux". UnaryRPC :call AccessServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAccessHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterAccessServer

func RegisterAccessServer(s grpc.ServiceRegistrar, srv AccessServer)

Types

type AccessServer

AccessServer is the server API for Access service. All implementations should embed UnimplementedAccessServer for forward compatibility.

type Action

type Action struct {
	Name       string           `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Properties *structpb.Struct `protobuf:"bytes,2,opt,name=properties,proto3,oneof" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

https://openid.github.io/authzen/#name-action

func (*Action) Descriptor deprecated

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

Deprecated: Use Action.ProtoReflect.Descriptor instead.

func (*Action) GetName

func (x *Action) GetName() string

func (*Action) GetProperties

func (x *Action) GetProperties() *structpb.Struct

func (*Action) ProtoMessage

func (*Action) ProtoMessage()

func (*Action) ProtoReflect

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

func (*Action) Reset

func (x *Action) Reset()

func (*Action) String

func (x *Action) String() string

type ActionSearchRequest

type ActionSearchRequest struct {
	Subject  *Subject           `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	Action   *Action            `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
	Resource *Resource          `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
	Context  *structpb.Struct   `protobuf:"bytes,4,opt,name=context,proto3" json:"context,omitempty"`
	Page     *PaginationRequest `protobuf:"bytes,10,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

https://openid.github.io/authzen/#name-the-action-search-api-reque

func (*ActionSearchRequest) Descriptor deprecated

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

Deprecated: Use ActionSearchRequest.ProtoReflect.Descriptor instead.

func (*ActionSearchRequest) GetAction

func (x *ActionSearchRequest) GetAction() *Action

func (*ActionSearchRequest) GetContext

func (x *ActionSearchRequest) GetContext() *structpb.Struct

func (*ActionSearchRequest) GetPage

func (x *ActionSearchRequest) GetPage() *PaginationRequest

func (*ActionSearchRequest) GetResource

func (x *ActionSearchRequest) GetResource() *Resource

func (*ActionSearchRequest) GetSubject

func (x *ActionSearchRequest) GetSubject() *Subject

func (*ActionSearchRequest) ProtoMessage

func (*ActionSearchRequest) ProtoMessage()

func (*ActionSearchRequest) ProtoReflect

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

func (*ActionSearchRequest) Reset

func (x *ActionSearchRequest) Reset()

func (*ActionSearchRequest) String

func (x *ActionSearchRequest) String() string

type ActionSearchResponse

type ActionSearchResponse struct {
	Results []*Action           `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	Page    *PaginationResponse `protobuf:"bytes,10,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

https://openid.github.io/authzen/#name-the-action-search-api-respo

func (*ActionSearchResponse) Descriptor deprecated

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

Deprecated: Use ActionSearchResponse.ProtoReflect.Descriptor instead.

func (*ActionSearchResponse) GetPage

func (*ActionSearchResponse) GetResults

func (x *ActionSearchResponse) GetResults() []*Action

func (*ActionSearchResponse) ProtoMessage

func (*ActionSearchResponse) ProtoMessage()

func (*ActionSearchResponse) ProtoReflect

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

func (*ActionSearchResponse) Reset

func (x *ActionSearchResponse) Reset()

func (*ActionSearchResponse) String

func (x *ActionSearchResponse) String() string

type EvaluationRequest

type EvaluationRequest struct {
	Subject  *Subject         `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	Action   *Action          `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
	Resource *Resource        `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
	Context  *structpb.Struct `protobuf:"bytes,4,opt,name=context,proto3,oneof" json:"context,omitempty"`
	// contains filtered or unexported fields
}

https://openid.github.io/authzen/#name-the-access-evaluation-api-r

func (*EvaluationRequest) Descriptor deprecated

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

Deprecated: Use EvaluationRequest.ProtoReflect.Descriptor instead.

func (*EvaluationRequest) GetAction

func (x *EvaluationRequest) GetAction() *Action

func (*EvaluationRequest) GetContext

func (x *EvaluationRequest) GetContext() *structpb.Struct

func (*EvaluationRequest) GetResource

func (x *EvaluationRequest) GetResource() *Resource

func (*EvaluationRequest) GetSubject

func (x *EvaluationRequest) GetSubject() *Subject

func (*EvaluationRequest) ProtoMessage

func (*EvaluationRequest) ProtoMessage()

func (*EvaluationRequest) ProtoReflect

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

func (*EvaluationRequest) Reset

func (x *EvaluationRequest) Reset()

func (*EvaluationRequest) String

func (x *EvaluationRequest) String() string

type EvaluationResponse

type EvaluationResponse struct {
	Decision bool             `protobuf:"varint,1,opt,name=decision,proto3" json:"decision,omitempty"`
	Context  *structpb.Struct `protobuf:"bytes,2,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

https://openid.github.io/authzen/#name-the-access-evaluation-api-re

func (*EvaluationResponse) Descriptor deprecated

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

Deprecated: Use EvaluationResponse.ProtoReflect.Descriptor instead.

func (*EvaluationResponse) GetContext

func (x *EvaluationResponse) GetContext() *structpb.Struct

func (*EvaluationResponse) GetDecision

func (x *EvaluationResponse) GetDecision() bool

func (*EvaluationResponse) ProtoMessage

func (*EvaluationResponse) ProtoMessage()

func (*EvaluationResponse) ProtoReflect

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

func (*EvaluationResponse) Reset

func (x *EvaluationResponse) Reset()

func (*EvaluationResponse) String

func (x *EvaluationResponse) String() string

type EvaluationsRequest

type EvaluationsRequest struct {
	Subject     *Subject             `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	Action      *Action              `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
	Resource    *Resource            `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
	Context     *structpb.Struct     `protobuf:"bytes,4,opt,name=context,proto3,oneof" json:"context,omitempty"`
	Options     *structpb.Struct     `protobuf:"bytes,5,opt,name=options,proto3,oneof" json:"options,omitempty"`
	Evaluations []*EvaluationRequest `protobuf:"bytes,6,rep,name=evaluations,proto3" json:"evaluations,omitempty"`
	// contains filtered or unexported fields
}

https://openid.github.io/authzen/#name-the-access-evaluations-api-

func (*EvaluationsRequest) Descriptor deprecated

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

Deprecated: Use EvaluationsRequest.ProtoReflect.Descriptor instead.

func (*EvaluationsRequest) GetAction

func (x *EvaluationsRequest) GetAction() *Action

func (*EvaluationsRequest) GetContext

func (x *EvaluationsRequest) GetContext() *structpb.Struct

func (*EvaluationsRequest) GetEvaluations

func (x *EvaluationsRequest) GetEvaluations() []*EvaluationRequest

func (*EvaluationsRequest) GetOptions

func (x *EvaluationsRequest) GetOptions() *structpb.Struct

func (*EvaluationsRequest) GetResource

func (x *EvaluationsRequest) GetResource() *Resource

func (*EvaluationsRequest) GetSubject

func (x *EvaluationsRequest) GetSubject() *Subject

func (*EvaluationsRequest) ProtoMessage

func (*EvaluationsRequest) ProtoMessage()

func (*EvaluationsRequest) ProtoReflect

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

func (*EvaluationsRequest) Reset

func (x *EvaluationsRequest) Reset()

func (*EvaluationsRequest) String

func (x *EvaluationsRequest) String() string

type EvaluationsResponse

type EvaluationsResponse struct {
	Evaluations []*EvaluationResponse `protobuf:"bytes,1,rep,name=evaluations,proto3" json:"evaluations,omitempty"`
	// contains filtered or unexported fields
}

https://openid.github.io/authzen/#name-access-evaluations-api-resp

func (*EvaluationsResponse) Descriptor deprecated

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

Deprecated: Use EvaluationsResponse.ProtoReflect.Descriptor instead.

func (*EvaluationsResponse) GetEvaluations

func (x *EvaluationsResponse) GetEvaluations() []*EvaluationResponse

func (*EvaluationsResponse) ProtoMessage

func (*EvaluationsResponse) ProtoMessage()

func (*EvaluationsResponse) ProtoReflect

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

func (*EvaluationsResponse) Reset

func (x *EvaluationsResponse) Reset()

func (*EvaluationsResponse) String

func (x *EvaluationsResponse) String() string

type PaginationRequest added in v1.0.0

type PaginationRequest struct {
	Token      *string          `protobuf:"bytes,1,opt,name=token,proto3,oneof" json:"token,omitempty"`
	Limit      *int32           `protobuf:"varint,2,opt,name=limit,proto3,oneof" json:"limit,omitempty"`
	Properties *structpb.Struct `protobuf:"bytes,3,opt,name=properties,proto3,oneof" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

https://openid.github.io/authzen/#name-paginated-requests

func (*PaginationRequest) Descriptor deprecated added in v1.0.0

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

Deprecated: Use PaginationRequest.ProtoReflect.Descriptor instead.

func (*PaginationRequest) GetLimit added in v1.0.0

func (x *PaginationRequest) GetLimit() int32

func (*PaginationRequest) GetProperties added in v1.0.0

func (x *PaginationRequest) GetProperties() *structpb.Struct

func (*PaginationRequest) GetToken added in v1.0.0

func (x *PaginationRequest) GetToken() string

func (*PaginationRequest) ProtoMessage added in v1.0.0

func (*PaginationRequest) ProtoMessage()

func (*PaginationRequest) ProtoReflect added in v1.0.0

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

func (*PaginationRequest) Reset added in v1.0.0

func (x *PaginationRequest) Reset()

func (*PaginationRequest) String added in v1.0.0

func (x *PaginationRequest) String() string

type PaginationResponse added in v1.0.0

type PaginationResponse struct {
	NextToken  string           `protobuf:"bytes,1,opt,name=next_token,json=nextToken,proto3" json:"next_token,omitempty"`
	Count      *int64           `protobuf:"varint,2,opt,name=count,proto3,oneof" json:"count,omitempty"`
	Total      *int64           `protobuf:"varint,3,opt,name=total,proto3,oneof" json:"total,omitempty"`
	Properties *structpb.Struct `protobuf:"bytes,4,opt,name=properties,proto3,oneof" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

https://openid.github.io/authzen/#name-paginated-responses

func (*PaginationResponse) Descriptor deprecated added in v1.0.0

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

Deprecated: Use PaginationResponse.ProtoReflect.Descriptor instead.

func (*PaginationResponse) GetCount added in v1.0.0

func (x *PaginationResponse) GetCount() int64

func (*PaginationResponse) GetNextToken added in v1.0.0

func (x *PaginationResponse) GetNextToken() string

func (*PaginationResponse) GetProperties added in v1.0.0

func (x *PaginationResponse) GetProperties() *structpb.Struct

func (*PaginationResponse) GetTotal added in v1.0.0

func (x *PaginationResponse) GetTotal() int64

func (*PaginationResponse) ProtoMessage added in v1.0.0

func (*PaginationResponse) ProtoMessage()

func (*PaginationResponse) ProtoReflect added in v1.0.0

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

func (*PaginationResponse) Reset added in v1.0.0

func (x *PaginationResponse) Reset()

func (*PaginationResponse) String added in v1.0.0

func (x *PaginationResponse) String() string

type Resource

type Resource struct {
	Type       string           `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Id         string           `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Properties *structpb.Struct `protobuf:"bytes,3,opt,name=properties,proto3,oneof" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

https://openid.github.io/authzen/#name-resource

func (*Resource) Descriptor deprecated

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

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (*Resource) GetId

func (x *Resource) GetId() string

func (*Resource) GetProperties

func (x *Resource) GetProperties() *structpb.Struct

func (*Resource) GetType

func (x *Resource) GetType() string

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) ProtoReflect

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

func (*Resource) Reset

func (x *Resource) Reset()

func (*Resource) String

func (x *Resource) String() string

type ResourceSearchRequest

type ResourceSearchRequest struct {
	Subject  *Subject           `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	Action   *Action            `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
	Resource *Resource          `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
	Context  *structpb.Struct   `protobuf:"bytes,4,opt,name=context,proto3" json:"context,omitempty"`
	Page     *PaginationRequest `protobuf:"bytes,10,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

https://openid.github.io/authzen/#name-the-resource-search-api-req

func (*ResourceSearchRequest) Descriptor deprecated

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

Deprecated: Use ResourceSearchRequest.ProtoReflect.Descriptor instead.

func (*ResourceSearchRequest) GetAction

func (x *ResourceSearchRequest) GetAction() *Action

func (*ResourceSearchRequest) GetContext

func (x *ResourceSearchRequest) GetContext() *structpb.Struct

func (*ResourceSearchRequest) GetPage

func (*ResourceSearchRequest) GetResource

func (x *ResourceSearchRequest) GetResource() *Resource

func (*ResourceSearchRequest) GetSubject

func (x *ResourceSearchRequest) GetSubject() *Subject

func (*ResourceSearchRequest) ProtoMessage

func (*ResourceSearchRequest) ProtoMessage()

func (*ResourceSearchRequest) ProtoReflect

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

func (*ResourceSearchRequest) Reset

func (x *ResourceSearchRequest) Reset()

func (*ResourceSearchRequest) String

func (x *ResourceSearchRequest) String() string

type ResourceSearchResponse

type ResourceSearchResponse struct {
	Results []*Resource         `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	Page    *PaginationResponse `protobuf:"bytes,10,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

https://openid.github.io/authzen/#name-the-resource-search-api-res

func (*ResourceSearchResponse) Descriptor deprecated

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

Deprecated: Use ResourceSearchResponse.ProtoReflect.Descriptor instead.

func (*ResourceSearchResponse) GetPage

func (*ResourceSearchResponse) GetResults

func (x *ResourceSearchResponse) GetResults() []*Resource

func (*ResourceSearchResponse) ProtoMessage

func (*ResourceSearchResponse) ProtoMessage()

func (*ResourceSearchResponse) ProtoReflect

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

func (*ResourceSearchResponse) Reset

func (x *ResourceSearchResponse) Reset()

func (*ResourceSearchResponse) String

func (x *ResourceSearchResponse) String() string

type Subject

type Subject struct {
	Type       string           `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Id         string           `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Properties *structpb.Struct `protobuf:"bytes,3,opt,name=properties,proto3,oneof" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

https://openid.github.io/authzen/#name-subject

func (*Subject) Descriptor deprecated

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

Deprecated: Use Subject.ProtoReflect.Descriptor instead.

func (*Subject) GetId

func (x *Subject) GetId() string

func (*Subject) GetProperties

func (x *Subject) GetProperties() *structpb.Struct

func (*Subject) GetType

func (x *Subject) GetType() string

func (*Subject) ProtoMessage

func (*Subject) ProtoMessage()

func (*Subject) ProtoReflect

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

func (*Subject) Reset

func (x *Subject) Reset()

func (*Subject) String

func (x *Subject) String() string

type SubjectSearchRequest

type SubjectSearchRequest struct {
	Subject  *Subject           `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	Action   *Action            `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
	Resource *Resource          `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
	Context  *structpb.Struct   `protobuf:"bytes,4,opt,name=context,proto3" json:"context,omitempty"`
	Page     *PaginationRequest `protobuf:"bytes,10,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

https://openid.github.io/authzen/#name-the-subject-search-api-requ

func (*SubjectSearchRequest) Descriptor deprecated

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

Deprecated: Use SubjectSearchRequest.ProtoReflect.Descriptor instead.

func (*SubjectSearchRequest) GetAction

func (x *SubjectSearchRequest) GetAction() *Action

func (*SubjectSearchRequest) GetContext

func (x *SubjectSearchRequest) GetContext() *structpb.Struct

func (*SubjectSearchRequest) GetPage

func (*SubjectSearchRequest) GetResource

func (x *SubjectSearchRequest) GetResource() *Resource

func (*SubjectSearchRequest) GetSubject

func (x *SubjectSearchRequest) GetSubject() *Subject

func (*SubjectSearchRequest) ProtoMessage

func (*SubjectSearchRequest) ProtoMessage()

func (*SubjectSearchRequest) ProtoReflect

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

func (*SubjectSearchRequest) Reset

func (x *SubjectSearchRequest) Reset()

func (*SubjectSearchRequest) String

func (x *SubjectSearchRequest) String() string

type SubjectSearchResponse

type SubjectSearchResponse struct {
	Results []*Subject          `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	Page    *PaginationResponse `protobuf:"bytes,10,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

https://openid.github.io/authzen/#name-the-subject-search-api-resp

func (*SubjectSearchResponse) Descriptor deprecated

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

Deprecated: Use SubjectSearchResponse.ProtoReflect.Descriptor instead.

func (*SubjectSearchResponse) GetPage

func (*SubjectSearchResponse) GetResults

func (x *SubjectSearchResponse) GetResults() []*Subject

func (*SubjectSearchResponse) ProtoMessage

func (*SubjectSearchResponse) ProtoMessage()

func (*SubjectSearchResponse) ProtoReflect

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

func (*SubjectSearchResponse) Reset

func (x *SubjectSearchResponse) Reset()

func (*SubjectSearchResponse) String

func (x *SubjectSearchResponse) String() string

type UnimplementedAccessServer

type UnimplementedAccessServer struct{}

UnimplementedAccessServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedAccessServer) ActionSearch

func (UnimplementedAccessServer) Evaluation

func (UnimplementedAccessServer) Evaluations

func (UnimplementedAccessServer) ResourceSearch

func (UnimplementedAccessServer) SubjectSearch

type UnsafeAccessServer

type UnsafeAccessServer interface {
	// contains filtered or unexported methods
}

UnsafeAccessServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AccessServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL