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 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 GrantsReaderServiceListGrantsForEntitlementRequest
- func (*GrantsReaderServiceListGrantsForEntitlementRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GrantsReaderServiceListGrantsForEntitlementRequest) GetEntitlement() *v2.Entitlement
- func (x *GrantsReaderServiceListGrantsForEntitlementRequest) GetPageSize() uint32
- func (x *GrantsReaderServiceListGrantsForEntitlementRequest) GetPageToken() string
- 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) 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 ResourceTypesReaderServiceGetResourceRequest
- func (*ResourceTypesReaderServiceGetResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceTypesReaderServiceGetResourceRequest) GetResourceId() *v2.ResourceId
- func (*ResourceTypesReaderServiceGetResourceRequest) ProtoMessage()
- func (x *ResourceTypesReaderServiceGetResourceRequest) ProtoReflect() protoreflect.Message
- func (x *ResourceTypesReaderServiceGetResourceRequest) Reset()
- func (x *ResourceTypesReaderServiceGetResourceRequest) String() string
- func (m *ResourceTypesReaderServiceGetResourceRequest) Validate() error
- func (m *ResourceTypesReaderServiceGetResourceRequest) ValidateAll() error
- type ResourceTypesReaderServiceGetResourceRequestMultiError
- type ResourceTypesReaderServiceGetResourceRequestValidationError
- func (e ResourceTypesReaderServiceGetResourceRequestValidationError) Cause() error
- func (e ResourceTypesReaderServiceGetResourceRequestValidationError) Error() string
- func (e ResourceTypesReaderServiceGetResourceRequestValidationError) ErrorName() string
- func (e ResourceTypesReaderServiceGetResourceRequestValidationError) Field() string
- func (e ResourceTypesReaderServiceGetResourceRequestValidationError) Key() bool
- func (e ResourceTypesReaderServiceGetResourceRequestValidationError) Reason() string
- 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 ResourceTypesReaderServiceServer
- type ResourcesReaderServiceClient
- type ResourcesReaderServiceServer
- type UnimplementedEntitlementsReaderServiceServer
- type UnimplementedGrantsReaderServiceServer
- func (UnimplementedGrantsReaderServiceServer) GetGrant(context.Context, *GrantsReaderServiceGetGrantRequest) (*v2.Grant, 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) (*v2.Entitlement, 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 EntitlementsReaderServiceServer ¶
type EntitlementsReaderServiceServer interface {
GetEntitlement(context.Context, *EntitlementsReaderServiceGetEntitlementRequest) (*v2.Entitlement, 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) (*v2.Grant, 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 GrantsReaderServiceListGrantsForEntitlementRequest ¶
type GrantsReaderServiceListGrantsForEntitlementRequest struct { Entitlement *v2.Entitlement `protobuf:"bytes,1,opt,name=entitlement,proto3" json:"entitlement,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"` // contains filtered or unexported fields }
func (*GrantsReaderServiceListGrantsForEntitlementRequest) Descriptor
deprecated
func (*GrantsReaderServiceListGrantsForEntitlementRequest) Descriptor() ([]byte, []int)
Deprecated: Use GrantsReaderServiceListGrantsForEntitlementRequest.ProtoReflect.Descriptor instead.
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) 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"` // 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) 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) (*v2.Grant, 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) (*v2.ResourceType, 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 ResourceTypesReaderServiceGetResourceRequest ¶
type ResourceTypesReaderServiceGetResourceRequest struct { ResourceId *v2.ResourceId `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` // contains filtered or unexported fields }
func (*ResourceTypesReaderServiceGetResourceRequest) Descriptor
deprecated
func (*ResourceTypesReaderServiceGetResourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResourceTypesReaderServiceGetResourceRequest.ProtoReflect.Descriptor instead.
func (*ResourceTypesReaderServiceGetResourceRequest) GetResourceId ¶
func (x *ResourceTypesReaderServiceGetResourceRequest) GetResourceId() *v2.ResourceId
func (*ResourceTypesReaderServiceGetResourceRequest) ProtoMessage ¶
func (*ResourceTypesReaderServiceGetResourceRequest) ProtoMessage()
func (*ResourceTypesReaderServiceGetResourceRequest) ProtoReflect ¶
func (x *ResourceTypesReaderServiceGetResourceRequest) ProtoReflect() protoreflect.Message
func (*ResourceTypesReaderServiceGetResourceRequest) Reset ¶
func (x *ResourceTypesReaderServiceGetResourceRequest) Reset()
func (*ResourceTypesReaderServiceGetResourceRequest) String ¶
func (x *ResourceTypesReaderServiceGetResourceRequest) String() string
func (*ResourceTypesReaderServiceGetResourceRequest) Validate ¶
func (m *ResourceTypesReaderServiceGetResourceRequest) Validate() error
Validate checks the field values on ResourceTypesReaderServiceGetResourceRequest 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 (*ResourceTypesReaderServiceGetResourceRequest) ValidateAll ¶
func (m *ResourceTypesReaderServiceGetResourceRequest) ValidateAll() error
ValidateAll checks the field values on ResourceTypesReaderServiceGetResourceRequest 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 ResourceTypesReaderServiceGetResourceRequestMultiError, or nil if none found.
type ResourceTypesReaderServiceGetResourceRequestMultiError ¶
type ResourceTypesReaderServiceGetResourceRequestMultiError []error
ResourceTypesReaderServiceGetResourceRequestMultiError is an error wrapping multiple validation errors returned by ResourceTypesReaderServiceGetResourceRequest.ValidateAll() if the designated constraints aren't met.
func (ResourceTypesReaderServiceGetResourceRequestMultiError) AllErrors ¶
func (m ResourceTypesReaderServiceGetResourceRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResourceTypesReaderServiceGetResourceRequestMultiError) Error ¶
func (m ResourceTypesReaderServiceGetResourceRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResourceTypesReaderServiceGetResourceRequestValidationError ¶
type ResourceTypesReaderServiceGetResourceRequestValidationError struct {
// contains filtered or unexported fields
}
ResourceTypesReaderServiceGetResourceRequestValidationError is the validation error returned by ResourceTypesReaderServiceGetResourceRequest.Validate if the designated constraints aren't met.
func (ResourceTypesReaderServiceGetResourceRequestValidationError) Cause ¶
func (e ResourceTypesReaderServiceGetResourceRequestValidationError) Cause() error
Cause function returns cause value.
func (ResourceTypesReaderServiceGetResourceRequestValidationError) Error ¶
func (e ResourceTypesReaderServiceGetResourceRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ResourceTypesReaderServiceGetResourceRequestValidationError) ErrorName ¶
func (e ResourceTypesReaderServiceGetResourceRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ResourceTypesReaderServiceGetResourceRequestValidationError) Field ¶
func (e ResourceTypesReaderServiceGetResourceRequestValidationError) Field() string
Field function returns field value.
func (ResourceTypesReaderServiceGetResourceRequestValidationError) Key ¶
func (e ResourceTypesReaderServiceGetResourceRequestValidationError) Key() bool
Key function returns key value.
func (ResourceTypesReaderServiceGetResourceRequestValidationError) Reason ¶
func (e ResourceTypesReaderServiceGetResourceRequestValidationError) Reason() string
Reason function returns reason value.
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 ResourceTypesReaderServiceServer ¶
type ResourceTypesReaderServiceServer interface {
GetResourceType(context.Context, *ResourceTypesReaderServiceGetResourceTypeRequest) (*v2.ResourceType, 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 *ResourceTypesReaderServiceGetResourceRequest, opts ...grpc.CallOption) (*v2.Resource, 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 ResourcesReaderServiceServer ¶
type ResourcesReaderServiceServer interface {
GetResource(context.Context, *ResourceTypesReaderServiceGetResourceRequest) (*v2.Resource, 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 ¶
func (UnimplementedEntitlementsReaderServiceServer) GetEntitlement(context.Context, *EntitlementsReaderServiceGetEntitlementRequest) (*v2.Entitlement, error)
type UnimplementedGrantsReaderServiceServer ¶
type UnimplementedGrantsReaderServiceServer struct { }
UnimplementedGrantsReaderServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedGrantsReaderServiceServer) GetGrant ¶
func (UnimplementedGrantsReaderServiceServer) GetGrant(context.Context, *GrantsReaderServiceGetGrantRequest) (*v2.Grant, error)
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 ¶
func (UnimplementedResourceTypesReaderServiceServer) GetResourceType(context.Context, *ResourceTypesReaderServiceGetResourceTypeRequest) (*v2.ResourceType, error)
type UnimplementedResourcesReaderServiceServer ¶
type UnimplementedResourcesReaderServiceServer struct { }
UnimplementedResourcesReaderServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedResourcesReaderServiceServer) GetResource ¶
func (UnimplementedResourcesReaderServiceServer) GetResource(context.Context, *ResourceTypesReaderServiceGetResourceRequest) (*v2.Resource, error)
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.