v2

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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)

View Source
var File_c1_connector_v2_entitlement_proto protoreflect.FileDescriptor
View Source
var File_c1_connector_v2_grant_proto protoreflect.FileDescriptor
View Source
var File_c1_connector_v2_resource_proto protoreflect.FileDescriptor
View Source
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)

View Source
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)

View Source
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)

View Source
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

Cause function returns cause value.

func (EntitlementValidationError) Error

Error satisfies the builtin error interface

func (EntitlementValidationError) ErrorName

func (e EntitlementValidationError) ErrorName() string

ErrorName returns error name.

func (EntitlementValidationError) Field

Field function returns field value.

func (EntitlementValidationError) Key

Key function returns key value.

func (EntitlementValidationError) Reason

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) Enum

func (Entitlement_PurposeValue) EnumDescriptor deprecated

func (Entitlement_PurposeValue) EnumDescriptor() ([]byte, []int)

Deprecated: Use Entitlement_PurposeValue.Descriptor instead.

func (Entitlement_PurposeValue) Number

func (Entitlement_PurposeValue) String

func (x Entitlement_PurposeValue) String() string

func (Entitlement_PurposeValue) Type

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.

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

Deprecated: Use EntitlementsServiceListEntitlementsRequest.ProtoReflect.Descriptor instead.

func (*EntitlementsServiceListEntitlementsRequest) GetAnnotations

func (x *EntitlementsServiceListEntitlementsRequest) GetAnnotations() []*anypb.Any

func (*EntitlementsServiceListEntitlementsRequest) GetPageSize

func (*EntitlementsServiceListEntitlementsRequest) GetPageToken

func (*EntitlementsServiceListEntitlementsRequest) GetResource

func (*EntitlementsServiceListEntitlementsRequest) ProtoMessage

func (*EntitlementsServiceListEntitlementsRequest) ProtoReflect

func (*EntitlementsServiceListEntitlementsRequest) Reset

func (*EntitlementsServiceListEntitlementsRequest) String

func (*EntitlementsServiceListEntitlementsRequest) Validate

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

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

AllErrors returns a list of validation violation errors.

func (EntitlementsServiceListEntitlementsRequestMultiError) Error

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

Cause function returns cause value.

func (EntitlementsServiceListEntitlementsRequestValidationError) Error

Error satisfies the builtin error interface

func (EntitlementsServiceListEntitlementsRequestValidationError) ErrorName

ErrorName returns error name.

func (EntitlementsServiceListEntitlementsRequestValidationError) Field

Field function returns field value.

func (EntitlementsServiceListEntitlementsRequestValidationError) Key

Key function returns key value.

func (EntitlementsServiceListEntitlementsRequestValidationError) Reason

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

Deprecated: Use EntitlementsServiceListEntitlementsResponse.ProtoReflect.Descriptor instead.

func (*EntitlementsServiceListEntitlementsResponse) GetAnnotations

func (x *EntitlementsServiceListEntitlementsResponse) GetAnnotations() []*anypb.Any

func (*EntitlementsServiceListEntitlementsResponse) GetList

func (*EntitlementsServiceListEntitlementsResponse) GetNextPageToken

func (*EntitlementsServiceListEntitlementsResponse) ProtoMessage

func (*EntitlementsServiceListEntitlementsResponse) ProtoReflect

func (*EntitlementsServiceListEntitlementsResponse) Reset

func (*EntitlementsServiceListEntitlementsResponse) String

func (*EntitlementsServiceListEntitlementsResponse) Validate

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

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

AllErrors returns a list of validation violation errors.

func (EntitlementsServiceListEntitlementsResponseMultiError) Error

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

Cause function returns cause value.

func (EntitlementsServiceListEntitlementsResponseValidationError) Error

Error satisfies the builtin error interface

func (EntitlementsServiceListEntitlementsResponseValidationError) ErrorName

ErrorName returns error name.

func (EntitlementsServiceListEntitlementsResponseValidationError) Field

Field function returns field value.

func (EntitlementsServiceListEntitlementsResponseValidationError) Key

