Documentation ¶
Index ¶
- Variables
- func RegisterEntitlementsReaderServiceServer(s grpc.ServiceRegistrar, srv EntitlementsReaderServiceServer)
- func RegisterGrantsReaderServiceServer(s grpc.ServiceRegistrar, srv GrantsReaderServiceServer)
- func RegisterResourceTypesReaderServiceServer(s grpc.ServiceRegistrar, srv ResourceTypesReaderServiceServer)
- func RegisterResourcesReaderServiceServer(s grpc.ServiceRegistrar, srv ResourcesReaderServiceServer)
- type EntitlementsReaderServiceClient
- type EntitlementsReaderServiceGetEntitlementRequest
- func (*EntitlementsReaderServiceGetEntitlementRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EntitlementsReaderServiceGetEntitlementRequest) GetEntitlementId() string
- func (*EntitlementsReaderServiceGetEntitlementRequest) ProtoMessage()
- func (x *EntitlementsReaderServiceGetEntitlementRequest) ProtoReflect() protoreflect.Message
- func (x *EntitlementsReaderServiceGetEntitlementRequest) Reset()
- func (x *EntitlementsReaderServiceGetEntitlementRequest) String() string
- func (m *EntitlementsReaderServiceGetEntitlementRequest) Validate() error
- func (m *EntitlementsReaderServiceGetEntitlementRequest) ValidateAll() error
- type EntitlementsReaderServiceGetEntitlementRequestMultiError
- type EntitlementsReaderServiceGetEntitlementRequestValidationError
- func (e EntitlementsReaderServiceGetEntitlementRequestValidationError) Cause() error
- func (e EntitlementsReaderServiceGetEntitlementRequestValidationError) Error() string
- func (e EntitlementsReaderServiceGetEntitlementRequestValidationError) ErrorName() string
- func (e EntitlementsReaderServiceGetEntitlementRequestValidationError) Field() string
- func (e EntitlementsReaderServiceGetEntitlementRequestValidationError) Key() bool
- func (e EntitlementsReaderServiceGetEntitlementRequestValidationError) Reason() string
- type EntitlementsReaderServiceGetEntitlementResponse
- func (*EntitlementsReaderServiceGetEntitlementResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EntitlementsReaderServiceGetEntitlementResponse) GetEntitlement() *v2.Entitlement
- func (*EntitlementsReaderServiceGetEntitlementResponse) ProtoMessage()
- func (x *EntitlementsReaderServiceGetEntitlementResponse) ProtoReflect() protoreflect.Message
- func (x *EntitlementsReaderServiceGetEntitlementResponse) Reset()
- func (x *EntitlementsReaderServiceGetEntitlementResponse) String() string
- func (m *EntitlementsReaderServiceGetEntitlementResponse) Validate() error
- func (m *EntitlementsReaderServiceGetEntitlementResponse) ValidateAll() error
- type EntitlementsReaderServiceGetEntitlementResponseMultiError
- type EntitlementsReaderServiceGetEntitlementResponseValidationError
- func (e EntitlementsReaderServiceGetEntitlementResponseValidationError) Cause() error
- func (e EntitlementsReaderServiceGetEntitlementResponseValidationError) Error() string
- func (e EntitlementsReaderServiceGetEntitlementResponseValidationError) ErrorName() string
- func (e EntitlementsReaderServiceGetEntitlementResponseValidationError) Field() string
- func (e EntitlementsReaderServiceGetEntitlementResponseValidationError) Key() bool
- func (e EntitlementsReaderServiceGetEntitlementResponseValidationError) Reason() string
- type EntitlementsReaderServiceServer
- type GrantsReaderServiceClient
- type GrantsReaderServiceGetGrantRequest
- func (*GrantsReaderServiceGetGrantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GrantsReaderServiceGetGrantRequest) GetGrantId() string
- func (*GrantsReaderServiceGetGrantRequest) ProtoMessage()
- func (x *GrantsReaderServiceGetGrantRequest) ProtoReflect() protoreflect.Message
- func (x *GrantsReaderServiceGetGrantRequest) Reset()
- func (x *GrantsReaderServiceGetGrantRequest) String() string
- func (m *GrantsReaderServiceGetGrantRequest) Validate() error
- func (m *GrantsReaderServiceGetGrantRequest) ValidateAll() error
- type GrantsReaderServiceGetGrantRequestMultiError
- type GrantsReaderServiceGetGrantRequestValidationError
- func (e GrantsReaderServiceGetGrantRequestValidationError) Cause() error
- func (e GrantsReaderServiceGetGrantRequestValidationError) Error() string
- func (e GrantsReaderServiceGetGrantRequestValidationError) ErrorName() string
- func (e GrantsReaderServiceGetGrantRequestValidationError) Field() string
- func (e GrantsReaderServiceGetGrantRequestValidationError) Key() bool
- func (e GrantsReaderServiceGetGrantRequestValidationError) Reason() string
- type GrantsReaderServiceGetGrantResponse
- func (*GrantsReaderServiceGetGrantResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GrantsReaderServiceGetGrantResponse) GetGrant() *v2.Grant
- func (*GrantsReaderServiceGetGrantResponse) ProtoMessage()
- func (x *GrantsReaderServiceGetGrantResponse) ProtoReflect() protoreflect.Message
- func (x *GrantsReaderServiceGetGrantResponse) Reset()
- func (x *GrantsReaderServiceGetGrantResponse) String() string
- func (m *GrantsReaderServiceGetGrantResponse) Validate() error
- func (m *GrantsReaderServiceGetGrantResponse) ValidateAll() error
- type GrantsReaderServiceGetGrantResponseMultiError
- type GrantsReaderServiceGetGrantResponseValidationError
- func (e GrantsReaderServiceGetGrantResponseValidationError) Cause() error
- func (e GrantsReaderServiceGetGrantResponseValidationError) Error() string
- func (e GrantsReaderServiceGetGrantResponseValidationError) ErrorName() string
- func (e GrantsReaderServiceGetGrantResponseValidationError) Field() string
- func (e GrantsReaderServiceGetGrantResponseValidationError) Key() bool
- func (e GrantsReaderServiceGetGrantResponseValidationError) Reason() string
- type GrantsReaderServiceListGrantsForEntitlementRequest
- func (*GrantsReaderServiceListGrantsForEntitlementRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GrantsReaderServiceListGrantsForEntitlementRequest) GetAnnotations() []*anypb.Any
- func (x *GrantsReaderServiceListGrantsForEntitlementRequest) GetEntitlement() *v2.Entitlement
- func (x *GrantsReaderServiceListGrantsForEntitlementRequest) GetPageSize() uint32
- func (x *GrantsReaderServiceListGrantsForEntitlementRequest) GetPageToken() string
- func (x *GrantsReaderServiceListGrantsForEntitlementRequest) GetPrincipalId() *v2.ResourceId
- func (*GrantsReaderServiceListGrantsForEntitlementRequest) ProtoMessage()
- func (x *GrantsReaderServiceListGrantsForEntitlementRequest) ProtoReflect() protoreflect.Message
- func (x *GrantsReaderServiceListGrantsForEntitlementRequest) Reset()
- func (x *GrantsReaderServiceListGrantsForEntitlementRequest) String() string
- func (m *GrantsReaderServiceListGrantsForEntitlementRequest) Validate() error
- func (m *GrantsReaderServiceListGrantsForEntitlementRequest) ValidateAll() error
- type GrantsReaderServiceListGrantsForEntitlementRequestMultiError
- type GrantsReaderServiceListGrantsForEntitlementRequestValidationError
- func (e GrantsReaderServiceListGrantsForEntitlementRequestValidationError) Cause() error
- func (e GrantsReaderServiceListGrantsForEntitlementRequestValidationError) Error() string
- func (e GrantsReaderServiceListGrantsForEntitlementRequestValidationError) ErrorName() string
- func (e GrantsReaderServiceListGrantsForEntitlementRequestValidationError) Field() string
- func (e GrantsReaderServiceListGrantsForEntitlementRequestValidationError) Key() bool
- func (e GrantsReaderServiceListGrantsForEntitlementRequestValidationError) Reason() string
- type GrantsReaderServiceListGrantsForEntitlementResponse
- func (*GrantsReaderServiceListGrantsForEntitlementResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GrantsReaderServiceListGrantsForEntitlementResponse) GetList() []*v2.Grant
- func (x *GrantsReaderServiceListGrantsForEntitlementResponse) GetNextPageToken() string
- func (*GrantsReaderServiceListGrantsForEntitlementResponse) ProtoMessage()
- func (x *GrantsReaderServiceListGrantsForEntitlementResponse) ProtoReflect() protoreflect.Message
- func (x *GrantsReaderServiceListGrantsForEntitlementResponse) Reset()
- func (x *GrantsReaderServiceListGrantsForEntitlementResponse) String() string
- func (m *GrantsReaderServiceListGrantsForEntitlementResponse) Validate() error
- func (m *GrantsReaderServiceListGrantsForEntitlementResponse) ValidateAll() error
- type GrantsReaderServiceListGrantsForEntitlementResponseMultiError
- type GrantsReaderServiceListGrantsForEntitlementResponseValidationError
- func (e GrantsReaderServiceListGrantsForEntitlementResponseValidationError) Cause() error
- func (e GrantsReaderServiceListGrantsForEntitlementResponseValidationError) Error() string
- func (e GrantsReaderServiceListGrantsForEntitlementResponseValidationError) ErrorName() string
- func (e GrantsReaderServiceListGrantsForEntitlementResponseValidationError) Field() string
- func (e GrantsReaderServiceListGrantsForEntitlementResponseValidationError) Key() bool
- func (e GrantsReaderServiceListGrantsForEntitlementResponseValidationError) Reason() string
- type GrantsReaderServiceListGrantsForResourceTypeRequest
- func (*GrantsReaderServiceListGrantsForResourceTypeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GrantsReaderServiceListGrantsForResourceTypeRequest) GetAnnotations() []*anypb.Any
- func (x *GrantsReaderServiceListGrantsForResourceTypeRequest) GetPageSize() uint32
- func (x *GrantsReaderServiceListGrantsForResourceTypeRequest) GetPageToken() string
- func (x *GrantsReaderServiceListGrantsForResourceTypeRequest) GetResourceTypeId() string
- func (*GrantsReaderServiceListGrantsForResourceTypeRequest) ProtoMessage()
- func (x *GrantsReaderServiceListGrantsForResourceTypeRequest) ProtoReflect() protoreflect.Message
- func (x *GrantsReaderServiceListGrantsForResourceTypeRequest) Reset()
- func (x *GrantsReaderServiceListGrantsForResourceTypeRequest) String() string
- func (m *GrantsReaderServiceListGrantsForResourceTypeRequest) Validate() error
- func (m *GrantsReaderServiceListGrantsForResourceTypeRequest) ValidateAll() error
- type GrantsReaderServiceListGrantsForResourceTypeRequestMultiError
- type GrantsReaderServiceListGrantsForResourceTypeRequestValidationError
- func (e GrantsReaderServiceListGrantsForResourceTypeRequestValidationError) Cause() error
- func (e GrantsReaderServiceListGrantsForResourceTypeRequestValidationError) Error() string
- func (e GrantsReaderServiceListGrantsForResourceTypeRequestValidationError) ErrorName() string
- func (e GrantsReaderServiceListGrantsForResourceTypeRequestValidationError) Field() string
- func (e GrantsReaderServiceListGrantsForResourceTypeRequestValidationError) Key() bool
- func (e GrantsReaderServiceListGrantsForResourceTypeRequestValidationError) Reason() string
- type GrantsReaderServiceListGrantsForResourceTypeResponse
- func (*GrantsReaderServiceListGrantsForResourceTypeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GrantsReaderServiceListGrantsForResourceTypeResponse) GetList() []*v2.Grant
- func (x *GrantsReaderServiceListGrantsForResourceTypeResponse) GetNextPageToken() string
- func (*GrantsReaderServiceListGrantsForResourceTypeResponse) ProtoMessage()
- func (x *GrantsReaderServiceListGrantsForResourceTypeResponse) ProtoReflect() protoreflect.Message
- func (x *GrantsReaderServiceListGrantsForResourceTypeResponse) Reset()
- func (x *GrantsReaderServiceListGrantsForResourceTypeResponse) String() string
- func (m *GrantsReaderServiceListGrantsForResourceTypeResponse) Validate() error
- func (m *GrantsReaderServiceListGrantsForResourceTypeResponse) ValidateAll() error
- type GrantsReaderServiceListGrantsForResourceTypeResponseMultiError
- type GrantsReaderServiceListGrantsForResourceTypeResponseValidationError
- func (e GrantsReaderServiceListGrantsForResourceTypeResponseValidationError) Cause() error
- func (e GrantsReaderServiceListGrantsForResourceTypeResponseValidationError) Error() string
- func (e GrantsReaderServiceListGrantsForResourceTypeResponseValidationError) ErrorName() string
- func (e GrantsReaderServiceListGrantsForResourceTypeResponseValidationError) Field() string
- func (e GrantsReaderServiceListGrantsForResourceTypeResponseValidationError) Key() bool
- func (e GrantsReaderServiceListGrantsForResourceTypeResponseValidationError) Reason() string
- type GrantsReaderServiceServer
- type ResourceTypesReaderServiceClient
- type ResourceTypesReaderServiceGetResourceTypeRequest
- func (*ResourceTypesReaderServiceGetResourceTypeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceTypesReaderServiceGetResourceTypeRequest) GetResourceTypeId() string
- func (*ResourceTypesReaderServiceGetResourceTypeRequest) ProtoMessage()
- func (x *ResourceTypesReaderServiceGetResourceTypeRequest) ProtoReflect() protoreflect.Message
- func (x *ResourceTypesReaderServiceGetResourceTypeRequest) Reset()
- func (x *ResourceTypesReaderServiceGetResourceTypeRequest) String() string
- func (m *ResourceTypesReaderServiceGetResourceTypeRequest) Validate() error
- func (m *ResourceTypesReaderServiceGetResourceTypeRequest) ValidateAll() error
- type ResourceTypesReaderServiceGetResourceTypeRequestMultiError
- type ResourceTypesReaderServiceGetResourceTypeRequestValidationError
- func (e ResourceTypesReaderServiceGetResourceTypeRequestValidationError) Cause() error
- func (e ResourceTypesReaderServiceGetResourceTypeRequestValidationError) Error() string
- func (e ResourceTypesReaderServiceGetResourceTypeRequestValidationError) ErrorName() string
- func (e ResourceTypesReaderServiceGetResourceTypeRequestValidationError) Field() string
- func (e ResourceTypesReaderServiceGetResourceTypeRequestValidationError) Key() bool
- func (e ResourceTypesReaderServiceGetResourceTypeRequestValidationError) Reason() string
- type ResourceTypesReaderServiceGetResourceTypeResponse
- func (*ResourceTypesReaderServiceGetResourceTypeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceTypesReaderServiceGetResourceTypeResponse) GetResourceType() *v2.ResourceType
- func (*ResourceTypesReaderServiceGetResourceTypeResponse) ProtoMessage()
- func (x *ResourceTypesReaderServiceGetResourceTypeResponse) ProtoReflect() protoreflect.Message
- func (x *ResourceTypesReaderServiceGetResourceTypeResponse) Reset()
- func (x *ResourceTypesReaderServiceGetResourceTypeResponse) String() string
- func (m *ResourceTypesReaderServiceGetResourceTypeResponse) Validate() error
- func (m *ResourceTypesReaderServiceGetResourceTypeResponse) ValidateAll() error
- type ResourceTypesReaderServiceGetResourceTypeResponseMultiError
- type ResourceTypesReaderServiceGetResourceTypeResponseValidationError
- func (e ResourceTypesReaderServiceGetResourceTypeResponseValidationError) Cause() error
- func (e ResourceTypesReaderServiceGetResourceTypeResponseValidationError) Error() string
- func (e ResourceTypesReaderServiceGetResourceTypeResponseValidationError) ErrorName() string
- func (e ResourceTypesReaderServiceGetResourceTypeResponseValidationError) Field() string
- func (e ResourceTypesReaderServiceGetResourceTypeResponseValidationError) Key() bool
- func (e ResourceTypesReaderServiceGetResourceTypeResponseValidationError) Reason() string
- type ResourceTypesReaderServiceServer
- type ResourcesReaderServiceClient
- type ResourcesReaderServiceGetResourceRequest
- func (*ResourcesReaderServiceGetResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResourcesReaderServiceGetResourceRequest) GetAnnotations() []*anypb.Any
- func (x *ResourcesReaderServiceGetResourceRequest) GetResourceId() *v2.ResourceId
- func (*ResourcesReaderServiceGetResourceRequest) ProtoMessage()
- func (x *ResourcesReaderServiceGetResourceRequest) ProtoReflect() protoreflect.Message
- func (x *ResourcesReaderServiceGetResourceRequest) Reset()
- func (x *ResourcesReaderServiceGetResourceRequest) String() string
- func (m *ResourcesReaderServiceGetResourceRequest) Validate() error
- func (m *ResourcesReaderServiceGetResourceRequest) ValidateAll() error
- type ResourcesReaderServiceGetResourceRequestMultiError
- type ResourcesReaderServiceGetResourceRequestValidationError
- func (e ResourcesReaderServiceGetResourceRequestValidationError) Cause() error
- func (e ResourcesReaderServiceGetResourceRequestValidationError) Error() string
- func (e ResourcesReaderServiceGetResourceRequestValidationError) ErrorName() string
- func (e ResourcesReaderServiceGetResourceRequestValidationError) Field() string
- func (e ResourcesReaderServiceGetResourceRequestValidationError) Key() bool
- func (e ResourcesReaderServiceGetResourceRequestValidationError) Reason() string
- type ResourcesReaderServiceGetResourceResponse
- func (*ResourcesReaderServiceGetResourceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResourcesReaderServiceGetResourceResponse) GetResource() *v2.Resource
- func (*ResourcesReaderServiceGetResourceResponse) ProtoMessage()
- func (x *ResourcesReaderServiceGetResourceResponse) ProtoReflect() protoreflect.Message
- func (x *ResourcesReaderServiceGetResourceResponse) Reset()
- func (x *ResourcesReaderServiceGetResourceResponse) String() string
- func (m *ResourcesReaderServiceGetResourceResponse) Validate() error
- func (m *ResourcesReaderServiceGetResourceResponse) ValidateAll() error
- type ResourcesReaderServiceGetResourceResponseMultiError
- type ResourcesReaderServiceGetResourceResponseValidationError
- func (e ResourcesReaderServiceGetResourceResponseValidationError) Cause() error
- func (e ResourcesReaderServiceGetResourceResponseValidationError) Error() string
- func (e ResourcesReaderServiceGetResourceResponseValidationError) ErrorName() string
- func (e ResourcesReaderServiceGetResourceResponseValidationError) Field() string
- func (e ResourcesReaderServiceGetResourceResponseValidationError) Key() bool
- func (e ResourcesReaderServiceGetResourceResponseValidationError) Reason() string
- type ResourcesReaderServiceServer
- type UnimplementedEntitlementsReaderServiceServer
- type UnimplementedGrantsReaderServiceServer
- func (UnimplementedGrantsReaderServiceServer) GetGrant(context.Context, *GrantsReaderServiceGetGrantRequest) (*GrantsReaderServiceGetGrantResponse, error)
- func (UnimplementedGrantsReaderServiceServer) ListGrantsForEntitlement(context.Context, *GrantsReaderServiceListGrantsForEntitlementRequest) (*GrantsReaderServiceListGrantsForEntitlementResponse, error)
- func (UnimplementedGrantsReaderServiceServer) ListGrantsForResourceType(context.Context, *GrantsReaderServiceListGrantsForResourceTypeRequest) (*GrantsReaderServiceListGrantsForResourceTypeResponse, error)
- type UnimplementedResourceTypesReaderServiceServer
- type UnimplementedResourcesReaderServiceServer
- type UnsafeEntitlementsReaderServiceServer
- type UnsafeGrantsReaderServiceServer
- type UnsafeResourceTypesReaderServiceServer
- type UnsafeResourcesReaderServiceServer
Constants ¶
This section is empty.
Variables ¶
var EntitlementsReaderService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "c1.reader.v2.EntitlementsReaderService", HandlerType: (*EntitlementsReaderServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetEntitlement", Handler: _EntitlementsReaderService_GetEntitlement_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "c1/reader/v2/entitlement.proto", }
EntitlementsReaderService_ServiceDesc is the grpc.ServiceDesc for EntitlementsReaderService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_c1_reader_v2_entitlement_proto protoreflect.FileDescriptor
var File_c1_reader_v2_grant_proto protoreflect.FileDescriptor
var File_c1_reader_v2_resource_proto protoreflect.FileDescriptor
var GrantsReaderService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "c1.reader.v2.GrantsReaderService", HandlerType: (*GrantsReaderServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetGrant", Handler: _GrantsReaderService_GetGrant_Handler, }, { MethodName: "ListGrantsForEntitlement", Handler: _GrantsReaderService_ListGrantsForEntitlement_Handler, }, { MethodName: "ListGrantsForResourceType", Handler: _GrantsReaderService_ListGrantsForResourceType_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "c1/reader/v2/grant.proto", }
GrantsReaderService_ServiceDesc is the grpc.ServiceDesc for GrantsReaderService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ResourceTypesReaderService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "c1.reader.v2.ResourceTypesReaderService", HandlerType: (*ResourceTypesReaderServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetResourceType", Handler: _ResourceTypesReaderService_GetResourceType_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "c1/reader/v2/resource.proto", }
ResourceTypesReaderService_ServiceDesc is the grpc.ServiceDesc for ResourceTypesReaderService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ResourcesReaderService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "c1.reader.v2.ResourcesReaderService", HandlerType: (*ResourcesReaderServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetResource", Handler: _ResourcesReaderService_GetResource_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "c1/reader/v2/resource.proto", }
ResourcesReaderService_ServiceDesc is the grpc.ServiceDesc for ResourcesReaderService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterEntitlementsReaderServiceServer ¶
func RegisterEntitlementsReaderServiceServer(s grpc.ServiceRegistrar, srv EntitlementsReaderServiceServer)
func RegisterGrantsReaderServiceServer ¶
func RegisterGrantsReaderServiceServer(s grpc.ServiceRegistrar, srv GrantsReaderServiceServer)
func RegisterResourceTypesReaderServiceServer ¶
func RegisterResourceTypesReaderServiceServer(s grpc.ServiceRegistrar, srv ResourceTypesReaderServiceServer)
func RegisterResourcesReaderServiceServer ¶
func RegisterResourcesReaderServiceServer(s grpc.ServiceRegistrar, srv ResourcesReaderServiceServer)
Types ¶
type EntitlementsReaderServiceClient ¶
type EntitlementsReaderServiceClient interface {
GetEntitlement(ctx context.Context, in *EntitlementsReaderServiceGetEntitlementRequest, opts ...grpc.CallOption) (*EntitlementsReaderServiceGetEntitlementResponse, error)
}
EntitlementsReaderServiceClient is the client API for EntitlementsReaderService 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 NewEntitlementsReaderServiceClient ¶
func NewEntitlementsReaderServiceClient(cc grpc.ClientConnInterface) EntitlementsReaderServiceClient
type EntitlementsReaderServiceGetEntitlementRequest ¶
type EntitlementsReaderServiceGetEntitlementRequest struct { EntitlementId string `protobuf:"bytes,1,opt,name=entitlement_id,json=entitlementId,proto3" json:"entitlement_id,omitempty"` // contains filtered or unexported fields }
func (*EntitlementsReaderServiceGetEntitlementRequest) Descriptor
deprecated
func (*EntitlementsReaderServiceGetEntitlementRequest) Descriptor() ([]byte, []int)
Deprecated: Use EntitlementsReaderServiceGetEntitlementRequest.ProtoReflect.Descriptor instead.
func (*EntitlementsReaderServiceGetEntitlementRequest) GetEntitlementId ¶
func (x *EntitlementsReaderServiceGetEntitlementRequest) GetEntitlementId() string
func (*EntitlementsReaderServiceGetEntitlementRequest) ProtoMessage ¶
func (*EntitlementsReaderServiceGetEntitlementRequest) ProtoMessage()
func (*EntitlementsReaderServiceGetEntitlementRequest) ProtoReflect ¶
func (x *EntitlementsReaderServiceGetEntitlementRequest) ProtoReflect() protoreflect.Message
func (*EntitlementsReaderServiceGetEntitlementRequest) Reset ¶
func (x *EntitlementsReaderServiceGetEntitlementRequest) Reset()
func (*EntitlementsReaderServiceGetEntitlementRequest) String ¶
func (x *EntitlementsReaderServiceGetEntitlementRequest) String() string
func (*EntitlementsReaderServiceGetEntitlementRequest) Validate ¶
func (m *EntitlementsReaderServiceGetEntitlementRequest) Validate() error
Validate checks the field values on EntitlementsReaderServiceGetEntitlementRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*EntitlementsReaderServiceGetEntitlementRequest) ValidateAll ¶
func (m *EntitlementsReaderServiceGetEntitlementRequest) ValidateAll() error
ValidateAll checks the field values on EntitlementsReaderServiceGetEntitlementRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EntitlementsReaderServiceGetEntitlementRequestMultiError, or nil if none found.
type EntitlementsReaderServiceGetEntitlementRequestMultiError ¶
type EntitlementsReaderServiceGetEntitlementRequestMultiError []error
EntitlementsReaderServiceGetEntitlementRequestMultiError is an error wrapping multiple validation errors returned by EntitlementsReaderServiceGetEntitlementRequest.ValidateAll() if the designated constraints aren't met.
func (EntitlementsReaderServiceGetEntitlementRequestMultiError) AllErrors ¶
func (m EntitlementsReaderServiceGetEntitlementRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EntitlementsReaderServiceGetEntitlementRequestMultiError) Error ¶
func (m EntitlementsReaderServiceGetEntitlementRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EntitlementsReaderServiceGetEntitlementRequestValidationError ¶
type EntitlementsReaderServiceGetEntitlementRequestValidationError struct {
// contains filtered or unexported fields
}
EntitlementsReaderServiceGetEntitlementRequestValidationError is the validation error returned by EntitlementsReaderServiceGetEntitlementRequest.Validate if the designated constraints aren't met.
func (EntitlementsReaderServiceGetEntitlementRequestValidationError) Cause ¶
func (e EntitlementsReaderServiceGetEntitlementRequestValidationError) Cause() error
Cause function returns cause value.
func (EntitlementsReaderServiceGetEntitlementRequestValidationError) Error ¶
func (e EntitlementsReaderServiceGetEntitlementRequestValidationError) Error() string
Error satisfies the builtin error interface
func (EntitlementsReaderServiceGetEntitlementRequestValidationError) ErrorName ¶
func (e EntitlementsReaderServiceGetEntitlementRequestValidationError) ErrorName() string
ErrorName returns error name.
func (EntitlementsReaderServiceGetEntitlementRequestValidationError) Field ¶
func (e EntitlementsReaderServiceGetEntitlementRequestValidationError) Field() string
Field function returns field value.
func (EntitlementsReaderServiceGetEntitlementRequestValidationError) Key ¶
Key function returns key value.
func (EntitlementsReaderServiceGetEntitlementRequestValidationError) Reason ¶
func (e EntitlementsReaderServiceGetEntitlementRequestValidationError) Reason() string
Reason function returns reason value.
type EntitlementsReaderServiceGetEntitlementResponse ¶ added in v0.1.0
type EntitlementsReaderServiceGetEntitlementResponse struct { Entitlement *v2.Entitlement `protobuf:"bytes,1,opt,name=entitlement,proto3" json:"entitlement,omitempty"` // contains filtered or unexported fields }
func (*EntitlementsReaderServiceGetEntitlementResponse) Descriptor
deprecated
added in
v0.1.0
func (*EntitlementsReaderServiceGetEntitlementResponse) Descriptor() ([]byte, []int)
Deprecated: Use EntitlementsReaderServiceGetEntitlementResponse.ProtoReflect.Descriptor instead.
func (*EntitlementsReaderServiceGetEntitlementResponse) GetEntitlement ¶ added in v0.1.0
func (x *EntitlementsReaderServiceGetEntitlementResponse) GetEntitlement() *v2.Entitlement
func (*EntitlementsReaderServiceGetEntitlementResponse) ProtoMessage ¶ added in v0.1.0
func (*EntitlementsReaderServiceGetEntitlementResponse) ProtoMessage()
func (*EntitlementsReaderServiceGetEntitlementResponse) ProtoReflect ¶ added in v0.1.0
func (x *EntitlementsReaderServiceGetEntitlementResponse) ProtoReflect() protoreflect.Message
func (*EntitlementsReaderServiceGetEntitlementResponse) Reset ¶ added in v0.1.0
func (x *EntitlementsReaderServiceGetEntitlementResponse) Reset()
func (*EntitlementsReaderServiceGetEntitlementResponse) String ¶ added in v0.1.0
func (x *EntitlementsReaderServiceGetEntitlementResponse) String() string
func (*EntitlementsReaderServiceGetEntitlementResponse) Validate ¶ added in v0.1.0
func (m *EntitlementsReaderServiceGetEntitlementResponse) Validate() error
Validate checks the field values on EntitlementsReaderServiceGetEntitlementResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*EntitlementsReaderServiceGetEntitlementResponse) ValidateAll ¶ added in v0.1.0
func (m *EntitlementsReaderServiceGetEntitlementResponse) ValidateAll() error
ValidateAll checks the field values on EntitlementsReaderServiceGetEntitlementResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EntitlementsReaderServiceGetEntitlementResponseMultiError, or nil if none found.
type EntitlementsReaderServiceGetEntitlementResponseMultiError ¶ added in v0.1.0
type EntitlementsReaderServiceGetEntitlementResponseMultiError []error
EntitlementsReaderServiceGetEntitlementResponseMultiError is an error wrapping multiple validation errors returned by EntitlementsReaderServiceGetEntitlementResponse.ValidateAll() if the designated constraints aren't met.
func (EntitlementsReaderServiceGetEntitlementResponseMultiError) AllErrors ¶ added in v0.1.0
func (m EntitlementsReaderServiceGetEntitlementResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EntitlementsReaderServiceGetEntitlementResponseMultiError) Error ¶ added in v0.1.0
func (m EntitlementsReaderServiceGetEntitlementResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EntitlementsReaderServiceGetEntitlementResponseValidationError ¶ added in v0.1.0
type EntitlementsReaderServiceGetEntitlementResponseValidationError struct {
// contains filtered or unexported fields
}
EntitlementsReaderServiceGetEntitlementResponseValidationError is the validation error returned by EntitlementsReaderServiceGetEntitlementResponse.Validate if the designated constraints aren't met.
func (EntitlementsReaderServiceGetEntitlementResponseValidationError) Cause ¶ added in v0.1.0
func (e EntitlementsReaderServiceGetEntitlementResponseValidationError) Cause() error
Cause function returns cause value.
func (EntitlementsReaderServiceGetEntitlementResponseValidationError) Error ¶ added in v0.1.0
func (e EntitlementsReaderServiceGetEntitlementResponseValidationError) Error() string
Error satisfies the builtin error interface
func (EntitlementsReaderServiceGetEntitlementResponseValidationError) ErrorName ¶ added in v0.1.0
func (e EntitlementsReaderServiceGetEntitlementResponseValidationError) ErrorName() string
ErrorName returns error name.
func (EntitlementsReaderServiceGetEntitlementResponseValidationError) Field ¶ added in v0.1.0
func (e EntitlementsReaderServiceGetEntitlementResponseValidationError) Field() string
Field function returns field value.
func (EntitlementsReaderServiceGetEntitlementResponseValidationError) Key ¶ added in v0.1.0
Key function returns key value.
func (EntitlementsReaderServiceGetEntitlementResponseValidationError) Reason ¶ added in v0.1.0
func (e EntitlementsReaderServiceGetEntitlementResponseValidationError) Reason() string
Reason function returns reason value.
type EntitlementsReaderServiceServer ¶
type EntitlementsReaderServiceServer interface {
GetEntitlement(context.Context, *EntitlementsReaderServiceGetEntitlementRequest) (*EntitlementsReaderServiceGetEntitlementResponse, error)
}
EntitlementsReaderServiceServer is the server API for EntitlementsReaderService service. All implementations should embed UnimplementedEntitlementsReaderServiceServer for forward compatibility
type GrantsReaderServiceClient ¶
type GrantsReaderServiceClient interface { GetGrant(ctx context.Context, in *GrantsReaderServiceGetGrantRequest, opts ...grpc.CallOption) (*GrantsReaderServiceGetGrantResponse, error) ListGrantsForEntitlement(ctx context.Context, in *GrantsReaderServiceListGrantsForEntitlementRequest, opts ...grpc.CallOption) (*GrantsReaderServiceListGrantsForEntitlementResponse, error) ListGrantsForResourceType(ctx context.Context, in *GrantsReaderServiceListGrantsForResourceTypeRequest, opts ...grpc.CallOption) (*GrantsReaderServiceListGrantsForResourceTypeResponse, error) }
GrantsReaderServiceClient is the client API for GrantsReaderService 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 NewGrantsReaderServiceClient ¶
func NewGrantsReaderServiceClient(cc grpc.ClientConnInterface) GrantsReaderServiceClient
type GrantsReaderServiceGetGrantRequest ¶
type GrantsReaderServiceGetGrantRequest struct { GrantId string `protobuf:"bytes,1,opt,name=grant_id,json=grantId,proto3" json:"grant_id,omitempty"` // contains filtered or unexported fields }
func (*GrantsReaderServiceGetGrantRequest) Descriptor
deprecated
func (*GrantsReaderServiceGetGrantRequest) Descriptor() ([]byte, []int)
Deprecated: Use GrantsReaderServiceGetGrantRequest.ProtoReflect.Descriptor instead.
func (*GrantsReaderServiceGetGrantRequest) GetGrantId ¶
func (x *GrantsReaderServiceGetGrantRequest) GetGrantId() string
func (*GrantsReaderServiceGetGrantRequest) ProtoMessage ¶
func (*GrantsReaderServiceGetGrantRequest) ProtoMessage()
func (*GrantsReaderServiceGetGrantRequest) ProtoReflect ¶
func (x *GrantsReaderServiceGetGrantRequest) ProtoReflect() protoreflect.Message
func (*GrantsReaderServiceGetGrantRequest) Reset ¶
func (x *GrantsReaderServiceGetGrantRequest) Reset()
func (*GrantsReaderServiceGetGrantRequest) String ¶
func (x *GrantsReaderServiceGetGrantRequest) String() string
func (*GrantsReaderServiceGetGrantRequest) Validate ¶
func (m *GrantsReaderServiceGetGrantRequest) Validate() error
Validate checks the field values on GrantsReaderServiceGetGrantRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GrantsReaderServiceGetGrantRequest) ValidateAll ¶
func (m *GrantsReaderServiceGetGrantRequest) ValidateAll() error
ValidateAll checks the field values on GrantsReaderServiceGetGrantRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GrantsReaderServiceGetGrantRequestMultiError, or nil if none found.
type GrantsReaderServiceGetGrantRequestMultiError ¶
type GrantsReaderServiceGetGrantRequestMultiError []error
GrantsReaderServiceGetGrantRequestMultiError is an error wrapping multiple validation errors returned by GrantsReaderServiceGetGrantRequest.ValidateAll() if the designated constraints aren't met.
func (GrantsReaderServiceGetGrantRequestMultiError) AllErrors ¶
func (m GrantsReaderServiceGetGrantRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GrantsReaderServiceGetGrantRequestMultiError) Error ¶
func (m GrantsReaderServiceGetGrantRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GrantsReaderServiceGetGrantRequestValidationError ¶
type GrantsReaderServiceGetGrantRequestValidationError struct {
// contains filtered or unexported fields
}
GrantsReaderServiceGetGrantRequestValidationError is the validation error returned by GrantsReaderServiceGetGrantRequest.Validate if the designated constraints aren't met.
func (GrantsReaderServiceGetGrantRequestValidationError) Cause ¶
func (e GrantsReaderServiceGetGrantRequestValidationError) Cause() error
Cause function returns cause value.
func (GrantsReaderServiceGetGrantRequestValidationError) Error ¶
func (e GrantsReaderServiceGetGrantRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GrantsReaderServiceGetGrantRequestValidationError) ErrorName ¶
func (e GrantsReaderServiceGetGrantRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GrantsReaderServiceGetGrantRequestValidationError) Field ¶
func (e GrantsReaderServiceGetGrantRequestValidationError) Field() string
Field function returns field value.
func (GrantsReaderServiceGetGrantRequestValidationError) Key ¶
func (e GrantsReaderServiceGetGrantRequestValidationError) Key() bool
Key function returns key value.
func (GrantsReaderServiceGetGrantRequestValidationError) Reason ¶
func (e GrantsReaderServiceGetGrantRequestValidationError) Reason() string
Reason function returns reason value.
type GrantsReaderServiceGetGrantResponse ¶ added in v0.1.0
type GrantsReaderServiceGetGrantResponse struct { Grant *v2.Grant `protobuf:"bytes,1,opt,name=grant,proto3" json:"grant,omitempty"` // contains filtered or unexported fields }
func (*GrantsReaderServiceGetGrantResponse) Descriptor
deprecated
added in
v0.1.0
func (*GrantsReaderServiceGetGrantResponse) Descriptor() ([]byte, []int)
Deprecated: Use GrantsReaderServiceGetGrantResponse.ProtoReflect.Descriptor instead.
func (*GrantsReaderServiceGetGrantResponse) GetGrant ¶ added in v0.1.0
func (x *GrantsReaderServiceGetGrantResponse) GetGrant() *v2.Grant
func (*GrantsReaderServiceGetGrantResponse) ProtoMessage ¶ added in v0.1.0
func (*GrantsReaderServiceGetGrantResponse) ProtoMessage()
func (*GrantsReaderServiceGetGrantResponse) ProtoReflect ¶ added in v0.1.0
func (x *GrantsReaderServiceGetGrantResponse) ProtoReflect() protoreflect.Message
func (*GrantsReaderServiceGetGrantResponse) Reset ¶ added in v0.1.0
func (x *GrantsReaderServiceGetGrantResponse) Reset()
func (*GrantsReaderServiceGetGrantResponse) String ¶ added in v0.1.0
func (x *GrantsReaderServiceGetGrantResponse) String() string
func (*GrantsReaderServiceGetGrantResponse) Validate ¶ added in v0.1.0
func (m *GrantsReaderServiceGetGrantResponse) Validate() error
Validate checks the field values on GrantsReaderServiceGetGrantResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GrantsReaderServiceGetGrantResponse) ValidateAll ¶ added in v0.1.0
func (m *GrantsReaderServiceGetGrantResponse) ValidateAll() error
ValidateAll checks the field values on GrantsReaderServiceGetGrantResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GrantsReaderServiceGetGrantResponseMultiError, or nil if none found.
type GrantsReaderServiceGetGrantResponseMultiError ¶ added in v0.1.0
type GrantsReaderServiceGetGrantResponseMultiError []error
GrantsReaderServiceGetGrantResponseMultiError is an error wrapping multiple validation errors returned by GrantsReaderServiceGetGrantResponse.ValidateAll() if the designated constraints aren't met.
func (GrantsReaderServiceGetGrantResponseMultiError) AllErrors ¶ added in v0.1.0
func (m GrantsReaderServiceGetGrantResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GrantsReaderServiceGetGrantResponseMultiError) Error ¶ added in v0.1.0
func (m GrantsReaderServiceGetGrantResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GrantsReaderServiceGetGrantResponseValidationError ¶ added in v0.1.0
type GrantsReaderServiceGetGrantResponseValidationError struct {
// contains filtered or unexported fields
}
GrantsReaderServiceGetGrantResponseValidationError is the validation error returned by GrantsReaderServiceGetGrantResponse.Validate if the designated constraints aren't met.
func (GrantsReaderServiceGetGrantResponseValidationError) Cause ¶ added in v0.1.0
func (e GrantsReaderServiceGetGrantResponseValidationError) Cause() error
Cause function returns cause value.
func (GrantsReaderServiceGetGrantResponseValidationError) Error ¶ added in v0.1.0
func (e GrantsReaderServiceGetGrantResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GrantsReaderServiceGetGrantResponseValidationError) ErrorName ¶ added in v0.1.0
func (e GrantsReaderServiceGetGrantResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GrantsReaderServiceGetGrantResponseValidationError) Field ¶ added in v0.1.0
func (e GrantsReaderServiceGetGrantResponseValidationError) Field() string
Field function returns field value.
func (GrantsReaderServiceGetGrantResponseValidationError) Key ¶ added in v0.1.0
func (e GrantsReaderServiceGetGrantResponseValidationError) Key() bool
Key function returns key value.
func (GrantsReaderServiceGetGrantResponseValidationError) Reason ¶ added in v0.1.0
func (e GrantsReaderServiceGetGrantResponseValidationError) Reason() string
Reason function returns reason value.
type GrantsReaderServiceListGrantsForEntitlementRequest ¶
type GrantsReaderServiceListGrantsForEntitlementRequest struct { Entitlement *v2.Entitlement `protobuf:"bytes,1,opt,name=entitlement,proto3" json:"entitlement,omitempty"` PrincipalId *v2.ResourceId `protobuf:"bytes,5,opt,name=principal_id,json=principalId,proto3" json:"principal_id,omitempty"` PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` Annotations []*anypb.Any `protobuf:"bytes,4,rep,name=annotations,proto3" json:"annotations,omitempty"` // contains filtered or unexported fields }
func (*GrantsReaderServiceListGrantsForEntitlementRequest) Descriptor
deprecated
func (*GrantsReaderServiceListGrantsForEntitlementRequest) Descriptor() ([]byte, []int)
Deprecated: Use GrantsReaderServiceListGrantsForEntitlementRequest.ProtoReflect.Descriptor instead.
func (*GrantsReaderServiceListGrantsForEntitlementRequest) GetAnnotations ¶ added in v0.0.32
func (x *GrantsReaderServiceListGrantsForEntitlementRequest) GetAnnotations() []*anypb.Any
func (*GrantsReaderServiceListGrantsForEntitlementRequest) GetEntitlement ¶
func (x *GrantsReaderServiceListGrantsForEntitlementRequest) GetEntitlement() *v2.Entitlement
func (*GrantsReaderServiceListGrantsForEntitlementRequest) GetPageSize ¶
func (x *GrantsReaderServiceListGrantsForEntitlementRequest) GetPageSize() uint32
func (*GrantsReaderServiceListGrantsForEntitlementRequest) GetPageToken ¶
func (x *GrantsReaderServiceListGrantsForEntitlementRequest) GetPageToken() string
func (*GrantsReaderServiceListGrantsForEntitlementRequest) GetPrincipalId ¶ added in v0.1.6
func (x *GrantsReaderServiceListGrantsForEntitlementRequest) GetPrincipalId() *v2.ResourceId
func (*GrantsReaderServiceListGrantsForEntitlementRequest) ProtoMessage ¶
func (*GrantsReaderServiceListGrantsForEntitlementRequest) ProtoMessage()
func (*GrantsReaderServiceListGrantsForEntitlementRequest) ProtoReflect ¶
func (x *GrantsReaderServiceListGrantsForEntitlementRequest) ProtoReflect() protoreflect.Message
func (*GrantsReaderServiceListGrantsForEntitlementRequest) Reset ¶
func (x *GrantsReaderServiceListGrantsForEntitlementRequest) Reset()
func (*GrantsReaderServiceListGrantsForEntitlementRequest) String ¶
func (x *GrantsReaderServiceListGrantsForEntitlementRequest) String() string
func (*GrantsReaderServiceListGrantsForEntitlementRequest) Validate ¶
func (m *GrantsReaderServiceListGrantsForEntitlementRequest) Validate() error
Validate checks the field values on GrantsReaderServiceListGrantsForEntitlementRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GrantsReaderServiceListGrantsForEntitlementRequest) ValidateAll ¶
func (m *GrantsReaderServiceListGrantsForEntitlementRequest) ValidateAll() error
ValidateAll checks the field values on GrantsReaderServiceListGrantsForEntitlementRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GrantsReaderServiceListGrantsForEntitlementRequestMultiError, or nil if none found.
type GrantsReaderServiceListGrantsForEntitlementRequestMultiError ¶
type GrantsReaderServiceListGrantsForEntitlementRequestMultiError []error
GrantsReaderServiceListGrantsForEntitlementRequestMultiError is an error wrapping multiple validation errors returned by GrantsReaderServiceListGrantsForEntitlementRequest.ValidateAll() if the designated constraints aren't met.
func (GrantsReaderServiceListGrantsForEntitlementRequestMultiError) AllErrors ¶
func (m GrantsReaderServiceListGrantsForEntitlementRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GrantsReaderServiceListGrantsForEntitlementRequestMultiError) Error ¶
func (m GrantsReaderServiceListGrantsForEntitlementRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GrantsReaderServiceListGrantsForEntitlementRequestValidationError ¶
type GrantsReaderServiceListGrantsForEntitlementRequestValidationError struct {
// contains filtered or unexported fields
}
GrantsReaderServiceListGrantsForEntitlementRequestValidationError is the validation error returned by GrantsReaderServiceListGrantsForEntitlementRequest.Validate if the designated constraints aren't met.
func (GrantsReaderServiceListGrantsForEntitlementRequestValidationError) Cause ¶
func (e GrantsReaderServiceListGrantsForEntitlementRequestValidationError) Cause() error
Cause function returns cause value.
func (GrantsReaderServiceListGrantsForEntitlementRequestValidationError) Error ¶
func (e GrantsReaderServiceListGrantsForEntitlementRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GrantsReaderServiceListGrantsForEntitlementRequestValidationError) ErrorName ¶
func (e GrantsReaderServiceListGrantsForEntitlementRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GrantsReaderServiceListGrantsForEntitlementRequestValidationError) Field ¶
func (e GrantsReaderServiceListGrantsForEntitlementRequestValidationError) Field() string
Field function returns field value.
func (GrantsReaderServiceListGrantsForEntitlementRequestValidationError) Key ¶
Key function returns key value.
func (GrantsReaderServiceListGrantsForEntitlementRequestValidationError) Reason ¶
func (e GrantsReaderServiceListGrantsForEntitlementRequestValidationError) Reason() string
Reason function returns reason value.
type GrantsReaderServiceListGrantsForEntitlementResponse ¶
type GrantsReaderServiceListGrantsForEntitlementResponse struct { List []*v2.Grant `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*GrantsReaderServiceListGrantsForEntitlementResponse) Descriptor
deprecated
func (*GrantsReaderServiceListGrantsForEntitlementResponse) Descriptor() ([]byte, []int)
Deprecated: Use GrantsReaderServiceListGrantsForEntitlementResponse.ProtoReflect.Descriptor instead.
func (*GrantsReaderServiceListGrantsForEntitlementResponse) GetList ¶
func (x *GrantsReaderServiceListGrantsForEntitlementResponse) GetList() []*v2.Grant
func (*GrantsReaderServiceListGrantsForEntitlementResponse) GetNextPageToken ¶
func (x *GrantsReaderServiceListGrantsForEntitlementResponse) GetNextPageToken() string
func (*GrantsReaderServiceListGrantsForEntitlementResponse) ProtoMessage ¶
func (*GrantsReaderServiceListGrantsForEntitlementResponse) ProtoMessage()
func (*GrantsReaderServiceListGrantsForEntitlementResponse) ProtoReflect ¶
func (x *GrantsReaderServiceListGrantsForEntitlementResponse) ProtoReflect() protoreflect.Message
func (*GrantsReaderServiceListGrantsForEntitlementResponse) Reset ¶
func (x *GrantsReaderServiceListGrantsForEntitlementResponse) Reset()
func (*GrantsReaderServiceListGrantsForEntitlementResponse) String ¶
func (x *GrantsReaderServiceListGrantsForEntitlementResponse) String() string
func (*GrantsReaderServiceListGrantsForEntitlementResponse) Validate ¶
func (m *GrantsReaderServiceListGrantsForEntitlementResponse) Validate() error
Validate checks the field values on GrantsReaderServiceListGrantsForEntitlementResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GrantsReaderServiceListGrantsForEntitlementResponse) ValidateAll ¶
func (m *GrantsReaderServiceListGrantsForEntitlementResponse) ValidateAll() error
ValidateAll checks the field values on GrantsReaderServiceListGrantsForEntitlementResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GrantsReaderServiceListGrantsForEntitlementResponseMultiError, or nil if none found.
type GrantsReaderServiceListGrantsForEntitlementResponseMultiError ¶
type GrantsReaderServiceListGrantsForEntitlementResponseMultiError []error
GrantsReaderServiceListGrantsForEntitlementResponseMultiError is an error wrapping multiple validation errors returned by GrantsReaderServiceListGrantsForEntitlementResponse.ValidateAll() if the designated constraints aren't met.
func (GrantsReaderServiceListGrantsForEntitlementResponseMultiError) AllErrors ¶
func (m GrantsReaderServiceListGrantsForEntitlementResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GrantsReaderServiceListGrantsForEntitlementResponseMultiError) Error ¶
func (m GrantsReaderServiceListGrantsForEntitlementResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GrantsReaderServiceListGrantsForEntitlementResponseValidationError ¶
type GrantsReaderServiceListGrantsForEntitlementResponseValidationError struct {
// contains filtered or unexported fields
}
GrantsReaderServiceListGrantsForEntitlementResponseValidationError is the validation error returned by GrantsReaderServiceListGrantsForEntitlementResponse.Validate if the designated constraints aren't met.
func (GrantsReaderServiceListGrantsForEntitlementResponseValidationError) Cause ¶
func (e GrantsReaderServiceListGrantsForEntitlementResponseValidationError) Cause() error
Cause function returns cause value.
func (GrantsReaderServiceListGrantsForEntitlementResponseValidationError) Error ¶
func (e GrantsReaderServiceListGrantsForEntitlementResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GrantsReaderServiceListGrantsForEntitlementResponseValidationError) ErrorName ¶
func (e GrantsReaderServiceListGrantsForEntitlementResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GrantsReaderServiceListGrantsForEntitlementResponseValidationError) Field ¶
func (e GrantsReaderServiceListGrantsForEntitlementResponseValidationError) Field() string
Field function returns field value.
func (GrantsReaderServiceListGrantsForEntitlementResponseValidationError) Key ¶
Key function returns key value.
func (GrantsReaderServiceListGrantsForEntitlementResponseValidationError) Reason ¶
func (e GrantsReaderServiceListGrantsForEntitlementResponseValidationError) Reason() string
Reason function returns reason value.
type GrantsReaderServiceListGrantsForResourceTypeRequest ¶ added in v0.0.6
type GrantsReaderServiceListGrantsForResourceTypeRequest struct { ResourceTypeId string `protobuf:"bytes,1,opt,name=resource_type_id,json=resourceTypeId,proto3" json:"resource_type_id,omitempty"` PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` Annotations []*anypb.Any `protobuf:"bytes,4,rep,name=annotations,proto3" json:"annotations,omitempty"` // contains filtered or unexported fields }
func (*GrantsReaderServiceListGrantsForResourceTypeRequest) Descriptor
deprecated
added in
v0.0.6
func (*GrantsReaderServiceListGrantsForResourceTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GrantsReaderServiceListGrantsForResourceTypeRequest.ProtoReflect.Descriptor instead.
func (*GrantsReaderServiceListGrantsForResourceTypeRequest) GetAnnotations ¶ added in v0.0.32
func (x *GrantsReaderServiceListGrantsForResourceTypeRequest) GetAnnotations() []*anypb.Any
func (*GrantsReaderServiceListGrantsForResourceTypeRequest) GetPageSize ¶ added in v0.0.6
func (x *GrantsReaderServiceListGrantsForResourceTypeRequest) GetPageSize() uint32
func (*GrantsReaderServiceListGrantsForResourceTypeRequest) GetPageToken ¶ added in v0.0.6
func (x *GrantsReaderServiceListGrantsForResourceTypeRequest) GetPageToken() string
func (*GrantsReaderServiceListGrantsForResourceTypeRequest) GetResourceTypeId ¶ added in v0.0.6
func (x *GrantsReaderServiceListGrantsForResourceTypeRequest) GetResourceTypeId() string
func (*GrantsReaderServiceListGrantsForResourceTypeRequest) ProtoMessage ¶ added in v0.0.6
func (*GrantsReaderServiceListGrantsForResourceTypeRequest) ProtoMessage()
func (*GrantsReaderServiceListGrantsForResourceTypeRequest) ProtoReflect ¶ added in v0.0.6
func (x *GrantsReaderServiceListGrantsForResourceTypeRequest) ProtoReflect() protoreflect.Message
func (*GrantsReaderServiceListGrantsForResourceTypeRequest) Reset ¶ added in v0.0.6
func (x *GrantsReaderServiceListGrantsForResourceTypeRequest) Reset()
func (*GrantsReaderServiceListGrantsForResourceTypeRequest) String ¶ added in v0.0.6
func (x *GrantsReaderServiceListGrantsForResourceTypeRequest) String() string
func (*GrantsReaderServiceListGrantsForResourceTypeRequest) Validate ¶ added in v0.0.6
func (m *GrantsReaderServiceListGrantsForResourceTypeRequest) Validate() error
Validate checks the field values on GrantsReaderServiceListGrantsForResourceTypeRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GrantsReaderServiceListGrantsForResourceTypeRequest) ValidateAll ¶ added in v0.0.6
func (m *GrantsReaderServiceListGrantsForResourceTypeRequest) ValidateAll() error
ValidateAll checks the field values on GrantsReaderServiceListGrantsForResourceTypeRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GrantsReaderServiceListGrantsForResourceTypeRequestMultiError, or nil if none found.
type GrantsReaderServiceListGrantsForResourceTypeRequestMultiError ¶ added in v0.0.6
type GrantsReaderServiceListGrantsForResourceTypeRequestMultiError []error
GrantsReaderServiceListGrantsForResourceTypeRequestMultiError is an error wrapping multiple validation errors returned by GrantsReaderServiceListGrantsForResourceTypeRequest.ValidateAll() if the designated constraints aren't met.
func (GrantsReaderServiceListGrantsForResourceTypeRequestMultiError) AllErrors ¶ added in v0.0.6
func (m GrantsReaderServiceListGrantsForResourceTypeRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GrantsReaderServiceListGrantsForResourceTypeRequestMultiError) Error ¶ added in v0.0.6
func (m GrantsReaderServiceListGrantsForResourceTypeRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GrantsReaderServiceListGrantsForResourceTypeRequestValidationError ¶ added in v0.0.6
type GrantsReaderServiceListGrantsForResourceTypeRequestValidationError struct {
// contains filtered or unexported fields
}
GrantsReaderServiceListGrantsForResourceTypeRequestValidationError is the validation error returned by GrantsReaderServiceListGrantsForResourceTypeRequest.Validate if the designated constraints aren't met.
func (GrantsReaderServiceListGrantsForResourceTypeRequestValidationError) Cause ¶ added in v0.0.6
func (e GrantsReaderServiceListGrantsForResourceTypeRequestValidationError) Cause() error
Cause function returns cause value.
func (GrantsReaderServiceListGrantsForResourceTypeRequestValidationError) Error ¶ added in v0.0.6
func (e GrantsReaderServiceListGrantsForResourceTypeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GrantsReaderServiceListGrantsForResourceTypeRequestValidationError) ErrorName ¶ added in v0.0.6
func (e GrantsReaderServiceListGrantsForResourceTypeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GrantsReaderServiceListGrantsForResourceTypeRequestValidationError) Field ¶ added in v0.0.6
func (e GrantsReaderServiceListGrantsForResourceTypeRequestValidationError) Field() string
Field function returns field value.
func (GrantsReaderServiceListGrantsForResourceTypeRequestValidationError) Key ¶ added in v0.0.6
Key function returns key value.
func (GrantsReaderServiceListGrantsForResourceTypeRequestValidationError) Reason ¶ added in v0.0.6
func (e GrantsReaderServiceListGrantsForResourceTypeRequestValidationError) Reason() string
Reason function returns reason value.
type GrantsReaderServiceListGrantsForResourceTypeResponse ¶ added in v0.0.6
type GrantsReaderServiceListGrantsForResourceTypeResponse struct { List []*v2.Grant `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*GrantsReaderServiceListGrantsForResourceTypeResponse) Descriptor
deprecated
added in
v0.0.6
func (*GrantsReaderServiceListGrantsForResourceTypeResponse) Descriptor() ([]byte, []int)
Deprecated: Use GrantsReaderServiceListGrantsForResourceTypeResponse.ProtoReflect.Descriptor instead.
func (*GrantsReaderServiceListGrantsForResourceTypeResponse) GetList ¶ added in v0.0.6
func (x *GrantsReaderServiceListGrantsForResourceTypeResponse) GetList() []*v2.Grant
func (*GrantsReaderServiceListGrantsForResourceTypeResponse) GetNextPageToken ¶ added in v0.0.6
func (x *GrantsReaderServiceListGrantsForResourceTypeResponse) GetNextPageToken() string
func (*GrantsReaderServiceListGrantsForResourceTypeResponse) ProtoMessage ¶ added in v0.0.6
func (*GrantsReaderServiceListGrantsForResourceTypeResponse) ProtoMessage()
func (*GrantsReaderServiceListGrantsForResourceTypeResponse) ProtoReflect ¶ added in v0.0.6
func (x *GrantsReaderServiceListGrantsForResourceTypeResponse) ProtoReflect() protoreflect.Message
func (*GrantsReaderServiceListGrantsForResourceTypeResponse) Reset ¶ added in v0.0.6
func (x *GrantsReaderServiceListGrantsForResourceTypeResponse) Reset()
func (*GrantsReaderServiceListGrantsForResourceTypeResponse) String ¶ added in v0.0.6
func (x *GrantsReaderServiceListGrantsForResourceTypeResponse) String() string
func (*GrantsReaderServiceListGrantsForResourceTypeResponse) Validate ¶ added in v0.0.6
func (m *GrantsReaderServiceListGrantsForResourceTypeResponse) Validate() error
Validate checks the field values on GrantsReaderServiceListGrantsForResourceTypeResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GrantsReaderServiceListGrantsForResourceTypeResponse) ValidateAll ¶ added in v0.0.6
func (m *GrantsReaderServiceListGrantsForResourceTypeResponse) ValidateAll() error
ValidateAll checks the field values on GrantsReaderServiceListGrantsForResourceTypeResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GrantsReaderServiceListGrantsForResourceTypeResponseMultiError, or nil if none found.
type GrantsReaderServiceListGrantsForResourceTypeResponseMultiError ¶ added in v0.0.6
type GrantsReaderServiceListGrantsForResourceTypeResponseMultiError []error
GrantsReaderServiceListGrantsForResourceTypeResponseMultiError is an error wrapping multiple validation errors returned by GrantsReaderServiceListGrantsForResourceTypeResponse.ValidateAll() if the designated constraints aren't met.
func (GrantsReaderServiceListGrantsForResourceTypeResponseMultiError) AllErrors ¶ added in v0.0.6
func (m GrantsReaderServiceListGrantsForResourceTypeResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GrantsReaderServiceListGrantsForResourceTypeResponseMultiError) Error ¶ added in v0.0.6
func (m GrantsReaderServiceListGrantsForResourceTypeResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GrantsReaderServiceListGrantsForResourceTypeResponseValidationError ¶ added in v0.0.6
type GrantsReaderServiceListGrantsForResourceTypeResponseValidationError struct {
// contains filtered or unexported fields
}
GrantsReaderServiceListGrantsForResourceTypeResponseValidationError is the validation error returned by GrantsReaderServiceListGrantsForResourceTypeResponse.Validate if the designated constraints aren't met.
func (GrantsReaderServiceListGrantsForResourceTypeResponseValidationError) Cause ¶ added in v0.0.6
func (e GrantsReaderServiceListGrantsForResourceTypeResponseValidationError) Cause() error
Cause function returns cause value.
func (GrantsReaderServiceListGrantsForResourceTypeResponseValidationError) Error ¶ added in v0.0.6
Error satisfies the builtin error interface
func (GrantsReaderServiceListGrantsForResourceTypeResponseValidationError) ErrorName ¶ added in v0.0.6
func (e GrantsReaderServiceListGrantsForResourceTypeResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GrantsReaderServiceListGrantsForResourceTypeResponseValidationError) Field ¶ added in v0.0.6
Field function returns field value.
func (GrantsReaderServiceListGrantsForResourceTypeResponseValidationError) Key ¶ added in v0.0.6
Key function returns key value.
func (GrantsReaderServiceListGrantsForResourceTypeResponseValidationError) Reason ¶ added in v0.0.6
func (e GrantsReaderServiceListGrantsForResourceTypeResponseValidationError) Reason() string
Reason function returns reason value.
type GrantsReaderServiceServer ¶
type GrantsReaderServiceServer interface { GetGrant(context.Context, *GrantsReaderServiceGetGrantRequest) (*GrantsReaderServiceGetGrantResponse, error) ListGrantsForEntitlement(context.Context, *GrantsReaderServiceListGrantsForEntitlementRequest) (*GrantsReaderServiceListGrantsForEntitlementResponse, error) ListGrantsForResourceType(context.Context, *GrantsReaderServiceListGrantsForResourceTypeRequest) (*GrantsReaderServiceListGrantsForResourceTypeResponse, error) }
GrantsReaderServiceServer is the server API for GrantsReaderService service. All implementations should embed UnimplementedGrantsReaderServiceServer for forward compatibility
type ResourceTypesReaderServiceClient ¶
type ResourceTypesReaderServiceClient interface {
GetResourceType(ctx context.Context, in *ResourceTypesReaderServiceGetResourceTypeRequest, opts ...grpc.CallOption) (*ResourceTypesReaderServiceGetResourceTypeResponse, error)
}
ResourceTypesReaderServiceClient is the client API for ResourceTypesReaderService 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 NewResourceTypesReaderServiceClient ¶
func NewResourceTypesReaderServiceClient(cc grpc.ClientConnInterface) ResourceTypesReaderServiceClient
type ResourceTypesReaderServiceGetResourceTypeRequest ¶
type ResourceTypesReaderServiceGetResourceTypeRequest struct { ResourceTypeId string `protobuf:"bytes,1,opt,name=resource_type_id,json=resourceTypeId,proto3" json:"resource_type_id,omitempty"` // contains filtered or unexported fields }
func (*ResourceTypesReaderServiceGetResourceTypeRequest) Descriptor
deprecated
func (*ResourceTypesReaderServiceGetResourceTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResourceTypesReaderServiceGetResourceTypeRequest.ProtoReflect.Descriptor instead.
func (*ResourceTypesReaderServiceGetResourceTypeRequest) GetResourceTypeId ¶
func (x *ResourceTypesReaderServiceGetResourceTypeRequest) GetResourceTypeId() string
func (*ResourceTypesReaderServiceGetResourceTypeRequest) ProtoMessage ¶
func (*ResourceTypesReaderServiceGetResourceTypeRequest) ProtoMessage()
func (*ResourceTypesReaderServiceGetResourceTypeRequest) ProtoReflect ¶
func (x *ResourceTypesReaderServiceGetResourceTypeRequest) ProtoReflect() protoreflect.Message
func (*ResourceTypesReaderServiceGetResourceTypeRequest) Reset ¶
func (x *ResourceTypesReaderServiceGetResourceTypeRequest) Reset()
func (*ResourceTypesReaderServiceGetResourceTypeRequest) String ¶
func (x *ResourceTypesReaderServiceGetResourceTypeRequest) String() string
func (*ResourceTypesReaderServiceGetResourceTypeRequest) Validate ¶
func (m *ResourceTypesReaderServiceGetResourceTypeRequest) Validate() error
Validate checks the field values on ResourceTypesReaderServiceGetResourceTypeRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ResourceTypesReaderServiceGetResourceTypeRequest) ValidateAll ¶
func (m *ResourceTypesReaderServiceGetResourceTypeRequest) ValidateAll() error
ValidateAll checks the field values on ResourceTypesReaderServiceGetResourceTypeRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ResourceTypesReaderServiceGetResourceTypeRequestMultiError, or nil if none found.
type ResourceTypesReaderServiceGetResourceTypeRequestMultiError ¶
type ResourceTypesReaderServiceGetResourceTypeRequestMultiError []error
ResourceTypesReaderServiceGetResourceTypeRequestMultiError is an error wrapping multiple validation errors returned by ResourceTypesReaderServiceGetResourceTypeRequest.ValidateAll() if the designated constraints aren't met.
func (ResourceTypesReaderServiceGetResourceTypeRequestMultiError) AllErrors ¶
func (m ResourceTypesReaderServiceGetResourceTypeRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResourceTypesReaderServiceGetResourceTypeRequestMultiError) Error ¶
func (m ResourceTypesReaderServiceGetResourceTypeRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResourceTypesReaderServiceGetResourceTypeRequestValidationError ¶
type ResourceTypesReaderServiceGetResourceTypeRequestValidationError struct {
// contains filtered or unexported fields
}
ResourceTypesReaderServiceGetResourceTypeRequestValidationError is the validation error returned by ResourceTypesReaderServiceGetResourceTypeRequest.Validate if the designated constraints aren't met.
func (ResourceTypesReaderServiceGetResourceTypeRequestValidationError) Cause ¶
func (e ResourceTypesReaderServiceGetResourceTypeRequestValidationError) Cause() error
Cause function returns cause value.
func (ResourceTypesReaderServiceGetResourceTypeRequestValidationError) Error ¶
func (e ResourceTypesReaderServiceGetResourceTypeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ResourceTypesReaderServiceGetResourceTypeRequestValidationError) ErrorName ¶
func (e ResourceTypesReaderServiceGetResourceTypeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ResourceTypesReaderServiceGetResourceTypeRequestValidationError) Field ¶
func (e ResourceTypesReaderServiceGetResourceTypeRequestValidationError) Field() string
Field function returns field value.
func (ResourceTypesReaderServiceGetResourceTypeRequestValidationError) Key ¶
Key function returns key value.
func (ResourceTypesReaderServiceGetResourceTypeRequestValidationError) Reason ¶
func (e ResourceTypesReaderServiceGetResourceTypeRequestValidationError) Reason() string
Reason function returns reason value.
type ResourceTypesReaderServiceGetResourceTypeResponse ¶ added in v0.1.0
type ResourceTypesReaderServiceGetResourceTypeResponse struct { ResourceType *v2.ResourceType `protobuf:"bytes,1,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"` // contains filtered or unexported fields }
func (*ResourceTypesReaderServiceGetResourceTypeResponse) Descriptor
deprecated
added in
v0.1.0
func (*ResourceTypesReaderServiceGetResourceTypeResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResourceTypesReaderServiceGetResourceTypeResponse.ProtoReflect.Descriptor instead.
func (*ResourceTypesReaderServiceGetResourceTypeResponse) GetResourceType ¶ added in v0.1.0
func (x *ResourceTypesReaderServiceGetResourceTypeResponse) GetResourceType() *v2.ResourceType
func (*ResourceTypesReaderServiceGetResourceTypeResponse) ProtoMessage ¶ added in v0.1.0
func (*ResourceTypesReaderServiceGetResourceTypeResponse) ProtoMessage()
func (*ResourceTypesReaderServiceGetResourceTypeResponse) ProtoReflect ¶ added in v0.1.0
func (x *ResourceTypesReaderServiceGetResourceTypeResponse) ProtoReflect() protoreflect.Message
func (*ResourceTypesReaderServiceGetResourceTypeResponse) Reset ¶ added in v0.1.0
func (x *ResourceTypesReaderServiceGetResourceTypeResponse) Reset()
func (*ResourceTypesReaderServiceGetResourceTypeResponse) String ¶ added in v0.1.0
func (x *ResourceTypesReaderServiceGetResourceTypeResponse) String() string
func (*ResourceTypesReaderServiceGetResourceTypeResponse) Validate ¶ added in v0.1.0
func (m *ResourceTypesReaderServiceGetResourceTypeResponse) Validate() error
Validate checks the field values on ResourceTypesReaderServiceGetResourceTypeResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ResourceTypesReaderServiceGetResourceTypeResponse) ValidateAll ¶ added in v0.1.0
func (m *ResourceTypesReaderServiceGetResourceTypeResponse) ValidateAll() error
ValidateAll checks the field values on ResourceTypesReaderServiceGetResourceTypeResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ResourceTypesReaderServiceGetResourceTypeResponseMultiError, or nil if none found.
type ResourceTypesReaderServiceGetResourceTypeResponseMultiError ¶ added in v0.1.0
type ResourceTypesReaderServiceGetResourceTypeResponseMultiError []error
ResourceTypesReaderServiceGetResourceTypeResponseMultiError is an error wrapping multiple validation errors returned by ResourceTypesReaderServiceGetResourceTypeResponse.ValidateAll() if the designated constraints aren't met.
func (ResourceTypesReaderServiceGetResourceTypeResponseMultiError) AllErrors ¶ added in v0.1.0
func (m ResourceTypesReaderServiceGetResourceTypeResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResourceTypesReaderServiceGetResourceTypeResponseMultiError) Error ¶ added in v0.1.0
func (m ResourceTypesReaderServiceGetResourceTypeResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResourceTypesReaderServiceGetResourceTypeResponseValidationError ¶ added in v0.1.0
type ResourceTypesReaderServiceGetResourceTypeResponseValidationError struct {
// contains filtered or unexported fields
}
ResourceTypesReaderServiceGetResourceTypeResponseValidationError is the validation error returned by ResourceTypesReaderServiceGetResourceTypeResponse.Validate if the designated constraints aren't met.
func (ResourceTypesReaderServiceGetResourceTypeResponseValidationError) Cause ¶ added in v0.1.0
func (e ResourceTypesReaderServiceGetResourceTypeResponseValidationError) Cause() error
Cause function returns cause value.
func (ResourceTypesReaderServiceGetResourceTypeResponseValidationError) Error ¶ added in v0.1.0
func (e ResourceTypesReaderServiceGetResourceTypeResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ResourceTypesReaderServiceGetResourceTypeResponseValidationError) ErrorName ¶ added in v0.1.0
func (e ResourceTypesReaderServiceGetResourceTypeResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ResourceTypesReaderServiceGetResourceTypeResponseValidationError) Field ¶ added in v0.1.0
func (e ResourceTypesReaderServiceGetResourceTypeResponseValidationError) Field() string
Field function returns field value.
func (ResourceTypesReaderServiceGetResourceTypeResponseValidationError) Key ¶ added in v0.1.0
Key function returns key value.
func (ResourceTypesReaderServiceGetResourceTypeResponseValidationError) Reason ¶ added in v0.1.0
func (e ResourceTypesReaderServiceGetResourceTypeResponseValidationError) Reason() string
Reason function returns reason value.
type ResourceTypesReaderServiceServer ¶
type ResourceTypesReaderServiceServer interface {
GetResourceType(context.Context, *ResourceTypesReaderServiceGetResourceTypeRequest) (*ResourceTypesReaderServiceGetResourceTypeResponse, error)
}
ResourceTypesReaderServiceServer is the server API for ResourceTypesReaderService service. All implementations should embed UnimplementedResourceTypesReaderServiceServer for forward compatibility
type ResourcesReaderServiceClient ¶
type ResourcesReaderServiceClient interface {
GetResource(ctx context.Context, in *ResourcesReaderServiceGetResourceRequest, opts ...grpc.CallOption) (*ResourcesReaderServiceGetResourceResponse, error)
}
ResourcesReaderServiceClient is the client API for ResourcesReaderService 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 NewResourcesReaderServiceClient ¶
func NewResourcesReaderServiceClient(cc grpc.ClientConnInterface) ResourcesReaderServiceClient
type ResourcesReaderServiceGetResourceRequest ¶ added in v0.1.0
type ResourcesReaderServiceGetResourceRequest struct { ResourceId *v2.ResourceId `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` Annotations []*anypb.Any `protobuf:"bytes,2,rep,name=annotations,proto3" json:"annotations,omitempty"` // contains filtered or unexported fields }
func (*ResourcesReaderServiceGetResourceRequest) Descriptor
deprecated
added in
v0.1.0
func (*ResourcesReaderServiceGetResourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResourcesReaderServiceGetResourceRequest.ProtoReflect.Descriptor instead.
func (*ResourcesReaderServiceGetResourceRequest) GetAnnotations ¶ added in v0.1.0
func (x *ResourcesReaderServiceGetResourceRequest) GetAnnotations() []*anypb.Any
func (*ResourcesReaderServiceGetResourceRequest) GetResourceId ¶ added in v0.1.0
func (x *ResourcesReaderServiceGetResourceRequest) GetResourceId() *v2.ResourceId
func (*ResourcesReaderServiceGetResourceRequest) ProtoMessage ¶ added in v0.1.0
func (*ResourcesReaderServiceGetResourceRequest) ProtoMessage()
func (*ResourcesReaderServiceGetResourceRequest) ProtoReflect ¶ added in v0.1.0
func (x *ResourcesReaderServiceGetResourceRequest) ProtoReflect() protoreflect.Message
func (*ResourcesReaderServiceGetResourceRequest) Reset ¶ added in v0.1.0
func (x *ResourcesReaderServiceGetResourceRequest) Reset()
func (*ResourcesReaderServiceGetResourceRequest) String ¶ added in v0.1.0
func (x *ResourcesReaderServiceGetResourceRequest) String() string
func (*ResourcesReaderServiceGetResourceRequest) Validate ¶ added in v0.1.0
func (m *ResourcesReaderServiceGetResourceRequest) Validate() error
Validate checks the field values on ResourcesReaderServiceGetResourceRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ResourcesReaderServiceGetResourceRequest) ValidateAll ¶ added in v0.1.0
func (m *ResourcesReaderServiceGetResourceRequest) ValidateAll() error
ValidateAll checks the field values on ResourcesReaderServiceGetResourceRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ResourcesReaderServiceGetResourceRequestMultiError, or nil if none found.
type ResourcesReaderServiceGetResourceRequestMultiError ¶ added in v0.1.0
type ResourcesReaderServiceGetResourceRequestMultiError []error
ResourcesReaderServiceGetResourceRequestMultiError is an error wrapping multiple validation errors returned by ResourcesReaderServiceGetResourceRequest.ValidateAll() if the designated constraints aren't met.
func (ResourcesReaderServiceGetResourceRequestMultiError) AllErrors ¶ added in v0.1.0
func (m ResourcesReaderServiceGetResourceRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResourcesReaderServiceGetResourceRequestMultiError) Error ¶ added in v0.1.0
func (m ResourcesReaderServiceGetResourceRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResourcesReaderServiceGetResourceRequestValidationError ¶ added in v0.1.0
type ResourcesReaderServiceGetResourceRequestValidationError struct {
// contains filtered or unexported fields
}
ResourcesReaderServiceGetResourceRequestValidationError is the validation error returned by ResourcesReaderServiceGetResourceRequest.Validate if the designated constraints aren't met.
func (ResourcesReaderServiceGetResourceRequestValidationError) Cause ¶ added in v0.1.0
func (e ResourcesReaderServiceGetResourceRequestValidationError) Cause() error
Cause function returns cause value.
func (ResourcesReaderServiceGetResourceRequestValidationError) Error ¶ added in v0.1.0
func (e ResourcesReaderServiceGetResourceRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ResourcesReaderServiceGetResourceRequestValidationError) ErrorName ¶ added in v0.1.0
func (e ResourcesReaderServiceGetResourceRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ResourcesReaderServiceGetResourceRequestValidationError) Field ¶ added in v0.1.0
func (e ResourcesReaderServiceGetResourceRequestValidationError) Field() string
Field function returns field value.
func (ResourcesReaderServiceGetResourceRequestValidationError) Key ¶ added in v0.1.0
func (e ResourcesReaderServiceGetResourceRequestValidationError) Key() bool
Key function returns key value.
func (ResourcesReaderServiceGetResourceRequestValidationError) Reason ¶ added in v0.1.0
func (e ResourcesReaderServiceGetResourceRequestValidationError) Reason() string
Reason function returns reason value.
type ResourcesReaderServiceGetResourceResponse ¶ added in v0.1.0
type ResourcesReaderServiceGetResourceResponse struct { Resource *v2.Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*ResourcesReaderServiceGetResourceResponse) Descriptor
deprecated
added in
v0.1.0
func (*ResourcesReaderServiceGetResourceResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResourcesReaderServiceGetResourceResponse.ProtoReflect.Descriptor instead.
func (*ResourcesReaderServiceGetResourceResponse) GetResource ¶ added in v0.1.0
func (x *ResourcesReaderServiceGetResourceResponse) GetResource() *v2.Resource
func (*ResourcesReaderServiceGetResourceResponse) ProtoMessage ¶ added in v0.1.0
func (*ResourcesReaderServiceGetResourceResponse) ProtoMessage()
func (*ResourcesReaderServiceGetResourceResponse) ProtoReflect ¶ added in v0.1.0
func (x *ResourcesReaderServiceGetResourceResponse) ProtoReflect() protoreflect.Message
func (*ResourcesReaderServiceGetResourceResponse) Reset ¶ added in v0.1.0
func (x *ResourcesReaderServiceGetResourceResponse) Reset()
func (*ResourcesReaderServiceGetResourceResponse) String ¶ added in v0.1.0
func (x *ResourcesReaderServiceGetResourceResponse) String() string
func (*ResourcesReaderServiceGetResourceResponse) Validate ¶ added in v0.1.0
func (m *ResourcesReaderServiceGetResourceResponse) Validate() error
Validate checks the field values on ResourcesReaderServiceGetResourceResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ResourcesReaderServiceGetResourceResponse) ValidateAll ¶ added in v0.1.0
func (m *ResourcesReaderServiceGetResourceResponse) ValidateAll() error
ValidateAll checks the field values on ResourcesReaderServiceGetResourceResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ResourcesReaderServiceGetResourceResponseMultiError, or nil if none found.
type ResourcesReaderServiceGetResourceResponseMultiError ¶ added in v0.1.0
type ResourcesReaderServiceGetResourceResponseMultiError []error
ResourcesReaderServiceGetResourceResponseMultiError is an error wrapping multiple validation errors returned by ResourcesReaderServiceGetResourceResponse.ValidateAll() if the designated constraints aren't met.
func (ResourcesReaderServiceGetResourceResponseMultiError) AllErrors ¶ added in v0.1.0
func (m ResourcesReaderServiceGetResourceResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResourcesReaderServiceGetResourceResponseMultiError) Error ¶ added in v0.1.0
func (m ResourcesReaderServiceGetResourceResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResourcesReaderServiceGetResourceResponseValidationError ¶ added in v0.1.0
type ResourcesReaderServiceGetResourceResponseValidationError struct {
// contains filtered or unexported fields
}
ResourcesReaderServiceGetResourceResponseValidationError is the validation error returned by ResourcesReaderServiceGetResourceResponse.Validate if the designated constraints aren't met.
func (ResourcesReaderServiceGetResourceResponseValidationError) Cause ¶ added in v0.1.0
func (e ResourcesReaderServiceGetResourceResponseValidationError) Cause() error
Cause function returns cause value.
func (ResourcesReaderServiceGetResourceResponseValidationError) Error ¶ added in v0.1.0
func (e ResourcesReaderServiceGetResourceResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ResourcesReaderServiceGetResourceResponseValidationError) ErrorName ¶ added in v0.1.0
func (e ResourcesReaderServiceGetResourceResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ResourcesReaderServiceGetResourceResponseValidationError) Field ¶ added in v0.1.0
func (e ResourcesReaderServiceGetResourceResponseValidationError) Field() string
Field function returns field value.
func (ResourcesReaderServiceGetResourceResponseValidationError) Key ¶ added in v0.1.0
func (e ResourcesReaderServiceGetResourceResponseValidationError) Key() bool
Key function returns key value.
func (ResourcesReaderServiceGetResourceResponseValidationError) Reason ¶ added in v0.1.0
func (e ResourcesReaderServiceGetResourceResponseValidationError) Reason() string
Reason function returns reason value.
type ResourcesReaderServiceServer ¶
type ResourcesReaderServiceServer interface {
GetResource(context.Context, *ResourcesReaderServiceGetResourceRequest) (*ResourcesReaderServiceGetResourceResponse, error)
}
ResourcesReaderServiceServer is the server API for ResourcesReaderService service. All implementations should embed UnimplementedResourcesReaderServiceServer for forward compatibility
type UnimplementedEntitlementsReaderServiceServer ¶
type UnimplementedEntitlementsReaderServiceServer struct { }
UnimplementedEntitlementsReaderServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedEntitlementsReaderServiceServer) GetEntitlement ¶
type UnimplementedGrantsReaderServiceServer ¶
type UnimplementedGrantsReaderServiceServer struct { }
UnimplementedGrantsReaderServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedGrantsReaderServiceServer) ListGrantsForEntitlement ¶
func (UnimplementedGrantsReaderServiceServer) ListGrantsForEntitlement(context.Context, *GrantsReaderServiceListGrantsForEntitlementRequest) (*GrantsReaderServiceListGrantsForEntitlementResponse, error)
func (UnimplementedGrantsReaderServiceServer) ListGrantsForResourceType ¶ added in v0.0.6
func (UnimplementedGrantsReaderServiceServer) ListGrantsForResourceType(context.Context, *GrantsReaderServiceListGrantsForResourceTypeRequest) (*GrantsReaderServiceListGrantsForResourceTypeResponse, error)
type UnimplementedResourceTypesReaderServiceServer ¶
type UnimplementedResourceTypesReaderServiceServer struct { }
UnimplementedResourceTypesReaderServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedResourceTypesReaderServiceServer) GetResourceType ¶
type UnimplementedResourcesReaderServiceServer ¶
type UnimplementedResourcesReaderServiceServer struct { }
UnimplementedResourcesReaderServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedResourcesReaderServiceServer) GetResource ¶
type UnsafeEntitlementsReaderServiceServer ¶
type UnsafeEntitlementsReaderServiceServer interface {
// contains filtered or unexported methods
}
UnsafeEntitlementsReaderServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EntitlementsReaderServiceServer will result in compilation errors.
type UnsafeGrantsReaderServiceServer ¶
type UnsafeGrantsReaderServiceServer interface {
// contains filtered or unexported methods
}
UnsafeGrantsReaderServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GrantsReaderServiceServer will result in compilation errors.
type UnsafeResourceTypesReaderServiceServer ¶
type UnsafeResourceTypesReaderServiceServer interface {
// contains filtered or unexported methods
}
UnsafeResourceTypesReaderServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ResourceTypesReaderServiceServer will result in compilation errors.
type UnsafeResourcesReaderServiceServer ¶
type UnsafeResourcesReaderServiceServer interface {
// contains filtered or unexported methods
}
UnsafeResourcesReaderServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ResourcesReaderServiceServer will result in compilation errors.