Documentation ¶
Overview ¶
Package subjectmapping is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterSubjectMappingServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterSubjectMappingServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SubjectMappingServiceClient) error
- func RegisterSubjectMappingServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterSubjectMappingServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SubjectMappingServiceServer) error
- func RegisterSubjectMappingServiceServer(s grpc.ServiceRegistrar, srv SubjectMappingServiceServer)
- type CreateSubjectConditionSetRequest
- func (*CreateSubjectConditionSetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSubjectConditionSetRequest) GetSubjectConditionSet() *SubjectConditionSetCreate
- func (*CreateSubjectConditionSetRequest) ProtoMessage()
- func (x *CreateSubjectConditionSetRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSubjectConditionSetRequest) Reset()
- func (x *CreateSubjectConditionSetRequest) String() string
- type CreateSubjectConditionSetResponse
- func (*CreateSubjectConditionSetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSubjectConditionSetResponse) GetSubjectConditionSet() *policy.SubjectConditionSet
- func (*CreateSubjectConditionSetResponse) ProtoMessage()
- func (x *CreateSubjectConditionSetResponse) ProtoReflect() protoreflect.Message
- func (x *CreateSubjectConditionSetResponse) Reset()
- func (x *CreateSubjectConditionSetResponse) String() string
- type CreateSubjectMappingRequest
- func (*CreateSubjectMappingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSubjectMappingRequest) GetActions() []*policy.Action
- func (x *CreateSubjectMappingRequest) GetAttributeValueId() string
- func (x *CreateSubjectMappingRequest) GetExistingSubjectConditionSetId() string
- func (x *CreateSubjectMappingRequest) GetMetadata() *common.MetadataMutable
- func (x *CreateSubjectMappingRequest) GetNewSubjectConditionSet() *SubjectConditionSetCreate
- func (*CreateSubjectMappingRequest) ProtoMessage()
- func (x *CreateSubjectMappingRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSubjectMappingRequest) Reset()
- func (x *CreateSubjectMappingRequest) String() string
- type CreateSubjectMappingResponse
- func (*CreateSubjectMappingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSubjectMappingResponse) GetSubjectMapping() *policy.SubjectMapping
- func (*CreateSubjectMappingResponse) ProtoMessage()
- func (x *CreateSubjectMappingResponse) ProtoReflect() protoreflect.Message
- func (x *CreateSubjectMappingResponse) Reset()
- func (x *CreateSubjectMappingResponse) String() string
- type DeleteAllUnmappedSubjectConditionSetsRequest
- func (*DeleteAllUnmappedSubjectConditionSetsRequest) Descriptor() ([]byte, []int)deprecated
- func (*DeleteAllUnmappedSubjectConditionSetsRequest) ProtoMessage()
- func (x *DeleteAllUnmappedSubjectConditionSetsRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAllUnmappedSubjectConditionSetsRequest) Reset()
- func (x *DeleteAllUnmappedSubjectConditionSetsRequest) String() string
- type DeleteAllUnmappedSubjectConditionSetsResponse
- func (*DeleteAllUnmappedSubjectConditionSetsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAllUnmappedSubjectConditionSetsResponse) GetSubjectConditionSets() []*policy.SubjectConditionSet
- func (*DeleteAllUnmappedSubjectConditionSetsResponse) ProtoMessage()
- func (x *DeleteAllUnmappedSubjectConditionSetsResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteAllUnmappedSubjectConditionSetsResponse) Reset()
- func (x *DeleteAllUnmappedSubjectConditionSetsResponse) String() string
- type DeleteSubjectConditionSetRequest
- func (*DeleteSubjectConditionSetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSubjectConditionSetRequest) GetId() string
- func (*DeleteSubjectConditionSetRequest) ProtoMessage()
- func (x *DeleteSubjectConditionSetRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSubjectConditionSetRequest) Reset()
- func (x *DeleteSubjectConditionSetRequest) String() string
- type DeleteSubjectConditionSetResponse
- func (*DeleteSubjectConditionSetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSubjectConditionSetResponse) GetSubjectConditionSet() *policy.SubjectConditionSet
- func (*DeleteSubjectConditionSetResponse) ProtoMessage()
- func (x *DeleteSubjectConditionSetResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteSubjectConditionSetResponse) Reset()
- func (x *DeleteSubjectConditionSetResponse) String() string
- type DeleteSubjectMappingRequest
- func (*DeleteSubjectMappingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSubjectMappingRequest) GetId() string
- func (*DeleteSubjectMappingRequest) ProtoMessage()
- func (x *DeleteSubjectMappingRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSubjectMappingRequest) Reset()
- func (x *DeleteSubjectMappingRequest) String() string
- type DeleteSubjectMappingResponse
- func (*DeleteSubjectMappingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSubjectMappingResponse) GetSubjectMapping() *policy.SubjectMapping
- func (*DeleteSubjectMappingResponse) ProtoMessage()
- func (x *DeleteSubjectMappingResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteSubjectMappingResponse) Reset()
- func (x *DeleteSubjectMappingResponse) String() string
- type GetSubjectConditionSetRequest
- func (*GetSubjectConditionSetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSubjectConditionSetRequest) GetId() string
- func (*GetSubjectConditionSetRequest) ProtoMessage()
- func (x *GetSubjectConditionSetRequest) ProtoReflect() protoreflect.Message
- func (x *GetSubjectConditionSetRequest) Reset()
- func (x *GetSubjectConditionSetRequest) String() string
- type GetSubjectConditionSetResponse
- func (*GetSubjectConditionSetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSubjectConditionSetResponse) GetAssociatedSubjectMappings() []*policy.SubjectMapping
- func (x *GetSubjectConditionSetResponse) GetSubjectConditionSet() *policy.SubjectConditionSet
- func (*GetSubjectConditionSetResponse) ProtoMessage()
- func (x *GetSubjectConditionSetResponse) ProtoReflect() protoreflect.Message
- func (x *GetSubjectConditionSetResponse) Reset()
- func (x *GetSubjectConditionSetResponse) String() string
- type GetSubjectMappingRequest
- func (*GetSubjectMappingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSubjectMappingRequest) GetId() string
- func (*GetSubjectMappingRequest) ProtoMessage()
- func (x *GetSubjectMappingRequest) ProtoReflect() protoreflect.Message
- func (x *GetSubjectMappingRequest) Reset()
- func (x *GetSubjectMappingRequest) String() string
- type GetSubjectMappingResponse
- func (*GetSubjectMappingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSubjectMappingResponse) GetSubjectMapping() *policy.SubjectMapping
- func (*GetSubjectMappingResponse) ProtoMessage()
- func (x *GetSubjectMappingResponse) ProtoReflect() protoreflect.Message
- func (x *GetSubjectMappingResponse) Reset()
- func (x *GetSubjectMappingResponse) String() string
- type ListSubjectConditionSetsRequest
- func (*ListSubjectConditionSetsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSubjectConditionSetsRequest) GetPagination() *policy.PageRequest
- func (*ListSubjectConditionSetsRequest) ProtoMessage()
- func (x *ListSubjectConditionSetsRequest) ProtoReflect() protoreflect.Message
- func (x *ListSubjectConditionSetsRequest) Reset()
- func (x *ListSubjectConditionSetsRequest) String() string
- type ListSubjectConditionSetsResponse
- func (*ListSubjectConditionSetsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSubjectConditionSetsResponse) GetPagination() *policy.PageResponse
- func (x *ListSubjectConditionSetsResponse) GetSubjectConditionSets() []*policy.SubjectConditionSet
- func (*ListSubjectConditionSetsResponse) ProtoMessage()
- func (x *ListSubjectConditionSetsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSubjectConditionSetsResponse) Reset()
- func (x *ListSubjectConditionSetsResponse) String() string
- type ListSubjectMappingsRequest
- func (*ListSubjectMappingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSubjectMappingsRequest) GetPagination() *policy.PageRequest
- func (*ListSubjectMappingsRequest) ProtoMessage()
- func (x *ListSubjectMappingsRequest) ProtoReflect() protoreflect.Message
- func (x *ListSubjectMappingsRequest) Reset()
- func (x *ListSubjectMappingsRequest) String() string
- type ListSubjectMappingsResponse
- func (*ListSubjectMappingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSubjectMappingsResponse) GetPagination() *policy.PageResponse
- func (x *ListSubjectMappingsResponse) GetSubjectMappings() []*policy.SubjectMapping
- func (*ListSubjectMappingsResponse) ProtoMessage()
- func (x *ListSubjectMappingsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSubjectMappingsResponse) Reset()
- func (x *ListSubjectMappingsResponse) String() string
- type MatchSubjectMappingsRequest
- func (*MatchSubjectMappingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MatchSubjectMappingsRequest) GetSubjectProperties() []*policy.SubjectProperty
- func (*MatchSubjectMappingsRequest) ProtoMessage()
- func (x *MatchSubjectMappingsRequest) ProtoReflect() protoreflect.Message
- func (x *MatchSubjectMappingsRequest) Reset()
- func (x *MatchSubjectMappingsRequest) String() string
- type MatchSubjectMappingsResponse
- func (*MatchSubjectMappingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MatchSubjectMappingsResponse) GetSubjectMappings() []*policy.SubjectMapping
- func (*MatchSubjectMappingsResponse) ProtoMessage()
- func (x *MatchSubjectMappingsResponse) ProtoReflect() protoreflect.Message
- func (x *MatchSubjectMappingsResponse) Reset()
- func (x *MatchSubjectMappingsResponse) String() string
- type SubjectConditionSetCreate
- func (*SubjectConditionSetCreate) Descriptor() ([]byte, []int)deprecated
- func (x *SubjectConditionSetCreate) GetMetadata() *common.MetadataMutable
- func (x *SubjectConditionSetCreate) GetSubjectSets() []*policy.SubjectSet
- func (*SubjectConditionSetCreate) ProtoMessage()
- func (x *SubjectConditionSetCreate) ProtoReflect() protoreflect.Message
- func (x *SubjectConditionSetCreate) Reset()
- func (x *SubjectConditionSetCreate) String() string
- type SubjectMappingServiceClient
- type SubjectMappingServiceServer
- type UnimplementedSubjectMappingServiceServer
- func (UnimplementedSubjectMappingServiceServer) CreateSubjectConditionSet(context.Context, *CreateSubjectConditionSetRequest) (*CreateSubjectConditionSetResponse, error)
- func (UnimplementedSubjectMappingServiceServer) CreateSubjectMapping(context.Context, *CreateSubjectMappingRequest) (*CreateSubjectMappingResponse, error)
- func (UnimplementedSubjectMappingServiceServer) DeleteAllUnmappedSubjectConditionSets(context.Context, *DeleteAllUnmappedSubjectConditionSetsRequest) (*DeleteAllUnmappedSubjectConditionSetsResponse, error)
- func (UnimplementedSubjectMappingServiceServer) DeleteSubjectConditionSet(context.Context, *DeleteSubjectConditionSetRequest) (*DeleteSubjectConditionSetResponse, error)
- func (UnimplementedSubjectMappingServiceServer) DeleteSubjectMapping(context.Context, *DeleteSubjectMappingRequest) (*DeleteSubjectMappingResponse, error)
- func (UnimplementedSubjectMappingServiceServer) GetSubjectConditionSet(context.Context, *GetSubjectConditionSetRequest) (*GetSubjectConditionSetResponse, error)
- func (UnimplementedSubjectMappingServiceServer) GetSubjectMapping(context.Context, *GetSubjectMappingRequest) (*GetSubjectMappingResponse, error)
- func (UnimplementedSubjectMappingServiceServer) ListSubjectConditionSets(context.Context, *ListSubjectConditionSetsRequest) (*ListSubjectConditionSetsResponse, error)
- func (UnimplementedSubjectMappingServiceServer) ListSubjectMappings(context.Context, *ListSubjectMappingsRequest) (*ListSubjectMappingsResponse, error)
- func (UnimplementedSubjectMappingServiceServer) MatchSubjectMappings(context.Context, *MatchSubjectMappingsRequest) (*MatchSubjectMappingsResponse, error)
- func (UnimplementedSubjectMappingServiceServer) UpdateSubjectConditionSet(context.Context, *UpdateSubjectConditionSetRequest) (*UpdateSubjectConditionSetResponse, error)
- func (UnimplementedSubjectMappingServiceServer) UpdateSubjectMapping(context.Context, *UpdateSubjectMappingRequest) (*UpdateSubjectMappingResponse, error)
- type UnsafeSubjectMappingServiceServer
- type UpdateSubjectConditionSetRequest
- func (*UpdateSubjectConditionSetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSubjectConditionSetRequest) GetId() string
- func (x *UpdateSubjectConditionSetRequest) GetMetadata() *common.MetadataMutable
- func (x *UpdateSubjectConditionSetRequest) GetMetadataUpdateBehavior() common.MetadataUpdateEnum
- func (x *UpdateSubjectConditionSetRequest) GetSubjectSets() []*policy.SubjectSet
- func (*UpdateSubjectConditionSetRequest) ProtoMessage()
- func (x *UpdateSubjectConditionSetRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSubjectConditionSetRequest) Reset()
- func (x *UpdateSubjectConditionSetRequest) String() string
- type UpdateSubjectConditionSetResponse
- func (*UpdateSubjectConditionSetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSubjectConditionSetResponse) GetSubjectConditionSet() *policy.SubjectConditionSet
- func (*UpdateSubjectConditionSetResponse) ProtoMessage()
- func (x *UpdateSubjectConditionSetResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateSubjectConditionSetResponse) Reset()
- func (x *UpdateSubjectConditionSetResponse) String() string
- type UpdateSubjectMappingRequest
- func (*UpdateSubjectMappingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSubjectMappingRequest) GetActions() []*policy.Action
- func (x *UpdateSubjectMappingRequest) GetId() string
- func (x *UpdateSubjectMappingRequest) GetMetadata() *common.MetadataMutable
- func (x *UpdateSubjectMappingRequest) GetMetadataUpdateBehavior() common.MetadataUpdateEnum
- func (x *UpdateSubjectMappingRequest) GetSubjectConditionSetId() string
- func (*UpdateSubjectMappingRequest) ProtoMessage()
- func (x *UpdateSubjectMappingRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSubjectMappingRequest) Reset()
- func (x *UpdateSubjectMappingRequest) String() string
- type UpdateSubjectMappingResponse
- func (*UpdateSubjectMappingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSubjectMappingResponse) GetSubjectMapping() *policy.SubjectMapping
- func (*UpdateSubjectMappingResponse) ProtoMessage()
- func (x *UpdateSubjectMappingResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateSubjectMappingResponse) Reset()
- func (x *UpdateSubjectMappingResponse) String() string
Constants ¶
const ( SubjectMappingService_MatchSubjectMappings_FullMethodName = "/policy.subjectmapping.SubjectMappingService/MatchSubjectMappings" SubjectMappingService_ListSubjectMappings_FullMethodName = "/policy.subjectmapping.SubjectMappingService/ListSubjectMappings" SubjectMappingService_GetSubjectMapping_FullMethodName = "/policy.subjectmapping.SubjectMappingService/GetSubjectMapping" SubjectMappingService_CreateSubjectMapping_FullMethodName = "/policy.subjectmapping.SubjectMappingService/CreateSubjectMapping" SubjectMappingService_UpdateSubjectMapping_FullMethodName = "/policy.subjectmapping.SubjectMappingService/UpdateSubjectMapping" SubjectMappingService_DeleteSubjectMapping_FullMethodName = "/policy.subjectmapping.SubjectMappingService/DeleteSubjectMapping" SubjectMappingService_ListSubjectConditionSets_FullMethodName = "/policy.subjectmapping.SubjectMappingService/ListSubjectConditionSets" SubjectMappingService_GetSubjectConditionSet_FullMethodName = "/policy.subjectmapping.SubjectMappingService/GetSubjectConditionSet" SubjectMappingService_CreateSubjectConditionSet_FullMethodName = "/policy.subjectmapping.SubjectMappingService/CreateSubjectConditionSet" SubjectMappingService_UpdateSubjectConditionSet_FullMethodName = "/policy.subjectmapping.SubjectMappingService/UpdateSubjectConditionSet" SubjectMappingService_DeleteSubjectConditionSet_FullMethodName = "/policy.subjectmapping.SubjectMappingService/DeleteSubjectConditionSet" SubjectMappingService_DeleteAllUnmappedSubjectConditionSets_FullMethodName = "/policy.subjectmapping.SubjectMappingService/DeleteAllUnmappedSubjectConditionSets" )
Variables ¶
var File_policy_subjectmapping_subject_mapping_proto protoreflect.FileDescriptor
var SubjectMappingService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "policy.subjectmapping.SubjectMappingService", HandlerType: (*SubjectMappingServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "MatchSubjectMappings", Handler: _SubjectMappingService_MatchSubjectMappings_Handler, }, { MethodName: "ListSubjectMappings", Handler: _SubjectMappingService_ListSubjectMappings_Handler, }, { MethodName: "GetSubjectMapping", Handler: _SubjectMappingService_GetSubjectMapping_Handler, }, { MethodName: "CreateSubjectMapping", Handler: _SubjectMappingService_CreateSubjectMapping_Handler, }, { MethodName: "UpdateSubjectMapping", Handler: _SubjectMappingService_UpdateSubjectMapping_Handler, }, { MethodName: "DeleteSubjectMapping", Handler: _SubjectMappingService_DeleteSubjectMapping_Handler, }, { MethodName: "ListSubjectConditionSets", Handler: _SubjectMappingService_ListSubjectConditionSets_Handler, }, { MethodName: "GetSubjectConditionSet", Handler: _SubjectMappingService_GetSubjectConditionSet_Handler, }, { MethodName: "CreateSubjectConditionSet", Handler: _SubjectMappingService_CreateSubjectConditionSet_Handler, }, { MethodName: "UpdateSubjectConditionSet", Handler: _SubjectMappingService_UpdateSubjectConditionSet_Handler, }, { MethodName: "DeleteSubjectConditionSet", Handler: _SubjectMappingService_DeleteSubjectConditionSet_Handler, }, { MethodName: "DeleteAllUnmappedSubjectConditionSets", Handler: _SubjectMappingService_DeleteAllUnmappedSubjectConditionSets_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "policy/subjectmapping/subject_mapping.proto", }
SubjectMappingService_ServiceDesc is the grpc.ServiceDesc for SubjectMappingService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterSubjectMappingServiceHandler ¶
func RegisterSubjectMappingServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterSubjectMappingServiceHandler registers the http handlers for service SubjectMappingService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterSubjectMappingServiceHandlerClient ¶
func RegisterSubjectMappingServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SubjectMappingServiceClient) error
RegisterSubjectMappingServiceHandlerClient registers the http handlers for service SubjectMappingService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SubjectMappingServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SubjectMappingServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "SubjectMappingServiceClient" to call the correct interceptors.
func RegisterSubjectMappingServiceHandlerFromEndpoint ¶
func RegisterSubjectMappingServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterSubjectMappingServiceHandlerFromEndpoint is same as RegisterSubjectMappingServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterSubjectMappingServiceHandlerServer ¶
func RegisterSubjectMappingServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SubjectMappingServiceServer) error
RegisterSubjectMappingServiceHandlerServer registers the http handlers for service SubjectMappingService to "mux". UnaryRPC :call SubjectMappingServiceServer 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 RegisterSubjectMappingServiceHandlerFromEndpoint instead.
func RegisterSubjectMappingServiceServer ¶
func RegisterSubjectMappingServiceServer(s grpc.ServiceRegistrar, srv SubjectMappingServiceServer)
Types ¶
type CreateSubjectConditionSetRequest ¶
type CreateSubjectConditionSetRequest struct { SubjectConditionSet *SubjectConditionSetCreate `protobuf:"bytes,1,opt,name=subject_condition_set,json=subjectConditionSet,proto3" json:"subject_condition_set,omitempty"` // contains filtered or unexported fields }
func (*CreateSubjectConditionSetRequest) Descriptor
deprecated
func (*CreateSubjectConditionSetRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSubjectConditionSetRequest.ProtoReflect.Descriptor instead.
func (*CreateSubjectConditionSetRequest) GetSubjectConditionSet ¶
func (x *CreateSubjectConditionSetRequest) GetSubjectConditionSet() *SubjectConditionSetCreate
func (*CreateSubjectConditionSetRequest) ProtoMessage ¶
func (*CreateSubjectConditionSetRequest) ProtoMessage()
func (*CreateSubjectConditionSetRequest) ProtoReflect ¶
func (x *CreateSubjectConditionSetRequest) ProtoReflect() protoreflect.Message
func (*CreateSubjectConditionSetRequest) Reset ¶
func (x *CreateSubjectConditionSetRequest) Reset()
func (*CreateSubjectConditionSetRequest) String ¶
func (x *CreateSubjectConditionSetRequest) String() string
type CreateSubjectConditionSetResponse ¶
type CreateSubjectConditionSetResponse struct { SubjectConditionSet *policy.SubjectConditionSet `protobuf:"bytes,1,opt,name=subject_condition_set,json=subjectConditionSet,proto3" json:"subject_condition_set,omitempty"` // contains filtered or unexported fields }
func (*CreateSubjectConditionSetResponse) Descriptor
deprecated
func (*CreateSubjectConditionSetResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateSubjectConditionSetResponse.ProtoReflect.Descriptor instead.
func (*CreateSubjectConditionSetResponse) GetSubjectConditionSet ¶
func (x *CreateSubjectConditionSetResponse) GetSubjectConditionSet() *policy.SubjectConditionSet
func (*CreateSubjectConditionSetResponse) ProtoMessage ¶
func (*CreateSubjectConditionSetResponse) ProtoMessage()
func (*CreateSubjectConditionSetResponse) ProtoReflect ¶
func (x *CreateSubjectConditionSetResponse) ProtoReflect() protoreflect.Message
func (*CreateSubjectConditionSetResponse) Reset ¶
func (x *CreateSubjectConditionSetResponse) Reset()
func (*CreateSubjectConditionSetResponse) String ¶
func (x *CreateSubjectConditionSetResponse) String() string
type CreateSubjectMappingRequest ¶
type CreateSubjectMappingRequest struct { // Required // Attribute Value to be mapped to AttributeValueId string `protobuf:"bytes,1,opt,name=attribute_value_id,json=attributeValueId,proto3" json:"attribute_value_id,omitempty"` // Required // The actions permitted by subjects in this mapping Actions []*policy.Action `protobuf:"bytes,2,rep,name=actions,proto3" json:"actions,omitempty"` // Either of the following: // Reuse existing SubjectConditionSet (NOTE: prioritized over new_subject_condition_set) ExistingSubjectConditionSetId string `` /* 154-byte string literal not displayed */ // Create new SubjectConditionSet (NOTE: ignored if existing_subject_condition_set_id is provided) NewSubjectConditionSet *SubjectConditionSetCreate `` /* 131-byte string literal not displayed */ // Optional Metadata *common.MetadataMutable `protobuf:"bytes,100,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*CreateSubjectMappingRequest) Descriptor
deprecated
func (*CreateSubjectMappingRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSubjectMappingRequest.ProtoReflect.Descriptor instead.
func (*CreateSubjectMappingRequest) GetActions ¶
func (x *CreateSubjectMappingRequest) GetActions() []*policy.Action
func (*CreateSubjectMappingRequest) GetAttributeValueId ¶
func (x *CreateSubjectMappingRequest) GetAttributeValueId() string
func (*CreateSubjectMappingRequest) GetExistingSubjectConditionSetId ¶
func (x *CreateSubjectMappingRequest) GetExistingSubjectConditionSetId() string
func (*CreateSubjectMappingRequest) GetMetadata ¶
func (x *CreateSubjectMappingRequest) GetMetadata() *common.MetadataMutable
func (*CreateSubjectMappingRequest) GetNewSubjectConditionSet ¶
func (x *CreateSubjectMappingRequest) GetNewSubjectConditionSet() *SubjectConditionSetCreate
func (*CreateSubjectMappingRequest) ProtoMessage ¶
func (*CreateSubjectMappingRequest) ProtoMessage()
func (*CreateSubjectMappingRequest) ProtoReflect ¶
func (x *CreateSubjectMappingRequest) ProtoReflect() protoreflect.Message
func (*CreateSubjectMappingRequest) Reset ¶
func (x *CreateSubjectMappingRequest) Reset()
func (*CreateSubjectMappingRequest) String ¶
func (x *CreateSubjectMappingRequest) String() string
type CreateSubjectMappingResponse ¶
type CreateSubjectMappingResponse struct { SubjectMapping *policy.SubjectMapping `protobuf:"bytes,1,opt,name=subject_mapping,json=subjectMapping,proto3" json:"subject_mapping,omitempty"` // contains filtered or unexported fields }
func (*CreateSubjectMappingResponse) Descriptor
deprecated
func (*CreateSubjectMappingResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateSubjectMappingResponse.ProtoReflect.Descriptor instead.
func (*CreateSubjectMappingResponse) GetSubjectMapping ¶
func (x *CreateSubjectMappingResponse) GetSubjectMapping() *policy.SubjectMapping
func (*CreateSubjectMappingResponse) ProtoMessage ¶
func (*CreateSubjectMappingResponse) ProtoMessage()
func (*CreateSubjectMappingResponse) ProtoReflect ¶
func (x *CreateSubjectMappingResponse) ProtoReflect() protoreflect.Message
func (*CreateSubjectMappingResponse) Reset ¶
func (x *CreateSubjectMappingResponse) Reset()
func (*CreateSubjectMappingResponse) String ¶
func (x *CreateSubjectMappingResponse) String() string
type DeleteAllUnmappedSubjectConditionSetsRequest ¶ added in v0.2.19
type DeleteAllUnmappedSubjectConditionSetsRequest struct {
// contains filtered or unexported fields
}
Prune any Subject Condition Sets not utilized within a Subject Mapping
func (*DeleteAllUnmappedSubjectConditionSetsRequest) Descriptor
deprecated
added in
v0.2.19
func (*DeleteAllUnmappedSubjectConditionSetsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAllUnmappedSubjectConditionSetsRequest.ProtoReflect.Descriptor instead.
func (*DeleteAllUnmappedSubjectConditionSetsRequest) ProtoMessage ¶ added in v0.2.19
func (*DeleteAllUnmappedSubjectConditionSetsRequest) ProtoMessage()
func (*DeleteAllUnmappedSubjectConditionSetsRequest) ProtoReflect ¶ added in v0.2.19
func (x *DeleteAllUnmappedSubjectConditionSetsRequest) ProtoReflect() protoreflect.Message
func (*DeleteAllUnmappedSubjectConditionSetsRequest) Reset ¶ added in v0.2.19
func (x *DeleteAllUnmappedSubjectConditionSetsRequest) Reset()
func (*DeleteAllUnmappedSubjectConditionSetsRequest) String ¶ added in v0.2.19
func (x *DeleteAllUnmappedSubjectConditionSetsRequest) String() string
type DeleteAllUnmappedSubjectConditionSetsResponse ¶ added in v0.2.19
type DeleteAllUnmappedSubjectConditionSetsResponse struct { // Only IDs of any deleted Subject Condition Set provided SubjectConditionSets []*policy.SubjectConditionSet `protobuf:"bytes,1,rep,name=subject_condition_sets,json=subjectConditionSets,proto3" json:"subject_condition_sets,omitempty"` // contains filtered or unexported fields }
func (*DeleteAllUnmappedSubjectConditionSetsResponse) Descriptor
deprecated
added in
v0.2.19
func (*DeleteAllUnmappedSubjectConditionSetsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAllUnmappedSubjectConditionSetsResponse.ProtoReflect.Descriptor instead.
func (*DeleteAllUnmappedSubjectConditionSetsResponse) GetSubjectConditionSets ¶ added in v0.2.19
func (x *DeleteAllUnmappedSubjectConditionSetsResponse) GetSubjectConditionSets() []*policy.SubjectConditionSet
func (*DeleteAllUnmappedSubjectConditionSetsResponse) ProtoMessage ¶ added in v0.2.19
func (*DeleteAllUnmappedSubjectConditionSetsResponse) ProtoMessage()
func (*DeleteAllUnmappedSubjectConditionSetsResponse) ProtoReflect ¶ added in v0.2.19
func (x *DeleteAllUnmappedSubjectConditionSetsResponse) ProtoReflect() protoreflect.Message
func (*DeleteAllUnmappedSubjectConditionSetsResponse) Reset ¶ added in v0.2.19
func (x *DeleteAllUnmappedSubjectConditionSetsResponse) Reset()
func (*DeleteAllUnmappedSubjectConditionSetsResponse) String ¶ added in v0.2.19
func (x *DeleteAllUnmappedSubjectConditionSetsResponse) String() string
type DeleteSubjectConditionSetRequest ¶
type DeleteSubjectConditionSetRequest struct { // Required Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteSubjectConditionSetRequest) Descriptor
deprecated
func (*DeleteSubjectConditionSetRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSubjectConditionSetRequest.ProtoReflect.Descriptor instead.
func (*DeleteSubjectConditionSetRequest) GetId ¶
func (x *DeleteSubjectConditionSetRequest) GetId() string
func (*DeleteSubjectConditionSetRequest) ProtoMessage ¶
func (*DeleteSubjectConditionSetRequest) ProtoMessage()
func (*DeleteSubjectConditionSetRequest) ProtoReflect ¶
func (x *DeleteSubjectConditionSetRequest) ProtoReflect() protoreflect.Message
func (*DeleteSubjectConditionSetRequest) Reset ¶
func (x *DeleteSubjectConditionSetRequest) Reset()
func (*DeleteSubjectConditionSetRequest) String ¶
func (x *DeleteSubjectConditionSetRequest) String() string
type DeleteSubjectConditionSetResponse ¶
type DeleteSubjectConditionSetResponse struct { // Only ID of deleted Subject Condition Set provided SubjectConditionSet *policy.SubjectConditionSet `protobuf:"bytes,1,opt,name=subject_condition_set,json=subjectConditionSet,proto3" json:"subject_condition_set,omitempty"` // contains filtered or unexported fields }
func (*DeleteSubjectConditionSetResponse) Descriptor
deprecated
func (*DeleteSubjectConditionSetResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSubjectConditionSetResponse.ProtoReflect.Descriptor instead.
func (*DeleteSubjectConditionSetResponse) GetSubjectConditionSet ¶
func (x *DeleteSubjectConditionSetResponse) GetSubjectConditionSet() *policy.SubjectConditionSet
func (*DeleteSubjectConditionSetResponse) ProtoMessage ¶
func (*DeleteSubjectConditionSetResponse) ProtoMessage()
func (*DeleteSubjectConditionSetResponse) ProtoReflect ¶
func (x *DeleteSubjectConditionSetResponse) ProtoReflect() protoreflect.Message
func (*DeleteSubjectConditionSetResponse) Reset ¶
func (x *DeleteSubjectConditionSetResponse) Reset()
func (*DeleteSubjectConditionSetResponse) String ¶
func (x *DeleteSubjectConditionSetResponse) String() string
type DeleteSubjectMappingRequest ¶
type DeleteSubjectMappingRequest struct { // Required Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteSubjectMappingRequest) Descriptor
deprecated
func (*DeleteSubjectMappingRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSubjectMappingRequest.ProtoReflect.Descriptor instead.
func (*DeleteSubjectMappingRequest) GetId ¶
func (x *DeleteSubjectMappingRequest) GetId() string
func (*DeleteSubjectMappingRequest) ProtoMessage ¶
func (*DeleteSubjectMappingRequest) ProtoMessage()
func (*DeleteSubjectMappingRequest) ProtoReflect ¶
func (x *DeleteSubjectMappingRequest) ProtoReflect() protoreflect.Message
func (*DeleteSubjectMappingRequest) Reset ¶
func (x *DeleteSubjectMappingRequest) Reset()
func (*DeleteSubjectMappingRequest) String ¶
func (x *DeleteSubjectMappingRequest) String() string
type DeleteSubjectMappingResponse ¶
type DeleteSubjectMappingResponse struct { // Only ID of the updated Subject Mapping provided SubjectMapping *policy.SubjectMapping `protobuf:"bytes,1,opt,name=subject_mapping,json=subjectMapping,proto3" json:"subject_mapping,omitempty"` // contains filtered or unexported fields }
func (*DeleteSubjectMappingResponse) Descriptor
deprecated
func (*DeleteSubjectMappingResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSubjectMappingResponse.ProtoReflect.Descriptor instead.
func (*DeleteSubjectMappingResponse) GetSubjectMapping ¶
func (x *DeleteSubjectMappingResponse) GetSubjectMapping() *policy.SubjectMapping
func (*DeleteSubjectMappingResponse) ProtoMessage ¶
func (*DeleteSubjectMappingResponse) ProtoMessage()
func (*DeleteSubjectMappingResponse) ProtoReflect ¶
func (x *DeleteSubjectMappingResponse) ProtoReflect() protoreflect.Message
func (*DeleteSubjectMappingResponse) Reset ¶
func (x *DeleteSubjectMappingResponse) Reset()
func (*DeleteSubjectMappingResponse) String ¶
func (x *DeleteSubjectMappingResponse) String() string
type GetSubjectConditionSetRequest ¶
type GetSubjectConditionSetRequest struct { // Required Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetSubjectConditionSetRequest) Descriptor
deprecated
func (*GetSubjectConditionSetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSubjectConditionSetRequest.ProtoReflect.Descriptor instead.
func (*GetSubjectConditionSetRequest) GetId ¶
func (x *GetSubjectConditionSetRequest) GetId() string
func (*GetSubjectConditionSetRequest) ProtoMessage ¶
func (*GetSubjectConditionSetRequest) ProtoMessage()
func (*GetSubjectConditionSetRequest) ProtoReflect ¶
func (x *GetSubjectConditionSetRequest) ProtoReflect() protoreflect.Message
func (*GetSubjectConditionSetRequest) Reset ¶
func (x *GetSubjectConditionSetRequest) Reset()
func (*GetSubjectConditionSetRequest) String ¶
func (x *GetSubjectConditionSetRequest) String() string
type GetSubjectConditionSetResponse ¶
type GetSubjectConditionSetResponse struct { SubjectConditionSet *policy.SubjectConditionSet `protobuf:"bytes,1,opt,name=subject_condition_set,json=subjectConditionSet,proto3" json:"subject_condition_set,omitempty"` // contextualized Subject Mappings associated with this SubjectConditionSet AssociatedSubjectMappings []*policy.SubjectMapping `` /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetSubjectConditionSetResponse) Descriptor
deprecated
func (*GetSubjectConditionSetResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSubjectConditionSetResponse.ProtoReflect.Descriptor instead.
func (*GetSubjectConditionSetResponse) GetAssociatedSubjectMappings ¶
func (x *GetSubjectConditionSetResponse) GetAssociatedSubjectMappings() []*policy.SubjectMapping
func (*GetSubjectConditionSetResponse) GetSubjectConditionSet ¶
func (x *GetSubjectConditionSetResponse) GetSubjectConditionSet() *policy.SubjectConditionSet
func (*GetSubjectConditionSetResponse) ProtoMessage ¶
func (*GetSubjectConditionSetResponse) ProtoMessage()
func (*GetSubjectConditionSetResponse) ProtoReflect ¶
func (x *GetSubjectConditionSetResponse) ProtoReflect() protoreflect.Message
func (*GetSubjectConditionSetResponse) Reset ¶
func (x *GetSubjectConditionSetResponse) Reset()
func (*GetSubjectConditionSetResponse) String ¶
func (x *GetSubjectConditionSetResponse) String() string
type GetSubjectMappingRequest ¶
type GetSubjectMappingRequest struct { // Required Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetSubjectMappingRequest) Descriptor
deprecated
func (*GetSubjectMappingRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSubjectMappingRequest.ProtoReflect.Descriptor instead.
func (*GetSubjectMappingRequest) GetId ¶
func (x *GetSubjectMappingRequest) GetId() string
func (*GetSubjectMappingRequest) ProtoMessage ¶
func (*GetSubjectMappingRequest) ProtoMessage()
func (*GetSubjectMappingRequest) ProtoReflect ¶
func (x *GetSubjectMappingRequest) ProtoReflect() protoreflect.Message
func (*GetSubjectMappingRequest) Reset ¶
func (x *GetSubjectMappingRequest) Reset()
func (*GetSubjectMappingRequest) String ¶
func (x *GetSubjectMappingRequest) String() string
type GetSubjectMappingResponse ¶
type GetSubjectMappingResponse struct { SubjectMapping *policy.SubjectMapping `protobuf:"bytes,1,opt,name=subject_mapping,json=subjectMapping,proto3" json:"subject_mapping,omitempty"` // contains filtered or unexported fields }
func (*GetSubjectMappingResponse) Descriptor
deprecated
func (*GetSubjectMappingResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSubjectMappingResponse.ProtoReflect.Descriptor instead.
func (*GetSubjectMappingResponse) GetSubjectMapping ¶
func (x *GetSubjectMappingResponse) GetSubjectMapping() *policy.SubjectMapping
func (*GetSubjectMappingResponse) ProtoMessage ¶
func (*GetSubjectMappingResponse) ProtoMessage()
func (*GetSubjectMappingResponse) ProtoReflect ¶
func (x *GetSubjectMappingResponse) ProtoReflect() protoreflect.Message
func (*GetSubjectMappingResponse) Reset ¶
func (x *GetSubjectMappingResponse) Reset()
func (*GetSubjectMappingResponse) String ¶
func (x *GetSubjectMappingResponse) String() string
type ListSubjectConditionSetsRequest ¶
type ListSubjectConditionSetsRequest struct { // Optional Pagination *policy.PageRequest `protobuf:"bytes,10,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*ListSubjectConditionSetsRequest) Descriptor
deprecated
func (*ListSubjectConditionSetsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSubjectConditionSetsRequest.ProtoReflect.Descriptor instead.
func (*ListSubjectConditionSetsRequest) GetPagination ¶ added in v0.2.19
func (x *ListSubjectConditionSetsRequest) GetPagination() *policy.PageRequest
func (*ListSubjectConditionSetsRequest) ProtoMessage ¶
func (*ListSubjectConditionSetsRequest) ProtoMessage()
func (*ListSubjectConditionSetsRequest) ProtoReflect ¶
func (x *ListSubjectConditionSetsRequest) ProtoReflect() protoreflect.Message
func (*ListSubjectConditionSetsRequest) Reset ¶
func (x *ListSubjectConditionSetsRequest) Reset()
func (*ListSubjectConditionSetsRequest) String ¶
func (x *ListSubjectConditionSetsRequest) String() string
type ListSubjectConditionSetsResponse ¶
type ListSubjectConditionSetsResponse struct { SubjectConditionSets []*policy.SubjectConditionSet `protobuf:"bytes,1,rep,name=subject_condition_sets,json=subjectConditionSets,proto3" json:"subject_condition_sets,omitempty"` Pagination *policy.PageResponse `protobuf:"bytes,10,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*ListSubjectConditionSetsResponse) Descriptor
deprecated
func (*ListSubjectConditionSetsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSubjectConditionSetsResponse.ProtoReflect.Descriptor instead.
func (*ListSubjectConditionSetsResponse) GetPagination ¶ added in v0.2.19
func (x *ListSubjectConditionSetsResponse) GetPagination() *policy.PageResponse
func (*ListSubjectConditionSetsResponse) GetSubjectConditionSets ¶
func (x *ListSubjectConditionSetsResponse) GetSubjectConditionSets() []*policy.SubjectConditionSet
func (*ListSubjectConditionSetsResponse) ProtoMessage ¶
func (*ListSubjectConditionSetsResponse) ProtoMessage()
func (*ListSubjectConditionSetsResponse) ProtoReflect ¶
func (x *ListSubjectConditionSetsResponse) ProtoReflect() protoreflect.Message
func (*ListSubjectConditionSetsResponse) Reset ¶
func (x *ListSubjectConditionSetsResponse) Reset()
func (*ListSubjectConditionSetsResponse) String ¶
func (x *ListSubjectConditionSetsResponse) String() string
type ListSubjectMappingsRequest ¶
type ListSubjectMappingsRequest struct { // Optional Pagination *policy.PageRequest `protobuf:"bytes,10,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*ListSubjectMappingsRequest) Descriptor
deprecated
func (*ListSubjectMappingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSubjectMappingsRequest.ProtoReflect.Descriptor instead.
func (*ListSubjectMappingsRequest) GetPagination ¶ added in v0.2.19
func (x *ListSubjectMappingsRequest) GetPagination() *policy.PageRequest
func (*ListSubjectMappingsRequest) ProtoMessage ¶
func (*ListSubjectMappingsRequest) ProtoMessage()
func (*ListSubjectMappingsRequest) ProtoReflect ¶
func (x *ListSubjectMappingsRequest) ProtoReflect() protoreflect.Message
func (*ListSubjectMappingsRequest) Reset ¶
func (x *ListSubjectMappingsRequest) Reset()
func (*ListSubjectMappingsRequest) String ¶
func (x *ListSubjectMappingsRequest) String() string
type ListSubjectMappingsResponse ¶
type ListSubjectMappingsResponse struct { SubjectMappings []*policy.SubjectMapping `protobuf:"bytes,1,rep,name=subject_mappings,json=subjectMappings,proto3" json:"subject_mappings,omitempty"` Pagination *policy.PageResponse `protobuf:"bytes,10,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*ListSubjectMappingsResponse) Descriptor
deprecated
func (*ListSubjectMappingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSubjectMappingsResponse.ProtoReflect.Descriptor instead.
func (*ListSubjectMappingsResponse) GetPagination ¶ added in v0.2.19
func (x *ListSubjectMappingsResponse) GetPagination() *policy.PageResponse
func (*ListSubjectMappingsResponse) GetSubjectMappings ¶
func (x *ListSubjectMappingsResponse) GetSubjectMappings() []*policy.SubjectMapping
func (*ListSubjectMappingsResponse) ProtoMessage ¶
func (*ListSubjectMappingsResponse) ProtoMessage()
func (*ListSubjectMappingsResponse) ProtoReflect ¶
func (x *ListSubjectMappingsResponse) ProtoReflect() protoreflect.Message
func (*ListSubjectMappingsResponse) Reset ¶
func (x *ListSubjectMappingsResponse) Reset()
func (*ListSubjectMappingsResponse) String ¶
func (x *ListSubjectMappingsResponse) String() string
type MatchSubjectMappingsRequest ¶
type MatchSubjectMappingsRequest struct { SubjectProperties []*policy.SubjectProperty `protobuf:"bytes,1,rep,name=subject_properties,json=subjectProperties,proto3" json:"subject_properties,omitempty"` // contains filtered or unexported fields }
MatchSubjectMappingsRequest liberally returns a list of SubjectMappings based on the provided SubjectProperties. The SubjectMappings are returned if an external selector field matches.
func (*MatchSubjectMappingsRequest) Descriptor
deprecated
func (*MatchSubjectMappingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use MatchSubjectMappingsRequest.ProtoReflect.Descriptor instead.
func (*MatchSubjectMappingsRequest) GetSubjectProperties ¶
func (x *MatchSubjectMappingsRequest) GetSubjectProperties() []*policy.SubjectProperty
func (*MatchSubjectMappingsRequest) ProtoMessage ¶
func (*MatchSubjectMappingsRequest) ProtoMessage()
func (*MatchSubjectMappingsRequest) ProtoReflect ¶
func (x *MatchSubjectMappingsRequest) ProtoReflect() protoreflect.Message
func (*MatchSubjectMappingsRequest) Reset ¶
func (x *MatchSubjectMappingsRequest) Reset()
func (*MatchSubjectMappingsRequest) String ¶
func (x *MatchSubjectMappingsRequest) String() string
type MatchSubjectMappingsResponse ¶
type MatchSubjectMappingsResponse struct { SubjectMappings []*policy.SubjectMapping `protobuf:"bytes,1,rep,name=subject_mappings,json=subjectMappings,proto3" json:"subject_mappings,omitempty"` // contains filtered or unexported fields }
func (*MatchSubjectMappingsResponse) Descriptor
deprecated
func (*MatchSubjectMappingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MatchSubjectMappingsResponse.ProtoReflect.Descriptor instead.
func (*MatchSubjectMappingsResponse) GetSubjectMappings ¶
func (x *MatchSubjectMappingsResponse) GetSubjectMappings() []*policy.SubjectMapping
func (*MatchSubjectMappingsResponse) ProtoMessage ¶
func (*MatchSubjectMappingsResponse) ProtoMessage()
func (*MatchSubjectMappingsResponse) ProtoReflect ¶
func (x *MatchSubjectMappingsResponse) ProtoReflect() protoreflect.Message
func (*MatchSubjectMappingsResponse) Reset ¶
func (x *MatchSubjectMappingsResponse) Reset()
func (*MatchSubjectMappingsResponse) String ¶
func (x *MatchSubjectMappingsResponse) String() string
type SubjectConditionSetCreate ¶
type SubjectConditionSetCreate struct { // Required SubjectSets []*policy.SubjectSet `protobuf:"bytes,1,rep,name=subject_sets,json=subjectSets,proto3" json:"subject_sets,omitempty"` // Optional // Common metadata Metadata *common.MetadataMutable `protobuf:"bytes,100,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*SubjectConditionSetCreate) Descriptor
deprecated
func (*SubjectConditionSetCreate) Descriptor() ([]byte, []int)
Deprecated: Use SubjectConditionSetCreate.ProtoReflect.Descriptor instead.
func (*SubjectConditionSetCreate) GetMetadata ¶
func (x *SubjectConditionSetCreate) GetMetadata() *common.MetadataMutable
func (*SubjectConditionSetCreate) GetSubjectSets ¶
func (x *SubjectConditionSetCreate) GetSubjectSets() []*policy.SubjectSet
func (*SubjectConditionSetCreate) ProtoMessage ¶
func (*SubjectConditionSetCreate) ProtoMessage()
func (*SubjectConditionSetCreate) ProtoReflect ¶
func (x *SubjectConditionSetCreate) ProtoReflect() protoreflect.Message
func (*SubjectConditionSetCreate) Reset ¶
func (x *SubjectConditionSetCreate) Reset()
func (*SubjectConditionSetCreate) String ¶
func (x *SubjectConditionSetCreate) String() string
type SubjectMappingServiceClient ¶
type SubjectMappingServiceClient interface { // Find matching Subject Mappings for a given Subject MatchSubjectMappings(ctx context.Context, in *MatchSubjectMappingsRequest, opts ...grpc.CallOption) (*MatchSubjectMappingsResponse, error) ListSubjectMappings(ctx context.Context, in *ListSubjectMappingsRequest, opts ...grpc.CallOption) (*ListSubjectMappingsResponse, error) GetSubjectMapping(ctx context.Context, in *GetSubjectMappingRequest, opts ...grpc.CallOption) (*GetSubjectMappingResponse, error) CreateSubjectMapping(ctx context.Context, in *CreateSubjectMappingRequest, opts ...grpc.CallOption) (*CreateSubjectMappingResponse, error) UpdateSubjectMapping(ctx context.Context, in *UpdateSubjectMappingRequest, opts ...grpc.CallOption) (*UpdateSubjectMappingResponse, error) DeleteSubjectMapping(ctx context.Context, in *DeleteSubjectMappingRequest, opts ...grpc.CallOption) (*DeleteSubjectMappingResponse, error) ListSubjectConditionSets(ctx context.Context, in *ListSubjectConditionSetsRequest, opts ...grpc.CallOption) (*ListSubjectConditionSetsResponse, error) GetSubjectConditionSet(ctx context.Context, in *GetSubjectConditionSetRequest, opts ...grpc.CallOption) (*GetSubjectConditionSetResponse, error) CreateSubjectConditionSet(ctx context.Context, in *CreateSubjectConditionSetRequest, opts ...grpc.CallOption) (*CreateSubjectConditionSetResponse, error) UpdateSubjectConditionSet(ctx context.Context, in *UpdateSubjectConditionSetRequest, opts ...grpc.CallOption) (*UpdateSubjectConditionSetResponse, error) DeleteSubjectConditionSet(ctx context.Context, in *DeleteSubjectConditionSetRequest, opts ...grpc.CallOption) (*DeleteSubjectConditionSetResponse, error) DeleteAllUnmappedSubjectConditionSets(ctx context.Context, in *DeleteAllUnmappedSubjectConditionSetsRequest, opts ...grpc.CallOption) (*DeleteAllUnmappedSubjectConditionSetsResponse, error) }
SubjectMappingServiceClient is the client API for SubjectMappingService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSubjectMappingServiceClient ¶
func NewSubjectMappingServiceClient(cc grpc.ClientConnInterface) SubjectMappingServiceClient
type SubjectMappingServiceServer ¶
type SubjectMappingServiceServer interface { // Find matching Subject Mappings for a given Subject MatchSubjectMappings(context.Context, *MatchSubjectMappingsRequest) (*MatchSubjectMappingsResponse, error) ListSubjectMappings(context.Context, *ListSubjectMappingsRequest) (*ListSubjectMappingsResponse, error) GetSubjectMapping(context.Context, *GetSubjectMappingRequest) (*GetSubjectMappingResponse, error) CreateSubjectMapping(context.Context, *CreateSubjectMappingRequest) (*CreateSubjectMappingResponse, error) UpdateSubjectMapping(context.Context, *UpdateSubjectMappingRequest) (*UpdateSubjectMappingResponse, error) DeleteSubjectMapping(context.Context, *DeleteSubjectMappingRequest) (*DeleteSubjectMappingResponse, error) ListSubjectConditionSets(context.Context, *ListSubjectConditionSetsRequest) (*ListSubjectConditionSetsResponse, error) GetSubjectConditionSet(context.Context, *GetSubjectConditionSetRequest) (*GetSubjectConditionSetResponse, error) CreateSubjectConditionSet(context.Context, *CreateSubjectConditionSetRequest) (*CreateSubjectConditionSetResponse, error) UpdateSubjectConditionSet(context.Context, *UpdateSubjectConditionSetRequest) (*UpdateSubjectConditionSetResponse, error) DeleteSubjectConditionSet(context.Context, *DeleteSubjectConditionSetRequest) (*DeleteSubjectConditionSetResponse, error) DeleteAllUnmappedSubjectConditionSets(context.Context, *DeleteAllUnmappedSubjectConditionSetsRequest) (*DeleteAllUnmappedSubjectConditionSetsResponse, error) // contains filtered or unexported methods }
SubjectMappingServiceServer is the server API for SubjectMappingService service. All implementations must embed UnimplementedSubjectMappingServiceServer for forward compatibility
type UnimplementedSubjectMappingServiceServer ¶
type UnimplementedSubjectMappingServiceServer struct { }
UnimplementedSubjectMappingServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedSubjectMappingServiceServer) CreateSubjectConditionSet ¶
func (UnimplementedSubjectMappingServiceServer) CreateSubjectConditionSet(context.Context, *CreateSubjectConditionSetRequest) (*CreateSubjectConditionSetResponse, error)
func (UnimplementedSubjectMappingServiceServer) CreateSubjectMapping ¶
func (UnimplementedSubjectMappingServiceServer) CreateSubjectMapping(context.Context, *CreateSubjectMappingRequest) (*CreateSubjectMappingResponse, error)
func (UnimplementedSubjectMappingServiceServer) DeleteAllUnmappedSubjectConditionSets ¶ added in v0.2.19
func (UnimplementedSubjectMappingServiceServer) DeleteAllUnmappedSubjectConditionSets(context.Context, *DeleteAllUnmappedSubjectConditionSetsRequest) (*DeleteAllUnmappedSubjectConditionSetsResponse, error)
func (UnimplementedSubjectMappingServiceServer) DeleteSubjectConditionSet ¶
func (UnimplementedSubjectMappingServiceServer) DeleteSubjectConditionSet(context.Context, *DeleteSubjectConditionSetRequest) (*DeleteSubjectConditionSetResponse, error)
func (UnimplementedSubjectMappingServiceServer) DeleteSubjectMapping ¶
func (UnimplementedSubjectMappingServiceServer) DeleteSubjectMapping(context.Context, *DeleteSubjectMappingRequest) (*DeleteSubjectMappingResponse, error)
func (UnimplementedSubjectMappingServiceServer) GetSubjectConditionSet ¶
func (UnimplementedSubjectMappingServiceServer) GetSubjectConditionSet(context.Context, *GetSubjectConditionSetRequest) (*GetSubjectConditionSetResponse, error)
func (UnimplementedSubjectMappingServiceServer) GetSubjectMapping ¶
func (UnimplementedSubjectMappingServiceServer) GetSubjectMapping(context.Context, *GetSubjectMappingRequest) (*GetSubjectMappingResponse, error)
func (UnimplementedSubjectMappingServiceServer) ListSubjectConditionSets ¶
func (UnimplementedSubjectMappingServiceServer) ListSubjectConditionSets(context.Context, *ListSubjectConditionSetsRequest) (*ListSubjectConditionSetsResponse, error)
func (UnimplementedSubjectMappingServiceServer) ListSubjectMappings ¶
func (UnimplementedSubjectMappingServiceServer) ListSubjectMappings(context.Context, *ListSubjectMappingsRequest) (*ListSubjectMappingsResponse, error)
func (UnimplementedSubjectMappingServiceServer) MatchSubjectMappings ¶
func (UnimplementedSubjectMappingServiceServer) MatchSubjectMappings(context.Context, *MatchSubjectMappingsRequest) (*MatchSubjectMappingsResponse, error)
func (UnimplementedSubjectMappingServiceServer) UpdateSubjectConditionSet ¶
func (UnimplementedSubjectMappingServiceServer) UpdateSubjectConditionSet(context.Context, *UpdateSubjectConditionSetRequest) (*UpdateSubjectConditionSetResponse, error)
func (UnimplementedSubjectMappingServiceServer) UpdateSubjectMapping ¶
func (UnimplementedSubjectMappingServiceServer) UpdateSubjectMapping(context.Context, *UpdateSubjectMappingRequest) (*UpdateSubjectMappingResponse, error)
type UnsafeSubjectMappingServiceServer ¶
type UnsafeSubjectMappingServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSubjectMappingServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SubjectMappingServiceServer will result in compilation errors.
type UpdateSubjectConditionSetRequest ¶
type UpdateSubjectConditionSetRequest struct { // Required Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Optional // If provided, replaces entire existing structure of Subject Sets, Condition Groups, & Conditions SubjectSets []*policy.SubjectSet `protobuf:"bytes,2,rep,name=subject_sets,json=subjectSets,proto3" json:"subject_sets,omitempty"` // Common metadata Metadata *common.MetadataMutable `protobuf:"bytes,100,opt,name=metadata,proto3" json:"metadata,omitempty"` MetadataUpdateBehavior common.MetadataUpdateEnum `` /* 163-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateSubjectConditionSetRequest) Descriptor
deprecated
func (*UpdateSubjectConditionSetRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSubjectConditionSetRequest.ProtoReflect.Descriptor instead.
func (*UpdateSubjectConditionSetRequest) GetId ¶
func (x *UpdateSubjectConditionSetRequest) GetId() string
func (*UpdateSubjectConditionSetRequest) GetMetadata ¶
func (x *UpdateSubjectConditionSetRequest) GetMetadata() *common.MetadataMutable
func (*UpdateSubjectConditionSetRequest) GetMetadataUpdateBehavior ¶
func (x *UpdateSubjectConditionSetRequest) GetMetadataUpdateBehavior() common.MetadataUpdateEnum
func (*UpdateSubjectConditionSetRequest) GetSubjectSets ¶
func (x *UpdateSubjectConditionSetRequest) GetSubjectSets() []*policy.SubjectSet
func (*UpdateSubjectConditionSetRequest) ProtoMessage ¶
func (*UpdateSubjectConditionSetRequest) ProtoMessage()
func (*UpdateSubjectConditionSetRequest) ProtoReflect ¶
func (x *UpdateSubjectConditionSetRequest) ProtoReflect() protoreflect.Message
func (*UpdateSubjectConditionSetRequest) Reset ¶
func (x *UpdateSubjectConditionSetRequest) Reset()
func (*UpdateSubjectConditionSetRequest) String ¶
func (x *UpdateSubjectConditionSetRequest) String() string
type UpdateSubjectConditionSetResponse ¶
type UpdateSubjectConditionSetResponse struct { // Only ID of updated Subject Condition Set provided SubjectConditionSet *policy.SubjectConditionSet `protobuf:"bytes,1,opt,name=subject_condition_set,json=subjectConditionSet,proto3" json:"subject_condition_set,omitempty"` // contains filtered or unexported fields }
func (*UpdateSubjectConditionSetResponse) Descriptor
deprecated
func (*UpdateSubjectConditionSetResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSubjectConditionSetResponse.ProtoReflect.Descriptor instead.
func (*UpdateSubjectConditionSetResponse) GetSubjectConditionSet ¶
func (x *UpdateSubjectConditionSetResponse) GetSubjectConditionSet() *policy.SubjectConditionSet
func (*UpdateSubjectConditionSetResponse) ProtoMessage ¶
func (*UpdateSubjectConditionSetResponse) ProtoMessage()
func (*UpdateSubjectConditionSetResponse) ProtoReflect ¶
func (x *UpdateSubjectConditionSetResponse) ProtoReflect() protoreflect.Message
func (*UpdateSubjectConditionSetResponse) Reset ¶
func (x *UpdateSubjectConditionSetResponse) Reset()
func (*UpdateSubjectConditionSetResponse) String ¶
func (x *UpdateSubjectConditionSetResponse) String() string
type UpdateSubjectMappingRequest ¶
type UpdateSubjectMappingRequest struct { // Required Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Optional // Replaces the existing SubjectConditionSet id with a new one SubjectConditionSetId string `` /* 128-byte string literal not displayed */ // Optional // Replaces entire list of actions permitted by subjects Actions []*policy.Action `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty"` // Common metadata Metadata *common.MetadataMutable `protobuf:"bytes,100,opt,name=metadata,proto3" json:"metadata,omitempty"` MetadataUpdateBehavior common.MetadataUpdateEnum `` /* 163-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateSubjectMappingRequest) Descriptor
deprecated
func (*UpdateSubjectMappingRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSubjectMappingRequest.ProtoReflect.Descriptor instead.
func (*UpdateSubjectMappingRequest) GetActions ¶
func (x *UpdateSubjectMappingRequest) GetActions() []*policy.Action
func (*UpdateSubjectMappingRequest) GetId ¶
func (x *UpdateSubjectMappingRequest) GetId() string
func (*UpdateSubjectMappingRequest) GetMetadata ¶
func (x *UpdateSubjectMappingRequest) GetMetadata() *common.MetadataMutable
func (*UpdateSubjectMappingRequest) GetMetadataUpdateBehavior ¶
func (x *UpdateSubjectMappingRequest) GetMetadataUpdateBehavior() common.MetadataUpdateEnum
func (*UpdateSubjectMappingRequest) GetSubjectConditionSetId ¶
func (x *UpdateSubjectMappingRequest) GetSubjectConditionSetId() string
func (*UpdateSubjectMappingRequest) ProtoMessage ¶
func (*UpdateSubjectMappingRequest) ProtoMessage()
func (*UpdateSubjectMappingRequest) ProtoReflect ¶
func (x *UpdateSubjectMappingRequest) ProtoReflect() protoreflect.Message
func (*UpdateSubjectMappingRequest) Reset ¶
func (x *UpdateSubjectMappingRequest) Reset()
func (*UpdateSubjectMappingRequest) String ¶
func (x *UpdateSubjectMappingRequest) String() string
type UpdateSubjectMappingResponse ¶
type UpdateSubjectMappingResponse struct { // Only ID of the updated Subject Mapping provided SubjectMapping *policy.SubjectMapping `protobuf:"bytes,1,opt,name=subject_mapping,json=subjectMapping,proto3" json:"subject_mapping,omitempty"` // contains filtered or unexported fields }
func (*UpdateSubjectMappingResponse) Descriptor
deprecated
func (*UpdateSubjectMappingResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSubjectMappingResponse.ProtoReflect.Descriptor instead.
func (*UpdateSubjectMappingResponse) GetSubjectMapping ¶
func (x *UpdateSubjectMappingResponse) GetSubjectMapping() *policy.SubjectMapping
func (*UpdateSubjectMappingResponse) ProtoMessage ¶
func (*UpdateSubjectMappingResponse) ProtoMessage()
func (*UpdateSubjectMappingResponse) ProtoReflect ¶
func (x *UpdateSubjectMappingResponse) ProtoReflect() protoreflect.Message
func (*UpdateSubjectMappingResponse) Reset ¶
func (x *UpdateSubjectMappingResponse) Reset()
func (*UpdateSubjectMappingResponse) String ¶
func (x *UpdateSubjectMappingResponse) String() string