Key function returns key value.

func (EntitlementsServiceListEntitlementsResponseValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use Grant.ProtoReflect.Descriptor instead.

func (*Grant) GetAnnotations

func (x *Grant) GetAnnotations() []*anypb.Any

func (*Grant) GetEntitlement

func (x *Grant) GetEntitlement() *Entitlement

func (*Grant) GetId

func (x *Grant) GetId() string

func (*Grant) GetPrincipal

func (x *Grant) GetPrincipal() *Resource

func (*Grant) ProtoMessage

func (*Grant) ProtoMessage()

func (*Grant) ProtoReflect

func (x *Grant) ProtoReflect() protoreflect.Message

func (*Grant) Reset

func (x *Grant) Reset()

func (*Grant) String

func (x *Grant) String() string

func (*Grant) Validate

func (m *Grant) Validate() error

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

func (m *Grant) ValidateAll() error

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

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.

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 (*GrantManagerServiceGrantRequest) Reset

func (*GrantManagerServiceGrantRequest) 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

AllErrors returns a list of validation violation errors.

func (GrantManagerServiceGrantRequestMultiError) Error

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

Cause function returns cause value.

func (GrantManagerServiceGrantRequestValidationError) Error

Error satisfies the builtin error interface

func (GrantManagerServiceGrantRequestValidationError) ErrorName

ErrorName returns error name.

func (GrantManagerServiceGrantRequestValidationError) Field

Field function returns field value.

func (GrantManagerServiceGrantRequestValidationError) Key

Key function returns key value.

func (GrantManagerServiceGrantRequestValidationError) Reason

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 (*GrantManagerServiceGrantResponse) Reset

func (*GrantManagerServiceGrantResponse) String

func (*GrantManagerServiceGrantResponse) Validate

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

AllErrors returns a list of validation violation errors.

func (GrantManagerServiceGrantResponseMultiError) Error

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

Cause function returns cause value.

func (GrantManagerServiceGrantResponseValidationError) Error

Error satisfies the builtin error interface

func (GrantManagerServiceGrantResponseValidationError) ErrorName

ErrorName returns error name.

func (GrantManagerServiceGrantResponseValidationError) Field

Field function returns field value.

func (GrantManagerServiceGrantResponseValidationError) Key

Key function returns key value.

func (GrantManagerServiceGrantResponseValidationError) Reason

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 (*GrantManagerServiceRevokeRequest) Reset

func (*GrantManagerServiceRevokeRequest) String

func (*GrantManagerServiceRevokeRequest) Validate

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

AllErrors returns a list of validation violation errors.

func (GrantManagerServiceRevokeRequestMultiError) Error

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

Cause function returns cause value.

func (GrantManagerServiceRevokeRequestValidationError) Error

Error satisfies the builtin error interface

func (GrantManagerServiceRevokeRequestValidationError) ErrorName

ErrorName returns error name.

func (GrantManagerServiceRevokeRequestValidationError) Field

Field function returns field value.

func (GrantManagerServiceRevokeRequestValidationError) Key

Key function returns key value.

func (GrantManagerServiceRevokeRequestValidationError) Reason

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 (*GrantManagerServiceRevokeResponse) Reset

func (*GrantManagerServiceRevokeResponse) String

func (*GrantManagerServiceRevokeResponse) Validate

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

AllErrors returns a list of validation violation errors.

func (GrantManagerServiceRevokeResponseMultiError) Error

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

Cause function returns cause value.

func (GrantManagerServiceRevokeResponseValidationError) Error

Error satisfies the builtin error interface

func (GrantManagerServiceRevokeResponseValidationError) ErrorName

ErrorName returns error name.

func (GrantManagerServiceRevokeResponseValidationError) Field

Field function returns field value.

func (GrantManagerServiceRevokeResponseValidationError) Key

Key function returns key value.

func (GrantManagerServiceRevokeResponseValidationError) Reason

Reason function returns reason value.

type GrantManagerServiceServer

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.

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 (*GrantsServiceListGrantsRequest) Reset

func (x *GrantsServiceListGrantsRequest) Reset()

func (*GrantsServiceListGrantsRequest) 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

AllErrors returns a list of validation violation errors.

func (GrantsServiceListGrantsRequestMultiError) Error

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

Cause function returns cause value.

func (GrantsServiceListGrantsRequestValidationError) Error

Error satisfies the builtin error interface

func (GrantsServiceListGrantsRequestValidationError) ErrorName

ErrorName returns error name.

func (GrantsServiceListGrantsRequestValidationError) Field

Field function returns field value.

func (GrantsServiceListGrantsRequestValidationError) Key

Key function returns key value.

func (GrantsServiceListGrantsRequestValidationError) Reason

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 (*GrantsServiceListGrantsResponse) Reset

func (*GrantsServiceListGrantsResponse) 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

AllErrors returns a list of validation violation errors.

func (GrantsServiceListGrantsResponseMultiError) Error

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

Cause function returns cause value.

func (GrantsServiceListGrantsResponseValidationError) Error

Error satisfies the builtin error interface

func (GrantsServiceListGrantsResponseValidationError) ErrorName

ErrorName returns error name.

func (GrantsServiceListGrantsResponseValidationError) Field

Field function returns field value.

func (GrantsServiceListGrantsResponseValidationError) Key

Key function returns key value.

func (GrantsServiceListGrantsResponseValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (*Resource) GetAnnotations

func (x *Resource) GetAnnotations() []*anypb.Any

func (*Resource) GetDisplayName

func (x *Resource) GetDisplayName() string

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) Reset

func (x *Resource) Reset()

func (*Resource) String

func (x *Resource) String() string

func (*Resource) Validate

func (m *Resource) Validate() error

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

func (m *Resource) ValidateAll() error

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

Error satisfies the builtin error interface

func (ResourceIdValidationError) ErrorName

func (e ResourceIdValidationError) ErrorName() string

ErrorName returns error name.

func (ResourceIdValidationError) Field

Field function returns field value.

func (ResourceIdValidationError) Key

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

Cause function returns cause value.

func (ResourceTypeValidationError) Error

Error satisfies the builtin error interface

func (ResourceTypeValidationError) ErrorName

func (e ResourceTypeValidationError) ErrorName() string

ErrorName returns error name.

func (ResourceTypeValidationError) Field

Field function returns field value.

func (ResourceTypeValidationError) Key

Key function returns key value.

func (ResourceTypeValidationError) Reason

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) Enum

