dispatchv1

package
v1.22.2 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DispatchService_DispatchCheck_FullMethodName              = "/dispatch.v1.DispatchService/DispatchCheck"
	DispatchService_DispatchExpand_FullMethodName             = "/dispatch.v1.DispatchService/DispatchExpand"
	DispatchService_DispatchReachableResources_FullMethodName = "/dispatch.v1.DispatchService/DispatchReachableResources"
	DispatchService_DispatchLookupResources_FullMethodName    = "/dispatch.v1.DispatchService/DispatchLookupResources"
	DispatchService_DispatchLookupSubjects_FullMethodName     = "/dispatch.v1.DispatchService/DispatchLookupSubjects"
)
View Source
const Name = "proto"

Name is the name registered for the proto compressor.

Variables

View Source
var (
	DispatchCheckRequest_DebugSetting_name = map[int32]string{
		0: "NO_DEBUG",
		1: "ENABLE_BASIC_DEBUGGING",
		2: "ENABLE_TRACE_DEBUGGING",
	}
	DispatchCheckRequest_DebugSetting_value = map[string]int32{
		"NO_DEBUG":               0,
		"ENABLE_BASIC_DEBUGGING": 1,
		"ENABLE_TRACE_DEBUGGING": 2,
	}
)

Enum value maps for DispatchCheckRequest_DebugSetting.

View Source
var (
	DispatchCheckRequest_ResultsSetting_name = map[int32]string{
		0: "REQUIRE_ALL_RESULTS",
		1: "ALLOW_SINGLE_RESULT",
	}
	DispatchCheckRequest_ResultsSetting_value = map[string]int32{
		"REQUIRE_ALL_RESULTS": 0,
		"ALLOW_SINGLE_RESULT": 1,
	}
)

Enum value maps for DispatchCheckRequest_ResultsSetting.

View Source
var (
	ResourceCheckResult_Membership_name = map[int32]string{
		0: "UNKNOWN",
		1: "NOT_MEMBER",
		2: "MEMBER",
		3: "CAVEATED_MEMBER",
	}
	ResourceCheckResult_Membership_value = map[string]int32{
		"UNKNOWN":         0,
		"NOT_MEMBER":      1,
		"MEMBER":          2,
		"CAVEATED_MEMBER": 3,
	}
)

Enum value maps for ResourceCheckResult_Membership.

View Source
var (
	DispatchExpandRequest_ExpansionMode_name = map[int32]string{
		0: "SHALLOW",
		1: "RECURSIVE",
	}
	DispatchExpandRequest_ExpansionMode_value = map[string]int32{
		"SHALLOW":   0,
		"RECURSIVE": 1,
	}
)

Enum value maps for DispatchExpandRequest_ExpansionMode.

View Source
var (
	ReachableResource_ResultStatus_name = map[int32]string{
		0: "REQUIRES_CHECK",
		1: "HAS_PERMISSION",
	}
	ReachableResource_ResultStatus_value = map[string]int32{
		"REQUIRES_CHECK": 0,
		"HAS_PERMISSION": 1,
	}
)

Enum value maps for ReachableResource_ResultStatus.

View Source
var (
	ResolvedResource_Permissionship_name = map[int32]string{
		0: "UNKNOWN",
		1: "HAS_PERMISSION",
		2: "CONDITIONALLY_HAS_PERMISSION",
	}
	ResolvedResource_Permissionship_value = map[string]int32{
		"UNKNOWN":                      0,
		"HAS_PERMISSION":               1,
		"CONDITIONALLY_HAS_PERMISSION": 2,
	}
)

Enum value maps for ResolvedResource_Permissionship.

View Source
var (
	CheckDebugTrace_RelationType_name = map[int32]string{
		0: "UNKNOWN",
		1: "RELATION",
		2: "PERMISSION",
	}
	CheckDebugTrace_RelationType_value = map[string]int32{
		"UNKNOWN":    0,
		"RELATION":   1,
		"PERMISSION": 2,
	}
)

Enum value maps for CheckDebugTrace_RelationType.

View Source
var (
	ErrInvalidLength        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflow          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group")
)
View Source
var DispatchService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "dispatch.v1.DispatchService",
	HandlerType: (*DispatchServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DispatchCheck",
			Handler:    _DispatchService_DispatchCheck_Handler,
		},
		{
			MethodName: "DispatchExpand",
			Handler:    _DispatchService_DispatchExpand_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "DispatchReachableResources",
			Handler:       _DispatchService_DispatchReachableResources_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "DispatchLookupResources",
			Handler:       _DispatchService_DispatchLookupResources_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "DispatchLookupSubjects",
			Handler:       _DispatchService_DispatchLookupSubjects_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "dispatch/v1/dispatch.proto",
}

DispatchService_ServiceDesc is the grpc.ServiceDesc for DispatchService 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_dispatch_v1_dispatch_proto protoreflect.FileDescriptor

Functions

func RegisterDispatchServiceServer

func RegisterDispatchServiceServer(s grpc.ServiceRegistrar, srv DispatchServiceServer)

Types

type CheckDebugTrace added in v1.11.0

type CheckDebugTrace struct {
	Request              *DispatchCheckRequest           `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
	ResourceRelationType CheckDebugTrace_RelationType    `` /* 170-byte string literal not displayed */
	Results              map[string]*ResourceCheckResult `` /* 155-byte string literal not displayed */
	IsCachedResult       bool                            `protobuf:"varint,4,opt,name=is_cached_result,json=isCachedResult,proto3" json:"is_cached_result,omitempty"`
	SubProblems          []*CheckDebugTrace              `protobuf:"bytes,5,rep,name=sub_problems,json=subProblems,proto3" json:"sub_problems,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckDebugTrace) CloneMessageVT added in v1.22.0

func (m *CheckDebugTrace) CloneMessageVT() proto.Message

func (*CheckDebugTrace) CloneVT added in v1.13.0

func (m *CheckDebugTrace) CloneVT() *CheckDebugTrace

func (*CheckDebugTrace) Descriptor deprecated added in v1.11.0

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

Deprecated: Use CheckDebugTrace.ProtoReflect.Descriptor instead.

func (*CheckDebugTrace) EqualMessageVT added in v1.22.0

func (this *CheckDebugTrace) EqualMessageVT(thatMsg proto.Message) bool

func (*CheckDebugTrace) EqualVT added in v1.15.0

func (this *CheckDebugTrace) EqualVT(that *CheckDebugTrace) bool

func (*CheckDebugTrace) GetIsCachedResult added in v1.11.0

func (x *CheckDebugTrace) GetIsCachedResult() bool

func (*CheckDebugTrace) GetRequest added in v1.11.0

func (x *CheckDebugTrace) GetRequest() *DispatchCheckRequest

func (*CheckDebugTrace) GetResourceRelationType added in v1.11.0

func (x *CheckDebugTrace) GetResourceRelationType() CheckDebugTrace_RelationType

func (*CheckDebugTrace) GetResults added in v1.13.0

func (x *CheckDebugTrace) GetResults() map[string]*ResourceCheckResult

func (*CheckDebugTrace) GetSubProblems added in v1.11.0

func (x *CheckDebugTrace) GetSubProblems() []*CheckDebugTrace

func (*CheckDebugTrace) MarshalToSizedBufferVT added in v1.13.0

func (m *CheckDebugTrace) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*CheckDebugTrace) MarshalToVT added in v1.13.0

func (m *CheckDebugTrace) MarshalToVT(dAtA []byte) (int, error)

func (*CheckDebugTrace) MarshalVT added in v1.13.0

func (m *CheckDebugTrace) MarshalVT() (dAtA []byte, err error)

func (*CheckDebugTrace) ProtoMessage added in v1.11.0

func (*CheckDebugTrace) ProtoMessage()

func (*CheckDebugTrace) ProtoReflect added in v1.11.0

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

func (*CheckDebugTrace) Reset added in v1.11.0

func (x *CheckDebugTrace) Reset()

func (*CheckDebugTrace) SizeVT added in v1.13.0

func (m *CheckDebugTrace) SizeVT() (n int)

func (*CheckDebugTrace) String added in v1.11.0

func (x *CheckDebugTrace) String() string

func (*CheckDebugTrace) UnmarshalVT added in v1.13.0

func (m *CheckDebugTrace) UnmarshalVT(dAtA []byte) error

func (*CheckDebugTrace) Validate added in v1.11.0

func (m *CheckDebugTrace) Validate() error

Validate checks the field values on CheckDebugTrace 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 (*CheckDebugTrace) ValidateAll added in v1.11.0

func (m *CheckDebugTrace) ValidateAll() error

ValidateAll checks the field values on CheckDebugTrace 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 CheckDebugTraceMultiError, or nil if none found.

type CheckDebugTraceMultiError added in v1.11.0

type CheckDebugTraceMultiError []error

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

func (CheckDebugTraceMultiError) AllErrors added in v1.11.0

func (m CheckDebugTraceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CheckDebugTraceMultiError) Error added in v1.11.0

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

type CheckDebugTraceValidationError added in v1.11.0

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

CheckDebugTraceValidationError is the validation error returned by CheckDebugTrace.Validate if the designated constraints aren't met.

func (CheckDebugTraceValidationError) Cause added in v1.11.0

Cause function returns cause value.

func (CheckDebugTraceValidationError) Error added in v1.11.0

Error satisfies the builtin error interface

func (CheckDebugTraceValidationError) ErrorName added in v1.11.0

func (e CheckDebugTraceValidationError) ErrorName() string

ErrorName returns error name.

func (CheckDebugTraceValidationError) Field added in v1.11.0

Field function returns field value.

func (CheckDebugTraceValidationError) Key added in v1.11.0

Key function returns key value.

func (CheckDebugTraceValidationError) Reason added in v1.11.0

Reason function returns reason value.

type CheckDebugTrace_RelationType added in v1.11.0

type CheckDebugTrace_RelationType int32
const (
	CheckDebugTrace_UNKNOWN    CheckDebugTrace_RelationType = 0
	CheckDebugTrace_RELATION   CheckDebugTrace_RelationType = 1
	CheckDebugTrace_PERMISSION CheckDebugTrace_RelationType = 2
)

func (CheckDebugTrace_RelationType) Descriptor added in v1.11.0

func (CheckDebugTrace_RelationType) Enum added in v1.11.0

func (CheckDebugTrace_RelationType) EnumDescriptor deprecated added in v1.11.0

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

Deprecated: Use CheckDebugTrace_RelationType.Descriptor instead.

func (CheckDebugTrace_RelationType) Number added in v1.11.0

func (CheckDebugTrace_RelationType) String added in v1.11.0

func (CheckDebugTrace_RelationType) Type added in v1.11.0

type Cursor added in v1.22.0

type Cursor struct {
	AtRevision string   `protobuf:"bytes,1,opt,name=at_revision,json=atRevision,proto3" json:"at_revision,omitempty"`
	Sections   []string `protobuf:"bytes,2,rep,name=sections,proto3" json:"sections,omitempty"`
	// contains filtered or unexported fields
}

func (*Cursor) CloneMessageVT added in v1.22.0

func (m *Cursor) CloneMessageVT() proto.Message

func (*Cursor) CloneVT added in v1.22.0

func (m *Cursor) CloneVT() *Cursor

func (*Cursor) Descriptor deprecated added in v1.22.0

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

Deprecated: Use Cursor.ProtoReflect.Descriptor instead.

func (*Cursor) EqualMessageVT added in v1.22.0

func (this *Cursor) EqualMessageVT(thatMsg proto.Message) bool

func (*Cursor) EqualVT added in v1.22.0

func (this *Cursor) EqualVT(that *Cursor) bool

func (*Cursor) GetAtRevision added in v1.22.0

func (x *Cursor) GetAtRevision() string

func (*Cursor) GetSections added in v1.22.0

func (x *Cursor) GetSections() []string

func (*Cursor) MarshalToSizedBufferVT added in v1.22.0

func (m *Cursor) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Cursor) MarshalToVT added in v1.22.0

func (m *Cursor) MarshalToVT(dAtA []byte) (int, error)

func (*Cursor) MarshalVT added in v1.22.0

func (m *Cursor) MarshalVT() (dAtA []byte, err error)

func (*Cursor) ProtoMessage added in v1.22.0

func (*Cursor) ProtoMessage()

func (*Cursor) ProtoReflect added in v1.22.0

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

func (*Cursor) Reset added in v1.22.0

func (x *Cursor) Reset()

