Documentation
¶
Index ¶
- Variables
- func RegisterEntitlementsServiceServer(s grpc.ServiceRegistrar, srv EntitlementsServiceServer)
- func RegisterGrantManagerServiceServer(s grpc.ServiceRegistrar, srv GrantManagerServiceServer)
- func RegisterGrantsServiceServer(s grpc.ServiceRegistrar, srv GrantsServiceServer)
- func RegisterResourceTypesServiceServer(s grpc.ServiceRegistrar, srv ResourceTypesServiceServer)
- func RegisterResourcesServiceServer(s grpc.ServiceRegistrar, srv ResourcesServiceServer)
- type Entitlement
- func (*Entitlement) Descriptor() ([]byte, []int)deprecated
- func (x *Entitlement) GetAnnotations() []*anypb.Any
- func (x *Entitlement) GetDescription() string
- func (x *Entitlement) GetDisplayName() string
- func (x *Entitlement) GetGrantableTo() []*ResourceType
- func (x *Entitlement) GetId() string
- func (x *Entitlement) GetPurpose() Entitlement_PurposeValue
- func (x *Entitlement) GetResource() *Resource
- func (x *Entitlement) GetSlug() string
- func (*Entitlement) ProtoMessage()
- func (x *Entitlement) ProtoReflect() protoreflect.Message
- func (x *Entitlement) Reset()
- func (x *Entitlement) String() string
- func (m *Entitlement) Validate() error
- func (m *Entitlement) ValidateAll() error
- type EntitlementMultiError
- type EntitlementValidationError
- func (e EntitlementValidationError) Cause() error
- func (e EntitlementValidationError) Error() string
- func (e EntitlementValidationError) ErrorName() string
- func (e EntitlementValidationError) Field() string
- func (e EntitlementValidationError) Key() bool
- func (e EntitlementValidationError) Reason() string
- type Entitlement_PurposeValue
- func (Entitlement_PurposeValue) Descriptor() protoreflect.EnumDescriptor
- func (x Entitlement_PurposeValue) Enum() *Entitlement_PurposeValue
- func (Entitlement_PurposeValue) EnumDescriptor() ([]byte, []int)deprecated
- func (x Entitlement_PurposeValue) Number() protoreflect.EnumNumber
- func (x Entitlement_PurposeValue) String() string
- func (Entitlement_PurposeValue) Type() protoreflect.EnumType
- type EntitlementsServiceClient
- type EntitlementsServiceListEntitlementsRequest
- func (*EntitlementsServiceListEntitlementsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EntitlementsServiceListEntitlementsRequest) GetAnnotations() []*anypb.Any
- func (x *EntitlementsServiceListEntitlementsRequest) GetPageSize() uint32
- func (x *EntitlementsServiceListEntitlementsRequest) GetPageToken() string
- func (x *EntitlementsServiceListEntitlementsRequest) GetResource() *Resource
- func (*EntitlementsServiceListEntitlementsRequest) ProtoMessage()
- func (x *EntitlementsServiceListEntitlementsRequest) ProtoReflect() protoreflect.Message
- func (x *EntitlementsServiceListEntitlementsRequest) Reset()
- func (x *EntitlementsServiceListEntitlementsRequest) String() string
- func (m *EntitlementsServiceListEntitlementsRequest) Validate() error
- func (m *EntitlementsServiceListEntitlementsRequest) ValidateAll() error
- type EntitlementsServiceListEntitlementsRequestMultiError
- type EntitlementsServiceListEntitlementsRequestValidationError
- func (e EntitlementsServiceListEntitlementsRequestValidationError) Cause() error
- func (e EntitlementsServiceListEntitlementsRequestValidationError) Error() string
- func (e EntitlementsServiceListEntitlementsRequestValidationError) ErrorName() string
- func (e EntitlementsServiceListEntitlementsRequestValidationError) Field() string
- func (e EntitlementsServiceListEntitlementsRequestValidationError) Key() bool
- func (e EntitlementsServiceListEntitlementsRequestValidationError) Reason() string
- type EntitlementsServiceListEntitlementsResponse
- func (*EntitlementsServiceListEntitlementsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EntitlementsServiceListEntitlementsResponse) GetAnnotations() []*anypb.Any
- func (x *EntitlementsServiceListEntitlementsResponse) GetList() []*Entitlement
- func (x *EntitlementsServiceListEntitlementsResponse) GetNextPageToken() string
- func (*EntitlementsServiceListEntitlementsResponse) ProtoMessage()
- func (x *EntitlementsServiceListEntitlementsResponse) ProtoReflect() protoreflect.Message
- func (x *EntitlementsServiceListEntitlementsResponse) Reset()
- func (x *EntitlementsServiceListEntitlementsResponse) String() string
- func (m *EntitlementsServiceListEntitlementsResponse) Validate() error
- func (m *EntitlementsServiceListEntitlementsResponse) ValidateAll() error
- type EntitlementsServiceListEntitlementsResponseMultiError
- type EntitlementsServiceListEntitlementsResponseValidationError
- func (e EntitlementsServiceListEntitlementsResponseValidationError) Cause() error
- func (e EntitlementsServiceListEntitlementsResponseValidationError) Error() string
- func (e EntitlementsServiceListEntitlementsResponseValidationError) ErrorName() string
- func (e EntitlementsServiceListEntitlementsResponseValidationError) Field() string
- func (e EntitlementsServiceListEntitlementsResponseValidationError) Key() bool
- func (e EntitlementsServiceListEntitlementsResponseValidationError) Reason() string
- type EntitlementsServiceServer
- type Grant
- func (*Grant) Descriptor() ([]byte, []int)deprecated
- func (x *Grant) GetAnnotations() []*anypb.Any
- func (x *Grant) GetEntitlement() *Entitlement
- func (x *Grant) GetId() string
- func (x *Grant) GetPrincipal() *Resource
- func (*Grant) ProtoMessage()
- func (x *Grant) ProtoReflect() protoreflect.Message
- func (x *Grant) Reset()
- func (x *Grant) String() string
- func (m *Grant) Validate() error
- func (m *Grant) ValidateAll() error
- type GrantManagerServiceClient
- type GrantManagerServiceGrantRequest
- func (*GrantManagerServiceGrantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GrantManagerServiceGrantRequest) GetAnnotations() []*anypb.Any
- func (x *GrantManagerServiceGrantRequest) GetEntitlement() *Entitlement
- func (x *GrantManagerServiceGrantRequest) GetPrincipal() *Resource
- func (*GrantManagerServiceGrantRequest) ProtoMessage()
- func (x *GrantManagerServiceGrantRequest) ProtoReflect() protoreflect.Message
- func (x *GrantManagerServiceGrantRequest) Reset()
- func (x *GrantManagerServiceGrantRequest) String() string
- func (m *GrantManagerServiceGrantRequest) Validate() error
- func (m *GrantManagerServiceGrantRequest) ValidateAll() error
- type GrantManagerServiceGrantRequestMultiError
- type GrantManagerServiceGrantRequestValidationError
- func (e GrantManagerServiceGrantRequestValidationError) Cause() error
- func (e GrantManagerServiceGrantRequestValidationError) Error() string
- func (e GrantManagerServiceGrantRequestValidationError) ErrorName() string
- func (e GrantManagerServiceGrantRequestValidationError) Field() string
- func (e GrantManagerServiceGrantRequestValidationError) Key() bool
- func (e GrantManagerServiceGrantRequestValidationError) Reason() string
- type GrantManagerServiceGrantResponse
- func (*GrantManagerServiceGrantResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GrantManagerServiceGrantResponse) GetAnnotations() []*anypb.Any
- func (*GrantManagerServiceGrantResponse) ProtoMessage()
- func (x *GrantManagerServiceGrantResponse) ProtoReflect() protoreflect.Message
- func (x *GrantManagerServiceGrantResponse) Reset()
- func (x *GrantManagerServiceGrantResponse) String() string
- func (m *GrantManagerServiceGrantResponse) Validate() error
- func (m *GrantManagerServiceGrantResponse) ValidateAll() error
- type GrantManagerServiceGrantResponseMultiError
- type GrantManagerServiceGrantResponseValidationError
- func (e GrantManagerServiceGrantResponseValidationError) Cause() error
- func (e GrantManagerServiceGrantResponseValidationError) Error() string
- func (e GrantManagerServiceGrantResponseValidationError) ErrorName() string
- func (e GrantManagerServiceGrantResponseValidationError) Field() string
- func (e GrantManagerServiceGrantResponseValidationError) Key() bool
- func (e GrantManagerServiceGrantResponseValidationError) Reason() string
- type GrantManagerServiceRevokeRequest
- func (*GrantManagerServiceRevokeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GrantManagerServiceRevokeRequest) GetAnnotations() []*anypb.Any
- func (x *GrantManagerServiceRevokeRequest) GetGrant() *Grant
- func (*GrantManagerServiceRevokeRequest) ProtoMessage()
- func (x *GrantManagerServiceRevokeRequest) ProtoReflect() protoreflect.Message
- func (x *GrantManagerServiceRevokeRequest) Reset()
- func (x *GrantManagerServiceRevokeRequest) String() string
- func (m *GrantManagerServiceRevokeRequest) Validate() error
- func (m *GrantManagerServiceRevokeRequest) ValidateAll() error
- type GrantManagerServiceRevokeRequestMultiError
- type GrantManagerServiceRevokeRequestValidationError
- func (e GrantManagerServiceRevokeRequestValidationError) Cause() error
- func (e GrantManagerServiceRevokeRequestValidationError) Error() string
- func (e GrantManagerServiceRevokeRequestValidationError) ErrorName() string
- func (e GrantManagerServiceRevokeRequestValidationError) Field() string
- func (e GrantManagerServiceRevokeRequestValidationError) Key() bool
- func (e GrantManagerServiceRevokeRequestValidationError) Reason() string
- type GrantManagerServiceRevokeResponse
- func (*GrantManagerServiceRevokeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GrantManagerServiceRevokeResponse) GetAnnotations() []*anypb.Any
- func (*GrantManagerServiceRevokeResponse) ProtoMessage()
- func (x *GrantManagerServiceRevokeResponse) ProtoReflect() protoreflect.Message
- func (x *GrantManagerServiceRevokeResponse) Reset()
- func (x *GrantManagerServiceRevokeResponse) String() string
- func (m *GrantManagerServiceRevokeResponse) Validate() error
- func (m *GrantManagerServiceRevokeResponse) ValidateAll() error
- type GrantManagerServiceRevokeResponseMultiError
- type GrantManagerServiceRevokeResponseValidationError
- func (e GrantManagerServiceRevokeResponseValidationError) Cause() error
- func (e GrantManagerServiceRevokeResponseValidationError) Error() string
- func (e GrantManagerServiceRevokeResponseValidationError) ErrorName() string
- func (e GrantManagerServiceRevokeResponseValidationError) Field() string
- func (e GrantManagerServiceRevokeResponseValidationError) Key() bool
- func (e GrantManagerServiceRevokeResponseValidationError) Reason() string
- type GrantManagerServiceServer
- type GrantMultiError
- type GrantValidationError
- type GrantsServiceClient
- type GrantsServiceListGrantsRequest
- func (*GrantsServiceListGrantsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GrantsServiceListGrantsRequest) GetAnnotations() []*anypb.Any
- func (x *GrantsServiceListGrantsRequest) GetPageSize() uint32
- func (x *GrantsServiceListGrantsRequest) GetPageToken() string
- func (x *GrantsServiceListGrantsRequest) GetResource() *Resource
- func (*GrantsServiceListGrantsRequest) ProtoMessage()
- func (x *GrantsServiceListGrantsRequest) ProtoReflect() protoreflect.Message
- func (x *GrantsServiceListGrantsRequest) Reset()
- func (x *GrantsServiceListGrantsRequest) String() string
- func (m *GrantsServiceListGrantsRequest) Validate() error
- func (m *GrantsServiceListGrantsRequest) ValidateAll() error
- type GrantsServiceListGrantsRequestMultiError
- type GrantsServiceListGrantsRequestValidationError
- func (e GrantsServiceListGrantsRequestValidationError) Cause() error
- func (e GrantsServiceListGrantsRequestValidationError) Error() string
- func (e GrantsServiceListGrantsRequestValidationError) ErrorName() string
- func (e GrantsServiceListGrantsRequestValidationError) Field() string
- func (e GrantsServiceListGrantsRequestValidationError) Key() bool
- func (e GrantsServiceListGrantsRequestValidationError) Reason() string
- type GrantsServiceListGrantsResponse
- func (*GrantsServiceListGrantsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GrantsServiceListGrantsResponse) GetAnnotations() []*anypb.Any
- func (x *GrantsServiceListGrantsResponse) GetList() []*Grant
- func (x *GrantsServiceListGrantsResponse) GetNextPageToken() string
- func (*GrantsServiceListGrantsResponse) ProtoMessage()
- func (x *GrantsServiceListGrantsResponse) ProtoReflect() protoreflect.Message
- func (x *GrantsServiceListGrantsResponse) Reset()
- func (x *GrantsServiceListGrantsResponse) String() string
- func (m *GrantsServiceListGrantsResponse) Validate() error
- func (m *GrantsServiceListGrantsResponse) ValidateAll() error
- type GrantsServiceListGrantsResponseMultiError
- type GrantsServiceListGrantsResponseValidationError
- func (e GrantsServiceListGrantsResponseValidationError) Cause() error
- func (e GrantsServiceListGrantsResponseValidationError) Error() string
- func (e GrantsServiceListGrantsResponseValidationError) ErrorName() string
- func (e GrantsServiceListGrantsResponseValidationError) Field() string
- func (e GrantsServiceListGrantsResponseValidationError) Key() bool
- func (e GrantsServiceListGrantsResponseValidationError) Reason() string
- type GrantsServiceServer
- type Resource
- func (*Resource) Descriptor() ([]byte, []int)deprecated
- func (x *Resource) GetAnnotations() []*anypb.Any
- func (x *Resource) GetDisplayName() string
- func (x *Resource) GetId() *ResourceId
- func (x *Resource) GetParentResourceId() *ResourceId
- func (*Resource) ProtoMessage()
- func (x *Resource) ProtoReflect() protoreflect.Message
- func (x *Resource) Reset()
- func (x *Resource) String() string
- func (m *Resource) Validate() error
- func (m *Resource) ValidateAll() error
- type ResourceId
- func (*ResourceId) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceId) GetResource() string
- func (x *ResourceId) GetResourceType() string
- func (*ResourceId) ProtoMessage()
- func (x *ResourceId) ProtoReflect() protoreflect.Message
- func (x *ResourceId) Reset()
- func (x *ResourceId) String() string
- func (m *ResourceId) Validate() error
- func (m *ResourceId) ValidateAll() error
- type ResourceIdMultiError
- type ResourceIdValidationError
- type ResourceMultiError
- type ResourceType
- func (*ResourceType) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceType) GetAnnotations() []*anypb.Any
- func (x *ResourceType) GetDisplayName() string
- func (x *ResourceType) GetId() string
- func (x *ResourceType) GetTraits() []ResourceType_Trait
- func (*ResourceType) ProtoMessage()
- func (x *ResourceType) ProtoReflect() protoreflect.Message
- func (x *ResourceType) Reset()
- func (x *ResourceType) String() string
- func (m *ResourceType) Validate() error
- func (m *ResourceType) ValidateAll() error
- type ResourceTypeMultiError
- type ResourceTypeValidationError
- func (e ResourceTypeValidationError) Cause() error
- func (e ResourceTypeValidationError) Error() string
- func (e ResourceTypeValidationError) ErrorName() string
- func (e ResourceTypeValidationError) Field() string
- func (e ResourceTypeValidationError) Key() bool
- func (e ResourceTypeValidationError) Reason() string
- type ResourceType_Trait
- func (ResourceType_Trait) Descriptor() protoreflect.EnumDescriptor
- func (x ResourceType_Trait) Enum() *ResourceType_Trait
- func (ResourceType_Trait) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResourceType_Trait) Number() protoreflect.EnumNumber
- func (x ResourceType_Trait) String() string
- func (ResourceType_Trait) Type() protoreflect.EnumType
- type ResourceTypesServiceClient
- type ResourceTypesServiceListResourceTypesRequest
- func (*ResourceTypesServiceListResourceTypesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceTypesServiceListResourceTypesRequest) GetAnnotations() []*anypb.Any
- func (x *ResourceTypesServiceListResourceTypesRequest) GetPageSize() uint32
- func (x *ResourceTypesServiceListResourceTypesRequest) GetPageToken() string
- func (x *ResourceTypesServiceListResourceTypesRequest) GetParent() *Resource
- func (*ResourceTypesServiceListResourceTypesRequest) ProtoMessage()
- func (x *ResourceTypesServiceListResourceTypesRequest) ProtoReflect() protoreflect.Message
- func (x *ResourceTypesServiceListResourceTypesRequest) Reset()
- func (x *ResourceTypesServiceListResourceTypesRequest) String() string
- func (m *ResourceTypesServiceListResourceTypesRequest) Validate() error
- func (m *ResourceTypesServiceListResourceTypesRequest) ValidateAll() error
- type ResourceTypesServiceListResourceTypesRequestMultiError
- type ResourceTypesServiceListResourceTypesRequestValidationError
- func (e ResourceTypesServiceListResourceTypesRequestValidationError) Cause() error
- func (e ResourceTypesServiceListResourceTypesRequestValidationError) Error() string
- func (e ResourceTypesServiceListResourceTypesRequestValidationError) ErrorName() string
- func (e ResourceTypesServiceListResourceTypesRequestValidationError) Field() string
- func (e ResourceTypesServiceListResourceTypesRequestValidationError) Key() bool
- func (e ResourceTypesServiceListResourceTypesRequestValidationError) Reason() string
- type ResourceTypesServiceListResourceTypesResponse
- func (*ResourceTypesServiceListResourceTypesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceTypesServiceListResourceTypesResponse) GetAnnotations() []*anypb.Any
- func (x *ResourceTypesServiceListResourceTypesResponse) GetList() []*ResourceType
- func (x *ResourceTypesServiceListResourceTypesResponse) GetNextPageToken() string
- func (*ResourceTypesServiceListResourceTypesResponse) ProtoMessage()
- func (x *ResourceTypesServiceListResourceTypesResponse) ProtoReflect() protoreflect.Message
- func (x *ResourceTypesServiceListResourceTypesResponse) Reset()
- func (x *ResourceTypesServiceListResourceTypesResponse) String() string
- func (m *ResourceTypesServiceListResourceTypesResponse) Validate() error
- func (m *ResourceTypesServiceListResourceTypesResponse) ValidateAll() error
- type ResourceTypesServiceListResourceTypesResponseMultiError
- type ResourceTypesServiceListResourceTypesResponseValidationError
- func (e ResourceTypesServiceListResourceTypesResponseValidationError) Cause() error
- func (e ResourceTypesServiceListResourceTypesResponseValidationError) Error() string
- func (e ResourceTypesServiceListResourceTypesResponseValidationError) ErrorName() string
- func (e ResourceTypesServiceListResourceTypesResponseValidationError) Field() string
- func (e ResourceTypesServiceListResourceTypesResponseValidationError) Key() bool
- func (e ResourceTypesServiceListResourceTypesResponseValidationError) Reason() string
- type ResourceTypesServiceServer
- type ResourceValidationError
- type ResourcesServiceClient
- type ResourcesServiceListResourcesRequest
- func (*ResourcesServiceListResourcesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResourcesServiceListResourcesRequest) GetAnnotations() []*anypb.Any
- func (x *ResourcesServiceListResourcesRequest) GetPageSize() uint32
- func (x *ResourcesServiceListResourcesRequest) GetPageToken() string
- func (x *ResourcesServiceListResourcesRequest) GetParentResourceId() *ResourceId
- func (x *ResourcesServiceListResourcesRequest) GetResourceTypeId() string
- func (*ResourcesServiceListResourcesRequest) ProtoMessage()
- func (x *ResourcesServiceListResourcesRequest) ProtoReflect() protoreflect.Message
- func (x *ResourcesServiceListResourcesRequest) Reset()
- func (x *ResourcesServiceListResourcesRequest) String() string
- func (m *ResourcesServiceListResourcesRequest) Validate() error
- func (m *ResourcesServiceListResourcesRequest) ValidateAll() error
- type ResourcesServiceListResourcesRequestMultiError
- type ResourcesServiceListResourcesRequestValidationError
- func (e ResourcesServiceListResourcesRequestValidationError) Cause() error
- func (e ResourcesServiceListResourcesRequestValidationError) Error() string
- func (e ResourcesServiceListResourcesRequestValidationError) ErrorName() string
- func (e ResourcesServiceListResourcesRequestValidationError) Field() string
- func (e ResourcesServiceListResourcesRequestValidationError) Key() bool
- func (e ResourcesServiceListResourcesRequestValidationError) Reason() string
- type ResourcesServiceListResourcesResponse
- func (*ResourcesServiceListResourcesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResourcesServiceListResourcesResponse) GetAnnotations() []*anypb.Any
- func (x *ResourcesServiceListResourcesResponse) GetList() []*Resource
- func (x *ResourcesServiceListResourcesResponse) GetNextPageToken() string
- func (*ResourcesServiceListResourcesResponse) ProtoMessage()
- func (x *ResourcesServiceListResourcesResponse) ProtoReflect() protoreflect.Message
- func (x *ResourcesServiceListResourcesResponse) Reset()
- func (x *ResourcesServiceListResourcesResponse) String() string
- func (m *ResourcesServiceListResourcesResponse) Validate() error
- func (m *ResourcesServiceListResourcesResponse) ValidateAll() error
- type ResourcesServiceListResourcesResponseMultiError
- type ResourcesServiceListResourcesResponseValidationError
- func (e ResourcesServiceListResourcesResponseValidationError) Cause() error
- func (e ResourcesServiceListResourcesResponseValidationError) Error() string
- func (e ResourcesServiceListResourcesResponseValidationError) ErrorName() string
- func (e ResourcesServiceListResourcesResponseValidationError) Field() string
- func (e ResourcesServiceListResourcesResponseValidationError) Key() bool
- func (e ResourcesServiceListResourcesResponseValidationError) Reason() string
- type ResourcesServiceServer
- type UnimplementedEntitlementsServiceServer
- type UnimplementedGrantManagerServiceServer
- type UnimplementedGrantsServiceServer
- type UnimplementedResourceTypesServiceServer
- type UnimplementedResourcesServiceServer
- type UnsafeEntitlementsServiceServer
- type UnsafeGrantManagerServiceServer
- type UnsafeGrantsServiceServer
- type UnsafeResourceTypesServiceServer
- type UnsafeResourcesServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( Entitlement_PurposeValue_name = map[int32]string{ 0: "PURPOSE_VALUE_UNSPECIFIED", 1: "PURPOSE_VALUE_ASSIGNMENT", 2: "PURPOSE_VALUE_PERMISSION", } Entitlement_PurposeValue_value = map[string]int32{ "PURPOSE_VALUE_UNSPECIFIED": 0, "PURPOSE_VALUE_ASSIGNMENT": 1, "PURPOSE_VALUE_PERMISSION": 2, } )
Enum value maps for Entitlement_PurposeValue.
var ( ResourceType_Trait_name = map[int32]string{ 0: "TRAIT_UNSPECIFIED", 1: "TRAIT_USER", 2: "TRAIT_GROUP", 3: "TRAIT_ROLE", 4: "TRAIT_APP", } ResourceType_Trait_value = map[string]int32{ "TRAIT_UNSPECIFIED": 0, "TRAIT_USER": 1, "TRAIT_GROUP": 2, "TRAIT_ROLE": 3, "TRAIT_APP": 4, } )
Enum value maps for ResourceType_Trait.
var EntitlementsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "c1.connector.v2.EntitlementsService", HandlerType: (*EntitlementsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListEntitlements", Handler: _EntitlementsService_ListEntitlements_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "c1/connector/v2/entitlement.proto", }
EntitlementsService_ServiceDesc is the grpc.ServiceDesc for EntitlementsService 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_connector_v2_entitlement_proto protoreflect.FileDescriptor
var File_c1_connector_v2_grant_proto protoreflect.FileDescriptor
var File_c1_connector_v2_resource_proto protoreflect.FileDescriptor
var GrantManagerService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "c1.connector.v2.GrantManagerService", HandlerType: (*GrantManagerServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Grant", Handler: _GrantManagerService_Grant_Handler, }, { MethodName: "Revoke", Handler: _GrantManagerService_Revoke_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "c1/connector/v2/grant.proto", }
GrantManagerService_ServiceDesc is the grpc.ServiceDesc for GrantManagerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var GrantsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "c1.connector.v2.GrantsService", HandlerType: (*GrantsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListGrants", Handler: _GrantsService_ListGrants_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "c1/connector/v2/grant.proto", }
GrantsService_ServiceDesc is the grpc.ServiceDesc for GrantsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ResourceTypesService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "c1.connector.v2.ResourceTypesService", HandlerType: (*ResourceTypesServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListResourceTypes", Handler: _ResourceTypesService_ListResourceTypes_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "c1/connector/v2/resource.proto", }
ResourceTypesService_ServiceDesc is the grpc.ServiceDesc for ResourceTypesService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ResourcesService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "c1.connector.v2.ResourcesService", HandlerType: (*ResourcesServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListResources", Handler: _ResourcesService_ListResources_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "c1/connector/v2/resource.proto", }
ResourcesService_ServiceDesc is the grpc.ServiceDesc for ResourcesService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterEntitlementsServiceServer ¶
func RegisterEntitlementsServiceServer(s grpc.ServiceRegistrar, srv EntitlementsServiceServer)
func RegisterGrantManagerServiceServer ¶
func RegisterGrantManagerServiceServer(s grpc.ServiceRegistrar, srv GrantManagerServiceServer)
func RegisterGrantsServiceServer ¶
func RegisterGrantsServiceServer(s grpc.ServiceRegistrar, srv GrantsServiceServer)
func RegisterResourceTypesServiceServer ¶
func RegisterResourceTypesServiceServer(s grpc.ServiceRegistrar, srv ResourceTypesServiceServer)
func RegisterResourcesServiceServer ¶
func RegisterResourcesServiceServer(s grpc.ServiceRegistrar, srv ResourcesServiceServer)
Types ¶
type Entitlement ¶
type Entitlement struct { Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` GrantableTo []*ResourceType `protobuf:"bytes,5,rep,name=grantable_to,json=grantableTo,proto3" json:"grantable_to,omitempty"` Annotations []*anypb.Any `protobuf:"bytes,6,rep,name=annotations,proto3" json:"annotations,omitempty"` Purpose Entitlement_PurposeValue `protobuf:"varint,7,opt,name=purpose,proto3,enum=c1.connector.v2.Entitlement_PurposeValue" json:"purpose,omitempty"` Slug string `protobuf:"bytes,8,opt,name=slug,proto3" json:"slug,omitempty"` // contains filtered or unexported fields }
func (*Entitlement) Descriptor
deprecated
func (*Entitlement) Descriptor() ([]byte, []int)
Deprecated: Use Entitlement.ProtoReflect.Descriptor instead.
func (*Entitlement) GetAnnotations ¶
func (x *Entitlement) GetAnnotations() []*anypb.Any
func (*Entitlement) GetDescription ¶
func (x *Entitlement) GetDescription() string
func (*Entitlement) GetDisplayName ¶
func (x *Entitlement) GetDisplayName() string
func (*Entitlement) GetGrantableTo ¶
func (x *Entitlement) GetGrantableTo() []*ResourceType
func (*Entitlement) GetId ¶
func (x *Entitlement) GetId() string
func (*Entitlement) GetPurpose ¶
func (x *Entitlement) GetPurpose() Entitlement_PurposeValue
func (*Entitlement) GetResource ¶
func (x *Entitlement) GetResource() *Resource
func (*Entitlement) GetSlug ¶
func (x *Entitlement) GetSlug() string
func (*Entitlement) ProtoMessage ¶
func (*Entitlement) ProtoMessage()
func (*Entitlement) ProtoReflect ¶
func (x *Entitlement) ProtoReflect() protoreflect.Message
func (*Entitlement) Reset ¶
func (x *Entitlement) Reset()
func (*Entitlement) String ¶
func (x *Entitlement) String() string
func (*Entitlement) Validate ¶
func (m *Entitlement) Validate() error
Validate checks the field values on Entitlement 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 (*Entitlement) ValidateAll ¶
func (m *Entitlement) ValidateAll() error
ValidateAll checks the field values on Entitlement 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 EntitlementMultiError, or nil if none found.
type EntitlementMultiError ¶
type EntitlementMultiError []error
EntitlementMultiError is an error wrapping multiple validation errors returned by Entitlement.ValidateAll() if the designated constraints aren't met.
func (EntitlementMultiError) AllErrors ¶
func (m EntitlementMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EntitlementMultiError) Error ¶
func (m EntitlementMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EntitlementValidationError ¶
type EntitlementValidationError struct {
// contains filtered or unexported fields
}
EntitlementValidationError is the validation error returned by Entitlement.Validate if the designated constraints aren't met.
func (EntitlementValidationError) Cause ¶
func (e EntitlementValidationError) Cause() error
Cause function returns cause value.
func (EntitlementValidationError) Error ¶
func (e EntitlementValidationError) Error() string
Error satisfies the builtin error interface
func (EntitlementValidationError) ErrorName ¶
func (e EntitlementValidationError) ErrorName() string
ErrorName returns error name.
func (EntitlementValidationError) Field ¶
func (e EntitlementValidationError) Field() string
Field function returns field value.
func (EntitlementValidationError) Key ¶
func (e EntitlementValidationError) Key() bool
Key function returns key value.
func (EntitlementValidationError) Reason ¶
func (e EntitlementValidationError) Reason() string
Reason function returns reason value.
type Entitlement_PurposeValue ¶
type Entitlement_PurposeValue int32
const ( Entitlement_PURPOSE_VALUE_UNSPECIFIED Entitlement_PurposeValue = 0 Entitlement_PURPOSE_VALUE_ASSIGNMENT Entitlement_PurposeValue = 1 Entitlement_PURPOSE_VALUE_PERMISSION Entitlement_PurposeValue = 2 )
func (Entitlement_PurposeValue) Descriptor ¶
func (Entitlement_PurposeValue) Descriptor() protoreflect.EnumDescriptor
func (Entitlement_PurposeValue) Enum ¶
func (x Entitlement_PurposeValue) Enum() *Entitlement_PurposeValue
func (Entitlement_PurposeValue) EnumDescriptor
deprecated
func (Entitlement_PurposeValue) EnumDescriptor() ([]byte, []int)
Deprecated: Use Entitlement_PurposeValue.Descriptor instead.
func (Entitlement_PurposeValue) Number ¶
func (x Entitlement_PurposeValue) Number() protoreflect.EnumNumber
func (Entitlement_PurposeValue) String ¶
func (x Entitlement_PurposeValue) String() string
func (Entitlement_PurposeValue) Type ¶
func (Entitlement_PurposeValue) Type() protoreflect.EnumType
type EntitlementsServiceClient ¶
type EntitlementsServiceClient interface {
ListEntitlements(ctx context.Context, in *EntitlementsServiceListEntitlementsRequest, opts ...grpc.CallOption) (*EntitlementsServiceListEntitlementsResponse, error)
}
EntitlementsServiceClient is the client API for EntitlementsService 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 NewEntitlementsServiceClient ¶
func NewEntitlementsServiceClient(cc grpc.ClientConnInterface) EntitlementsServiceClient
type EntitlementsServiceListEntitlementsRequest ¶
type EntitlementsServiceListEntitlementsRequest struct { Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,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 (*EntitlementsServiceListEntitlementsRequest) Descriptor
deprecated
func (*EntitlementsServiceListEntitlementsRequest) Descriptor() ([]byte, []int)
Deprecated: Use EntitlementsServiceListEntitlementsRequest.ProtoReflect.Descriptor instead.
func (*EntitlementsServiceListEntitlementsRequest) GetAnnotations ¶
func (x *EntitlementsServiceListEntitlementsRequest) GetAnnotations() []*anypb.Any
func (*EntitlementsServiceListEntitlementsRequest) GetPageSize ¶
func (x *EntitlementsServiceListEntitlementsRequest) GetPageSize() uint32
func (*EntitlementsServiceListEntitlementsRequest) GetPageToken ¶
func (x *EntitlementsServiceListEntitlementsRequest) GetPageToken() string
func (*EntitlementsServiceListEntitlementsRequest) GetResource ¶
func (x *EntitlementsServiceListEntitlementsRequest) GetResource() *Resource
func (*EntitlementsServiceListEntitlementsRequest) ProtoMessage ¶
func (*EntitlementsServiceListEntitlementsRequest) ProtoMessage()
func (*EntitlementsServiceListEntitlementsRequest) ProtoReflect ¶
func (x *EntitlementsServiceListEntitlementsRequest) ProtoReflect() protoreflect.Message
func (*EntitlementsServiceListEntitlementsRequest) Reset ¶
func (x *EntitlementsServiceListEntitlementsRequest) Reset()
func (*EntitlementsServiceListEntitlementsRequest) String ¶
func (x *EntitlementsServiceListEntitlementsRequest) String() string
func (*EntitlementsServiceListEntitlementsRequest) Validate ¶
func (m *EntitlementsServiceListEntitlementsRequest) Validate() error
Validate checks the field values on EntitlementsServiceListEntitlementsRequest 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 (*EntitlementsServiceListEntitlementsRequest) ValidateAll ¶
func (m *EntitlementsServiceListEntitlementsRequest) ValidateAll() error
ValidateAll checks the field values on EntitlementsServiceListEntitlementsRequest 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 EntitlementsServiceListEntitlementsRequestMultiError, or nil if none found.
type EntitlementsServiceListEntitlementsRequestMultiError ¶
type EntitlementsServiceListEntitlementsRequestMultiError []error
EntitlementsServiceListEntitlementsRequestMultiError is an error wrapping multiple validation errors returned by EntitlementsServiceListEntitlementsRequest.ValidateAll() if the designated constraints aren't met.
func (EntitlementsServiceListEntitlementsRequestMultiError) AllErrors ¶
func (m EntitlementsServiceListEntitlementsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EntitlementsServiceListEntitlementsRequestMultiError) Error ¶
func (m EntitlementsServiceListEntitlementsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EntitlementsServiceListEntitlementsRequestValidationError ¶
type EntitlementsServiceListEntitlementsRequestValidationError struct {
// contains filtered or unexported fields
}
EntitlementsServiceListEntitlementsRequestValidationError is the validation error returned by EntitlementsServiceListEntitlementsRequest.Validate if the designated constraints aren't met.
func (EntitlementsServiceListEntitlementsRequestValidationError) Cause ¶
func (e EntitlementsServiceListEntitlementsRequestValidationError) Cause() error
Cause function returns cause value.
func (EntitlementsServiceListEntitlementsRequestValidationError) Error ¶
func (e EntitlementsServiceListEntitlementsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (EntitlementsServiceListEntitlementsRequestValidationError) ErrorName ¶
func (e EntitlementsServiceListEntitlementsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (EntitlementsServiceListEntitlementsRequestValidationError) Field ¶
func (e EntitlementsServiceListEntitlementsRequestValidationError) Field() string
Field function returns field value.
func (EntitlementsServiceListEntitlementsRequestValidationError) Key ¶
func (e EntitlementsServiceListEntitlementsRequestValidationError) Key() bool
Key function returns key value.
func (EntitlementsServiceListEntitlementsRequestValidationError) Reason ¶
func (e EntitlementsServiceListEntitlementsRequestValidationError) Reason() string
Reason function returns reason value.
type EntitlementsServiceListEntitlementsResponse ¶
type EntitlementsServiceListEntitlementsResponse struct { List []*Entitlement `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"` Annotations []*anypb.Any `protobuf:"bytes,3,rep,name=annotations,proto3" json:"annotations,omitempty"` // contains filtered or unexported fields }
func (*EntitlementsServiceListEntitlementsResponse) Descriptor
deprecated
func (*EntitlementsServiceListEntitlementsResponse) Descriptor() ([]byte, []int)
Deprecated: Use EntitlementsServiceListEntitlementsResponse.ProtoReflect.Descriptor instead.
func (*EntitlementsServiceListEntitlementsResponse) GetAnnotations ¶
func (x *EntitlementsServiceListEntitlementsResponse) GetAnnotations() []*anypb.Any
func (*EntitlementsServiceListEntitlementsResponse) GetList ¶
func (x *EntitlementsServiceListEntitlementsResponse) GetList() []*Entitlement
func (*EntitlementsServiceListEntitlementsResponse) GetNextPageToken ¶
func (x *EntitlementsServiceListEntitlementsResponse) GetNextPageToken() string
func (*EntitlementsServiceListEntitlementsResponse) ProtoMessage ¶
func (*EntitlementsServiceListEntitlementsResponse) ProtoMessage()
func (*EntitlementsServiceListEntitlementsResponse) ProtoReflect ¶
func (x *EntitlementsServiceListEntitlementsResponse) ProtoReflect() protoreflect.Message
func (*EntitlementsServiceListEntitlementsResponse) Reset ¶
func (x *EntitlementsServiceListEntitlementsResponse) Reset()
func (*EntitlementsServiceListEntitlementsResponse) String ¶
func (x *EntitlementsServiceListEntitlementsResponse) String() string
func (*EntitlementsServiceListEntitlementsResponse) Validate ¶
func (m *EntitlementsServiceListEntitlementsResponse) Validate() error
Validate checks the field values on EntitlementsServiceListEntitlementsResponse 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 (*EntitlementsServiceListEntitlementsResponse) ValidateAll ¶
func (m *EntitlementsServiceListEntitlementsResponse) ValidateAll() error
ValidateAll checks the field values on EntitlementsServiceListEntitlementsResponse 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 EntitlementsServiceListEntitlementsResponseMultiError, or nil if none found.
type EntitlementsServiceListEntitlementsResponseMultiError ¶
type EntitlementsServiceListEntitlementsResponseMultiError []error
EntitlementsServiceListEntitlementsResponseMultiError is an error wrapping multiple validation errors returned by EntitlementsServiceListEntitlementsResponse.ValidateAll() if the designated constraints aren't met.
func (EntitlementsServiceListEntitlementsResponseMultiError) AllErrors ¶
func (m EntitlementsServiceListEntitlementsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EntitlementsServiceListEntitlementsResponseMultiError) Error ¶
func (m EntitlementsServiceListEntitlementsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EntitlementsServiceListEntitlementsResponseValidationError ¶
type EntitlementsServiceListEntitlementsResponseValidationError struct {
// contains filtered or unexported fields
}
EntitlementsServiceListEntitlementsResponseValidationError is the validation error returned by EntitlementsServiceListEntitlementsResponse.Validate if the designated constraints aren't met.
func (EntitlementsServiceListEntitlementsResponseValidationError) Cause ¶
func (e EntitlementsServiceListEntitlementsResponseValidationError) Cause() error
Cause function returns cause value.
func (EntitlementsServiceListEntitlementsResponseValidationError) Error ¶
func (e EntitlementsServiceListEntitlementsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (EntitlementsServiceListEntitlementsResponseValidationError) ErrorName ¶
func (e EntitlementsServiceListEntitlementsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (EntitlementsServiceListEntitlementsResponseValidationError) Field ¶
func (e EntitlementsServiceListEntitlementsResponseValidationError) Field() string
Field function returns field value.
func (EntitlementsServiceListEntitlementsResponseValidationError) Key ¶
func (e EntitlementsServiceListEntitlementsResponseValidationError) Key() bool
Key function returns key value.
func (EntitlementsServiceListEntitlementsResponseValidationError) Reason ¶
func (e EntitlementsServiceListEntitlementsResponseValidationError) Reason() string
Reason function returns reason value.
type EntitlementsServiceServer ¶
type EntitlementsServiceServer interface {
ListEntitlements(context.Context, *EntitlementsServiceListEntitlementsRequest) (*EntitlementsServiceListEntitlementsResponse, error)
}
EntitlementsServiceServer is the server API for EntitlementsService service. All implementations should embed UnimplementedEntitlementsServiceServer for forward compatibility
type Grant ¶
type Grant struct { Entitlement *Entitlement `protobuf:"bytes,1,opt,name=entitlement,proto3" json:"entitlement,omitempty"` Principal *Resource `protobuf:"bytes,2,opt,name=principal,proto3" json:"principal,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` Annotations []*anypb.Any `protobuf:"bytes,4,rep,name=annotations,proto3" json:"annotations,omitempty"` // contains filtered or unexported fields }
func (*Grant) Descriptor
deprecated
func (*Grant) GetAnnotations ¶
func (*Grant) GetEntitlement ¶
func (x *Grant) GetEntitlement() *Entitlement
func (*Grant) GetPrincipal ¶
func (*Grant) ProtoMessage ¶
func (*Grant) ProtoMessage()
func (*Grant) ProtoReflect ¶
func (x *Grant) ProtoReflect() protoreflect.Message
func (*Grant) Validate ¶
Validate checks the field values on Grant 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 (*Grant) ValidateAll ¶
ValidateAll checks the field values on Grant 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 GrantMultiError, or nil if none found.
type GrantManagerServiceClient ¶
type GrantManagerServiceClient interface { Grant(ctx context.Context, in *GrantManagerServiceGrantRequest, opts ...grpc.CallOption) (*GrantManagerServiceGrantResponse, error) Revoke(ctx context.Context, in *GrantManagerServiceRevokeRequest, opts ...grpc.CallOption) (*GrantManagerServiceRevokeResponse, error) }
GrantManagerServiceClient is the client API for GrantManagerService 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 NewGrantManagerServiceClient ¶
func NewGrantManagerServiceClient(cc grpc.ClientConnInterface) GrantManagerServiceClient
type GrantManagerServiceGrantRequest ¶
type GrantManagerServiceGrantRequest struct { Entitlement *Entitlement `protobuf:"bytes,1,opt,name=entitlement,proto3" json:"entitlement,omitempty"` Principal *Resource `protobuf:"bytes,2,opt,name=principal,proto3" json:"principal,omitempty"` Annotations []*anypb.Any `protobuf:"bytes,3,rep,name=annotations,proto3" json:"annotations,omitempty"` // contains filtered or unexported fields }
func (*GrantManagerServiceGrantRequest) Descriptor
deprecated
func (*GrantManagerServiceGrantRequest) Descriptor() ([]byte, []int)
Deprecated: Use GrantManagerServiceGrantRequest.ProtoReflect.Descriptor instead.
func (*GrantManagerServiceGrantRequest) GetAnnotations ¶
func (x *GrantManagerServiceGrantRequest) GetAnnotations() []*anypb.Any
func (*GrantManagerServiceGrantRequest) GetEntitlement ¶
func (x *GrantManagerServiceGrantRequest) GetEntitlement() *Entitlement
func (*GrantManagerServiceGrantRequest) GetPrincipal ¶
func (x *GrantManagerServiceGrantRequest) GetPrincipal() *Resource
func (*GrantManagerServiceGrantRequest) ProtoMessage ¶
func (*GrantManagerServiceGrantRequest) ProtoMessage()
func (*GrantManagerServiceGrantRequest) ProtoReflect ¶
func (x *GrantManagerServiceGrantRequest) ProtoReflect() protoreflect.Message
func (*GrantManagerServiceGrantRequest) Reset ¶
func (x *GrantManagerServiceGrantRequest) Reset()
func (*GrantManagerServiceGrantRequest) String ¶
func (x *GrantManagerServiceGrantRequest) String() string
func (*GrantManagerServiceGrantRequest) Validate ¶
func (m *GrantManagerServiceGrantRequest) Validate() error
Validate checks the field values on GrantManagerServiceGrantRequest 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 (*GrantManagerServiceGrantRequest) ValidateAll ¶
func (m *GrantManagerServiceGrantRequest) ValidateAll() error
ValidateAll checks the field values on GrantManagerServiceGrantRequest 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 GrantManagerServiceGrantRequestMultiError, or nil if none found.
type GrantManagerServiceGrantRequestMultiError ¶
type GrantManagerServiceGrantRequestMultiError []error
GrantManagerServiceGrantRequestMultiError is an error wrapping multiple validation errors returned by GrantManagerServiceGrantRequest.ValidateAll() if the designated constraints aren't met.
func (GrantManagerServiceGrantRequestMultiError) AllErrors ¶
func (m GrantManagerServiceGrantRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GrantManagerServiceGrantRequestMultiError) Error ¶
func (m GrantManagerServiceGrantRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GrantManagerServiceGrantRequestValidationError ¶
type GrantManagerServiceGrantRequestValidationError struct {
// contains filtered or unexported fields
}
GrantManagerServiceGrantRequestValidationError is the validation error returned by GrantManagerServiceGrantRequest.Validate if the designated constraints aren't met.
func (GrantManagerServiceGrantRequestValidationError) Cause ¶
func (e GrantManagerServiceGrantRequestValidationError) Cause() error
Cause function returns cause value.
func (GrantManagerServiceGrantRequestValidationError) Error ¶
func (e GrantManagerServiceGrantRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GrantManagerServiceGrantRequestValidationError) ErrorName ¶
func (e GrantManagerServiceGrantRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GrantManagerServiceGrantRequestValidationError) Field ¶
func (e GrantManagerServiceGrantRequestValidationError) Field() string
Field function returns field value.
func (GrantManagerServiceGrantRequestValidationError) Key ¶
func (e GrantManagerServiceGrantRequestValidationError) Key() bool
Key function returns key value.
func (GrantManagerServiceGrantRequestValidationError) Reason ¶
func (e GrantManagerServiceGrantRequestValidationError) Reason() string
Reason function returns reason value.
type GrantManagerServiceGrantResponse ¶
type GrantManagerServiceGrantResponse struct { Annotations []*anypb.Any `protobuf:"bytes,1,rep,name=annotations,proto3" json:"annotations,omitempty"` // contains filtered or unexported fields }
func (*GrantManagerServiceGrantResponse) Descriptor
deprecated
func (*GrantManagerServiceGrantResponse) Descriptor() ([]byte, []int)
Deprecated: Use GrantManagerServiceGrantResponse.ProtoReflect.Descriptor instead.
func (*GrantManagerServiceGrantResponse) GetAnnotations ¶
func (x *GrantManagerServiceGrantResponse) GetAnnotations() []*anypb.Any
func (*GrantManagerServiceGrantResponse) ProtoMessage ¶
func (*GrantManagerServiceGrantResponse) ProtoMessage()
func (*GrantManagerServiceGrantResponse) ProtoReflect ¶
func (x *GrantManagerServiceGrantResponse) ProtoReflect() protoreflect.Message
func (*GrantManagerServiceGrantResponse) Reset ¶
func (x *GrantManagerServiceGrantResponse) Reset()
func (*GrantManagerServiceGrantResponse) String ¶
func (x *GrantManagerServiceGrantResponse) String() string
func (*GrantManagerServiceGrantResponse) Validate ¶
func (m *GrantManagerServiceGrantResponse) Validate() error
Validate checks the field values on GrantManagerServiceGrantResponse 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 (*GrantManagerServiceGrantResponse) ValidateAll ¶
func (m *GrantManagerServiceGrantResponse) ValidateAll() error
ValidateAll checks the field values on GrantManagerServiceGrantResponse 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 GrantManagerServiceGrantResponseMultiError, or nil if none found.
type GrantManagerServiceGrantResponseMultiError ¶
type GrantManagerServiceGrantResponseMultiError []error
GrantManagerServiceGrantResponseMultiError is an error wrapping multiple validation errors returned by GrantManagerServiceGrantResponse.ValidateAll() if the designated constraints aren't met.
func (GrantManagerServiceGrantResponseMultiError) AllErrors ¶
func (m GrantManagerServiceGrantResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GrantManagerServiceGrantResponseMultiError) Error ¶
func (m GrantManagerServiceGrantResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GrantManagerServiceGrantResponseValidationError ¶
type GrantManagerServiceGrantResponseValidationError struct {
// contains filtered or unexported fields
}
GrantManagerServiceGrantResponseValidationError is the validation error returned by GrantManagerServiceGrantResponse.Validate if the designated constraints aren't met.
func (GrantManagerServiceGrantResponseValidationError) Cause ¶
func (e GrantManagerServiceGrantResponseValidationError) Cause() error
Cause function returns cause value.
func (GrantManagerServiceGrantResponseValidationError) Error ¶
func (e GrantManagerServiceGrantResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GrantManagerServiceGrantResponseValidationError) ErrorName ¶
func (e GrantManagerServiceGrantResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GrantManagerServiceGrantResponseValidationError) Field ¶
func (e GrantManagerServiceGrantResponseValidationError) Field() string
Field function returns field value.
func (GrantManagerServiceGrantResponseValidationError) Key ¶
func (e GrantManagerServiceGrantResponseValidationError) Key() bool
Key function returns key value.
func (GrantManagerServiceGrantResponseValidationError) Reason ¶
func (e GrantManagerServiceGrantResponseValidationError) Reason() string
Reason function returns reason value.
type GrantManagerServiceRevokeRequest ¶
type GrantManagerServiceRevokeRequest struct { Grant *Grant `protobuf:"bytes,1,opt,name=grant,proto3" json:"grant,omitempty"` Annotations []*anypb.Any `protobuf:"bytes,2,rep,name=annotations,proto3" json:"annotations,omitempty"` // contains filtered or unexported fields }
func (*GrantManagerServiceRevokeRequest) Descriptor
deprecated
func (*GrantManagerServiceRevokeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GrantManagerServiceRevokeRequest.ProtoReflect.Descriptor instead.
func (*GrantManagerServiceRevokeRequest) GetAnnotations ¶
func (x *GrantManagerServiceRevokeRequest) GetAnnotations() []*anypb.Any
func (*GrantManagerServiceRevokeRequest) GetGrant ¶
func (x *GrantManagerServiceRevokeRequest) GetGrant() *Grant
func (*GrantManagerServiceRevokeRequest) ProtoMessage ¶
func (*GrantManagerServiceRevokeRequest) ProtoMessage()
func (*GrantManagerServiceRevokeRequest) ProtoReflect ¶
func (x *GrantManagerServiceRevokeRequest) ProtoReflect() protoreflect.Message
func (*GrantManagerServiceRevokeRequest) Reset ¶
func (x *GrantManagerServiceRevokeRequest) Reset()
func (*GrantManagerServiceRevokeRequest) String ¶
func (x *GrantManagerServiceRevokeRequest) String() string
func (*GrantManagerServiceRevokeRequest) Validate ¶
func (m *GrantManagerServiceRevokeRequest) Validate() error
Validate checks the field values on GrantManagerServiceRevokeRequest 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 (*GrantManagerServiceRevokeRequest) ValidateAll ¶
func (m *GrantManagerServiceRevokeRequest) ValidateAll() error
ValidateAll checks the field values on GrantManagerServiceRevokeRequest 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 GrantManagerServiceRevokeRequestMultiError, or nil if none found.
type GrantManagerServiceRevokeRequestMultiError ¶
type GrantManagerServiceRevokeRequestMultiError []error
GrantManagerServiceRevokeRequestMultiError is an error wrapping multiple validation errors returned by GrantManagerServiceRevokeRequest.ValidateAll() if the designated constraints aren't met.
func (GrantManagerServiceRevokeRequestMultiError) AllErrors ¶
func (m GrantManagerServiceRevokeRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GrantManagerServiceRevokeRequestMultiError) Error ¶
func (m GrantManagerServiceRevokeRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GrantManagerServiceRevokeRequestValidationError ¶
type GrantManagerServiceRevokeRequestValidationError struct {
// contains filtered or unexported fields
}
GrantManagerServiceRevokeRequestValidationError is the validation error returned by GrantManagerServiceRevokeRequest.Validate if the designated constraints aren't met.
func (GrantManagerServiceRevokeRequestValidationError) Cause ¶
func (e GrantManagerServiceRevokeRequestValidationError) Cause() error
Cause function returns cause value.
func (GrantManagerServiceRevokeRequestValidationError) Error ¶
func (e GrantManagerServiceRevokeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GrantManagerServiceRevokeRequestValidationError) ErrorName ¶
func (e GrantManagerServiceRevokeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GrantManagerServiceRevokeRequestValidationError) Field ¶
func (e GrantManagerServiceRevokeRequestValidationError) Field() string
Field function returns field value.
func (GrantManagerServiceRevokeRequestValidationError) Key ¶
func (e GrantManagerServiceRevokeRequestValidationError) Key() bool
Key function returns key value.
func (GrantManagerServiceRevokeRequestValidationError) Reason ¶
func (e GrantManagerServiceRevokeRequestValidationError) Reason() string
Reason function returns reason value.
type GrantManagerServiceRevokeResponse ¶
type GrantManagerServiceRevokeResponse struct { Annotations []*anypb.Any `protobuf:"bytes,1,rep,name=annotations,proto3" json:"annotations,omitempty"` // contains filtered or unexported fields }
func (*GrantManagerServiceRevokeResponse) Descriptor
deprecated
func (*GrantManagerServiceRevokeResponse) Descriptor() ([]byte, []int)
Deprecated: Use GrantManagerServiceRevokeResponse.ProtoReflect.Descriptor instead.
func (*GrantManagerServiceRevokeResponse) GetAnnotations ¶
func (x *GrantManagerServiceRevokeResponse) GetAnnotations() []*anypb.Any
func (*GrantManagerServiceRevokeResponse) ProtoMessage ¶
func (*GrantManagerServiceRevokeResponse) ProtoMessage()
func (*GrantManagerServiceRevokeResponse) ProtoReflect ¶
func (x *GrantManagerServiceRevokeResponse) ProtoReflect() protoreflect.Message
func (*GrantManagerServiceRevokeResponse) Reset ¶
func (x *GrantManagerServiceRevokeResponse) Reset()
func (*GrantManagerServiceRevokeResponse) String ¶
func (x *GrantManagerServiceRevokeResponse) String() string
func (*GrantManagerServiceRevokeResponse) Validate ¶
func (m *GrantManagerServiceRevokeResponse) Validate() error
Validate checks the field values on GrantManagerServiceRevokeResponse 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 (*GrantManagerServiceRevokeResponse) ValidateAll ¶
func (m *GrantManagerServiceRevokeResponse) ValidateAll() error
ValidateAll checks the field values on GrantManagerServiceRevokeResponse 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 GrantManagerServiceRevokeResponseMultiError, or nil if none found.
type GrantManagerServiceRevokeResponseMultiError ¶
type GrantManagerServiceRevokeResponseMultiError []error
GrantManagerServiceRevokeResponseMultiError is an error wrapping multiple validation errors returned by GrantManagerServiceRevokeResponse.ValidateAll() if the designated constraints aren't met.
func (GrantManagerServiceRevokeResponseMultiError) AllErrors ¶
func (m GrantManagerServiceRevokeResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GrantManagerServiceRevokeResponseMultiError) Error ¶
func (m GrantManagerServiceRevokeResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GrantManagerServiceRevokeResponseValidationError ¶
type GrantManagerServiceRevokeResponseValidationError struct {
// contains filtered or unexported fields
}
GrantManagerServiceRevokeResponseValidationError is the validation error returned by GrantManagerServiceRevokeResponse.Validate if the designated constraints aren't met.
func (GrantManagerServiceRevokeResponseValidationError) Cause ¶
func (e GrantManagerServiceRevokeResponseValidationError) Cause() error
Cause function returns cause value.
func (GrantManagerServiceRevokeResponseValidationError) Error ¶
func (e GrantManagerServiceRevokeResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GrantManagerServiceRevokeResponseValidationError) ErrorName ¶
func (e GrantManagerServiceRevokeResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GrantManagerServiceRevokeResponseValidationError) Field ¶
func (e GrantManagerServiceRevokeResponseValidationError) Field() string
Field function returns field value.
func (GrantManagerServiceRevokeResponseValidationError) Key ¶
func (e GrantManagerServiceRevokeResponseValidationError) Key() bool
Key function returns key value.
func (GrantManagerServiceRevokeResponseValidationError) Reason ¶
func (e GrantManagerServiceRevokeResponseValidationError) Reason() string
Reason function returns reason value.
type GrantManagerServiceServer ¶
type GrantManagerServiceServer interface { Grant(context.Context, *GrantManagerServiceGrantRequest) (*GrantManagerServiceGrantResponse, error) Revoke(context.Context, *GrantManagerServiceRevokeRequest) (*GrantManagerServiceRevokeResponse, error) }
GrantManagerServiceServer is the server API for GrantManagerService service. All implementations should embed UnimplementedGrantManagerServiceServer for forward compatibility
type GrantMultiError ¶
type GrantMultiError []error
GrantMultiError is an error wrapping multiple validation errors returned by Grant.ValidateAll() if the designated constraints aren't met.
func (GrantMultiError) AllErrors ¶
func (m GrantMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GrantMultiError) Error ¶
func (m GrantMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GrantValidationError ¶
type GrantValidationError struct {
// contains filtered or unexported fields
}
GrantValidationError is the validation error returned by Grant.Validate if the designated constraints aren't met.
func (GrantValidationError) Cause ¶
func (e GrantValidationError) Cause() error
Cause function returns cause value.
func (GrantValidationError) Error ¶
func (e GrantValidationError) Error() string
Error satisfies the builtin error interface
func (GrantValidationError) ErrorName ¶
func (e GrantValidationError) ErrorName() string
ErrorName returns error name.
func (GrantValidationError) Field ¶
func (e GrantValidationError) Field() string
Field function returns field value.
func (GrantValidationError) Key ¶
func (e GrantValidationError) Key() bool
Key function returns key value.
func (GrantValidationError) Reason ¶
func (e GrantValidationError) Reason() string
Reason function returns reason value.
type GrantsServiceClient ¶
type GrantsServiceClient interface {
ListGrants(ctx context.Context, in *GrantsServiceListGrantsRequest, opts ...grpc.CallOption) (*GrantsServiceListGrantsResponse, error)
}
GrantsServiceClient is the client API for GrantsService 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 NewGrantsServiceClient ¶
func NewGrantsServiceClient(cc grpc.ClientConnInterface) GrantsServiceClient
type GrantsServiceListGrantsRequest ¶
type GrantsServiceListGrantsRequest struct { Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,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 (*GrantsServiceListGrantsRequest) Descriptor
deprecated
func (*GrantsServiceListGrantsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GrantsServiceListGrantsRequest.ProtoReflect.Descriptor instead.
func (*GrantsServiceListGrantsRequest) GetAnnotations ¶
func (x *GrantsServiceListGrantsRequest) GetAnnotations() []*anypb.Any
func (*GrantsServiceListGrantsRequest) GetPageSize ¶
func (x *GrantsServiceListGrantsRequest) GetPageSize() uint32
func (*GrantsServiceListGrantsRequest) GetPageToken ¶
func (x *GrantsServiceListGrantsRequest) GetPageToken() string
func (*GrantsServiceListGrantsRequest) GetResource ¶
func (x *GrantsServiceListGrantsRequest) GetResource() *Resource
func (*GrantsServiceListGrantsRequest) ProtoMessage ¶
func (*GrantsServiceListGrantsRequest) ProtoMessage()
func (*GrantsServiceListGrantsRequest) ProtoReflect ¶
func (x *GrantsServiceListGrantsRequest) ProtoReflect() protoreflect.Message
func (*GrantsServiceListGrantsRequest) Reset ¶
func (x *GrantsServiceListGrantsRequest) Reset()
func (*GrantsServiceListGrantsRequest) String ¶
func (x *GrantsServiceListGrantsRequest) String() string
func (*GrantsServiceListGrantsRequest) Validate ¶
func (m *GrantsServiceListGrantsRequest) Validate() error
Validate checks the field values on GrantsServiceListGrantsRequest 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 (*GrantsServiceListGrantsRequest) ValidateAll ¶
func (m *GrantsServiceListGrantsRequest) ValidateAll() error
ValidateAll checks the field values on GrantsServiceListGrantsRequest 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 GrantsServiceListGrantsRequestMultiError, or nil if none found.
type GrantsServiceListGrantsRequestMultiError ¶
type GrantsServiceListGrantsRequestMultiError []error
GrantsServiceListGrantsRequestMultiError is an error wrapping multiple validation errors returned by GrantsServiceListGrantsRequest.ValidateAll() if the designated constraints aren't met.
func (GrantsServiceListGrantsRequestMultiError) AllErrors ¶
func (m GrantsServiceListGrantsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GrantsServiceListGrantsRequestMultiError) Error ¶
func (m GrantsServiceListGrantsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GrantsServiceListGrantsRequestValidationError ¶
type GrantsServiceListGrantsRequestValidationError struct {
// contains filtered or unexported fields
}
GrantsServiceListGrantsRequestValidationError is the validation error returned by GrantsServiceListGrantsRequest.Validate if the designated constraints aren't met.
func (GrantsServiceListGrantsRequestValidationError) Cause ¶
func (e GrantsServiceListGrantsRequestValidationError) Cause() error
Cause function returns cause value.
func (GrantsServiceListGrantsRequestValidationError) Error ¶
func (e GrantsServiceListGrantsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GrantsServiceListGrantsRequestValidationError) ErrorName ¶
func (e GrantsServiceListGrantsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GrantsServiceListGrantsRequestValidationError) Field ¶
func (e GrantsServiceListGrantsRequestValidationError) Field() string
Field function returns field value.
func (GrantsServiceListGrantsRequestValidationError) Key ¶
func (e GrantsServiceListGrantsRequestValidationError) Key() bool
Key function returns key value.
func (GrantsServiceListGrantsRequestValidationError) Reason ¶
func (e GrantsServiceListGrantsRequestValidationError) Reason() string
Reason function returns reason value.
type GrantsServiceListGrantsResponse ¶
type GrantsServiceListGrantsResponse struct { List []*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"` Annotations []*anypb.Any `protobuf:"bytes,3,rep,name=annotations,proto3" json:"annotations,omitempty"` // contains filtered or unexported fields }
func (*GrantsServiceListGrantsResponse) Descriptor
deprecated
func (*GrantsServiceListGrantsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GrantsServiceListGrantsResponse.ProtoReflect.Descriptor instead.
func (*GrantsServiceListGrantsResponse) GetAnnotations ¶
func (x *GrantsServiceListGrantsResponse) GetAnnotations() []*anypb.Any
func (*GrantsServiceListGrantsResponse) GetList ¶
func (x *GrantsServiceListGrantsResponse) GetList() []*Grant
func (*GrantsServiceListGrantsResponse) GetNextPageToken ¶
func (x *GrantsServiceListGrantsResponse) GetNextPageToken() string
func (*GrantsServiceListGrantsResponse) ProtoMessage ¶
func (*GrantsServiceListGrantsResponse) ProtoMessage()
func (*GrantsServiceListGrantsResponse) ProtoReflect ¶
func (x *GrantsServiceListGrantsResponse) ProtoReflect() protoreflect.Message
func (*GrantsServiceListGrantsResponse) Reset ¶
func (x *GrantsServiceListGrantsResponse) Reset()
func (*GrantsServiceListGrantsResponse) String ¶
func (x *GrantsServiceListGrantsResponse) String() string
func (*GrantsServiceListGrantsResponse) Validate ¶
func (m *GrantsServiceListGrantsResponse) Validate() error
Validate checks the field values on GrantsServiceListGrantsResponse 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 (*GrantsServiceListGrantsResponse) ValidateAll ¶
func (m *GrantsServiceListGrantsResponse) ValidateAll() error
ValidateAll checks the field values on GrantsServiceListGrantsResponse 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 GrantsServiceListGrantsResponseMultiError, or nil if none found.
type GrantsServiceListGrantsResponseMultiError ¶
type GrantsServiceListGrantsResponseMultiError []error
GrantsServiceListGrantsResponseMultiError is an error wrapping multiple validation errors returned by GrantsServiceListGrantsResponse.ValidateAll() if the designated constraints aren't met.
func (GrantsServiceListGrantsResponseMultiError) AllErrors ¶
func (m GrantsServiceListGrantsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GrantsServiceListGrantsResponseMultiError) Error ¶
func (m GrantsServiceListGrantsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GrantsServiceListGrantsResponseValidationError ¶
type GrantsServiceListGrantsResponseValidationError struct {
// contains filtered or unexported fields
}
GrantsServiceListGrantsResponseValidationError is the validation error returned by GrantsServiceListGrantsResponse.Validate if the designated constraints aren't met.
func (GrantsServiceListGrantsResponseValidationError) Cause ¶
func (e GrantsServiceListGrantsResponseValidationError) Cause() error
Cause function returns cause value.
func (GrantsServiceListGrantsResponseValidationError) Error ¶
func (e GrantsServiceListGrantsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GrantsServiceListGrantsResponseValidationError) ErrorName ¶
func (e GrantsServiceListGrantsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GrantsServiceListGrantsResponseValidationError) Field ¶
func (e GrantsServiceListGrantsResponseValidationError) Field() string
Field function returns field value.
func (GrantsServiceListGrantsResponseValidationError) Key ¶
func (e GrantsServiceListGrantsResponseValidationError) Key() bool
Key function returns key value.
func (GrantsServiceListGrantsResponseValidationError) Reason ¶
func (e GrantsServiceListGrantsResponseValidationError) Reason() string
Reason function returns reason value.
type GrantsServiceServer ¶
type GrantsServiceServer interface {
ListGrants(context.Context, *GrantsServiceListGrantsRequest) (*GrantsServiceListGrantsResponse, error)
}
GrantsServiceServer is the server API for GrantsService service. All implementations should embed UnimplementedGrantsServiceServer for forward compatibility
type Resource ¶
type Resource struct { Id *ResourceId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ParentResourceId *ResourceId `protobuf:"bytes,2,opt,name=parent_resource_id,json=parentResourceId,proto3" json:"parent_resource_id,omitempty"` DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` Annotations []*anypb.Any `protobuf:"bytes,4,rep,name=annotations,proto3" json:"annotations,omitempty"` // contains filtered or unexported fields }
func (*Resource) Descriptor
deprecated
func (*Resource) GetAnnotations ¶
func (*Resource) GetDisplayName ¶
func (*Resource) GetId ¶
func (x *Resource) GetId() *ResourceId
func (*Resource) GetParentResourceId ¶
func (x *Resource) GetParentResourceId() *ResourceId
func (*Resource) ProtoMessage ¶
func (*Resource) ProtoMessage()
func (*Resource) ProtoReflect ¶
func (x *Resource) ProtoReflect() protoreflect.Message
func (*Resource) Validate ¶
Validate checks the field values on Resource 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 (*Resource) ValidateAll ¶
ValidateAll checks the field values on Resource 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 ResourceMultiError, or nil if none found.
type ResourceId ¶
type ResourceId struct { ResourceType string `protobuf:"bytes,1,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"` Resource string `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*ResourceId) Descriptor
deprecated
func (*ResourceId) Descriptor() ([]byte, []int)
Deprecated: Use ResourceId.ProtoReflect.Descriptor instead.
func (*ResourceId) GetResource ¶
func (x *ResourceId) GetResource() string
func (*ResourceId) GetResourceType ¶
func (x *ResourceId) GetResourceType() string
func (*ResourceId) ProtoMessage ¶
func (*ResourceId) ProtoMessage()
func (*ResourceId) ProtoReflect ¶
func (x *ResourceId) ProtoReflect() protoreflect.Message
func (*ResourceId) Reset ¶
func (x *ResourceId) Reset()
func (*ResourceId) String ¶
func (x *ResourceId) String() string
func (*ResourceId) Validate ¶
func (m *ResourceId) Validate() error
Validate checks the field values on ResourceId 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 (*ResourceId) ValidateAll ¶
func (m *ResourceId) ValidateAll() error
ValidateAll checks the field values on ResourceId 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 ResourceIdMultiError, or nil if none found.
type ResourceIdMultiError ¶
type ResourceIdMultiError []error
ResourceIdMultiError is an error wrapping multiple validation errors returned by ResourceId.ValidateAll() if the designated constraints aren't met.
func (ResourceIdMultiError) AllErrors ¶
func (m ResourceIdMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResourceIdMultiError) Error ¶
func (m ResourceIdMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResourceIdValidationError ¶
type ResourceIdValidationError struct {
// contains filtered or unexported fields
}
ResourceIdValidationError is the validation error returned by ResourceId.Validate if the designated constraints aren't met.
func (ResourceIdValidationError) Cause ¶
func (e ResourceIdValidationError) Cause() error
Cause function returns cause value.
func (ResourceIdValidationError) Error ¶
func (e ResourceIdValidationError) Error() string
Error satisfies the builtin error interface
func (ResourceIdValidationError) ErrorName ¶
func (e ResourceIdValidationError) ErrorName() string
ErrorName returns error name.
func (ResourceIdValidationError) Field ¶
func (e ResourceIdValidationError) Field() string
Field function returns field value.
func (ResourceIdValidationError) Key ¶
func (e ResourceIdValidationError) Key() bool
Key function returns key value.
func (ResourceIdValidationError) Reason ¶
func (e ResourceIdValidationError) Reason() string
Reason function returns reason value.
type ResourceMultiError ¶
type ResourceMultiError []error
ResourceMultiError is an error wrapping multiple validation errors returned by Resource.ValidateAll() if the designated constraints aren't met.
func (ResourceMultiError) AllErrors ¶
func (m ResourceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResourceMultiError) Error ¶
func (m ResourceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResourceType ¶
type ResourceType struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` Traits []ResourceType_Trait `protobuf:"varint,3,rep,packed,name=traits,proto3,enum=c1.connector.v2.ResourceType_Trait" json:"traits,omitempty"` Annotations []*anypb.Any `protobuf:"bytes,4,rep,name=annotations,proto3" json:"annotations,omitempty"` // contains filtered or unexported fields }
func (*ResourceType) Descriptor
deprecated
func (*ResourceType) Descriptor() ([]byte, []int)
Deprecated: Use ResourceType.ProtoReflect.Descriptor instead.
func (*ResourceType) GetAnnotations ¶
func (x *ResourceType) GetAnnotations() []*anypb.Any
func (*ResourceType) GetDisplayName ¶
func (x *ResourceType) GetDisplayName() string
func (*ResourceType) GetId ¶
func (x *ResourceType) GetId() string
func (*ResourceType) GetTraits ¶
func (x *ResourceType) GetTraits() []ResourceType_Trait
func (*ResourceType) ProtoMessage ¶
func (*ResourceType) ProtoMessage()
func (*ResourceType) ProtoReflect ¶
func (x *ResourceType) ProtoReflect() protoreflect.Message
func (*ResourceType) Reset ¶
func (x *ResourceType) Reset()
func (*ResourceType) String ¶
func (x *ResourceType) String() string
func (*ResourceType) Validate ¶
func (m *ResourceType) Validate() error
Validate checks the field values on ResourceType 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 (*ResourceType) ValidateAll ¶
func (m *ResourceType) ValidateAll() error
ValidateAll checks the field values on ResourceType 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 ResourceTypeMultiError, or nil if none found.
type ResourceTypeMultiError ¶
type ResourceTypeMultiError []error
ResourceTypeMultiError is an error wrapping multiple validation errors returned by ResourceType.ValidateAll() if the designated constraints aren't met.
func (ResourceTypeMultiError) AllErrors ¶
func (m ResourceTypeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResourceTypeMultiError) Error ¶
func (m ResourceTypeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResourceTypeValidationError ¶
type ResourceTypeValidationError struct {
// contains filtered or unexported fields
}
ResourceTypeValidationError is the validation error returned by ResourceType.Validate if the designated constraints aren't met.
func (ResourceTypeValidationError) Cause ¶
func (e ResourceTypeValidationError) Cause() error
Cause function returns cause value.
func (ResourceTypeValidationError) Error ¶
func (e ResourceTypeValidationError) Error() string
Error satisfies the builtin error interface
func (ResourceTypeValidationError) ErrorName ¶
func (e ResourceTypeValidationError) ErrorName() string
ErrorName returns error name.
func (ResourceTypeValidationError) Field ¶
func (e ResourceTypeValidationError) Field() string
Field function returns field value.
func (ResourceTypeValidationError) Key ¶
func (e ResourceTypeValidationError) Key() bool
Key function returns key value.
func (ResourceTypeValidationError) Reason ¶
func (e ResourceTypeValidationError) Reason() string
Reason function returns reason value.
type ResourceType_Trait ¶
type ResourceType_Trait int32
const ( ResourceType_TRAIT_UNSPECIFIED ResourceType_Trait = 0 ResourceType_TRAIT_USER ResourceType_Trait = 1 ResourceType_TRAIT_GROUP ResourceType_Trait = 2 ResourceType_TRAIT_ROLE ResourceType_Trait = 3 ResourceType_TRAIT_APP ResourceType_Trait = 4 )
func (ResourceType_Trait) Descriptor ¶
func (ResourceType_Trait) Descriptor() protoreflect.EnumDescriptor
func (ResourceType_Trait) Enum ¶
func (x ResourceType_Trait) Enum() *ResourceType_Trait
func (ResourceType_Trait) EnumDescriptor
deprecated
func (ResourceType_Trait) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResourceType_Trait.Descriptor instead.
func (ResourceType_Trait) Number ¶
func (x ResourceType_Trait) Number() protoreflect.EnumNumber
func (ResourceType_Trait) String ¶
func (x ResourceType_Trait) String() string
func (ResourceType_Trait) Type ¶
func (ResourceType_Trait) Type() protoreflect.EnumType
type ResourceTypesServiceClient ¶
type ResourceTypesServiceClient interface {
ListResourceTypes(ctx context.Context, in *ResourceTypesServiceListResourceTypesRequest, opts ...grpc.CallOption) (*ResourceTypesServiceListResourceTypesResponse, error)
}
ResourceTypesServiceClient is the client API for ResourceTypesService 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 NewResourceTypesServiceClient ¶
func NewResourceTypesServiceClient(cc grpc.ClientConnInterface) ResourceTypesServiceClient
type ResourceTypesServiceListResourceTypesRequest ¶
type ResourceTypesServiceListResourceTypesRequest struct { Parent *Resource `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,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 (*ResourceTypesServiceListResourceTypesRequest) Descriptor
deprecated
func (*ResourceTypesServiceListResourceTypesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResourceTypesServiceListResourceTypesRequest.ProtoReflect.Descriptor instead.
func (*ResourceTypesServiceListResourceTypesRequest) GetAnnotations ¶
func (x *ResourceTypesServiceListResourceTypesRequest) GetAnnotations() []*anypb.Any
func (*ResourceTypesServiceListResourceTypesRequest) GetPageSize ¶
func (x *ResourceTypesServiceListResourceTypesRequest) GetPageSize() uint32
func (*ResourceTypesServiceListResourceTypesRequest) GetPageToken ¶
func (x *ResourceTypesServiceListResourceTypesRequest) GetPageToken() string
func (*ResourceTypesServiceListResourceTypesRequest) GetParent ¶
func (x *ResourceTypesServiceListResourceTypesRequest) GetParent() *Resource
func (*ResourceTypesServiceListResourceTypesRequest) ProtoMessage ¶
func (*ResourceTypesServiceListResourceTypesRequest) ProtoMessage()
func (*ResourceTypesServiceListResourceTypesRequest) ProtoReflect ¶
func (x *ResourceTypesServiceListResourceTypesRequest) ProtoReflect() protoreflect.Message
func (*ResourceTypesServiceListResourceTypesRequest) Reset ¶
func (x *ResourceTypesServiceListResourceTypesRequest) Reset()
func (*ResourceTypesServiceListResourceTypesRequest) String ¶
func (x *ResourceTypesServiceListResourceTypesRequest) String() string
func (*ResourceTypesServiceListResourceTypesRequest) Validate ¶
func (m *ResourceTypesServiceListResourceTypesRequest) Validate() error
Validate checks the field values on ResourceTypesServiceListResourceTypesRequest 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 (*ResourceTypesServiceListResourceTypesRequest) ValidateAll ¶
func (m *ResourceTypesServiceListResourceTypesRequest) ValidateAll() error
ValidateAll checks the field values on ResourceTypesServiceListResourceTypesRequest 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 ResourceTypesServiceListResourceTypesRequestMultiError, or nil if none found.
type ResourceTypesServiceListResourceTypesRequestMultiError ¶
type ResourceTypesServiceListResourceTypesRequestMultiError []error
ResourceTypesServiceListResourceTypesRequestMultiError is an error wrapping multiple validation errors returned by ResourceTypesServiceListResourceTypesRequest.ValidateAll() if the designated constraints aren't met.
func (ResourceTypesServiceListResourceTypesRequestMultiError) AllErrors ¶
func (m ResourceTypesServiceListResourceTypesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResourceTypesServiceListResourceTypesRequestMultiError) Error ¶
func (m ResourceTypesServiceListResourceTypesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResourceTypesServiceListResourceTypesRequestValidationError ¶
type ResourceTypesServiceListResourceTypesRequestValidationError struct {
// contains filtered or unexported fields
}
ResourceTypesServiceListResourceTypesRequestValidationError is the validation error returned by ResourceTypesServiceListResourceTypesRequest.Validate if the designated constraints aren't met.
func (ResourceTypesServiceListResourceTypesRequestValidationError) Cause ¶
func (e ResourceTypesServiceListResourceTypesRequestValidationError) Cause() error
Cause function returns cause value.
func (ResourceTypesServiceListResourceTypesRequestValidationError) Error ¶
func (e ResourceTypesServiceListResourceTypesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ResourceTypesServiceListResourceTypesRequestValidationError) ErrorName ¶
func (e ResourceTypesServiceListResourceTypesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ResourceTypesServiceListResourceTypesRequestValidationError) Field ¶
func (e ResourceTypesServiceListResourceTypesRequestValidationError) Field() string
Field function returns field value.
func (ResourceTypesServiceListResourceTypesRequestValidationError) Key ¶
func (e ResourceTypesServiceListResourceTypesRequestValidationError) Key() bool
Key function returns key value.
func (ResourceTypesServiceListResourceTypesRequestValidationError) Reason ¶
func (e ResourceTypesServiceListResourceTypesRequestValidationError) Reason() string
Reason function returns reason value.
type ResourceTypesServiceListResourceTypesResponse ¶
type ResourceTypesServiceListResourceTypesResponse struct { List []*ResourceType `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"` Annotations []*anypb.Any `protobuf:"bytes,3,rep,name=annotations,proto3" json:"annotations,omitempty"` // contains filtered or unexported fields }
func (*ResourceTypesServiceListResourceTypesResponse) Descriptor
deprecated
func (*ResourceTypesServiceListResourceTypesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResourceTypesServiceListResourceTypesResponse.ProtoReflect.Descriptor instead.
func (*ResourceTypesServiceListResourceTypesResponse) GetAnnotations ¶
func (x *ResourceTypesServiceListResourceTypesResponse) GetAnnotations() []*anypb.Any
func (*ResourceTypesServiceListResourceTypesResponse) GetList ¶
func (x *ResourceTypesServiceListResourceTypesResponse) GetList() []*ResourceType
func (*ResourceTypesServiceListResourceTypesResponse) GetNextPageToken ¶
func (x *ResourceTypesServiceListResourceTypesResponse) GetNextPageToken() string
func (*ResourceTypesServiceListResourceTypesResponse) ProtoMessage ¶
func (*ResourceTypesServiceListResourceTypesResponse) ProtoMessage()
func (*ResourceTypesServiceListResourceTypesResponse) ProtoReflect ¶
func (x *ResourceTypesServiceListResourceTypesResponse) ProtoReflect() protoreflect.Message
func (*ResourceTypesServiceListResourceTypesResponse) Reset ¶
func (x *ResourceTypesServiceListResourceTypesResponse) Reset()
func (*ResourceTypesServiceListResourceTypesResponse) String ¶
func (x *ResourceTypesServiceListResourceTypesResponse) String() string
func (*ResourceTypesServiceListResourceTypesResponse) Validate ¶
func (m *ResourceTypesServiceListResourceTypesResponse) Validate() error
Validate checks the field values on ResourceTypesServiceListResourceTypesResponse 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 (*ResourceTypesServiceListResourceTypesResponse) ValidateAll ¶
func (m *ResourceTypesServiceListResourceTypesResponse) ValidateAll() error
ValidateAll checks the field values on ResourceTypesServiceListResourceTypesResponse 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 ResourceTypesServiceListResourceTypesResponseMultiError, or nil if none found.
type ResourceTypesServiceListResourceTypesResponseMultiError ¶
type ResourceTypesServiceListResourceTypesResponseMultiError []error
ResourceTypesServiceListResourceTypesResponseMultiError is an error wrapping multiple validation errors returned by ResourceTypesServiceListResourceTypesResponse.ValidateAll() if the designated constraints aren't met.
func (ResourceTypesServiceListResourceTypesResponseMultiError) AllErrors ¶
func (m ResourceTypesServiceListResourceTypesResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResourceTypesServiceListResourceTypesResponseMultiError) Error ¶
func (m ResourceTypesServiceListResourceTypesResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResourceTypesServiceListResourceTypesResponseValidationError ¶
type ResourceTypesServiceListResourceTypesResponseValidationError struct {
// contains filtered or unexported fields
}
ResourceTypesServiceListResourceTypesResponseValidationError is the validation error returned by ResourceTypesServiceListResourceTypesResponse.Validate if the designated constraints aren't met.
func (ResourceTypesServiceListResourceTypesResponseValidationError) Cause ¶
func (e ResourceTypesServiceListResourceTypesResponseValidationError) Cause() error
Cause function returns cause value.
func (ResourceTypesServiceListResourceTypesResponseValidationError) Error ¶
func (e ResourceTypesServiceListResourceTypesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ResourceTypesServiceListResourceTypesResponseValidationError) ErrorName ¶
func (e ResourceTypesServiceListResourceTypesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ResourceTypesServiceListResourceTypesResponseValidationError) Field ¶
func (e ResourceTypesServiceListResourceTypesResponseValidationError) Field() string
Field function returns field value.
func (ResourceTypesServiceListResourceTypesResponseValidationError) Key ¶
func (e ResourceTypesServiceListResourceTypesResponseValidationError) Key() bool
Key function returns key value.
func (ResourceTypesServiceListResourceTypesResponseValidationError) Reason ¶
func (e ResourceTypesServiceListResourceTypesResponseValidationError) Reason() string
Reason function returns reason value.
type ResourceTypesServiceServer ¶
type ResourceTypesServiceServer interface {
ListResourceTypes(context.Context, *ResourceTypesServiceListResourceTypesRequest) (*ResourceTypesServiceListResourceTypesResponse, error)
}
ResourceTypesServiceServer is the server API for ResourceTypesService service. All implementations should embed UnimplementedResourceTypesServiceServer for forward compatibility
type ResourceValidationError ¶
type ResourceValidationError struct {
// contains filtered or unexported fields
}
ResourceValidationError is the validation error returned by Resource.Validate if the designated constraints aren't met.
func (ResourceValidationError) Cause ¶
func (e ResourceValidationError) Cause() error
Cause function returns cause value.
func (ResourceValidationError) Error ¶
func (e ResourceValidationError) Error() string
Error satisfies the builtin error interface
func (ResourceValidationError) ErrorName ¶
func (e ResourceValidationError) ErrorName() string
ErrorName returns error name.
func (ResourceValidationError) Field ¶
func (e ResourceValidationError) Field() string
Field function returns field value.
func (ResourceValidationError) Key ¶
func (e ResourceValidationError) Key() bool
Key function returns key value.
func (ResourceValidationError) Reason ¶
func (e ResourceValidationError) Reason() string
Reason function returns reason value.
type ResourcesServiceClient ¶
type ResourcesServiceClient interface {
ListResources(ctx context.Context, in *ResourcesServiceListResourcesRequest, opts ...grpc.CallOption) (*ResourcesServiceListResourcesResponse, error)
}
ResourcesServiceClient is the client API for ResourcesService 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 NewResourcesServiceClient ¶
func NewResourcesServiceClient(cc grpc.ClientConnInterface) ResourcesServiceClient
type ResourcesServiceListResourcesRequest ¶
type ResourcesServiceListResourcesRequest struct { ResourceTypeId string `protobuf:"bytes,1,opt,name=resource_type_id,json=resourceTypeId,proto3" json:"resource_type_id,omitempty"` ParentResourceId *ResourceId `protobuf:"bytes,2,opt,name=parent_resource_id,json=parentResourceId,proto3" json:"parent_resource_id,omitempty"` PageSize uint32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` Annotations []*anypb.Any `protobuf:"bytes,5,rep,name=annotations,proto3" json:"annotations,omitempty"` // contains filtered or unexported fields }
func (*ResourcesServiceListResourcesRequest) Descriptor
deprecated
func (*ResourcesServiceListResourcesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResourcesServiceListResourcesRequest.ProtoReflect.Descriptor instead.
func (*ResourcesServiceListResourcesRequest) GetAnnotations ¶
func (x *ResourcesServiceListResourcesRequest) GetAnnotations() []*anypb.Any
func (*ResourcesServiceListResourcesRequest) GetPageSize ¶
func (x *ResourcesServiceListResourcesRequest) GetPageSize() uint32
func (*ResourcesServiceListResourcesRequest) GetPageToken ¶
func (x *ResourcesServiceListResourcesRequest) GetPageToken() string
func (*ResourcesServiceListResourcesRequest) GetParentResourceId ¶
func (x *ResourcesServiceListResourcesRequest) GetParentResourceId() *ResourceId
func (*ResourcesServiceListResourcesRequest) GetResourceTypeId ¶
func (x *ResourcesServiceListResourcesRequest) GetResourceTypeId() string
func (*ResourcesServiceListResourcesRequest) ProtoMessage ¶
func (*ResourcesServiceListResourcesRequest) ProtoMessage()
func (*ResourcesServiceListResourcesRequest) ProtoReflect ¶
func (x *ResourcesServiceListResourcesRequest) ProtoReflect() protoreflect.Message
func (*ResourcesServiceListResourcesRequest) Reset ¶
func (x *ResourcesServiceListResourcesRequest) Reset()
func (*ResourcesServiceListResourcesRequest) String ¶
func (x *ResourcesServiceListResourcesRequest) String() string
func (*ResourcesServiceListResourcesRequest) Validate ¶
func (m *ResourcesServiceListResourcesRequest) Validate() error
Validate checks the field values on ResourcesServiceListResourcesRequest 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 (*ResourcesServiceListResourcesRequest) ValidateAll ¶
func (m *ResourcesServiceListResourcesRequest) ValidateAll() error
ValidateAll checks the field values on ResourcesServiceListResourcesRequest 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 ResourcesServiceListResourcesRequestMultiError, or nil if none found.
type ResourcesServiceListResourcesRequestMultiError ¶
type ResourcesServiceListResourcesRequestMultiError []error
ResourcesServiceListResourcesRequestMultiError is an error wrapping multiple validation errors returned by ResourcesServiceListResourcesRequest.ValidateAll() if the designated constraints aren't met.
func (ResourcesServiceListResourcesRequestMultiError) AllErrors ¶
func (m ResourcesServiceListResourcesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResourcesServiceListResourcesRequestMultiError) Error ¶
func (m ResourcesServiceListResourcesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResourcesServiceListResourcesRequestValidationError ¶
type ResourcesServiceListResourcesRequestValidationError struct {
// contains filtered or unexported fields
}
ResourcesServiceListResourcesRequestValidationError is the validation error returned by ResourcesServiceListResourcesRequest.Validate if the designated constraints aren't met.
func (ResourcesServiceListResourcesRequestValidationError) Cause ¶
func (e ResourcesServiceListResourcesRequestValidationError) Cause() error
Cause function returns cause value.
func (ResourcesServiceListResourcesRequestValidationError) Error ¶
func (e ResourcesServiceListResourcesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ResourcesServiceListResourcesRequestValidationError) ErrorName ¶
func (e ResourcesServiceListResourcesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ResourcesServiceListResourcesRequestValidationError) Field ¶
func (e ResourcesServiceListResourcesRequestValidationError) Field() string
Field function returns field value.
func (ResourcesServiceListResourcesRequestValidationError) Key ¶
func (e ResourcesServiceListResourcesRequestValidationError) Key() bool
Key function returns key value.
func (ResourcesServiceListResourcesRequestValidationError) Reason ¶
func (e ResourcesServiceListResourcesRequestValidationError) Reason() string
Reason function returns reason value.
type ResourcesServiceListResourcesResponse ¶
type ResourcesServiceListResourcesResponse struct { List []*Resource `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"` Annotations []*anypb.Any `protobuf:"bytes,3,rep,name=annotations,proto3" json:"annotations,omitempty"` // contains filtered or unexported fields }
func (*ResourcesServiceListResourcesResponse) Descriptor
deprecated
func (*ResourcesServiceListResourcesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResourcesServiceListResourcesResponse.ProtoReflect.Descriptor instead.
func (*ResourcesServiceListResourcesResponse) GetAnnotations ¶
func (x *ResourcesServiceListResourcesResponse) GetAnnotations() []*anypb.Any
func (*ResourcesServiceListResourcesResponse) GetList ¶
func (x *ResourcesServiceListResourcesResponse) GetList() []*Resource
func (*ResourcesServiceListResourcesResponse) GetNextPageToken ¶
func (x *ResourcesServiceListResourcesResponse) GetNextPageToken() string
func (*ResourcesServiceListResourcesResponse) ProtoMessage ¶
func (*ResourcesServiceListResourcesResponse) ProtoMessage()
func (*ResourcesServiceListResourcesResponse) ProtoReflect ¶
func (x *ResourcesServiceListResourcesResponse) ProtoReflect() protoreflect.Message
func (*ResourcesServiceListResourcesResponse) Reset ¶
func (x *ResourcesServiceListResourcesResponse) Reset()
func (*ResourcesServiceListResourcesResponse) String ¶
func (x *ResourcesServiceListResourcesResponse) String() string
func (*ResourcesServiceListResourcesResponse) Validate ¶
func (m *ResourcesServiceListResourcesResponse) Validate() error
Validate checks the field values on ResourcesServiceListResourcesResponse 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 (*ResourcesServiceListResourcesResponse) ValidateAll ¶
func (m *ResourcesServiceListResourcesResponse) ValidateAll() error
ValidateAll checks the field values on ResourcesServiceListResourcesResponse 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 ResourcesServiceListResourcesResponseMultiError, or nil if none found.
type ResourcesServiceListResourcesResponseMultiError ¶
type ResourcesServiceListResourcesResponseMultiError []error
ResourcesServiceListResourcesResponseMultiError is an error wrapping multiple validation errors returned by ResourcesServiceListResourcesResponse.ValidateAll() if the designated constraints aren't met.
func (ResourcesServiceListResourcesResponseMultiError) AllErrors ¶
func (m ResourcesServiceListResourcesResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResourcesServiceListResourcesResponseMultiError) Error ¶
func (m ResourcesServiceListResourcesResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResourcesServiceListResourcesResponseValidationError ¶
type ResourcesServiceListResourcesResponseValidationError struct {
// contains filtered or unexported fields
}
ResourcesServiceListResourcesResponseValidationError is the validation error returned by ResourcesServiceListResourcesResponse.Validate if the designated constraints aren't met.
func (ResourcesServiceListResourcesResponseValidationError) Cause ¶
func (e ResourcesServiceListResourcesResponseValidationError) Cause() error
Cause function returns cause value.
func (ResourcesServiceListResourcesResponseValidationError) Error ¶
func (e ResourcesServiceListResourcesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ResourcesServiceListResourcesResponseValidationError) ErrorName ¶
func (e ResourcesServiceListResourcesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ResourcesServiceListResourcesResponseValidationError) Field ¶
func (e ResourcesServiceListResourcesResponseValidationError) Field() string
Field function returns field value.
func (ResourcesServiceListResourcesResponseValidationError) Key ¶
func (e ResourcesServiceListResourcesResponseValidationError) Key() bool
Key function returns key value.
func (ResourcesServiceListResourcesResponseValidationError) Reason ¶
func (e ResourcesServiceListResourcesResponseValidationError) Reason() string
Reason function returns reason value.
type ResourcesServiceServer ¶
type ResourcesServiceServer interface {
ListResources(context.Context, *ResourcesServiceListResourcesRequest) (*ResourcesServiceListResourcesResponse, error)
}
ResourcesServiceServer is the server API for ResourcesService service. All implementations should embed UnimplementedResourcesServiceServer for forward compatibility
type UnimplementedEntitlementsServiceServer ¶
type UnimplementedEntitlementsServiceServer struct { }
UnimplementedEntitlementsServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedEntitlementsServiceServer) ListEntitlements ¶
func (UnimplementedEntitlementsServiceServer) ListEntitlements(context.Context, *EntitlementsServiceListEntitlementsRequest) (*EntitlementsServiceListEntitlementsResponse, error)
type UnimplementedGrantManagerServiceServer ¶
type UnimplementedGrantManagerServiceServer struct { }
UnimplementedGrantManagerServiceServer should be embedded to have forward compatible implementations.
type UnimplementedGrantsServiceServer ¶
type UnimplementedGrantsServiceServer struct { }
UnimplementedGrantsServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedGrantsServiceServer) ListGrants ¶
func (UnimplementedGrantsServiceServer) ListGrants(context.Context, *GrantsServiceListGrantsRequest) (*GrantsServiceListGrantsResponse, error)
type UnimplementedResourceTypesServiceServer ¶
type UnimplementedResourceTypesServiceServer struct { }
UnimplementedResourceTypesServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedResourceTypesServiceServer) ListResourceTypes ¶
func (UnimplementedResourceTypesServiceServer) ListResourceTypes(context.Context, *ResourceTypesServiceListResourceTypesRequest) (*ResourceTypesServiceListResourceTypesResponse, error)
type UnimplementedResourcesServiceServer ¶
type UnimplementedResourcesServiceServer struct { }
UnimplementedResourcesServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedResourcesServiceServer) ListResources ¶
func (UnimplementedResourcesServiceServer) ListResources(context.Context, *ResourcesServiceListResourcesRequest) (*ResourcesServiceListResourcesResponse, error)
type UnsafeEntitlementsServiceServer ¶
type UnsafeEntitlementsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeEntitlementsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EntitlementsServiceServer will result in compilation errors.
type UnsafeGrantManagerServiceServer ¶
type UnsafeGrantManagerServiceServer interface {
// contains filtered or unexported methods
}
UnsafeGrantManagerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GrantManagerServiceServer will result in compilation errors.
type UnsafeGrantsServiceServer ¶
type UnsafeGrantsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeGrantsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GrantsServiceServer will result in compilation errors.
type UnsafeResourceTypesServiceServer ¶
type UnsafeResourceTypesServiceServer interface {
// contains filtered or unexported methods
}
UnsafeResourceTypesServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ResourceTypesServiceServer will result in compilation errors.
type UnsafeResourcesServiceServer ¶
type UnsafeResourcesServiceServer interface {
// contains filtered or unexported methods
}
UnsafeResourcesServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ResourcesServiceServer will result in compilation errors.