func (ResourceType_Trait) EnumDescriptor deprecated

func (ResourceType_Trait) EnumDescriptor() ([]byte, []int)

Deprecated: Use ResourceType_Trait.Descriptor instead.

func (ResourceType_Trait) Number

func (ResourceType_Trait) String

func (x ResourceType_Trait) String() string

func (ResourceType_Trait) Type

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.

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

Deprecated: Use ResourceTypesServiceListResourceTypesRequest.ProtoReflect.Descriptor instead.

func (*ResourceTypesServiceListResourceTypesRequest) GetAnnotations

func (*ResourceTypesServiceListResourceTypesRequest) GetPageSize

func (*ResourceTypesServiceListResourceTypesRequest) GetPageToken

func (*ResourceTypesServiceListResourceTypesRequest) GetParent

func (*ResourceTypesServiceListResourceTypesRequest) ProtoMessage

func (*ResourceTypesServiceListResourceTypesRequest) ProtoReflect

func (*ResourceTypesServiceListResourceTypesRequest) Reset

func (*ResourceTypesServiceListResourceTypesRequest) String

func (*ResourceTypesServiceListResourceTypesRequest) Validate

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

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

AllErrors returns a list of validation violation errors.

func (ResourceTypesServiceListResourceTypesRequestMultiError) Error

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

Cause function returns cause value.

func (ResourceTypesServiceListResourceTypesRequestValidationError) Error

Error satisfies the builtin error interface

func (ResourceTypesServiceListResourceTypesRequestValidationError) ErrorName

ErrorName returns error name.