func (*Cursor) SizeVT added in v1.22.0

func (m *Cursor) SizeVT() (n int)

func (*Cursor) String added in v1.22.0

func (x *Cursor) String() string

func (*Cursor) UnmarshalVT added in v1.22.0

func (m *Cursor) UnmarshalVT(dAtA []byte) error

func (*Cursor) Validate added in v1.22.0

func (m *Cursor) Validate() error

Validate checks the field values on Cursor 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 (*Cursor) ValidateAll added in v1.22.0

func (m *Cursor) ValidateAll() error

ValidateAll checks the field values on Cursor 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 CursorMultiError, or nil if none found.

type CursorMultiError added in v1.22.0

type CursorMultiError []error

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

func (CursorMultiError) AllErrors added in v1.22.0

func (m CursorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CursorMultiError) Error added in v1.22.0

func (m CursorMultiError) Error() string

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

type CursorValidationError added in v1.22.0

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

CursorValidationError is the validation error returned by Cursor.Validate if the designated constraints aren't met.

func (CursorValidationError) Cause added in v1.22.0

func (e CursorValidationError) Cause() error

Cause function returns cause value.

func (CursorValidationError) Error added in v1.22.0

func (e CursorValidationError) Error() string

Error satisfies the builtin error interface

func (CursorValidationError) ErrorName added in v1.22.0

func (e CursorValidationError) ErrorName() string

ErrorName returns error name.

func (CursorValidationError) Field added in v1.22.0

func (e CursorValidationError) Field() string

Field function returns field value.

func (CursorValidationError) Key added in v1.22.0

func (e CursorValidationError) Key() bool

Key function returns key value.

func (CursorValidationError) Reason added in v1.22.0

func (e CursorValidationError) Reason() string

Reason function returns reason value.

type DebugInformation added in v1.11.0

type DebugInformation struct {
	Check *CheckDebugTrace `protobuf:"bytes,1,opt,name=check,proto3" json:"check,omitempty"`
	// contains filtered or unexported fields
}

func (*DebugInformation) CloneMessageVT added in v1.22.0

func (m *DebugInformation) CloneMessageVT() proto.Message

func (*DebugInformation) CloneVT added in v1.13.0

func (m *DebugInformation) CloneVT() *DebugInformation

func (*DebugInformation) Descriptor deprecated added in v1.11.0

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

Deprecated: Use DebugInformation.ProtoReflect.Descriptor instead.

func (*DebugInformation) EqualMessageVT added in v1.22.0

func (this *DebugInformation) EqualMessageVT(thatMsg proto.Message) bool

func (*DebugInformation) EqualVT added in v1.15.0

func (this *DebugInformation) EqualVT(that *DebugInformation) bool

func (*DebugInformation) GetCheck added in v1.11.0

func (x *DebugInformation) GetCheck() *CheckDebugTrace

func (*DebugInformation) MarshalToSizedBufferVT added in v1.13.0

func (m *DebugInformation) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DebugInformation) MarshalToVT added in v1.13.0

func (m *DebugInformation) MarshalToVT(dAtA []byte) (int, error)

func (*DebugInformation) MarshalVT added in v1.13.0

func (m *DebugInformation) MarshalVT() (dAtA []byte, err error)

func (*DebugInformation) ProtoMessage added in v1.11.0

func (*DebugInformation) ProtoMessage()

func (*DebugInformation) ProtoReflect added in v1.11.0

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

func (*DebugInformation) Reset added in v1.11.0

func (x *DebugInformation) Reset()

func (*DebugInformation) SizeVT added in v1.13.0

func (m *DebugInformation) SizeVT() (n int)

func (*DebugInformation) String added in v1.11.0

func (x *DebugInformation) String() string

func (*DebugInformation) UnmarshalVT added in v1.13.0

func (m *DebugInformation) UnmarshalVT(dAtA []byte) error

func (*DebugInformation) Validate added in v1.11.0

func (m *DebugInformation) Validate() error

Validate checks the field values on DebugInformation 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 (*DebugInformation) ValidateAll added in v1.11.0

func (m *DebugInformation) ValidateAll() error

ValidateAll checks the field values on DebugInformation 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 DebugInformationMultiError, or nil if none found.

type DebugInformationMultiError added in v1.11.0

type DebugInformationMultiError []error

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

func (DebugInformationMultiError) AllErrors added in v1.11.0

func (m DebugInformationMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DebugInformationMultiError) Error added in v1.11.0

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

type DebugInformationValidationError added in v1.11.0

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

DebugInformationValidationError is the validation error returned by DebugInformation.Validate if the designated constraints aren't met.

func (DebugInformationValidationError) Cause added in v1.11.0

Cause function returns cause value.

func (DebugInformationValidationError) Error added in v1.11.0

Error satisfies the builtin error interface

func (DebugInformationValidationError) ErrorName added in v1.11.0

ErrorName returns error name.

func (DebugInformationValidationError) Field added in v1.11.0

Field function returns field value.

func (DebugInformationValidationError) Key added in v1.11.0

Key function returns key value.

func (DebugInformationValidationError) Reason added in v1.11.0

Reason function returns reason value.

type DispatchCheckRequest

