v2

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2022 License: Apache-2.0 Imports: 22 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EntitlementsReaderService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "c1.reader.v2.EntitlementsReaderService",
	HandlerType: (*EntitlementsReaderServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetEntitlement",
			Handler:    _EntitlementsReaderService_GetEntitlement_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "c1/reader/v2/entitlement.proto",
}

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

View Source
var File_c1_reader_v2_entitlement_proto protoreflect.FileDescriptor
View Source
var File_c1_reader_v2_grant_proto protoreflect.FileDescriptor
View Source
var File_c1_reader_v2_resource_proto protoreflect.FileDescriptor
View Source
var GrantsReaderService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "c1.reader.v2.GrantsReaderService",
	HandlerType: (*GrantsReaderServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetGrant",
			Handler:    _GrantsReaderService_GetGrant_Handler,
		},
		{
			MethodName: "ListGrantsForEntitlement",
			Handler:    _GrantsReaderService_ListGrantsForEntitlement_Handler,
		},
		{
			MethodName: "ListGrantsForResourceType",
			Handler:    _GrantsReaderService_ListGrantsForResourceType_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "c1/reader/v2/grant.proto",
}

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

View Source
var ResourceTypesReaderService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "c1.reader.v2.ResourceTypesReaderService",
	HandlerType: (*ResourceTypesReaderServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetResourceType",
			Handler:    _ResourceTypesReaderService_GetResourceType_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "c1/reader/v2/resource.proto",
}

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

View Source
var ResourcesReaderService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "c1.reader.v2.ResourcesReaderService",
	HandlerType: (*ResourcesReaderServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetResource",
			Handler:    _ResourcesReaderService_GetResource_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "c1/reader/v2/resource.proto",
}

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

Functions

func RegisterEntitlementsReaderServiceServer

func RegisterEntitlementsReaderServiceServer(s grpc.ServiceRegistrar, srv EntitlementsReaderServiceServer)

func RegisterGrantsReaderServiceServer

func RegisterGrantsReaderServiceServer(s grpc.ServiceRegistrar, srv GrantsReaderServiceServer)

func RegisterResourceTypesReaderServiceServer

func RegisterResourceTypesReaderServiceServer(s grpc.ServiceRegistrar, srv ResourceTypesReaderServiceServer)

func RegisterResourcesReaderServiceServer

func RegisterResourcesReaderServiceServer(s grpc.ServiceRegistrar, srv ResourcesReaderServiceServer)

Types

type EntitlementsReaderServiceClient

type EntitlementsReaderServiceClient interface {
	GetEntitlement(ctx context.Context, in *EntitlementsReaderServiceGetEntitlementRequest, opts ...grpc.CallOption) (*v2.Entitlement, error)
}

EntitlementsReaderServiceClient is the client API for EntitlementsReaderService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type EntitlementsReaderServiceGetEntitlementRequest

type EntitlementsReaderServiceGetEntitlementRequest struct {
	EntitlementId string `protobuf:"bytes,1,opt,name=entitlement_id,json=entitlementId,proto3" json:"entitlement_id,omitempty"`
	// contains filtered or unexported fields
}

func (*EntitlementsReaderServiceGetEntitlementRequest) Descriptor deprecated

Deprecated: Use EntitlementsReaderServiceGetEntitlementRequest.ProtoReflect.Descriptor instead.

func (*EntitlementsReaderServiceGetEntitlementRequest) GetEntitlementId

func (*EntitlementsReaderServiceGetEntitlementRequest) ProtoMessage

func (*EntitlementsReaderServiceGetEntitlementRequest) ProtoReflect

func (*EntitlementsReaderServiceGetEntitlementRequest) Reset

func (*EntitlementsReaderServiceGetEntitlementRequest) String

func (*EntitlementsReaderServiceGetEntitlementRequest) Validate

Validate checks the field values on EntitlementsReaderServiceGetEntitlementRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*EntitlementsReaderServiceGetEntitlementRequest) ValidateAll

ValidateAll checks the field values on EntitlementsReaderServiceGetEntitlementRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EntitlementsReaderServiceGetEntitlementRequestMultiError, or nil if none found.

type EntitlementsReaderServiceGetEntitlementRequestMultiError

type EntitlementsReaderServiceGetEntitlementRequestMultiError []error