func (ResourceTypesServiceListResourceTypesRequestValidationError) Field

Field function returns field value.

func (ResourceTypesServiceListResourceTypesRequestValidationError) Key

Key function returns key value.

func (ResourceTypesServiceListResourceTypesRequestValidationError) Reason

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

Deprecated: Use ResourceTypesServiceListResourceTypesResponse.ProtoReflect.Descriptor instead.

func (*ResourceTypesServiceListResourceTypesResponse) GetAnnotations

func (*ResourceTypesServiceListResourceTypesResponse) GetList

func (*ResourceTypesServiceListResourceTypesResponse) GetNextPageToken

func (*ResourceTypesServiceListResourceTypesResponse) ProtoMessage

func (*ResourceTypesServiceListResourceTypesResponse) ProtoReflect

func (*ResourceTypesServiceListResourceTypesResponse) Reset

func (*ResourceTypesServiceListResourceTypesResponse) String

func (*ResourceTypesServiceListResourceTypesResponse) Validate

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

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

AllErrors returns a list of validation violation errors.

func (ResourceTypesServiceListResourceTypesResponseMultiError) Error

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

Cause function returns cause value.

func (ResourceTypesServiceListResourceTypesResponseValidationError) Error

Error satisfies the builtin error interface

func (ResourceTypesServiceListResourceTypesResponseValidationError) ErrorName

ErrorName returns error name.

func (ResourceTypesServiceListResourceTypesResponseValidationError) Field

Field function returns field value.

func (ResourceTypesServiceListResourceTypesResponseValidationError) Key

Key function returns key value.

func (ResourceTypesServiceListResourceTypesResponseValidationError) Reason

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.

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 (*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 (*ResourcesServiceListResourcesRequest) Reset

func (*ResourcesServiceListResourcesRequest) String

func (*ResourcesServiceListResourcesRequest) Validate

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

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

AllErrors returns a list of validation violation errors.

func (ResourcesServiceListResourcesRequestMultiError) Error

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

Cause function returns cause value.

func (ResourcesServiceListResourcesRequestValidationError) Error

Error satisfies the builtin error interface

func (ResourcesServiceListResourcesRequestValidationError) ErrorName

ErrorName returns error name.

func (ResourcesServiceListResourcesRequestValidationError) Field

Field function returns field value.

func (ResourcesServiceListResourcesRequestValidationError) Key

Key function returns key value.

func (ResourcesServiceListResourcesRequestValidationError) Reason

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 (*ResourcesServiceListResourcesResponse) GetNextPageToken

func (x *ResourcesServiceListResourcesResponse) GetNextPageToken() string

func (*ResourcesServiceListResourcesResponse) ProtoMessage

func (*ResourcesServiceListResourcesResponse) ProtoMessage()

func (*ResourcesServiceListResourcesResponse) ProtoReflect

func (*ResourcesServiceListResourcesResponse) Reset

func (*ResourcesServiceListResourcesResponse) String

func (*ResourcesServiceListResourcesResponse) Validate

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

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

AllErrors returns a list of validation violation errors.

func (ResourcesServiceListResourcesResponseMultiError) Error

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

Cause function returns cause value.

func (ResourcesServiceListResourcesResponseValidationError) Error

Error satisfies the builtin error interface

func (ResourcesServiceListResourcesResponseValidationError) ErrorName

ErrorName returns error name.

func (ResourcesServiceListResourcesResponseValidationError) Field

Field function returns field value.

func (ResourcesServiceListResourcesResponseValidationError) Key

Key function returns key value.

func (ResourcesServiceListResourcesResponseValidationError) Reason

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.

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.

type UnimplementedResourceTypesServiceServer

type UnimplementedResourceTypesServiceServer struct {
}

UnimplementedResourceTypesServiceServer should be embedded to have forward compatible implementations.

type UnimplementedResourcesServiceServer

type UnimplementedResourcesServiceServer struct {
}

UnimplementedResourcesServiceServer should be embedded to have forward compatible implementations.

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.

Jump to

Keyboard shortcuts

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