type DispatchCheckRequest struct {
	Metadata         *ResolverMeta                       `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	ResourceRelation *v1.RelationReference               `protobuf:"bytes,2,opt,name=resource_relation,json=resourceRelation,proto3" json:"resource_relation,omitempty"`
	ResourceIds      []string                            `protobuf:"bytes,3,rep,name=resource_ids,json=resourceIds,proto3" json:"resource_ids,omitempty"`
	Subject          *v1.ObjectAndRelation               `protobuf:"bytes,4,opt,name=subject,proto3" json:"subject,omitempty"`
	ResultsSetting   DispatchCheckRequest_ResultsSetting `` /* 157-byte string literal not displayed */
	Debug            DispatchCheckRequest_DebugSetting   `protobuf:"varint,6,opt,name=debug,proto3,enum=dispatch.v1.DispatchCheckRequest_DebugSetting" json:"debug,omitempty"`
	// contains filtered or unexported fields
}

func (*DispatchCheckRequest) CloneMessageVT added in v1.22.0

func (m *DispatchCheckRequest) CloneMessageVT() proto.Message

func (*DispatchCheckRequest) CloneVT added in v1.13.0

func (*DispatchCheckRequest) Descriptor deprecated

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

Deprecated: Use DispatchCheckRequest.ProtoReflect.Descriptor instead.

func (*DispatchCheckRequest) EqualMessageVT added in v1.22.0

func (this *DispatchCheckRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*DispatchCheckRequest) EqualVT added in v1.15.0

func (this *DispatchCheckRequest) EqualVT(that *DispatchCheckRequest) bool

func (*DispatchCheckRequest) GetDebug added in v1.11.0

func (*DispatchCheckRequest) GetMetadata

func (x *DispatchCheckRequest) GetMetadata() *ResolverMeta

func (*DispatchCheckRequest) GetResourceIds added in v1.13.0

func (x *DispatchCheckRequest) GetResourceIds() []string

func (*DispatchCheckRequest) GetResourceRelation added in v1.13.0

func (x *DispatchCheckRequest) GetResourceRelation() *v1.RelationReference

func (*DispatchCheckRequest) GetResultsSetting added in v1.13.0

func (*DispatchCheckRequest) GetSubject

func (x *DispatchCheckRequest) GetSubject() *v1.ObjectAndRelation

func (*DispatchCheckRequest) MarshalToSizedBufferVT added in v1.13.0

func (m *DispatchCheckRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DispatchCheckRequest) MarshalToVT added in v1.13.0

func (m *DispatchCheckRequest) MarshalToVT(dAtA []byte) (int, error)

func (*DispatchCheckRequest) MarshalVT added in v1.13.0

func (m *DispatchCheckRequest) MarshalVT() (dAtA []byte, err error)

func (*DispatchCheckRequest) MarshalZerologObject

func (cr *DispatchCheckRequest) MarshalZerologObject(e *zerolog.Event)

MarshalZerologObject implements zerolog object marshalling.

func (*DispatchCheckRequest) ProtoMessage

func (*DispatchCheckRequest) ProtoMessage()

func (*DispatchCheckRequest) ProtoReflect

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

func (*DispatchCheckRequest) Reset

func (x *DispatchCheckRequest) Reset()

func (*DispatchCheckRequest) SizeVT added in v1.13.0

func (m *DispatchCheckRequest) SizeVT() (n int)

func (*DispatchCheckRequest) String

func (x *DispatchCheckRequest) String() string

func (*DispatchCheckRequest) UnmarshalVT added in v1.13.0

func (m *DispatchCheckRequest) UnmarshalVT(dAtA []byte) error

func (*DispatchCheckRequest) Validate

func (m *DispatchCheckRequest) Validate() error

Validate checks the field values on DispatchCheckRequest 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 (*DispatchCheckRequest) ValidateAll added in v1.6.0

func (m *DispatchCheckRequest) ValidateAll() error

ValidateAll checks the field values on DispatchCheckRequest 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 DispatchCheckRequestMultiError, or nil if none found.

type DispatchCheckRequestMultiError added in v1.6.0

type DispatchCheckRequestMultiError []error

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

func (DispatchCheckRequestMultiError) AllErrors added in v1.6.0

func (m DispatchCheckRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DispatchCheckRequestMultiError) Error added in v1.6.0

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

type DispatchCheckRequestValidationError

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

DispatchCheckRequestValidationError is the validation error returned by DispatchCheckRequest.Validate if the designated constraints aren't met.

func (DispatchCheckRequestValidationError) Cause

Cause function returns cause value.

func (DispatchCheckRequestValidationError) Error

Error satisfies the builtin error interface

func (DispatchCheckRequestValidationError) ErrorName

ErrorName returns error name.

func (DispatchCheckRequestValidationError) Field

Field function returns field value.

func (DispatchCheckRequestValidationError) Key

Key function returns key value.

func (DispatchCheckRequestValidationError) Reason

Reason function returns reason value.

type DispatchCheckRequest_DebugSetting added in v1.11.0

type DispatchCheckRequest_DebugSetting int32
const (
	DispatchCheckRequest_NO_DEBUG               DispatchCheckRequest_DebugSetting = 0
	DispatchCheckRequest_ENABLE_BASIC_DEBUGGING DispatchCheckRequest_DebugSetting = 1
	DispatchCheckRequest_ENABLE_TRACE_DEBUGGING DispatchCheckRequest_DebugSetting = 2
)

func (DispatchCheckRequest_DebugSetting) Descriptor added in v1.11.0

func (DispatchCheckRequest_DebugSetting) Enum added in v1.11.0

func (DispatchCheckRequest_DebugSetting) EnumDescriptor deprecated added in v1.11.0

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

Deprecated: Use DispatchCheckRequest_DebugSetting.Descriptor instead.

func (DispatchCheckRequest_DebugSetting) Number added in v1.11.0

func (DispatchCheckRequest_DebugSetting) String added in v1.11.0

func (DispatchCheckRequest_DebugSetting) Type added in v1.11.0

type DispatchCheckRequest_ResultsSetting added in v1.13.0

type DispatchCheckRequest_ResultsSetting int32
const (
	DispatchCheckRequest_REQUIRE_ALL_RESULTS DispatchCheckRequest_ResultsSetting = 0
	DispatchCheckRequest_ALLOW_SINGLE_RESULT DispatchCheckRequest_ResultsSetting = 1
)

func (DispatchCheckRequest_ResultsSetting) Descriptor added in v1.13.0

func (DispatchCheckRequest_ResultsSetting) Enum added in v1.13.0

func (DispatchCheckRequest_ResultsSetting) EnumDescriptor deprecated added in v1.13.0

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

Deprecated: Use DispatchCheckRequest_ResultsSetting.Descriptor instead.

func (DispatchCheckRequest_ResultsSetting) Number added in v1.13.0

func (DispatchCheckRequest_ResultsSetting) String added in v1.13.0

func (DispatchCheckRequest_ResultsSetting) Type added in v1.13.0

type DispatchCheckResponse

type DispatchCheckResponse struct {
	Metadata            *ResponseMeta                   `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	ResultsByResourceId map[string]*ResourceCheckResult `` /* 210-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DispatchCheckResponse) CloneMessageVT added in v1.22.0

func (m *DispatchCheckResponse) CloneMessageVT() proto.Message

func (*DispatchCheckResponse) CloneVT added in v1.13.0

func (*DispatchCheckResponse) Descriptor deprecated

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

Deprecated: Use DispatchCheckResponse.ProtoReflect.Descriptor instead.

func (*DispatchCheckResponse) EqualMessageVT added in v1.22.0

func (this *DispatchCheckResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*DispatchCheckResponse) EqualVT added in v1.15.0

func (this *DispatchCheckResponse) EqualVT(that *DispatchCheckResponse) bool

func (*DispatchCheckResponse) GetMetadata

func (x *DispatchCheckResponse) GetMetadata() *ResponseMeta

func (*DispatchCheckResponse) GetResultsByResourceId added in v1.13.0

func (x *DispatchCheckResponse) GetResultsByResourceId() map[string]*ResourceCheckResult

func (*DispatchCheckResponse) MarshalToSizedBufferVT added in v1.13.0

func (m *DispatchCheckResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DispatchCheckResponse) MarshalToVT added in v1.13.0

func (m *DispatchCheckResponse) MarshalToVT(dAtA []byte) (int, error)

func (*DispatchCheckResponse) MarshalVT added in v1.13.0

func (m *DispatchCheckResponse) MarshalVT() (dAtA []byte, err error)

func (*DispatchCheckResponse) MarshalZerologObject

func (cr *DispatchCheckResponse) MarshalZerologObject(e *zerolog.Event)

MarshalZerologObject implements zerolog object marshalling.

func (*DispatchCheckResponse) ProtoMessage

func (*DispatchCheckResponse) ProtoMessage()

func (*DispatchCheckResponse) ProtoReflect

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

func (*DispatchCheckResponse) Reset

func (x *DispatchCheckResponse) Reset()

func (*DispatchCheckResponse) SizeVT added in v1.13.0

func (m *DispatchCheckResponse) SizeVT() (n int)

func (*DispatchCheckResponse) String

func (x *DispatchCheckResponse) String() string

func (*DispatchCheckResponse) UnmarshalVT added in v1.13.0

func (m *DispatchCheckResponse) UnmarshalVT(dAtA []byte) error

func (*DispatchCheckResponse) Validate

func (m *DispatchCheckResponse) Validate() error

Validate checks the field values on DispatchCheckResponse 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 (*DispatchCheckResponse) ValidateAll added in v1.6.0

func (m *DispatchCheckResponse) ValidateAll() error

ValidateAll checks the field values on DispatchCheckResponse 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 DispatchCheckResponseMultiError, or nil if none found.

type DispatchCheckResponseMultiError added in v1.6.0

type DispatchCheckResponseMultiError []error

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

func (DispatchCheckResponseMultiError) AllErrors added in v1.6.0

func (m DispatchCheckResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DispatchCheckResponseMultiError) Error added in v1.6.0

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

type DispatchCheckResponseValidationError

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

DispatchCheckResponseValidationError is the validation error returned by DispatchCheckResponse.Validate if the designated constraints aren't met.

func (DispatchCheckResponseValidationError) Cause

Cause function returns cause value.

func (DispatchCheckResponseValidationError) Error

Error satisfies the builtin error interface

func (DispatchCheckResponseValidationError) ErrorName

ErrorName returns error name.

func (DispatchCheckResponseValidationError) Field

Field function returns field value.

func (DispatchCheckResponseValidationError) Key

Key function returns key value.

func (DispatchCheckResponseValidationError) Reason

Reason function returns reason value.

type DispatchExpandRequest

type DispatchExpandRequest struct {
	Metadata            *ResolverMeta                       `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	ResourceAndRelation *v1.ObjectAndRelation               `protobuf:"bytes,2,opt,name=resource_and_relation,json=resourceAndRelation,proto3" json:"resource_and_relation,omitempty"`
	ExpansionMode       DispatchExpandRequest_ExpansionMode `` /* 154-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DispatchExpandRequest) CloneMessageVT added in v1.22.0

func (m *DispatchExpandRequest) CloneMessageVT() proto.Message

func (*DispatchExpandRequest) CloneVT added in v1.13.0

func (*DispatchExpandRequest) Descriptor deprecated

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

Deprecated: Use DispatchExpandRequest.ProtoReflect.Descriptor instead.

func (*DispatchExpandRequest) EqualMessageVT added in v1.22.0

func (this *DispatchExpandRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*DispatchExpandRequest) EqualVT added in v1.15.0

func (this *DispatchExpandRequest) EqualVT(that *DispatchExpandRequest) bool

func (*DispatchExpandRequest) GetExpansionMode

func (*DispatchExpandRequest) GetMetadata

func (x *DispatchExpandRequest) GetMetadata() *ResolverMeta

func (*DispatchExpandRequest) GetResourceAndRelation added in v1.9.0

func (x *DispatchExpandRequest) GetResourceAndRelation() *v1.ObjectAndRelation

func (*DispatchExpandRequest) MarshalToSizedBufferVT added in v1.13.0

func (m *DispatchExpandRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DispatchExpandRequest) MarshalToVT added in v1.13.0

func (m *DispatchExpandRequest) MarshalToVT(dAtA []byte) (int, error)

func (*DispatchExpandRequest) MarshalVT added in v1.13.0

func (m *DispatchExpandRequest) MarshalVT() (dAtA []byte, err error)

func (*DispatchExpandRequest) MarshalZerologObject

func (er *DispatchExpandRequest) MarshalZerologObject(e *zerolog.Event)

MarshalZerologObject implements zerolog object marshalling.

func (*DispatchExpandRequest) ProtoMessage

func (*DispatchExpandRequest) ProtoMessage()

func (*DispatchExpandRequest) ProtoReflect

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

func (*DispatchExpandRequest) Reset

func (x *DispatchExpandRequest) Reset()

func (*DispatchExpandRequest) SizeVT added in v1.13.0

func (m *DispatchExpandRequest) SizeVT() (n int)

func (*DispatchExpandRequest) String

func (x *DispatchExpandRequest) String() string

func (*DispatchExpandRequest) UnmarshalVT added in v1.13.0

func (m *DispatchExpandRequest) UnmarshalVT(dAtA []byte) error

func (*DispatchExpandRequest) Validate

func (m *DispatchExpandRequest) Validate() error

Validate checks the field values on DispatchExpandRequest 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 (*DispatchExpandRequest) ValidateAll added in v1.6.0

func (m *DispatchExpandRequest) ValidateAll() error

ValidateAll checks the field values on DispatchExpandRequest 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 DispatchExpandRequestMultiError, or nil if none found.

type DispatchExpandRequestMultiError added in v1.6.0

type DispatchExpandRequestMultiError []error

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

func (DispatchExpandRequestMultiError) AllErrors added in v1.6.0

func (m DispatchExpandRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DispatchExpandRequestMultiError) Error added in v1.6.0

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

type DispatchExpandRequestValidationError

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

DispatchExpandRequestValidationError is the validation error returned by DispatchExpandRequest.Validate if the designated constraints aren't met.

func (DispatchExpandRequestValidationError) Cause

Cause function returns cause value.

func (DispatchExpandRequestValidationError) Error

Error satisfies the builtin error interface

func (DispatchExpandRequestValidationError) ErrorName

ErrorName returns error name.

func (DispatchExpandRequestValidationError) Field

Field function returns field value.

func (DispatchExpandRequestValidationError) Key

Key function returns key value.

func (DispatchExpandRequestValidationError) Reason

Reason function returns reason value.

type DispatchExpandRequest_ExpansionMode

type DispatchExpandRequest_ExpansionMode int32
const (
	DispatchExpandRequest_SHALLOW   DispatchExpandRequest_ExpansionMode = 0
	DispatchExpandRequest_RECURSIVE DispatchExpandRequest_ExpansionMode = 1
)

func (DispatchExpandRequest_ExpansionMode) Descriptor

func (DispatchExpandRequest_ExpansionMode) Enum

func (DispatchExpandRequest_ExpansionMode) EnumDescriptor deprecated

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

Deprecated: Use DispatchExpandRequest_ExpansionMode.Descriptor instead.

func (DispatchExpandRequest_ExpansionMode) Number

func (DispatchExpandRequest_ExpansionMode) String

func (DispatchExpandRequest_ExpansionMode) Type

type DispatchExpandResponse

type DispatchExpandResponse struct {
	Metadata *ResponseMeta             `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	TreeNode *v1.RelationTupleTreeNode `protobuf:"bytes,2,opt,name=tree_node,json=treeNode,proto3" json:"tree_node,omitempty"`
	// contains filtered or unexported fields
}

func (*DispatchExpandResponse) CloneMessageVT added in v1.22.0

func (m *DispatchExpandResponse) CloneMessageVT() proto.Message

func (*DispatchExpandResponse) CloneVT added in v1.13.0

func (*DispatchExpandResponse) Descriptor deprecated

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

Deprecated: Use DispatchExpandResponse.ProtoReflect.Descriptor instead.

func (*DispatchExpandResponse) EqualMessageVT added in v1.22.0

func (this *DispatchExpandResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*DispatchExpandResponse) EqualVT added in v1.15.0

func (this *DispatchExpandResponse) EqualVT(that *DispatchExpandResponse) bool

func (*DispatchExpandResponse) GetMetadata

func (x *DispatchExpandResponse) GetMetadata() *ResponseMeta

func (*DispatchExpandResponse) GetTreeNode

func (*DispatchExpandResponse) MarshalToSizedBufferVT added in v1.13.0

func (m *DispatchExpandResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DispatchExpandResponse) MarshalToVT added in v1.13.0

func (m *DispatchExpandResponse) MarshalToVT(dAtA []byte) (int, error)

func (*DispatchExpandResponse) MarshalVT added in v1.13.0

func (m *DispatchExpandResponse) MarshalVT() (dAtA []byte, err error)

func (*DispatchExpandResponse) MarshalZerologObject

func (cr *DispatchExpandResponse) MarshalZerologObject(e *zerolog.Event)

MarshalZerologObject implements zerolog object marshalling.

func (*DispatchExpandResponse) ProtoMessage

func (*DispatchExpandResponse) ProtoMessage()

func (*DispatchExpandResponse) ProtoReflect

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

func (*DispatchExpandResponse) Reset

func (x *DispatchExpandResponse) Reset()

func (*DispatchExpandResponse) SizeVT added in v1.13.0

func (m *DispatchExpandResponse) SizeVT() (n int)

func (*DispatchExpandResponse) String

func (x *DispatchExpandResponse) String() string

func (*DispatchExpandResponse) UnmarshalVT added in v1.13.0

func (m *DispatchExpandResponse) UnmarshalVT(dAtA []byte) error

func (*DispatchExpandResponse) Validate

func (m *DispatchExpandResponse) Validate() error

Validate checks the field values on DispatchExpandResponse 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 (*DispatchExpandResponse) ValidateAll added in v1.6.0

func (m *DispatchExpandResponse) ValidateAll() error

ValidateAll checks the field values on DispatchExpandResponse 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 DispatchExpandResponseMultiError, or nil if none found.

type DispatchExpandResponseMultiError added in v1.6.0

type DispatchExpandResponseMultiError []error

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

func (DispatchExpandResponseMultiError) AllErrors added in v1.6.0

func (m DispatchExpandResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DispatchExpandResponseMultiError) Error added in v1.6.0

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

type DispatchExpandResponseValidationError

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

DispatchExpandResponseValidationError is the validation error returned by DispatchExpandResponse.Validate if the designated constraints aren't met.

func (DispatchExpandResponseValidationError) Cause

Cause function returns cause value.

func (DispatchExpandResponseValidationError) Error

Error satisfies the builtin error interface

func (DispatchExpandResponseValidationError) ErrorName

ErrorName returns error name.

func (DispatchExpandResponseValidationError) Field

Field function returns field value.

func (DispatchExpandResponseValidationError) Key

Key function returns key value.

func (DispatchExpandResponseValidationError) Reason

Reason function returns reason value.

type DispatchLookupResourcesRequest added in v1.22.0

type DispatchLookupResourcesRequest struct {
	Metadata       *ResolverMeta         `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	ObjectRelation *v1.RelationReference `protobuf:"bytes,2,opt,name=object_relation,json=objectRelation,proto3" json:"object_relation,omitempty"`
	Subject        *v1.ObjectAndRelation `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
	Context        *structpb.Struct      `protobuf:"bytes,5,opt,name=context,proto3" json:"context,omitempty"`
	// optional_limit, if given, specifies a limit on the number of resources returned.
	OptionalLimit uint32 `protobuf:"varint,4,opt,name=optional_limit,json=optionalLimit,proto3" json:"optional_limit,omitempty"`
	// optional_cursor, if the specified, is the cursor at which to resume returning results. Note
	// that lookupresources can return duplicates.
	OptionalCursor *Cursor `protobuf:"bytes,6,opt,name=optional_cursor,json=optionalCursor,proto3" json:"optional_cursor,omitempty"`
	// contains filtered or unexported fields
}

func (*DispatchLookupResourcesRequest) CloneMessageVT added in v1.22.0

func (m *DispatchLookupResourcesRequest) CloneMessageVT() proto.Message

func (*DispatchLookupResourcesRequest) CloneVT added in v1.22.0

func (*DispatchLookupResourcesRequest) Descriptor deprecated added in v1.22.0

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

Deprecated: Use DispatchLookupResourcesRequest.ProtoReflect.Descriptor instead.

func (*DispatchLookupResourcesRequest) EqualMessageVT added in v1.22.0

func (this *DispatchLookupResourcesRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*DispatchLookupResourcesRequest) EqualVT added in v1.22.0

func (*DispatchLookupResourcesRequest) GetContext added in v1.22.0

func (*DispatchLookupResourcesRequest) GetMetadata added in v1.22.0

func (x *DispatchLookupResourcesRequest) GetMetadata() *ResolverMeta

func (*DispatchLookupResourcesRequest) GetObjectRelation added in v1.22.0

func (x *DispatchLookupResourcesRequest) GetObjectRelation() *v1.RelationReference

func (*DispatchLookupResourcesRequest) GetOptionalCursor added in v1.22.0

func (x *DispatchLookupResourcesRequest) GetOptionalCursor() *Cursor

func (*DispatchLookupResourcesRequest) GetOptionalLimit added in v1.22.0

func (x *DispatchLookupResourcesRequest) GetOptionalLimit() uint32

func (*DispatchLookupResourcesRequest) GetSubject added in v1.22.0

func (*DispatchLookupResourcesRequest) MarshalToSizedBufferVT added in v1.22.0

func (m *DispatchLookupResourcesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DispatchLookupResourcesRequest) MarshalToVT added in v1.22.0

func (m *DispatchLookupResourcesRequest) MarshalToVT(dAtA []byte) (int, error)

func (*DispatchLookupResourcesRequest) MarshalVT added in v1.22.0

func (m *DispatchLookupResourcesRequest) MarshalVT() (dAtA []byte, err error)

func (*DispatchLookupResourcesRequest) MarshalZerologObject added in v1.22.0

func (lr *DispatchLookupResourcesRequest) MarshalZerologObject(e *zerolog.Event)

MarshalZerologObject implements zerolog object marshalling.

func (*DispatchLookupResourcesRequest) ProtoMessage added in v1.22.0

func (*DispatchLookupResourcesRequest) ProtoMessage()

func (*DispatchLookupResourcesRequest) ProtoReflect added in v1.22.0

func (*DispatchLookupResourcesRequest) Reset added in v1.22.0

func (x *DispatchLookupResourcesRequest) Reset()

func (*DispatchLookupResourcesRequest) SizeVT added in v1.22.0

func (m *DispatchLookupResourcesRequest) SizeVT() (n int)

func (*DispatchLookupResourcesRequest) String added in v1.22.0

func (*DispatchLookupResourcesRequest) UnmarshalVT added in v1.22.0

func (m *DispatchLookupResourcesRequest) UnmarshalVT(dAtA []byte) error

func (*DispatchLookupResourcesRequest) Validate added in v1.22.0

func (m *DispatchLookupResourcesRequest) Validate() error

Validate checks the field values on DispatchLookupResourcesRequest 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 (*DispatchLookupResourcesRequest) ValidateAll added in v1.22.0

func (m *DispatchLookupResourcesRequest) ValidateAll() error

ValidateAll checks the field values on DispatchLookupResourcesRequest 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 DispatchLookupResourcesRequestMultiError, or nil if none found.

type DispatchLookupResourcesRequestMultiError added in v1.22.0

type DispatchLookupResourcesRequestMultiError []error

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

func (DispatchLookupResourcesRequestMultiError) AllErrors added in v1.22.0

AllErrors returns a list of validation violation errors.

func (DispatchLookupResourcesRequestMultiError) Error added in v1.22.0

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

type DispatchLookupResourcesRequestValidationError added in v1.22.0

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

DispatchLookupResourcesRequestValidationError is the validation error returned by DispatchLookupResourcesRequest.Validate if the designated constraints aren't met.

func (DispatchLookupResourcesRequestValidationError) Cause added in v1.22.0

Cause function returns cause value.

func (DispatchLookupResourcesRequestValidationError) Error added in v1.22.0

Error satisfies the builtin error interface

func (DispatchLookupResourcesRequestValidationError) ErrorName added in v1.22.0

ErrorName returns error name.

func (DispatchLookupResourcesRequestValidationError) Field added in v1.22.0

Field function returns field value.

func (DispatchLookupResourcesRequestValidationError) Key added in v1.22.0

Key function returns key value.

func (DispatchLookupResourcesRequestValidationError) Reason added in v1.22.0

Reason function returns reason value.

type DispatchLookupResourcesResponse added in v1.22.0

type DispatchLookupResourcesResponse struct {
	Metadata            *ResponseMeta     `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	ResolvedResource    *ResolvedResource `protobuf:"bytes,2,opt,name=resolved_resource,json=resolvedResource,proto3" json:"resolved_resource,omitempty"`
	AfterResponseCursor *Cursor           `protobuf:"bytes,3,opt,name=after_response_cursor,json=afterResponseCursor,proto3" json:"after_response_cursor,omitempty"`
	// contains filtered or unexported fields
}

func (*DispatchLookupResourcesResponse) CloneMessageVT added in v1.22.0

func (m *DispatchLookupResourcesResponse) CloneMessageVT() proto.Message

func (*DispatchLookupResourcesResponse) CloneVT added in v1.22.0

func (*DispatchLookupResourcesResponse) Descriptor deprecated added in v1.22.0

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

Deprecated: Use DispatchLookupResourcesResponse.ProtoReflect.Descriptor instead.

func (*DispatchLookupResourcesResponse) EqualMessageVT added in v1.22.0

func (this *DispatchLookupResourcesResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*DispatchLookupResourcesResponse) EqualVT added in v1.22.0

func (*DispatchLookupResourcesResponse) GetAfterResponseCursor added in v1.22.0

func (x *DispatchLookupResourcesResponse) GetAfterResponseCursor() *Cursor

func (*DispatchLookupResourcesResponse) GetMetadata added in v1.22.0

func (*DispatchLookupResourcesResponse) GetResolvedResource added in v1.22.0

func (x *DispatchLookupResourcesResponse) GetResolvedResource() *ResolvedResource

func (*DispatchLookupResourcesResponse) MarshalToSizedBufferVT added in v1.22.0

func (m *DispatchLookupResourcesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DispatchLookupResourcesResponse) MarshalToVT added in v1.22.0

func (m *DispatchLookupResourcesResponse) MarshalToVT(dAtA []byte) (int, error)

func (*DispatchLookupResourcesResponse) MarshalVT added in v1.22.0

func (m *DispatchLookupResourcesResponse) MarshalVT() (dAtA []byte, err error)

func (*DispatchLookupResourcesResponse) MarshalZerologObject added in v1.22.0

func (cr *DispatchLookupResourcesResponse) MarshalZerologObject(e *zerolog.Event)

MarshalZerologObject implements zerolog object marshalling.

func (*DispatchLookupResourcesResponse) ProtoMessage added in v1.22.0

func (*DispatchLookupResourcesResponse) ProtoMessage()

func (*DispatchLookupResourcesResponse) ProtoReflect added in v1.22.0

func (*DispatchLookupResourcesResponse) Reset added in v1.22.0

func (*DispatchLookupResourcesResponse) SizeVT added in v1.22.0

func (m *DispatchLookupResourcesResponse) SizeVT() (n int)

func (*DispatchLookupResourcesResponse) String added in v1.22.0

func (*DispatchLookupResourcesResponse) UnmarshalVT added in v1.22.0

func (m *DispatchLookupResourcesResponse) UnmarshalVT(dAtA []byte) error

func (*DispatchLookupResourcesResponse) Validate added in v1.22.0

func (m *DispatchLookupResourcesResponse) Validate() error

Validate checks the field values on DispatchLookupResourcesResponse 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 (*DispatchLookupResourcesResponse) ValidateAll added in v1.22.0

func (m *DispatchLookupResourcesResponse) ValidateAll() error

ValidateAll checks the field values on DispatchLookupResourcesResponse 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 DispatchLookupResourcesResponseMultiError, or nil if none found.

type DispatchLookupResourcesResponseMultiError added in v1.22.0

type DispatchLookupResourcesResponseMultiError []error

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

func (DispatchLookupResourcesResponseMultiError) AllErrors added in v1.22.0

AllErrors returns a list of validation violation errors.

func (DispatchLookupResourcesResponseMultiError) Error added in v1.22.0

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

type DispatchLookupResourcesResponseValidationError added in v1.22.0

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

DispatchLookupResourcesResponseValidationError is the validation error returned by DispatchLookupResourcesResponse.Validate if the designated constraints aren't met.

func (DispatchLookupResourcesResponseValidationError) Cause added in v1.22.0

Cause function returns cause value.

func (DispatchLookupResourcesResponseValidationError) Error added in v1.22.0

Error satisfies the builtin error interface

func (DispatchLookupResourcesResponseValidationError) ErrorName added in v1.22.0

ErrorName returns error name.

func (DispatchLookupResourcesResponseValidationError) Field added in v1.22.0

Field function returns field value.

func (DispatchLookupResourcesResponseValidationError) Key added in v1.22.0

Key function returns key value.

func (DispatchLookupResourcesResponseValidationError) Reason added in v1.22.0

Reason function returns reason value.

type DispatchLookupSubjectsRequest added in v1.12.0

type DispatchLookupSubjectsRequest struct {
	Metadata         *ResolverMeta         `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	ResourceRelation *v1.RelationReference `protobuf:"bytes,2,opt,name=resource_relation,json=resourceRelation,proto3" json:"resource_relation,omitempty"`
	ResourceIds      []string              `protobuf:"bytes,3,rep,name=resource_ids,json=resourceIds,proto3" json:"resource_ids,omitempty"`
	SubjectRelation  *v1.RelationReference `protobuf:"bytes,4,opt,name=subject_relation,json=subjectRelation,proto3" json:"subject_relation,omitempty"`
	// contains filtered or unexported fields
}

func (*DispatchLookupSubjectsRequest) CloneMessageVT added in v1.22.0

func (m *DispatchLookupSubjectsRequest) CloneMessageVT() proto.Message

func (*DispatchLookupSubjectsRequest) CloneVT added in v1.13.0

func (*DispatchLookupSubjectsRequest) Descriptor deprecated added in v1.12.0

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

Deprecated: Use DispatchLookupSubjectsRequest.ProtoReflect.Descriptor instead.

func (*DispatchLookupSubjectsRequest) EqualMessageVT added in v1.22.0

func (this *DispatchLookupSubjectsRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*DispatchLookupSubjectsRequest) EqualVT added in v1.15.0

func (*DispatchLookupSubjectsRequest) GetMetadata added in v1.12.0

func (x *DispatchLookupSubjectsRequest) GetMetadata() *ResolverMeta

func (*DispatchLookupSubjectsRequest) GetResourceIds added in v1.12.0

func (x *DispatchLookupSubjectsRequest) GetResourceIds() []string

func (*DispatchLookupSubjectsRequest) GetResourceRelation added in v1.12.0

func (x *DispatchLookupSubjectsRequest) GetResourceRelation() *v1.RelationReference

func (*DispatchLookupSubjectsRequest) GetSubjectRelation added in v1.12.0

func (x *DispatchLookupSubjectsRequest) GetSubjectRelation() *v1.RelationReference

func (*DispatchLookupSubjectsRequest) MarshalToSizedBufferVT added in v1.13.0

func (m *DispatchLookupSubjectsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DispatchLookupSubjectsRequest) MarshalToVT added in v1.13.0

func (m *DispatchLookupSubjectsRequest) MarshalToVT(dAtA []byte) (int, error)

func (*DispatchLookupSubjectsRequest) MarshalVT added in v1.13.0

func (m *DispatchLookupSubjectsRequest) MarshalVT() (dAtA []byte, err error)

func (*DispatchLookupSubjectsRequest) MarshalZerologObject added in v1.12.0

func (ls *DispatchLookupSubjectsRequest) MarshalZerologObject(e *zerolog.Event)

MarshalZerologObject implements zerolog object marshalling.

func (*DispatchLookupSubjectsRequest) ProtoMessage added in v1.12.0

func (*DispatchLookupSubjectsRequest) ProtoMessage()

func (*DispatchLookupSubjectsRequest) ProtoReflect added in v1.12.0

func (*DispatchLookupSubjectsRequest) Reset added in v1.12.0

func (x *DispatchLookupSubjectsRequest) Reset()

func (*DispatchLookupSubjectsRequest) SizeVT added in v1.13.0

func (m *DispatchLookupSubjectsRequest) SizeVT() (n int)

func (*DispatchLookupSubjectsRequest) String added in v1.12.0

func (*DispatchLookupSubjectsRequest) UnmarshalVT added in v1.13.0

func (m *DispatchLookupSubjectsRequest) UnmarshalVT(dAtA []byte) error

func (*DispatchLookupSubjectsRequest) Validate added in v1.12.0

func (m *DispatchLookupSubjectsRequest) Validate() error

Validate checks the field values on DispatchLookupSubjectsRequest 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 (*DispatchLookupSubjectsRequest) ValidateAll added in v1.12.0

func (m *DispatchLookupSubjectsRequest) ValidateAll() error

ValidateAll checks the field values on DispatchLookupSubjectsRequest 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 DispatchLookupSubjectsRequestMultiError, or nil if none found.

type DispatchLookupSubjectsRequestMultiError added in v1.12.0

type DispatchLookupSubjectsRequestMultiError []error

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

func (DispatchLookupSubjectsRequestMultiError) AllErrors added in v1.12.0

AllErrors returns a list of validation violation errors.

func (DispatchLookupSubjectsRequestMultiError) Error added in v1.12.0

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

type DispatchLookupSubjectsRequestValidationError added in v1.12.0

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

DispatchLookupSubjectsRequestValidationError is the validation error returned by DispatchLookupSubjectsRequest.Validate if the designated constraints aren't met.

func (DispatchLookupSubjectsRequestValidationError) Cause added in v1.12.0

Cause function returns cause value.

func (DispatchLookupSubjectsRequestValidationError) Error added in v1.12.0

Error satisfies the builtin error interface

func (DispatchLookupSubjectsRequestValidationError) ErrorName added in v1.12.0

ErrorName returns error name.

func (DispatchLookupSubjectsRequestValidationError) Field added in v1.12.0

Field function returns field value.

func (DispatchLookupSubjectsRequestValidationError) Key added in v1.12.0

Key function returns key value.

func (DispatchLookupSubjectsRequestValidationError) Reason added in v1.12.0

Reason function returns reason value.

type DispatchLookupSubjectsResponse added in v1.12.0

type DispatchLookupSubjectsResponse struct {
	FoundSubjectsByResourceId map[string]*FoundSubjects `` /* 230-byte string literal not displayed */
	Metadata                  *ResponseMeta             `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*DispatchLookupSubjectsResponse) CloneMessageVT added in v1.22.0

func (m *DispatchLookupSubjectsResponse) CloneMessageVT() proto.Message

func (*DispatchLookupSubjectsResponse) CloneVT added in v1.13.0

func (*DispatchLookupSubjectsResponse) Descriptor deprecated added in v1.12.0

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

Deprecated: Use DispatchLookupSubjectsResponse.ProtoReflect.Descriptor instead.

func (*DispatchLookupSubjectsResponse) EqualMessageVT added in v1.22.0

func (this *DispatchLookupSubjectsResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*DispatchLookupSubjectsResponse) EqualVT added in v1.15.0

func (*DispatchLookupSubjectsResponse) GetFoundSubjectsByResourceId added in v1.15.0

func (x *DispatchLookupSubjectsResponse) GetFoundSubjectsByResourceId() map[string]*FoundSubjects

func (*DispatchLookupSubjectsResponse) GetMetadata added in v1.12.0

func (x *DispatchLookupSubjectsResponse) GetMetadata() *ResponseMeta

func (*DispatchLookupSubjectsResponse) MarshalToSizedBufferVT added in v1.13.0

func (m *DispatchLookupSubjectsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DispatchLookupSubjectsResponse) MarshalToVT added in v1.13.0

func (m *DispatchLookupSubjectsResponse) MarshalToVT(dAtA []byte) (int, error)

func (*DispatchLookupSubjectsResponse) MarshalVT added in v1.13.0

func (m *DispatchLookupSubjectsResponse) MarshalVT() (dAtA []byte, err error)

func (*DispatchLookupSubjectsResponse) MarshalZerologObject added in v1.12.0

func (cs *DispatchLookupSubjectsResponse) MarshalZerologObject(e *zerolog.Event)

MarshalZerologObject implements zerolog object marshalling.

func (*DispatchLookupSubjectsResponse) ProtoMessage added in v1.12.0

func (*DispatchLookupSubjectsResponse) ProtoMessage()

func (*DispatchLookupSubjectsResponse) ProtoReflect added in v1.12.0

func (*DispatchLookupSubjectsResponse) Reset added in v1.12.0

func (x *DispatchLookupSubjectsResponse) Reset()

func (*DispatchLookupSubjectsResponse) SizeVT added in v1.13.0

func (m *DispatchLookupSubjectsResponse) SizeVT() (n int)

func (*DispatchLookupSubjectsResponse) String added in v1.12.0

func (*DispatchLookupSubjectsResponse) UnmarshalVT added in v1.13.0

func (m *DispatchLookupSubjectsResponse) UnmarshalVT(dAtA []byte) error

func (*DispatchLookupSubjectsResponse) Validate added in v1.12.0

func (m *DispatchLookupSubjectsResponse) Validate() error

Validate checks the field values on DispatchLookupSubjectsResponse 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 (*DispatchLookupSubjectsResponse) ValidateAll added in v1.12.0

func (m *DispatchLookupSubjectsResponse) ValidateAll() error

ValidateAll checks the field values on DispatchLookupSubjectsResponse 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 DispatchLookupSubjectsResponseMultiError, or nil if none found.

type DispatchLookupSubjectsResponseMultiError added in v1.12.0

type DispatchLookupSubjectsResponseMultiError []error

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

func (DispatchLookupSubjectsResponseMultiError) AllErrors added in v1.12.0

AllErrors returns a list of validation violation errors.

func (DispatchLookupSubjectsResponseMultiError) Error added in v1.12.0

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

type DispatchLookupSubjectsResponseValidationError added in v1.12.0

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

DispatchLookupSubjectsResponseValidationError is the validation error returned by DispatchLookupSubjectsResponse.Validate if the designated constraints aren't met.

func (DispatchLookupSubjectsResponseValidationError) Cause added in v1.12.0

Cause function returns cause value.

func (DispatchLookupSubjectsResponseValidationError) Error added in v1.12.0

Error satisfies the builtin error interface

func (DispatchLookupSubjectsResponseValidationError) ErrorName added in v1.12.0

ErrorName returns error name.

func (DispatchLookupSubjectsResponseValidationError) Field added in v1.12.0

Field function returns field value.

func (DispatchLookupSubjectsResponseValidationError) Key added in v1.12.0

Key function returns key value.

func (DispatchLookupSubjectsResponseValidationError) Reason added in v1.12.0

Reason function returns reason value.

type DispatchReachableResourcesRequest added in v1.8.0

type DispatchReachableResourcesRequest struct {
	Metadata         *ResolverMeta         `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	ResourceRelation *v1.RelationReference `protobuf:"bytes,2,opt,name=resource_relation,json=resourceRelation,proto3" json:"resource_relation,omitempty"`
	SubjectRelation  *v1.RelationReference `protobuf:"bytes,3,opt,name=subject_relation,json=subjectRelation,proto3" json:"subject_relation,omitempty"`
	SubjectIds       []string              `protobuf:"bytes,4,rep,name=subject_ids,json=subjectIds,proto3" json:"subject_ids,omitempty"`
	// optional_cursor, if the specified, is the cursor at which to resume returning results. Note
	// that reachableresources can return duplicates.
	OptionalCursor *Cursor `protobuf:"bytes,5,opt,name=optional_cursor,json=optionalCursor,proto3" json:"optional_cursor,omitempty"`
	// optional_limit, if given, specifies a limit on the number of resources returned.
	OptionalLimit uint32 `protobuf:"varint,6,opt,name=optional_limit,json=optionalLimit,proto3" json:"optional_limit,omitempty"`
	// contains filtered or unexported fields
}