EntitlementsReaderServiceGetEntitlementRequestMultiError is an error wrapping multiple validation errors returned by EntitlementsReaderServiceGetEntitlementRequest.ValidateAll() if the designated constraints aren't met.

func (EntitlementsReaderServiceGetEntitlementRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (EntitlementsReaderServiceGetEntitlementRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type EntitlementsReaderServiceGetEntitlementRequestValidationError

type EntitlementsReaderServiceGetEntitlementRequestValidationError struct {
	// contains filtered or unexported fields
}

EntitlementsReaderServiceGetEntitlementRequestValidationError is the validation error returned by EntitlementsReaderServiceGetEntitlementRequest.Validate if the designated constraints aren't met.

func (EntitlementsReaderServiceGetEntitlementRequestValidationError) Cause

Cause function returns cause value.

func (EntitlementsReaderServiceGetEntitlementRequestValidationError) Error

Error satisfies the builtin error interface

func (EntitlementsReaderServiceGetEntitlementRequestValidationError) ErrorName

ErrorName returns error name.

func (EntitlementsReaderServiceGetEntitlementRequestValidationError) Field

Field function returns field value.

func (EntitlementsReaderServiceGetEntitlementRequestValidationError) Key

Key function returns key value.

func (EntitlementsReaderServiceGetEntitlementRequestValidationError) Reason

Reason function returns reason value.

type EntitlementsReaderServiceServer

type EntitlementsReaderServiceServer interface {
	GetEntitlement(context.Context, *EntitlementsReaderServiceGetEntitlementRequest) (*v2.Entitlement, error)
}

EntitlementsReaderServiceServer is the server API for EntitlementsReaderService service. All implementations should embed UnimplementedEntitlementsReaderServiceServer for forward compatibility

type GrantsReaderServiceClient

GrantsReaderServiceClient is the client API for GrantsReaderService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type GrantsReaderServiceGetGrantRequest

type GrantsReaderServiceGetGrantRequest struct {
	GrantId string `protobuf:"bytes,1,opt,name=grant_id,json=grantId,proto3" json:"grant_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GrantsReaderServiceGetGrantRequest) Descriptor deprecated

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

Deprecated: Use GrantsReaderServiceGetGrantRequest.ProtoReflect.Descriptor instead.

func (*GrantsReaderServiceGetGrantRequest) GetGrantId

func (*GrantsReaderServiceGetGrantRequest) ProtoMessage

func (*GrantsReaderServiceGetGrantRequest) ProtoMessage()

func (*GrantsReaderServiceGetGrantRequest) ProtoReflect

func (*GrantsReaderServiceGetGrantRequest) Reset

func (*GrantsReaderServiceGetGrantRequest) String

func (*GrantsReaderServiceGetGrantRequest) Validate

Validate checks the field values on GrantsReaderServiceGetGrantRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GrantsReaderServiceGetGrantRequest) ValidateAll

func (m *GrantsReaderServiceGetGrantRequest) ValidateAll() error

ValidateAll checks the field values on GrantsReaderServiceGetGrantRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GrantsReaderServiceGetGrantRequestMultiError, or nil if none found.

type GrantsReaderServiceGetGrantRequestMultiError

type GrantsReaderServiceGetGrantRequestMultiError []error

GrantsReaderServiceGetGrantRequestMultiError is an error wrapping multiple validation errors returned by GrantsReaderServiceGetGrantRequest.ValidateAll() if the designated constraints aren't met.

func (GrantsReaderServiceGetGrantRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GrantsReaderServiceGetGrantRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GrantsReaderServiceGetGrantRequestValidationError

type GrantsReaderServiceGetGrantRequestValidationError struct {
	// contains filtered or unexported fields
}

GrantsReaderServiceGetGrantRequestValidationError is the validation error returned by GrantsReaderServiceGetGrantRequest.Validate if the designated constraints aren't met.

func (GrantsReaderServiceGetGrantRequestValidationError) Cause

Cause function returns cause value.

func (GrantsReaderServiceGetGrantRequestValidationError) Error

Error satisfies the builtin error interface

func (GrantsReaderServiceGetGrantRequestValidationError) ErrorName

ErrorName returns error name.

func (GrantsReaderServiceGetGrantRequestValidationError) Field

Field function returns field value.

func (GrantsReaderServiceGetGrantRequestValidationError) Key

Key function returns key value.

func (GrantsReaderServiceGetGrantRequestValidationError) Reason

Reason function returns reason value.

type GrantsReaderServiceListGrantsForEntitlementRequest

type GrantsReaderServiceListGrantsForEntitlementRequest struct {
	Entitlement *v2.Entitlement `protobuf:"bytes,1,opt,name=entitlement,proto3" json:"entitlement,omitempty"`
	PageSize    uint32          `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken   string          `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*GrantsReaderServiceListGrantsForEntitlementRequest) Descriptor deprecated

Deprecated: Use GrantsReaderServiceListGrantsForEntitlementRequest.ProtoReflect.Descriptor instead.

func (*GrantsReaderServiceListGrantsForEntitlementRequest) GetEntitlement

func (*GrantsReaderServiceListGrantsForEntitlementRequest) GetPageSize

func (*GrantsReaderServiceListGrantsForEntitlementRequest) GetPageToken

func (*GrantsReaderServiceListGrantsForEntitlementRequest) ProtoMessage

func (*GrantsReaderServiceListGrantsForEntitlementRequest) ProtoReflect

func (*GrantsReaderServiceListGrantsForEntitlementRequest) Reset

func (*GrantsReaderServiceListGrantsForEntitlementRequest) String

func (*GrantsReaderServiceListGrantsForEntitlementRequest) Validate

Validate checks the field values on GrantsReaderServiceListGrantsForEntitlementRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GrantsReaderServiceListGrantsForEntitlementRequest) ValidateAll

ValidateAll checks the field values on GrantsReaderServiceListGrantsForEntitlementRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GrantsReaderServiceListGrantsForEntitlementRequestMultiError, or nil if none found.

type GrantsReaderServiceListGrantsForEntitlementRequestMultiError

type GrantsReaderServiceListGrantsForEntitlementRequestMultiError []error

GrantsReaderServiceListGrantsForEntitlementRequestMultiError is an error wrapping multiple validation errors returned by GrantsReaderServiceListGrantsForEntitlementRequest.ValidateAll() if the designated constraints aren't met.

func (GrantsReaderServiceListGrantsForEntitlementRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GrantsReaderServiceListGrantsForEntitlementRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GrantsReaderServiceListGrantsForEntitlementRequestValidationError

type GrantsReaderServiceListGrantsForEntitlementRequestValidationError struct {
	// contains filtered or unexported fields
}

GrantsReaderServiceListGrantsForEntitlementRequestValidationError is the validation error returned by GrantsReaderServiceListGrantsForEntitlementRequest.Validate if the designated constraints aren't met.

func (GrantsReaderServiceListGrantsForEntitlementRequestValidationError) Cause

Cause function returns cause value.

func (GrantsReaderServiceListGrantsForEntitlementRequestValidationError) Error

Error satisfies the builtin error interface

func (GrantsReaderServiceListGrantsForEntitlementRequestValidationError) ErrorName

ErrorName returns error name.

func (GrantsReaderServiceListGrantsForEntitlementRequestValidationError) Field

Field function returns field value.

func (GrantsReaderServiceListGrantsForEntitlementRequestValidationError) Key

Key function returns key value.

func (GrantsReaderServiceListGrantsForEntitlementRequestValidationError) Reason

Reason function returns reason value.

type GrantsReaderServiceListGrantsForEntitlementResponse

type GrantsReaderServiceListGrantsForEntitlementResponse struct {
	List          []*v2.Grant `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	NextPageToken string      `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*GrantsReaderServiceListGrantsForEntitlementResponse) Descriptor deprecated

Deprecated: Use GrantsReaderServiceListGrantsForEntitlementResponse.ProtoReflect.Descriptor instead.

func (*GrantsReaderServiceListGrantsForEntitlementResponse) GetList

func (*GrantsReaderServiceListGrantsForEntitlementResponse) GetNextPageToken

func (*GrantsReaderServiceListGrantsForEntitlementResponse) ProtoMessage

func (*GrantsReaderServiceListGrantsForEntitlementResponse) ProtoReflect

func (*GrantsReaderServiceListGrantsForEntitlementResponse) Reset

func (*GrantsReaderServiceListGrantsForEntitlementResponse) String

func (*GrantsReaderServiceListGrantsForEntitlementResponse) Validate

Validate checks the field values on GrantsReaderServiceListGrantsForEntitlementResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GrantsReaderServiceListGrantsForEntitlementResponse) ValidateAll

ValidateAll checks the field values on GrantsReaderServiceListGrantsForEntitlementResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GrantsReaderServiceListGrantsForEntitlementResponseMultiError, or nil if none found.

type GrantsReaderServiceListGrantsForEntitlementResponseMultiError

type GrantsReaderServiceListGrantsForEntitlementResponseMultiError []error

GrantsReaderServiceListGrantsForEntitlementResponseMultiError is an error wrapping multiple validation errors returned by GrantsReaderServiceListGrantsForEntitlementResponse.ValidateAll() if the designated constraints aren't met.

func (GrantsReaderServiceListGrantsForEntitlementResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GrantsReaderServiceListGrantsForEntitlementResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GrantsReaderServiceListGrantsForEntitlementResponseValidationError

type GrantsReaderServiceListGrantsForEntitlementResponseValidationError struct {
	// contains filtered or unexported fields
}

GrantsReaderServiceListGrantsForEntitlementResponseValidationError is the validation error returned by GrantsReaderServiceListGrantsForEntitlementResponse.Validate if the designated constraints aren't met.

func (GrantsReaderServiceListGrantsForEntitlementResponseValidationError) Cause

Cause function returns cause value.

func (GrantsReaderServiceListGrantsForEntitlementResponseValidationError) Error

Error satisfies the builtin error interface

func (GrantsReaderServiceListGrantsForEntitlementResponseValidationError) ErrorName

ErrorName returns error name.

func (GrantsReaderServiceListGrantsForEntitlementResponseValidationError) Field

Field function returns field value.

func (GrantsReaderServiceListGrantsForEntitlementResponseValidationError) Key

Key function returns key value.

func (GrantsReaderServiceListGrantsForEntitlementResponseValidationError) Reason

Reason function returns reason value.

type GrantsReaderServiceListGrantsForResourceTypeRequest added in v0.0.6

type GrantsReaderServiceListGrantsForResourceTypeRequest struct {
	ResourceTypeId string `protobuf:"bytes,1,opt,name=resource_type_id,json=resourceTypeId,proto3" json:"resource_type_id,omitempty"`
	PageSize       uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken      string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*GrantsReaderServiceListGrantsForResourceTypeRequest) Descriptor deprecated added in v0.0.6

Deprecated: Use GrantsReaderServiceListGrantsForResourceTypeRequest.ProtoReflect.Descriptor instead.

func (*GrantsReaderServiceListGrantsForResourceTypeRequest) GetPageSize added in v0.0.6

func (*GrantsReaderServiceListGrantsForResourceTypeRequest) GetPageToken added in v0.0.6

func (*GrantsReaderServiceListGrantsForResourceTypeRequest) GetResourceTypeId added in v0.0.6

func (*GrantsReaderServiceListGrantsForResourceTypeRequest) ProtoMessage added in v0.0.6

func (*GrantsReaderServiceListGrantsForResourceTypeRequest) ProtoReflect added in v0.0.6

func (*GrantsReaderServiceListGrantsForResourceTypeRequest) Reset added in v0.0.6

func (*GrantsReaderServiceListGrantsForResourceTypeRequest) String added in v0.0.6

func (*GrantsReaderServiceListGrantsForResourceTypeRequest) Validate added in v0.0.6

Validate checks the field values on GrantsReaderServiceListGrantsForResourceTypeRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GrantsReaderServiceListGrantsForResourceTypeRequest) ValidateAll added in v0.0.6

ValidateAll checks the field values on GrantsReaderServiceListGrantsForResourceTypeRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GrantsReaderServiceListGrantsForResourceTypeRequestMultiError, or nil if none found.

type GrantsReaderServiceListGrantsForResourceTypeRequestMultiError added in v0.0.6

type GrantsReaderServiceListGrantsForResourceTypeRequestMultiError []error

GrantsReaderServiceListGrantsForResourceTypeRequestMultiError is an error wrapping multiple validation errors returned by GrantsReaderServiceListGrantsForResourceTypeRequest.ValidateAll() if the designated constraints aren't met.

func (GrantsReaderServiceListGrantsForResourceTypeRequestMultiError) AllErrors added in v0.0.6

AllErrors returns a list of validation violation errors.

func (GrantsReaderServiceListGrantsForResourceTypeRequestMultiError) Error added in v0.0.6

Error returns a concatenation of all the error messages it wraps.

type GrantsReaderServiceListGrantsForResourceTypeRequestValidationError added in v0.0.6

type GrantsReaderServiceListGrantsForResourceTypeRequestValidationError struct {
	// contains filtered or unexported fields
}

GrantsReaderServiceListGrantsForResourceTypeRequestValidationError is the validation error returned by GrantsReaderServiceListGrantsForResourceTypeRequest.Validate if the designated constraints aren't met.

func (GrantsReaderServiceListGrantsForResourceTypeRequestValidationError) Cause added in v0.0.6

Cause function returns cause value.

func (GrantsReaderServiceListGrantsForResourceTypeRequestValidationError) Error added in v0.0.6

Error satisfies the builtin error interface

func (GrantsReaderServiceListGrantsForResourceTypeRequestValidationError) ErrorName added in v0.0.6

ErrorName returns error name.

func (GrantsReaderServiceListGrantsForResourceTypeRequestValidationError) Field added in v0.0.6

Field function returns field value.

func (GrantsReaderServiceListGrantsForResourceTypeRequestValidationError) Key added in v0.0.6

Key function returns key value.

func (GrantsReaderServiceListGrantsForResourceTypeRequestValidationError) Reason added in v0.0.6

Reason function returns reason value.

type GrantsReaderServiceListGrantsForResourceTypeResponse added in v0.0.6

type GrantsReaderServiceListGrantsForResourceTypeResponse struct {
	List          []*v2.Grant `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	NextPageToken string      `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*GrantsReaderServiceListGrantsForResourceTypeResponse) Descriptor deprecated added in v0.0.6

Deprecated: Use GrantsReaderServiceListGrantsForResourceTypeResponse.ProtoReflect.Descriptor instead.

func (*GrantsReaderServiceListGrantsForResourceTypeResponse) GetList added in v0.0.6

func (*GrantsReaderServiceListGrantsForResourceTypeResponse) GetNextPageToken added in v0.0.6

func (*GrantsReaderServiceListGrantsForResourceTypeResponse) ProtoMessage added in v0.0.6

func (*GrantsReaderServiceListGrantsForResourceTypeResponse) ProtoReflect added in v0.0.6

func (*GrantsReaderServiceListGrantsForResourceTypeResponse) Reset added in v0.0.6

func (*GrantsReaderServiceListGrantsForResourceTypeResponse) String added in v0.0.6

func (*GrantsReaderServiceListGrantsForResourceTypeResponse) Validate added in v0.0.6

Validate checks the field values on GrantsReaderServiceListGrantsForResourceTypeResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GrantsReaderServiceListGrantsForResourceTypeResponse) ValidateAll added in v0.0.6

ValidateAll checks the field values on GrantsReaderServiceListGrantsForResourceTypeResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GrantsReaderServiceListGrantsForResourceTypeResponseMultiError, or nil if none found.

type GrantsReaderServiceListGrantsForResourceTypeResponseMultiError added in v0.0.6

type GrantsReaderServiceListGrantsForResourceTypeResponseMultiError []error

GrantsReaderServiceListGrantsForResourceTypeResponseMultiError is an error wrapping multiple validation errors returned by GrantsReaderServiceListGrantsForResourceTypeResponse.ValidateAll() if the designated constraints aren't met.

func (GrantsReaderServiceListGrantsForResourceTypeResponseMultiError) AllErrors added in v0.0.6

AllErrors returns a list of validation violation errors.

func (GrantsReaderServiceListGrantsForResourceTypeResponseMultiError) Error added in v0.0.6

Error returns a concatenation of all the error messages it wraps.

type GrantsReaderServiceListGrantsForResourceTypeResponseValidationError added in v0.0.6

type GrantsReaderServiceListGrantsForResourceTypeResponseValidationError struct {
	// contains filtered or unexported fields
}

GrantsReaderServiceListGrantsForResourceTypeResponseValidationError is the validation error returned by GrantsReaderServiceListGrantsForResourceTypeResponse.Validate if the designated constraints aren't met.

func (GrantsReaderServiceListGrantsForResourceTypeResponseValidationError) Cause added in v0.0.6

Cause function returns cause value.

func (GrantsReaderServiceListGrantsForResourceTypeResponseValidationError) Error added in v0.0.6

Error satisfies the builtin error interface

func (GrantsReaderServiceListGrantsForResourceTypeResponseValidationError) ErrorName added in v0.0.6

ErrorName returns error name.

func (GrantsReaderServiceListGrantsForResourceTypeResponseValidationError) Field added in v0.0.6

Field function returns field value.

func (GrantsReaderServiceListGrantsForResourceTypeResponseValidationError) Key added in v0.0.6

Key function returns key value.

func (GrantsReaderServiceListGrantsForResourceTypeResponseValidationError) Reason added in v0.0.6

Reason function returns reason value.

type GrantsReaderServiceServer

GrantsReaderServiceServer is the server API for GrantsReaderService service. All implementations should embed UnimplementedGrantsReaderServiceServer for forward compatibility

type ResourceTypesReaderServiceClient

type ResourceTypesReaderServiceClient interface {
	GetResourceType(ctx context.Context, in *ResourceTypesReaderServiceGetResourceTypeRequest, opts ...grpc.CallOption) (*v2.ResourceType, error)
}

ResourceTypesReaderServiceClient is the client API for ResourceTypesReaderService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ResourceTypesReaderServiceGetResourceRequest

type ResourceTypesReaderServiceGetResourceRequest struct {
	ResourceId *v2.ResourceId `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceTypesReaderServiceGetResourceRequest) Descriptor deprecated

Deprecated: Use ResourceTypesReaderServiceGetResourceRequest.ProtoReflect.Descriptor instead.

func (*ResourceTypesReaderServiceGetResourceRequest) GetResourceId

func (*ResourceTypesReaderServiceGetResourceRequest) ProtoMessage

func (*ResourceTypesReaderServiceGetResourceRequest) ProtoReflect

func (*ResourceTypesReaderServiceGetResourceRequest) Reset

func (*ResourceTypesReaderServiceGetResourceRequest) String

func (*ResourceTypesReaderServiceGetResourceRequest) Validate

Validate checks the field values on ResourceTypesReaderServiceGetResourceRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ResourceTypesReaderServiceGetResourceRequest) ValidateAll

ValidateAll checks the field values on ResourceTypesReaderServiceGetResourceRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ResourceTypesReaderServiceGetResourceRequestMultiError, or nil if none found.

type ResourceTypesReaderServiceGetResourceRequestMultiError

type ResourceTypesReaderServiceGetResourceRequestMultiError []error

ResourceTypesReaderServiceGetResourceRequestMultiError is an error wrapping multiple validation errors returned by ResourceTypesReaderServiceGetResourceRequest.ValidateAll() if the designated constraints aren't met.

func (ResourceTypesReaderServiceGetResourceRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ResourceTypesReaderServiceGetResourceRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ResourceTypesReaderServiceGetResourceRequestValidationError

type ResourceTypesReaderServiceGetResourceRequestValidationError struct {
	// contains filtered or unexported fields
}

ResourceTypesReaderServiceGetResourceRequestValidationError is the validation error returned by ResourceTypesReaderServiceGetResourceRequest.Validate if the designated constraints aren't met.

func (ResourceTypesReaderServiceGetResourceRequestValidationError) Cause

Cause function returns cause value.

func (ResourceTypesReaderServiceGetResourceRequestValidationError) Error

Error satisfies the builtin error interface

func (ResourceTypesReaderServiceGetResourceRequestValidationError) ErrorName

ErrorName returns error name.

func (ResourceTypesReaderServiceGetResourceRequestValidationError) Field

Field function returns field value.

func (ResourceTypesReaderServiceGetResourceRequestValidationError) Key

Key function returns key value.

func (ResourceTypesReaderServiceGetResourceRequestValidationError) Reason

Reason function returns reason value.

type ResourceTypesReaderServiceGetResourceTypeRequest

type ResourceTypesReaderServiceGetResourceTypeRequest struct {
	ResourceTypeId string `protobuf:"bytes,1,opt,name=resource_type_id,json=resourceTypeId,proto3" json:"resource_type_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceTypesReaderServiceGetResourceTypeRequest) Descriptor deprecated

Deprecated: Use ResourceTypesReaderServiceGetResourceTypeRequest.ProtoReflect.Descriptor instead.

func (*ResourceTypesReaderServiceGetResourceTypeRequest) GetResourceTypeId

func (*ResourceTypesReaderServiceGetResourceTypeRequest) ProtoMessage

func (*ResourceTypesReaderServiceGetResourceTypeRequest) ProtoReflect

func (*ResourceTypesReaderServiceGetResourceTypeRequest) Reset

func (*ResourceTypesReaderServiceGetResourceTypeRequest) String

func (*ResourceTypesReaderServiceGetResourceTypeRequest) Validate

Validate checks the field values on ResourceTypesReaderServiceGetResourceTypeRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ResourceTypesReaderServiceGetResourceTypeRequest) ValidateAll

ValidateAll checks the field values on ResourceTypesReaderServiceGetResourceTypeRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ResourceTypesReaderServiceGetResourceTypeRequestMultiError, or nil if none found.

type ResourceTypesReaderServiceGetResourceTypeRequestMultiError

type ResourceTypesReaderServiceGetResourceTypeRequestMultiError []error

ResourceTypesReaderServiceGetResourceTypeRequestMultiError is an error wrapping multiple validation errors returned by ResourceTypesReaderServiceGetResourceTypeRequest.ValidateAll() if the designated constraints aren't met.

func (ResourceTypesReaderServiceGetResourceTypeRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ResourceTypesReaderServiceGetResourceTypeRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ResourceTypesReaderServiceGetResourceTypeRequestValidationError

type ResourceTypesReaderServiceGetResourceTypeRequestValidationError struct {
	// contains filtered or unexported fields
}

ResourceTypesReaderServiceGetResourceTypeRequestValidationError is the validation error returned by ResourceTypesReaderServiceGetResourceTypeRequest.Validate if the designated constraints aren't met.

func (ResourceTypesReaderServiceGetResourceTypeRequestValidationError) Cause

Cause function returns cause value.

func (ResourceTypesReaderServiceGetResourceTypeRequestValidationError) Error

Error satisfies the builtin error interface

func (ResourceTypesReaderServiceGetResourceTypeRequestValidationError) ErrorName

ErrorName returns error name.

func (ResourceTypesReaderServiceGetResourceTypeRequestValidationError) Field

Field function returns field value.

func (ResourceTypesReaderServiceGetResourceTypeRequestValidationError) Key

Key function returns key value.

func (ResourceTypesReaderServiceGetResourceTypeRequestValidationError) Reason

Reason function returns reason value.

type ResourceTypesReaderServiceServer

type ResourceTypesReaderServiceServer interface {
	GetResourceType(context.Context, *ResourceTypesReaderServiceGetResourceTypeRequest) (*v2.ResourceType, error)
}

ResourceTypesReaderServiceServer is the server API for ResourceTypesReaderService service. All implementations should embed UnimplementedResourceTypesReaderServiceServer for forward compatibility

type ResourcesReaderServiceClient

type ResourcesReaderServiceClient interface {
	GetResource(ctx context.Context, in *ResourceTypesReaderServiceGetResourceRequest, opts ...grpc.CallOption) (*v2.Resource, error)
}

ResourcesReaderServiceClient is the client API for ResourcesReaderService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ResourcesReaderServiceServer

type ResourcesReaderServiceServer interface {
	GetResource(context.Context, *ResourceTypesReaderServiceGetResourceRequest) (*v2.Resource, error)
}

ResourcesReaderServiceServer is the server API for ResourcesReaderService service. All implementations should embed UnimplementedResourcesReaderServiceServer for forward compatibility

type UnimplementedEntitlementsReaderServiceServer

type UnimplementedEntitlementsReaderServiceServer struct {
}

UnimplementedEntitlementsReaderServiceServer should be embedded to have forward compatible implementations.

type UnimplementedGrantsReaderServiceServer

type UnimplementedGrantsReaderServiceServer struct {
}

UnimplementedGrantsReaderServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedGrantsReaderServiceServer) GetGrant

type UnimplementedResourceTypesReaderServiceServer

type UnimplementedResourceTypesReaderServiceServer struct {
}

UnimplementedResourceTypesReaderServiceServer should be embedded to have forward compatible implementations.

type UnimplementedResourcesReaderServiceServer

type UnimplementedResourcesReaderServiceServer struct {
}

UnimplementedResourcesReaderServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedResourcesReaderServiceServer) GetResource

type UnsafeEntitlementsReaderServiceServer

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

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

type UnsafeGrantsReaderServiceServer

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

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

type UnsafeResourceTypesReaderServiceServer

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

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

type UnsafeResourcesReaderServiceServer

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

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

Jump to

Keyboard shortcuts

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