func (*DispatchReachableResourcesRequest) CloneMessageVT added in v1.22.0

func (m *DispatchReachableResourcesRequest) CloneMessageVT() proto.Message

func (*DispatchReachableResourcesRequest) CloneVT added in v1.13.0

func (*DispatchReachableResourcesRequest) Descriptor deprecated added in v1.8.0

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

Deprecated: Use DispatchReachableResourcesRequest.ProtoReflect.Descriptor instead.

func (*DispatchReachableResourcesRequest) EqualMessageVT added in v1.22.0

func (this *DispatchReachableResourcesRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*DispatchReachableResourcesRequest) EqualVT added in v1.15.0

func (*DispatchReachableResourcesRequest) GetMetadata added in v1.8.0

func (*DispatchReachableResourcesRequest) GetOptionalCursor added in v1.22.0

func (x *DispatchReachableResourcesRequest) GetOptionalCursor() *Cursor

func (*DispatchReachableResourcesRequest) GetOptionalLimit added in v1.22.0

func (x *DispatchReachableResourcesRequest) GetOptionalLimit() uint32

func (*DispatchReachableResourcesRequest) GetResourceRelation added in v1.11.0

func (x *DispatchReachableResourcesRequest) GetResourceRelation() *v1.RelationReference

func (*DispatchReachableResourcesRequest) GetSubjectIds added in v1.11.0

func (x *DispatchReachableResourcesRequest) GetSubjectIds() []string

func (*DispatchReachableResourcesRequest) GetSubjectRelation added in v1.11.0

func (x *DispatchReachableResourcesRequest) GetSubjectRelation() *v1.RelationReference

func (*DispatchReachableResourcesRequest) MarshalToSizedBufferVT added in v1.13.0

func (m *DispatchReachableResourcesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DispatchReachableResourcesRequest) MarshalToVT added in v1.13.0

func (m *DispatchReachableResourcesRequest) MarshalToVT(dAtA []byte) (int, error)

func (*DispatchReachableResourcesRequest) MarshalVT added in v1.13.0

func (m *DispatchReachableResourcesRequest) MarshalVT() (dAtA []byte, err error)

func (*DispatchReachableResourcesRequest) MarshalZerologObject added in v1.8.0

func (lr *DispatchReachableResourcesRequest) MarshalZerologObject(e *zerolog.Event)

MarshalZerologObject implements zerolog object marshalling.

func (*DispatchReachableResourcesRequest) ProtoMessage added in v1.8.0

func (*DispatchReachableResourcesRequest) ProtoMessage()

func (*DispatchReachableResourcesRequest) ProtoReflect added in v1.8.0

func (*DispatchReachableResourcesRequest) Reset added in v1.8.0

func (*DispatchReachableResourcesRequest) SizeVT added in v1.13.0

func (m *DispatchReachableResourcesRequest) SizeVT() (n int)

func (*DispatchReachableResourcesRequest) String added in v1.8.0

func (*DispatchReachableResourcesRequest) UnmarshalVT added in v1.13.0

func (m *DispatchReachableResourcesRequest) UnmarshalVT(dAtA []byte) error

func (*DispatchReachableResourcesRequest) Validate added in v1.8.0

Validate checks the field values on DispatchReachableResourcesRequest 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 (*DispatchReachableResourcesRequest) ValidateAll added in v1.8.0

func (m *DispatchReachableResourcesRequest) ValidateAll() error

ValidateAll checks the field values on DispatchReachableResourcesRequest 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 DispatchReachableResourcesRequestMultiError, or nil if none found.

type DispatchReachableResourcesRequestMultiError added in v1.8.0

type DispatchReachableResourcesRequestMultiError []error

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

func (DispatchReachableResourcesRequestMultiError) AllErrors added in v1.8.0

AllErrors returns a list of validation violation errors.

func (DispatchReachableResourcesRequestMultiError) Error added in v1.8.0

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

type DispatchReachableResourcesRequestValidationError added in v1.8.0

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

DispatchReachableResourcesRequestValidationError is the validation error returned by DispatchReachableResourcesRequest.Validate if the designated constraints aren't met.

func (DispatchReachableResourcesRequestValidationError) Cause added in v1.8.0

Cause function returns cause value.

func (DispatchReachableResourcesRequestValidationError) Error added in v1.8.0

Error satisfies the builtin error interface

func (DispatchReachableResourcesRequestValidationError) ErrorName added in v1.8.0

ErrorName returns error name.

func (DispatchReachableResourcesRequestValidationError) Field added in v1.8.0

Field function returns field value.

func (DispatchReachableResourcesRequestValidationError) Key added in v1.8.0

Key function returns key value.

func (DispatchReachableResourcesRequestValidationError) Reason added in v1.8.0

Reason function returns reason value.

type DispatchReachableResourcesResponse added in v1.8.0

type DispatchReachableResourcesResponse struct {
	Resource            *ReachableResource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	Metadata            *ResponseMeta      `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	AfterResponseCursor *Cursor            `protobuf:"bytes,3,opt,name=after_response_cursor,json=afterResponseCursor,proto3" json:"after_response_cursor,omitempty"`
	// contains filtered or unexported fields
}

func (*DispatchReachableResourcesResponse) CloneMessageVT added in v1.22.0

func (m *DispatchReachableResourcesResponse) CloneMessageVT() proto.Message

func (*DispatchReachableResourcesResponse) CloneVT added in v1.13.0

func (*DispatchReachableResourcesResponse) Descriptor deprecated added in v1.8.0

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

Deprecated: Use DispatchReachableResourcesResponse.ProtoReflect.Descriptor instead.

func (*DispatchReachableResourcesResponse) EqualMessageVT added in v1.22.0

func (this *DispatchReachableResourcesResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*DispatchReachableResourcesResponse) EqualVT added in v1.15.0

func (*DispatchReachableResourcesResponse) GetAfterResponseCursor added in v1.22.0

func (x *DispatchReachableResourcesResponse) GetAfterResponseCursor() *Cursor

func (*DispatchReachableResourcesResponse) GetMetadata added in v1.8.0

func (*DispatchReachableResourcesResponse) GetResource added in v1.8.0

func (*DispatchReachableResourcesResponse) MarshalToSizedBufferVT added in v1.13.0

func (m *DispatchReachableResourcesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DispatchReachableResourcesResponse) MarshalToVT added in v1.13.0

func (m *DispatchReachableResourcesResponse) MarshalToVT(dAtA []byte) (int, error)

func (*DispatchReachableResourcesResponse) MarshalVT added in v1.13.0

func (m *DispatchReachableResourcesResponse) MarshalVT() (dAtA []byte, err error)

func (*DispatchReachableResourcesResponse) ProtoMessage added in v1.8.0

func (*DispatchReachableResourcesResponse) ProtoMessage()

func (*DispatchReachableResourcesResponse) ProtoReflect added in v1.8.0

func (*DispatchReachableResourcesResponse) Reset added in v1.8.0

func (*DispatchReachableResourcesResponse) SizeVT added in v1.13.0

func (m *DispatchReachableResourcesResponse) SizeVT() (n int)

func (*DispatchReachableResourcesResponse) String added in v1.8.0

func (*DispatchReachableResourcesResponse) UnmarshalVT added in v1.13.0

func (m *DispatchReachableResourcesResponse) UnmarshalVT(dAtA []byte) error

func (*DispatchReachableResourcesResponse) Validate added in v1.8.0

Validate checks the field values on DispatchReachableResourcesResponse 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 (*DispatchReachableResourcesResponse) ValidateAll added in v1.8.0

func (m *DispatchReachableResourcesResponse) ValidateAll() error

ValidateAll checks the field values on DispatchReachableResourcesResponse 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 DispatchReachableResourcesResponseMultiError, or nil if none found.

type DispatchReachableResourcesResponseMultiError added in v1.8.0

type DispatchReachableResourcesResponseMultiError []error

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

func (DispatchReachableResourcesResponseMultiError) AllErrors added in v1.8.0

AllErrors returns a list of validation violation errors.

func (DispatchReachableResourcesResponseMultiError) Error added in v1.8.0

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

type DispatchReachableResourcesResponseValidationError added in v1.8.0

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

DispatchReachableResourcesResponseValidationError is the validation error returned by DispatchReachableResourcesResponse.Validate if the designated constraints aren't met.

func (DispatchReachableResourcesResponseValidationError) Cause added in v1.8.0

Cause function returns cause value.

func (DispatchReachableResourcesResponseValidationError) Error added in v1.8.0

Error satisfies the builtin error interface

func (DispatchReachableResourcesResponseValidationError) ErrorName added in v1.8.0

ErrorName returns error name.

func (DispatchReachableResourcesResponseValidationError) Field added in v1.8.0

Field function returns field value.

func (DispatchReachableResourcesResponseValidationError) Key added in v1.8.0

Key function returns key value.

func (DispatchReachableResourcesResponseValidationError) Reason added in v1.8.0

Reason function returns reason value.

type DispatchServiceClient

DispatchServiceClient is the client API for DispatchService 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 DispatchServiceServer

DispatchServiceServer is the server API for DispatchService service. All implementations must embed UnimplementedDispatchServiceServer for forward compatibility

type DispatchService_DispatchLookupResourcesClient added in v1.22.0

type DispatchService_DispatchLookupResourcesClient interface {
	Recv() (*DispatchLookupResourcesResponse, error)
	grpc.ClientStream
}

type DispatchService_DispatchLookupResourcesServer added in v1.22.0

type DispatchService_DispatchLookupResourcesServer interface {
	Send(*DispatchLookupResourcesResponse) error
	grpc.ServerStream
}

type DispatchService_DispatchLookupSubjectsClient added in v1.12.0

type DispatchService_DispatchLookupSubjectsClient interface {
	Recv() (*DispatchLookupSubjectsResponse, error)
	grpc.ClientStream
}

type DispatchService_DispatchLookupSubjectsServer added in v1.12.0

type DispatchService_DispatchLookupSubjectsServer interface {
	Send(*DispatchLookupSubjectsResponse) error
	grpc.ServerStream
}

type DispatchService_DispatchReachableResourcesClient added in v1.8.0

type DispatchService_DispatchReachableResourcesClient interface {
	Recv() (*DispatchReachableResourcesResponse, error)
	grpc.ClientStream
}

type DispatchService_DispatchReachableResourcesServer added in v1.8.0

type DispatchService_DispatchReachableResourcesServer interface {
	Send(*DispatchReachableResourcesResponse) error
	grpc.ServerStream
}

type FoundSubject added in v1.12.0

type FoundSubject struct {
	SubjectId        string               `protobuf:"bytes,1,opt,name=subject_id,json=subjectId,proto3" json:"subject_id,omitempty"`
	CaveatExpression *v1.CaveatExpression `protobuf:"bytes,2,opt,name=caveat_expression,json=caveatExpression,proto3" json:"caveat_expression,omitempty"`
	ExcludedSubjects []*FoundSubject      `protobuf:"bytes,3,rep,name=excluded_subjects,json=excludedSubjects,proto3" json:"excluded_subjects,omitempty"`
	// contains filtered or unexported fields
}

func (*FoundSubject) CloneMessageVT added in v1.22.0

func (m *FoundSubject) CloneMessageVT() proto.Message

func (*FoundSubject) CloneVT added in v1.13.0

func (m *FoundSubject) CloneVT() *FoundSubject

func (*FoundSubject) Descriptor deprecated added in v1.12.0

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

Deprecated: Use FoundSubject.ProtoReflect.Descriptor instead.

func (*FoundSubject) EqualMessageVT added in v1.22.0

func (this *FoundSubject) EqualMessageVT(thatMsg proto.Message) bool

func (*FoundSubject) EqualVT added in v1.15.0

func (this *FoundSubject) EqualVT(that *FoundSubject) bool

func (*FoundSubject) GetCaveatExpression added in v1.15.0

func (x *FoundSubject) GetCaveatExpression() *v1.CaveatExpression

func (*FoundSubject) GetExcludedSubjects added in v1.15.0

func (x *FoundSubject) GetExcludedSubjects() []*FoundSubject

func (*FoundSubject) GetSubjectId added in v1.12.0

func (x *FoundSubject) GetSubjectId() string

func (*FoundSubject) MarshalToSizedBufferVT added in v1.13.0

func (m *FoundSubject) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FoundSubject) MarshalToVT added in v1.13.0

func (m *FoundSubject) MarshalToVT(dAtA []byte) (int, error)

func (*FoundSubject) MarshalVT added in v1.13.0

func (m *FoundSubject) MarshalVT() (dAtA []byte, err error)

func (*FoundSubject) ProtoMessage added in v1.12.0

func (*FoundSubject) ProtoMessage()

func (*FoundSubject) ProtoReflect added in v1.12.0

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

func (*FoundSubject) Reset added in v1.12.0

func (x *FoundSubject) Reset()

func (*FoundSubject) SizeVT added in v1.13.0

func (m *FoundSubject) SizeVT() (n int)

func (*FoundSubject) String added in v1.12.0

func (x *FoundSubject) String() string

func (*FoundSubject) UnmarshalVT added in v1.13.0

func (m *FoundSubject) UnmarshalVT(dAtA []byte) error

func (*FoundSubject) Validate added in v1.12.0

func (m *FoundSubject) Validate() error

Validate checks the field values on FoundSubject 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 (*FoundSubject) ValidateAll added in v1.12.0

func (m *FoundSubject) ValidateAll() error

ValidateAll checks the field values on FoundSubject 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 FoundSubjectMultiError, or nil if none found.

type FoundSubjectMultiError added in v1.12.0

type FoundSubjectMultiError []error

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

func (FoundSubjectMultiError) AllErrors added in v1.12.0

func (m FoundSubjectMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FoundSubjectMultiError) Error added in v1.12.0

func (m FoundSubjectMultiError) Error() string

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

type FoundSubjectValidationError added in v1.12.0

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

FoundSubjectValidationError is the validation error returned by FoundSubject.Validate if the designated constraints aren't met.

func (FoundSubjectValidationError) Cause added in v1.12.0

Cause function returns cause value.

func (FoundSubjectValidationError) Error added in v1.12.0

Error satisfies the builtin error interface

func (FoundSubjectValidationError) ErrorName added in v1.12.0

func (e FoundSubjectValidationError) ErrorName() string

ErrorName returns error name.

func (FoundSubjectValidationError) Field added in v1.12.0

Field function returns field value.

func (FoundSubjectValidationError) Key added in v1.12.0

Key function returns key value.

func (FoundSubjectValidationError) Reason added in v1.12.0

Reason function returns reason value.

type FoundSubjects added in v1.15.0

type FoundSubjects struct {
	FoundSubjects []*FoundSubject `protobuf:"bytes,1,rep,name=found_subjects,json=foundSubjects,proto3" json:"found_subjects,omitempty"`
	// contains filtered or unexported fields
}

func (*FoundSubjects) CloneMessageVT added in v1.22.0

func (m *FoundSubjects) CloneMessageVT() proto.Message

func (*FoundSubjects) CloneVT added in v1.15.0

func (m *FoundSubjects) CloneVT() *FoundSubjects

func (*FoundSubjects) Descriptor deprecated added in v1.15.0

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

Deprecated: Use FoundSubjects.ProtoReflect.Descriptor instead.

func (*FoundSubjects) EqualMessageVT added in v1.22.0

func (this *FoundSubjects) EqualMessageVT(thatMsg proto.Message) bool

func (*FoundSubjects) EqualVT added in v1.15.0

func (this *FoundSubjects) EqualVT(that *FoundSubjects) bool

func (*FoundSubjects) GetFoundSubjects added in v1.15.0

func (x *FoundSubjects) GetFoundSubjects() []*FoundSubject

func (*FoundSubjects) MarshalToSizedBufferVT added in v1.15.0

func (m *FoundSubjects) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FoundSubjects) MarshalToVT added in v1.15.0

func (m *FoundSubjects) MarshalToVT(dAtA []byte) (int, error)

func (*FoundSubjects) MarshalVT added in v1.15.0

func (m *FoundSubjects) MarshalVT() (dAtA []byte, err error)

func (*FoundSubjects) ProtoMessage added in v1.15.0

func (*FoundSubjects) ProtoMessage()

func (*FoundSubjects) ProtoReflect added in v1.15.0

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

func (*FoundSubjects) Reset added in v1.15.0

func (x *FoundSubjects) Reset()

func (*FoundSubjects) SizeVT added in v1.15.0

func (m *FoundSubjects) SizeVT() (n int)

func (*FoundSubjects) String added in v1.15.0

func (x *FoundSubjects) String() string

func (*FoundSubjects) UnmarshalVT added in v1.15.0

func (m *FoundSubjects) UnmarshalVT(dAtA []byte) error

func (*FoundSubjects) Validate added in v1.15.0

func (m *FoundSubjects) Validate() error

Validate checks the field values on FoundSubjects 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 (*FoundSubjects) ValidateAll added in v1.15.0

func (m *FoundSubjects) ValidateAll() error

ValidateAll checks the field values on FoundSubjects 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 FoundSubjectsMultiError, or nil if none found.

type FoundSubjectsMultiError added in v1.15.0

type FoundSubjectsMultiError []error

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

func (FoundSubjectsMultiError) AllErrors added in v1.15.0

func (m FoundSubjectsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FoundSubjectsMultiError) Error added in v1.15.0

func (m FoundSubjectsMultiError) Error() string

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

type FoundSubjectsValidationError added in v1.15.0

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

FoundSubjectsValidationError is the validation error returned by FoundSubjects.Validate if the designated constraints aren't met.

func (FoundSubjectsValidationError) Cause added in v1.15.0

Cause function returns cause value.

func (FoundSubjectsValidationError) Error added in v1.15.0

Error satisfies the builtin error interface

func (FoundSubjectsValidationError) ErrorName added in v1.15.0

func (e FoundSubjectsValidationError) ErrorName() string

ErrorName returns error name.

func (FoundSubjectsValidationError) Field added in v1.15.0

Field function returns field value.

func (FoundSubjectsValidationError) Key added in v1.15.0

Key function returns key value.

func (FoundSubjectsValidationError) Reason added in v1.15.0

Reason function returns reason value.

type ReachableResource added in v1.8.0

type ReachableResource struct {
	ResourceId    string                         `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	ResultStatus  ReachableResource_ResultStatus `` /* 146-byte string literal not displayed */
	ForSubjectIds []string                       `protobuf:"bytes,3,rep,name=for_subject_ids,json=forSubjectIds,proto3" json:"for_subject_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*ReachableResource) CloneMessageVT added in v1.22.0

func (m *ReachableResource) CloneMessageVT() proto.Message

func (*ReachableResource) CloneVT added in v1.13.0

func (m *ReachableResource) CloneVT() *ReachableResource

func (*ReachableResource) Descriptor deprecated added in v1.8.0

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

Deprecated: Use ReachableResource.ProtoReflect.Descriptor instead.

func (*ReachableResource) EqualMessageVT added in v1.22.0

func (this *ReachableResource) EqualMessageVT(thatMsg proto.Message) bool

func (*ReachableResource) EqualVT added in v1.15.0

func (this *ReachableResource) EqualVT(that *ReachableResource) bool

func (*ReachableResource) GetForSubjectIds added in v1.15.0

func (x *ReachableResource) GetForSubjectIds() []string

func (*ReachableResource) GetResourceId added in v1.15.0

func (x *ReachableResource) GetResourceId() string

func (*ReachableResource) GetResultStatus added in v1.8.0

func (*ReachableResource) MarshalToSizedBufferVT added in v1.13.0

func (m *ReachableResource) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ReachableResource) MarshalToVT added in v1.13.0

func (m *ReachableResource) MarshalToVT(dAtA []byte) (int, error)

func (*ReachableResource) MarshalVT added in v1.13.0

func (m *ReachableResource) MarshalVT() (dAtA []byte, err error)

func (*ReachableResource) ProtoMessage added in v1.8.0

func (*ReachableResource) ProtoMessage()

func (*ReachableResource) ProtoReflect added in v1.8.0

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

func (*ReachableResource) Reset added in v1.8.0

func (x *ReachableResource) Reset()

func (*ReachableResource) SizeVT added in v1.13.0

func (m *ReachableResource) SizeVT() (n int)

func (*ReachableResource) String added in v1.8.0

func (x *ReachableResource) String() string

func (*ReachableResource) UnmarshalVT added in v1.13.0

func (m *ReachableResource) UnmarshalVT(dAtA []byte) error

func (*ReachableResource) Validate added in v1.8.0

func (m *ReachableResource) Validate() error

Validate checks the field values on ReachableResource 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 (*ReachableResource) ValidateAll added in v1.8.0

func (m *ReachableResource) ValidateAll() error

ValidateAll checks the field values on ReachableResource 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 ReachableResourceMultiError, or nil if none found.

type ReachableResourceMultiError added in v1.8.0

type ReachableResourceMultiError []error

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

func (ReachableResourceMultiError) AllErrors added in v1.8.0

func (m ReachableResourceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ReachableResourceMultiError) Error added in v1.8.0

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

type ReachableResourceValidationError added in v1.8.0

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

ReachableResourceValidationError is the validation error returned by ReachableResource.Validate if the designated constraints aren't met.

func (ReachableResourceValidationError) Cause added in v1.8.0

Cause function returns cause value.

func (ReachableResourceValidationError) Error added in v1.8.0

Error satisfies the builtin error interface

func (ReachableResourceValidationError) ErrorName added in v1.8.0

ErrorName returns error name.

func (ReachableResourceValidationError) Field added in v1.8.0

Field function returns field value.

func (ReachableResourceValidationError) Key added in v1.8.0

Key function returns key value.

func (ReachableResourceValidationError) Reason added in v1.8.0

Reason function returns reason value.

type ReachableResource_ResultStatus added in v1.8.0

type ReachableResource_ResultStatus int32
const (
	// *
	// REQUIRES_CHECK indicates that the resource is reachable but a Check is required to
	// determine if the resource is actually found for the user.
	ReachableResource_REQUIRES_CHECK ReachableResource_ResultStatus = 0
	// *
	// HAS_PERMISSION indicates that the resource is both reachable and found for the permission
	// for the subject.
	ReachableResource_HAS_PERMISSION ReachableResource_ResultStatus = 1
)

func (ReachableResource_ResultStatus) Descriptor added in v1.8.0

func (ReachableResource_ResultStatus) Enum added in v1.8.0

func (ReachableResource_ResultStatus) EnumDescriptor deprecated added in v1.8.0

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

Deprecated: Use ReachableResource_ResultStatus.Descriptor instead.

func (ReachableResource_ResultStatus) Number added in v1.8.0

func (ReachableResource_ResultStatus) String added in v1.8.0

func (ReachableResource_ResultStatus) Type added in v1.8.0

type ResolvedResource added in v1.15.0

type ResolvedResource struct {
	ResourceId             string                          `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	Permissionship         ResolvedResource_Permissionship `` /* 131-byte string literal not displayed */
	MissingRequiredContext []string                        `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ResolvedResource) CloneMessageVT added in v1.22.0

func (m *ResolvedResource) CloneMessageVT() proto.Message

func (*ResolvedResource) CloneVT added in v1.15.0

func (m *ResolvedResource) CloneVT() *ResolvedResource

func (*ResolvedResource) Descriptor deprecated added in v1.15.0

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

Deprecated: Use ResolvedResource.ProtoReflect.Descriptor instead.

func (*ResolvedResource) EqualMessageVT added in v1.22.0

func (this *ResolvedResource) EqualMessageVT(thatMsg proto.Message) bool

func (*ResolvedResource) EqualVT added in v1.15.0

func (this *ResolvedResource) EqualVT(that *ResolvedResource) bool

func (*ResolvedResource) GetMissingRequiredContext added in v1.15.0

func (x *ResolvedResource) GetMissingRequiredContext() []string

func (*ResolvedResource) GetPermissionship added in v1.15.0

func (x *ResolvedResource) GetPermissionship() ResolvedResource_Permissionship

func (*ResolvedResource) GetResourceId added in v1.15.0

func (x *ResolvedResource) GetResourceId() string

func (*ResolvedResource) MarshalToSizedBufferVT added in v1.15.0

func (m *ResolvedResource) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ResolvedResource) MarshalToVT added in v1.15.0

func (m *ResolvedResource) MarshalToVT(dAtA []byte) (int, error)

func (*ResolvedResource) MarshalVT added in v1.15.0

func (m *ResolvedResource) MarshalVT() (dAtA []byte, err error)

func (*ResolvedResource) ProtoMessage added in v1.15.0

func (*ResolvedResource) ProtoMessage()

func (*ResolvedResource) ProtoReflect added in v1.15.0

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

func (*ResolvedResource) Reset added in v1.15.0

func (x *ResolvedResource) Reset()

func (*ResolvedResource) SizeVT added in v1.15.0

func (m *ResolvedResource) SizeVT() (n int)

func (*ResolvedResource) String added in v1.15.0

func (x *ResolvedResource) String() string

func (*ResolvedResource) UnmarshalVT added in v1.15.0

func (m *ResolvedResource) UnmarshalVT(dAtA []byte) error

func (*ResolvedResource) Validate added in v1.15.0

func (m *ResolvedResource) Validate() error

Validate checks the field values on ResolvedResource 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 (*ResolvedResource) ValidateAll added in v1.15.0

func (m *ResolvedResource) ValidateAll() error

ValidateAll checks the field values on ResolvedResource 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 ResolvedResourceMultiError, or nil if none found.

type ResolvedResourceMultiError added in v1.15.0

type ResolvedResourceMultiError []error

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

func (ResolvedResourceMultiError) AllErrors added in v1.15.0

func (m ResolvedResourceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ResolvedResourceMultiError) Error added in v1.15.0

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

type ResolvedResourceValidationError added in v1.15.0

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

ResolvedResourceValidationError is the validation error returned by ResolvedResource.Validate if the designated constraints aren't met.

func (ResolvedResourceValidationError) Cause added in v1.15.0

Cause function returns cause value.

func (ResolvedResourceValidationError) Error added in v1.15.0

Error satisfies the builtin error interface

func (ResolvedResourceValidationError) ErrorName added in v1.15.0

ErrorName returns error name.

func (ResolvedResourceValidationError) Field added in v1.15.0

Field function returns field value.

func (ResolvedResourceValidationError) Key added in v1.15.0

Key function returns key value.

func (ResolvedResourceValidationError) Reason added in v1.15.0

Reason function returns reason value.

type ResolvedResource_Permissionship added in v1.15.0

type ResolvedResource_Permissionship int32
const (
	ResolvedResource_UNKNOWN                      ResolvedResource_Permissionship = 0
	ResolvedResource_HAS_PERMISSION               ResolvedResource_Permissionship = 1
	ResolvedResource_CONDITIONALLY_HAS_PERMISSION ResolvedResource_Permissionship = 2
)

func (ResolvedResource_Permissionship) Descriptor added in v1.15.0

func (ResolvedResource_Permissionship) Enum added in v1.15.0

func (ResolvedResource_Permissionship) EnumDescriptor deprecated added in v1.15.0

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

Deprecated: Use ResolvedResource_Permissionship.Descriptor instead.

func (ResolvedResource_Permissionship) Number added in v1.15.0

func (ResolvedResource_Permissionship) String added in v1.15.0

func (ResolvedResource_Permissionship) Type added in v1.15.0

type ResolverMeta

type ResolverMeta struct {
	AtRevision     string `protobuf:"bytes,1,opt,name=at_revision,json=atRevision,proto3" json:"at_revision,omitempty"`
	DepthRemaining uint32 `protobuf:"varint,2,opt,name=depth_remaining,json=depthRemaining,proto3" json:"depth_remaining,omitempty"`
	// contains filtered or unexported fields
}

func (*ResolverMeta) CloneMessageVT added in v1.22.0

func (m *ResolverMeta) CloneMessageVT() proto.Message

func (*ResolverMeta) CloneVT added in v1.13.0

func (m *ResolverMeta) CloneVT() *ResolverMeta

func (*ResolverMeta) Descriptor deprecated

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

Deprecated: Use ResolverMeta.ProtoReflect.Descriptor instead.

func (*ResolverMeta) EqualMessageVT added in v1.22.0

func (this *ResolverMeta) EqualMessageVT(thatMsg proto.Message) bool

func (*ResolverMeta) EqualVT added in v1.15.0

func (this *ResolverMeta) EqualVT(that *ResolverMeta) bool

func (*ResolverMeta) GetAtRevision

func (x *ResolverMeta) GetAtRevision() string

func (*ResolverMeta) GetDepthRemaining

func (x *ResolverMeta) GetDepthRemaining() uint32

func (*ResolverMeta) MarshalToSizedBufferVT added in v1.13.0

func (m *ResolverMeta) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ResolverMeta) MarshalToVT added in v1.13.0

func (m *ResolverMeta) MarshalToVT(dAtA []byte) (int, error)

func (*ResolverMeta) MarshalVT added in v1.13.0

func (m *ResolverMeta) MarshalVT() (dAtA []byte, err error)

func (*ResolverMeta) MarshalZerologObject

func (cr *ResolverMeta) MarshalZerologObject(e *zerolog.Event)

MarshalZerologObject implements zerolog object marshalling.

func (*ResolverMeta) ProtoMessage

func (*ResolverMeta) ProtoMessage()

func (*ResolverMeta) ProtoReflect

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

func (*ResolverMeta) Reset

func (x *ResolverMeta) Reset()

func (*ResolverMeta) SizeVT added in v1.13.0

func (m *ResolverMeta) SizeVT() (n int)

func (*ResolverMeta) String

func (x *ResolverMeta) String() string

func (*ResolverMeta) UnmarshalVT added in v1.13.0

func (m *ResolverMeta) UnmarshalVT(dAtA []byte) error

func (*ResolverMeta) Validate

func (m *ResolverMeta) Validate() error

Validate checks the field values on ResolverMeta 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 (*ResolverMeta) ValidateAll added in v1.6.0

func (m *ResolverMeta) ValidateAll() error

ValidateAll checks the field values on ResolverMeta 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 ResolverMetaMultiError, or nil if none found.

type ResolverMetaMultiError added in v1.6.0

type ResolverMetaMultiError []error

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

func (ResolverMetaMultiError) AllErrors added in v1.6.0

func (m ResolverMetaMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ResolverMetaMultiError) Error added in v1.6.0

func (m ResolverMetaMultiError) Error() string

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

type ResolverMetaValidationError

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

ResolverMetaValidationError is the validation error returned by ResolverMeta.Validate if the designated constraints aren't met.

func (ResolverMetaValidationError) Cause

Cause function returns cause value.

func (ResolverMetaValidationError) Error

Error satisfies the builtin error interface

func (ResolverMetaValidationError) ErrorName

func (e ResolverMetaValidationError) ErrorName() string

ErrorName returns error name.

func (ResolverMetaValidationError) Field

Field function returns field value.

func (ResolverMetaValidationError) Key

Key function returns key value.

func (ResolverMetaValidationError) Reason

Reason function returns reason value.

type ResourceCheckResult added in v1.13.0

type ResourceCheckResult struct {
	Membership        ResourceCheckResult_Membership `protobuf:"varint,1,opt,name=membership,proto3,enum=dispatch.v1.ResourceCheckResult_Membership" json:"membership,omitempty"`
	Expression        *v1.CaveatExpression           `protobuf:"bytes,2,opt,name=expression,proto3" json:"expression,omitempty"`
	MissingExprFields []string                       `protobuf:"bytes,3,rep,name=missing_expr_fields,json=missingExprFields,proto3" json:"missing_expr_fields,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceCheckResult) CloneMessageVT added in v1.22.0

func (m *ResourceCheckResult) CloneMessageVT() proto.Message

func (*ResourceCheckResult) CloneVT added in v1.13.0

func (*ResourceCheckResult) Descriptor deprecated added in v1.13.0

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

Deprecated: Use ResourceCheckResult.ProtoReflect.Descriptor instead.

func (*ResourceCheckResult) EqualMessageVT added in v1.22.0

func (this *ResourceCheckResult) EqualMessageVT(thatMsg proto.Message) bool

func (*ResourceCheckResult) EqualVT added in v1.15.0

func (this *ResourceCheckResult) EqualVT(that *ResourceCheckResult) bool

func (*ResourceCheckResult) GetExpression added in v1.13.0

func (x *ResourceCheckResult) GetExpression() *v1.CaveatExpression

func (*ResourceCheckResult) GetMembership added in v1.13.0

func (*ResourceCheckResult) GetMissingExprFields added in v1.13.0

func (x *ResourceCheckResult) GetMissingExprFields() []string

func (*ResourceCheckResult) MarshalToSizedBufferVT added in v1.13.0

func (m *ResourceCheckResult) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ResourceCheckResult) MarshalToVT added in v1.13.0

func (m *ResourceCheckResult) MarshalToVT(dAtA []byte) (int, error)

func (*ResourceCheckResult) MarshalVT added in v1.13.0

func (m *ResourceCheckResult) MarshalVT() (dAtA []byte, err error)

func (*ResourceCheckResult) ProtoMessage added in v1.13.0

func (*ResourceCheckResult) ProtoMessage()

func (*ResourceCheckResult) ProtoReflect added in v1.13.0

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

func (*ResourceCheckResult) Reset added in v1.13.0

func (x *ResourceCheckResult) Reset()

func (*ResourceCheckResult) SizeVT added in v1.13.0

func (m *ResourceCheckResult) SizeVT() (n int)

func (*ResourceCheckResult) String added in v1.13.0

func (x *ResourceCheckResult) String() string

func (*ResourceCheckResult) UnmarshalVT added in v1.13.0

func (m *ResourceCheckResult) UnmarshalVT(dAtA []byte) error

func (*ResourceCheckResult) Validate added in v1.13.0

func (m *ResourceCheckResult) Validate() error

Validate checks the field values on ResourceCheckResult 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 (*ResourceCheckResult) ValidateAll added in v1.13.0

func (m *ResourceCheckResult) ValidateAll() error

ValidateAll checks the field values on ResourceCheckResult 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 ResourceCheckResultMultiError, or nil if none found.

type ResourceCheckResultMultiError added in v1.13.0

type ResourceCheckResultMultiError []error

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

func (ResourceCheckResultMultiError) AllErrors added in v1.13.0

func (m ResourceCheckResultMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ResourceCheckResultMultiError) Error added in v1.13.0

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

type ResourceCheckResultValidationError added in v1.13.0

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

ResourceCheckResultValidationError is the validation error returned by ResourceCheckResult.Validate if the designated constraints aren't met.

func (ResourceCheckResultValidationError) Cause added in v1.13.0

Cause function returns cause value.

func (ResourceCheckResultValidationError) Error added in v1.13.0

Error satisfies the builtin error interface

func (ResourceCheckResultValidationError) ErrorName added in v1.13.0

ErrorName returns error name.

func (ResourceCheckResultValidationError) Field added in v1.13.0

Field function returns field value.

func (ResourceCheckResultValidationError) Key added in v1.13.0

Key function returns key value.

func (ResourceCheckResultValidationError) Reason added in v1.13.0

Reason function returns reason value.

type ResourceCheckResult_Membership added in v1.13.0

type ResourceCheckResult_Membership int32
const (
	ResourceCheckResult_UNKNOWN         ResourceCheckResult_Membership = 0
	ResourceCheckResult_NOT_MEMBER      ResourceCheckResult_Membership = 1
	ResourceCheckResult_MEMBER          ResourceCheckResult_Membership = 2
	ResourceCheckResult_CAVEATED_MEMBER ResourceCheckResult_Membership = 3
)

func (ResourceCheckResult_Membership) Descriptor added in v1.13.0

func (ResourceCheckResult_Membership) Enum added in v1.13.0

func (ResourceCheckResult_Membership) EnumDescriptor deprecated added in v1.13.0

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

Deprecated: Use ResourceCheckResult_Membership.Descriptor instead.

func (ResourceCheckResult_Membership) Number added in v1.13.0

func (ResourceCheckResult_Membership) String added in v1.13.0

func (ResourceCheckResult_Membership) Type added in v1.13.0

type ResponseMeta

type ResponseMeta struct {
	DispatchCount       uint32            `protobuf:"varint,1,opt,name=dispatch_count,json=dispatchCount,proto3" json:"dispatch_count,omitempty"`
	DepthRequired       uint32            `protobuf:"varint,2,opt,name=depth_required,json=depthRequired,proto3" json:"depth_required,omitempty"`
	CachedDispatchCount uint32            `protobuf:"varint,3,opt,name=cached_dispatch_count,json=cachedDispatchCount,proto3" json:"cached_dispatch_count,omitempty"`
	DebugInfo           *DebugInformation `protobuf:"bytes,6,opt,name=debug_info,json=debugInfo,proto3" json:"debug_info,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseMeta) CloneMessageVT added in v1.22.0

func (m *ResponseMeta) CloneMessageVT() proto.Message

func (*ResponseMeta) CloneVT added in v1.13.0

func (m *ResponseMeta) CloneVT() *ResponseMeta

func (*ResponseMeta) Descriptor deprecated

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

Deprecated: Use ResponseMeta.ProtoReflect.Descriptor instead.

func (*ResponseMeta) EqualMessageVT added in v1.22.0

func (this *ResponseMeta) EqualMessageVT(thatMsg proto.Message) bool

func (*ResponseMeta) EqualVT added in v1.15.0

func (this *ResponseMeta) EqualVT(that *ResponseMeta) bool

func (*ResponseMeta) GetCachedDispatchCount

func (x *ResponseMeta) GetCachedDispatchCount() uint32

func (*ResponseMeta) GetDebugInfo added in v1.11.0

func (x *ResponseMeta) GetDebugInfo() *DebugInformation

func (*ResponseMeta) GetDepthRequired

func (x *ResponseMeta) GetDepthRequired() uint32

func (*ResponseMeta) GetDispatchCount

func (x *ResponseMeta) GetDispatchCount() uint32

func (*ResponseMeta) MarshalToSizedBufferVT added in v1.13.0

func (m *ResponseMeta) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ResponseMeta) MarshalToVT added in v1.13.0

func (m *ResponseMeta) MarshalToVT(dAtA []byte) (int, error)

func (*ResponseMeta) MarshalVT added in v1.13.0

func (m *ResponseMeta) MarshalVT() (dAtA []byte, err error)

func (*ResponseMeta) MarshalZerologObject

func (cr *ResponseMeta) MarshalZerologObject(e *zerolog.Event)

MarshalZerologObject implements zerolog object marshalling.

func (*ResponseMeta) ProtoMessage

func (*ResponseMeta) ProtoMessage()

func (*ResponseMeta) ProtoReflect

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

func (*ResponseMeta) Reset

func (x *ResponseMeta) Reset()

func (*ResponseMeta) SizeVT added in v1.13.0

func (m *ResponseMeta) SizeVT() (n int)

func (*ResponseMeta) String

func (x *ResponseMeta) String() string

func (*ResponseMeta) UnmarshalVT added in v1.13.0

func (m *ResponseMeta) UnmarshalVT(dAtA []byte) error

func (*ResponseMeta) Validate

func (m *ResponseMeta) Validate() error

Validate checks the field values on ResponseMeta 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 (*ResponseMeta) ValidateAll added in v1.6.0

func (m *ResponseMeta) ValidateAll() error

ValidateAll checks the field values on ResponseMeta 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 ResponseMetaMultiError, or nil if none found.

type ResponseMetaMultiError added in v1.6.0

type ResponseMetaMultiError []error

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

func (ResponseMetaMultiError) AllErrors added in v1.6.0

func (m ResponseMetaMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ResponseMetaMultiError) Error added in v1.6.0

func (m ResponseMetaMultiError) Error() string

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

type ResponseMetaValidationError

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

ResponseMetaValidationError is the validation error returned by ResponseMeta.Validate if the designated constraints aren't met.

func (ResponseMetaValidationError) Cause

Cause function returns cause value.

func (ResponseMetaValidationError) Error

Error satisfies the builtin error interface

func (ResponseMetaValidationError) ErrorName

func (e ResponseMetaValidationError) ErrorName() string

ErrorName returns error name.

func (ResponseMetaValidationError) Field

Field function returns field value.

func (ResponseMetaValidationError) Key

Key function returns key value.

func (ResponseMetaValidationError) Reason

Reason function returns reason value.

type UnimplementedDispatchServiceServer

type UnimplementedDispatchServiceServer struct {
}

UnimplementedDispatchServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedDispatchServiceServer) DispatchCheck

func (UnimplementedDispatchServiceServer) DispatchExpand

func (UnimplementedDispatchServiceServer) DispatchLookupResources added in v1.22.0

func (UnimplementedDispatchServiceServer) DispatchLookupSubjects added in v1.12.0

func (UnimplementedDispatchServiceServer) DispatchReachableResources added in v1.8.0

type UnsafeDispatchServiceServer

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

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

Jump to

Keyboard shortcuts

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