dispatchv1

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: Apache-2.0 Imports: 35 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 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 MustNewTraversalBloomFilter

func MustNewTraversalBloomFilter(numElements uint) []byte

MustNewTraversalBloomFilter creates a new bloom filter sized to the provided number of elements and with a predefined false-positive ratio of 0.1%.

func NewTraversalBloomFilter

func NewTraversalBloomFilter(numElements uint) ([]byte, error)

NewTraversalBloomFilter creates a new bloom filter sized to the provided number of elements and with a predefined false-positive ratio of 0.1%.

func RegisterDispatchServiceServer

func RegisterDispatchServiceServer(s grpc.ServiceRegistrar, srv DispatchServiceServer)

Types

type CheckDebugTrace

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"`
	Duration             *durationpb.Duration            `protobuf:"bytes,6,opt,name=duration,proto3" json:"duration,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckDebugTrace) CloneMessageVT

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

func (*CheckDebugTrace) CloneVT

func (m *CheckDebugTrace) CloneVT() *CheckDebugTrace

func (*CheckDebugTrace) Descriptor deprecated

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

Deprecated: Use CheckDebugTrace.ProtoReflect.Descriptor instead.

func (*CheckDebugTrace) EqualMessageVT

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

func (*CheckDebugTrace) EqualVT

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

func (*CheckDebugTrace) GetDuration

func (x *CheckDebugTrace) GetDuration() *durationpb.Duration

func (*CheckDebugTrace) GetIsCachedResult

func (x *CheckDebugTrace) GetIsCachedResult() bool

func (*CheckDebugTrace) GetRequest

func (x *CheckDebugTrace) GetRequest() *DispatchCheckRequest

func (*CheckDebugTrace) GetResourceRelationType

func (x *CheckDebugTrace) GetResourceRelationType() CheckDebugTrace_RelationType

func (*CheckDebugTrace) GetResults

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

func (*CheckDebugTrace) GetSubProblems

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

func (*CheckDebugTrace) MarshalToSizedBufferVT

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

func (*CheckDebugTrace) MarshalToVT

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

func (*CheckDebugTrace) MarshalVT

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

func (*CheckDebugTrace) ProtoMessage

func (*CheckDebugTrace) ProtoMessage()

func (*CheckDebugTrace) ProtoReflect

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

func (*CheckDebugTrace) Reset

func (x *CheckDebugTrace) Reset()

func (*CheckDebugTrace) SizeVT

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

func (*CheckDebugTrace) String

func (x *CheckDebugTrace) String() string

func (*CheckDebugTrace) UnmarshalVT

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

func (*CheckDebugTrace) Validate

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

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

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

func (m CheckDebugTraceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CheckDebugTraceMultiError) Error

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

type CheckDebugTraceValidationError

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

Cause function returns cause value.

func (CheckDebugTraceValidationError) Error

Error satisfies the builtin error interface

func (CheckDebugTraceValidationError) ErrorName

func (e CheckDebugTraceValidationError) ErrorName() string

ErrorName returns error name.

func (CheckDebugTraceValidationError) Field

Field function returns field value.

func (CheckDebugTraceValidationError) Key

Key function returns key value.

func (CheckDebugTraceValidationError) Reason

Reason function returns reason value.

type CheckDebugTrace_RelationType

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

func (CheckDebugTrace_RelationType) Descriptor

func (CheckDebugTrace_RelationType) Enum

func (CheckDebugTrace_RelationType) EnumDescriptor deprecated

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

Deprecated: Use CheckDebugTrace_RelationType.Descriptor instead.

func (CheckDebugTrace_RelationType) Number

func (CheckDebugTrace_RelationType) String

func (CheckDebugTrace_RelationType) Type

type Cursor

type Cursor struct {
	Sections        []string `protobuf:"bytes,2,rep,name=sections,proto3" json:"sections,omitempty"`
	DispatchVersion uint32   `protobuf:"varint,3,opt,name=dispatch_version,json=dispatchVersion,proto3" json:"dispatch_version,omitempty"`
	// contains filtered or unexported fields
}

func (*Cursor) CloneMessageVT

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

func (*Cursor) CloneVT

func (m *Cursor) CloneVT() *Cursor

func (*Cursor) Descriptor deprecated

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

Deprecated: Use Cursor.ProtoReflect.Descriptor instead.

func (*Cursor) EqualMessageVT

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

func (*Cursor) EqualVT

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

func (*Cursor) GetDispatchVersion

func (x *Cursor) GetDispatchVersion() uint32

func (*Cursor) GetSections

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

func (*Cursor) MarshalToSizedBufferVT

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

func (*Cursor) MarshalToVT

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

func (*Cursor) MarshalVT

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

func (*Cursor) ProtoMessage

func (*Cursor) ProtoMessage()

func (*Cursor) ProtoReflect

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

func (*Cursor) Reset

func (x *Cursor) Reset()

func (*Cursor) SizeVT

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

func (*Cursor) String

func (x *Cursor) String() string

func (*Cursor) UnmarshalVT

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

func (*Cursor) Validate

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

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

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

func (m CursorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CursorMultiError) Error

func (m CursorMultiError) Error() string

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

type CursorValidationError

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

func (e CursorValidationError) Cause() error

Cause function returns cause value.

func (CursorValidationError) Error

func (e CursorValidationError) Error() string

Error satisfies the builtin error interface

func (CursorValidationError) ErrorName

func (e CursorValidationError) ErrorName() string

ErrorName returns error name.

func (CursorValidationError) Field

func (e CursorValidationError) Field() string

Field function returns field value.

func (CursorValidationError) Key

func (e CursorValidationError) Key() bool

Key function returns key value.

func (CursorValidationError) Reason

func (e CursorValidationError) Reason() string

Reason function returns reason value.

type DebugInformation

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

func (*DebugInformation) CloneMessageVT

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

func (*DebugInformation) CloneVT

func (m *DebugInformation) CloneVT() *DebugInformation

func (*DebugInformation) Descriptor deprecated

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

Deprecated: Use DebugInformation.ProtoReflect.Descriptor instead.

func (*DebugInformation) EqualMessageVT

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

func (*DebugInformation) EqualVT

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

func (*DebugInformation) GetCheck

func (x *DebugInformation) GetCheck() *CheckDebugTrace

func (*DebugInformation) MarshalToSizedBufferVT

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

func (*DebugInformation) MarshalToVT

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

func (*DebugInformation) MarshalVT

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

func (*DebugInformation) ProtoMessage

func (*DebugInformation) ProtoMessage()

func (*DebugInformation) ProtoReflect

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

func (*DebugInformation) Reset

func (x *DebugInformation) Reset()

func (*DebugInformation) SizeVT

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

func (*DebugInformation) String

func (x *DebugInformation) String() string

func (*DebugInformation) UnmarshalVT

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

func (*DebugInformation) Validate

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

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

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

func (m DebugInformationMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DebugInformationMultiError) Error

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

type DebugInformationValidationError

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

Cause function returns cause value.

func (DebugInformationValidationError) Error

Error satisfies the builtin error interface

func (DebugInformationValidationError) ErrorName

ErrorName returns error name.

func (DebugInformationValidationError) Field

Field function returns field value.

func (DebugInformationValidationError) Key

Key function returns key value.

func (DebugInformationValidationError) Reason

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

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

func (*DispatchCheckRequest) CloneVT

func (*DispatchCheckRequest) Descriptor deprecated

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

Deprecated: Use DispatchCheckRequest.ProtoReflect.Descriptor instead.

func (*DispatchCheckRequest) EqualMessageVT

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

func (*DispatchCheckRequest) EqualVT

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

func (*DispatchCheckRequest) GetDebug

func (*DispatchCheckRequest) GetMetadata

func (x *DispatchCheckRequest) GetMetadata() *ResolverMeta

func (*DispatchCheckRequest) GetResourceIds

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

func (*DispatchCheckRequest) GetResourceRelation

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

func (*DispatchCheckRequest) GetResultsSetting

func (*DispatchCheckRequest) GetSubject

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

func (*DispatchCheckRequest) MarshalToSizedBufferVT

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

func (*DispatchCheckRequest) MarshalToVT

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

func (*DispatchCheckRequest) MarshalVT

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

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

func (*DispatchCheckRequest) String

func (x *DispatchCheckRequest) String() string

func (*DispatchCheckRequest) UnmarshalVT

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

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

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

func (m DispatchCheckRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DispatchCheckRequestMultiError) Error

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

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

func (DispatchCheckRequest_DebugSetting) Enum

func (DispatchCheckRequest_DebugSetting) EnumDescriptor deprecated

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

Deprecated: Use DispatchCheckRequest_DebugSetting.Descriptor instead.

func (DispatchCheckRequest_DebugSetting) Number

func (DispatchCheckRequest_DebugSetting) String

func (DispatchCheckRequest_DebugSetting) Type

type DispatchCheckRequest_ResultsSetting

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

func (DispatchCheckRequest_ResultsSetting) Descriptor

func (DispatchCheckRequest_ResultsSetting) Enum

func (DispatchCheckRequest_ResultsSetting) EnumDescriptor deprecated

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

Deprecated: Use DispatchCheckRequest_ResultsSetting.Descriptor instead.

func (DispatchCheckRequest_ResultsSetting) Number

func (DispatchCheckRequest_ResultsSetting) String

func (DispatchCheckRequest_ResultsSetting) Type

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

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

func (*DispatchCheckResponse) CloneVT

func (*DispatchCheckResponse) Descriptor deprecated

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

Deprecated: Use DispatchCheckResponse.ProtoReflect.Descriptor instead.

func (*DispatchCheckResponse) EqualMessageVT

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

func (*DispatchCheckResponse) EqualVT

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

func (*DispatchCheckResponse) GetMetadata

func (x *DispatchCheckResponse) GetMetadata() *ResponseMeta

func (*DispatchCheckResponse) GetResultsByResourceId

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

func (*DispatchCheckResponse) MarshalToSizedBufferVT

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

func (*DispatchCheckResponse) MarshalToVT

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

func (*DispatchCheckResponse) MarshalVT

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

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

func (*DispatchCheckResponse) String

func (x *DispatchCheckResponse) String() string

func (*DispatchCheckResponse) UnmarshalVT

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

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

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

func (m DispatchCheckResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DispatchCheckResponseMultiError) Error

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

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

func (*DispatchExpandRequest) CloneVT

func (*DispatchExpandRequest) Descriptor deprecated

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

Deprecated: Use DispatchExpandRequest.ProtoReflect.Descriptor instead.

func (*DispatchExpandRequest) EqualMessageVT

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

func (*DispatchExpandRequest) EqualVT

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

func (*DispatchExpandRequest) GetExpansionMode

func (*DispatchExpandRequest) GetMetadata

func (x *DispatchExpandRequest) GetMetadata() *ResolverMeta

func (*DispatchExpandRequest) GetResourceAndRelation

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

func (*DispatchExpandRequest) MarshalToSizedBufferVT

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

func (*DispatchExpandRequest) MarshalToVT

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

func (*DispatchExpandRequest) MarshalVT

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

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

func (*DispatchExpandRequest) String

func (x *DispatchExpandRequest) String() string

func (*DispatchExpandRequest) UnmarshalVT

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

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

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

func (m DispatchExpandRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DispatchExpandRequestMultiError) Error

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

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

func (*DispatchExpandResponse) CloneVT

func (*DispatchExpandResponse) Descriptor deprecated

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

Deprecated: Use DispatchExpandResponse.ProtoReflect.Descriptor instead.

func (*DispatchExpandResponse) EqualMessageVT

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

func (*DispatchExpandResponse) EqualVT

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

func (*DispatchExpandResponse) GetMetadata

func (x *DispatchExpandResponse) GetMetadata() *ResponseMeta

func (*DispatchExpandResponse) GetTreeNode

func (*DispatchExpandResponse) MarshalToSizedBufferVT

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

func (*DispatchExpandResponse) MarshalToVT

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

func (*DispatchExpandResponse) MarshalVT

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

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

func (*DispatchExpandResponse) String

func (x *DispatchExpandResponse) String() string

func (*DispatchExpandResponse) UnmarshalVT

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

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

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

func (m DispatchExpandResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DispatchExpandResponseMultiError) Error

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

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

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

func (*DispatchLookupResourcesRequest) CloneVT

func (*DispatchLookupResourcesRequest) Descriptor deprecated

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

Deprecated: Use DispatchLookupResourcesRequest.ProtoReflect.Descriptor instead.

func (*DispatchLookupResourcesRequest) EqualMessageVT

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

func (*DispatchLookupResourcesRequest) EqualVT

func (*DispatchLookupResourcesRequest) GetContext

func (*DispatchLookupResourcesRequest) GetMetadata

func (x *DispatchLookupResourcesRequest) GetMetadata() *ResolverMeta

func (*DispatchLookupResourcesRequest) GetObjectRelation

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

func (*DispatchLookupResourcesRequest) GetOptionalCursor

func (x *DispatchLookupResourcesRequest) GetOptionalCursor() *Cursor

func (*DispatchLookupResourcesRequest) GetOptionalLimit

func (x *DispatchLookupResourcesRequest) GetOptionalLimit() uint32

func (*DispatchLookupResourcesRequest) GetSubject

func (*DispatchLookupResourcesRequest) MarshalToSizedBufferVT

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

func (*DispatchLookupResourcesRequest) MarshalToVT

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

func (*DispatchLookupResourcesRequest) MarshalVT

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

func (*DispatchLookupResourcesRequest) MarshalZerologObject

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

MarshalZerologObject implements zerolog object marshalling.

func (*DispatchLookupResourcesRequest) ProtoMessage

func (*DispatchLookupResourcesRequest) ProtoMessage()

func (*DispatchLookupResourcesRequest) ProtoReflect

func (*DispatchLookupResourcesRequest) Reset

func (x *DispatchLookupResourcesRequest) Reset()

func (*DispatchLookupResourcesRequest) SizeVT

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

func (*DispatchLookupResourcesRequest) String

func (*DispatchLookupResourcesRequest) UnmarshalVT

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

func (*DispatchLookupResourcesRequest) Validate

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

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

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

AllErrors returns a list of validation violation errors.

func (DispatchLookupResourcesRequestMultiError) Error

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

type DispatchLookupResourcesRequestValidationError

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

Cause function returns cause value.

func (DispatchLookupResourcesRequestValidationError) Error

Error satisfies the builtin error interface

func (DispatchLookupResourcesRequestValidationError) ErrorName

ErrorName returns error name.

func (DispatchLookupResourcesRequestValidationError) Field

Field function returns field value.

func (DispatchLookupResourcesRequestValidationError) Key

Key function returns key value.

func (DispatchLookupResourcesRequestValidationError) Reason

Reason function returns reason value.

type DispatchLookupResourcesResponse

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

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

func (*DispatchLookupResourcesResponse) CloneVT

func (*DispatchLookupResourcesResponse) Descriptor deprecated

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

Deprecated: Use DispatchLookupResourcesResponse.ProtoReflect.Descriptor instead.

func (*DispatchLookupResourcesResponse) EqualMessageVT

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

func (*DispatchLookupResourcesResponse) EqualVT

func (*DispatchLookupResourcesResponse) GetAfterResponseCursor

func (x *DispatchLookupResourcesResponse) GetAfterResponseCursor() *Cursor

func (*DispatchLookupResourcesResponse) GetMetadata

func (*DispatchLookupResourcesResponse) GetResolvedResource

func (x *DispatchLookupResourcesResponse) GetResolvedResource() *ResolvedResource

func (*DispatchLookupResourcesResponse) MarshalToSizedBufferVT

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

func (*DispatchLookupResourcesResponse) MarshalToVT

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

func (*DispatchLookupResourcesResponse) MarshalVT

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

func (*DispatchLookupResourcesResponse) MarshalZerologObject

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

MarshalZerologObject implements zerolog object marshalling.

func (*DispatchLookupResourcesResponse) ProtoMessage

func (*DispatchLookupResourcesResponse) ProtoMessage()

func (*DispatchLookupResourcesResponse) ProtoReflect

func (*DispatchLookupResourcesResponse) Reset

func (*DispatchLookupResourcesResponse) SizeVT

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

func (*DispatchLookupResourcesResponse) String

func (*DispatchLookupResourcesResponse) UnmarshalVT

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

func (*DispatchLookupResourcesResponse) Validate

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

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

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

AllErrors returns a list of validation violation errors.

func (DispatchLookupResourcesResponseMultiError) Error

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

type DispatchLookupResourcesResponseValidationError

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

Cause function returns cause value.

func (DispatchLookupResourcesResponseValidationError) Error

Error satisfies the builtin error interface

func (DispatchLookupResourcesResponseValidationError) ErrorName

ErrorName returns error name.

func (DispatchLookupResourcesResponseValidationError) Field

Field function returns field value.

func (DispatchLookupResourcesResponseValidationError) Key

Key function returns key value.

func (DispatchLookupResourcesResponseValidationError) Reason

Reason function returns reason value.

type DispatchLookupSubjectsRequest

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

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

func (*DispatchLookupSubjectsRequest) CloneVT

func (*DispatchLookupSubjectsRequest) Descriptor deprecated

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

Deprecated: Use DispatchLookupSubjectsRequest.ProtoReflect.Descriptor instead.

func (*DispatchLookupSubjectsRequest) EqualMessageVT

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

func (*DispatchLookupSubjectsRequest) EqualVT

func (*DispatchLookupSubjectsRequest) GetMetadata

func (x *DispatchLookupSubjectsRequest) GetMetadata() *ResolverMeta

func (*DispatchLookupSubjectsRequest) GetResourceIds

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

func (*DispatchLookupSubjectsRequest) GetResourceRelation

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

func (*DispatchLookupSubjectsRequest) GetSubjectRelation

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

func (*DispatchLookupSubjectsRequest) MarshalToSizedBufferVT

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

func (*DispatchLookupSubjectsRequest) MarshalToVT

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

func (*DispatchLookupSubjectsRequest) MarshalVT

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

func (*DispatchLookupSubjectsRequest) MarshalZerologObject

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

MarshalZerologObject implements zerolog object marshalling.

func (*DispatchLookupSubjectsRequest) ProtoMessage

func (*DispatchLookupSubjectsRequest) ProtoMessage()

func (*DispatchLookupSubjectsRequest) ProtoReflect

func (*DispatchLookupSubjectsRequest) Reset

func (x *DispatchLookupSubjectsRequest) Reset()

func (*DispatchLookupSubjectsRequest) SizeVT

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

func (*DispatchLookupSubjectsRequest) String

func (*DispatchLookupSubjectsRequest) UnmarshalVT

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

func (*DispatchLookupSubjectsRequest) Validate

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

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

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

AllErrors returns a list of validation violation errors.

func (DispatchLookupSubjectsRequestMultiError) Error

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

type DispatchLookupSubjectsRequestValidationError

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

Cause function returns cause value.

func (DispatchLookupSubjectsRequestValidationError) Error

Error satisfies the builtin error interface

func (DispatchLookupSubjectsRequestValidationError) ErrorName

ErrorName returns error name.

func (DispatchLookupSubjectsRequestValidationError) Field

Field function returns field value.

func (DispatchLookupSubjectsRequestValidationError) Key

Key function returns key value.

func (DispatchLookupSubjectsRequestValidationError) Reason

Reason function returns reason value.

type DispatchLookupSubjectsResponse

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

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

func (*DispatchLookupSubjectsResponse) CloneVT

func (*DispatchLookupSubjectsResponse) Descriptor deprecated

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

Deprecated: Use DispatchLookupSubjectsResponse.ProtoReflect.Descriptor instead.

func (*DispatchLookupSubjectsResponse) EqualMessageVT

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

func (*DispatchLookupSubjectsResponse) EqualVT

func (*DispatchLookupSubjectsResponse) GetFoundSubjectsByResourceId

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

func (*DispatchLookupSubjectsResponse) GetMetadata

func (x *DispatchLookupSubjectsResponse) GetMetadata() *ResponseMeta

func (*DispatchLookupSubjectsResponse) MarshalToSizedBufferVT

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

func (*DispatchLookupSubjectsResponse) MarshalToVT

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

func (*DispatchLookupSubjectsResponse) MarshalVT

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

func (*DispatchLookupSubjectsResponse) MarshalZerologObject

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

MarshalZerologObject implements zerolog object marshalling.

func (*DispatchLookupSubjectsResponse) ProtoMessage

func (*DispatchLookupSubjectsResponse) ProtoMessage()

func (*DispatchLookupSubjectsResponse) ProtoReflect

func (*DispatchLookupSubjectsResponse) Reset

func (x *DispatchLookupSubjectsResponse) Reset()

func (*DispatchLookupSubjectsResponse) SizeVT

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

func (*DispatchLookupSubjectsResponse) String

func (*DispatchLookupSubjectsResponse) UnmarshalVT

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

func (*DispatchLookupSubjectsResponse) Validate

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

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

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

AllErrors returns a list of validation violation errors.

func (DispatchLookupSubjectsResponseMultiError) Error

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

type DispatchLookupSubjectsResponseValidationError

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

Cause function returns cause value.

func (DispatchLookupSubjectsResponseValidationError) Error

Error satisfies the builtin error interface

func (DispatchLookupSubjectsResponseValidationError) ErrorName

ErrorName returns error name.

func (DispatchLookupSubjectsResponseValidationError) Field

Field function returns field value.

func (DispatchLookupSubjectsResponseValidationError) Key

Key function returns key value.

func (DispatchLookupSubjectsResponseValidationError) Reason

Reason function returns reason value.

type DispatchReachableResourcesRequest

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

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

func (*DispatchReachableResourcesRequest) CloneVT

func (*DispatchReachableResourcesRequest) Descriptor deprecated

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

Deprecated: Use DispatchReachableResourcesRequest.ProtoReflect.Descriptor instead.

func (*DispatchReachableResourcesRequest) EqualMessageVT

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

func (*DispatchReachableResourcesRequest) EqualVT

func (*DispatchReachableResourcesRequest) GetMetadata

func (*DispatchReachableResourcesRequest) GetOptionalCursor

func (x *DispatchReachableResourcesRequest) GetOptionalCursor() *Cursor

func (*DispatchReachableResourcesRequest) GetOptionalLimit

func (x *DispatchReachableResourcesRequest) GetOptionalLimit() uint32

func (*DispatchReachableResourcesRequest) GetResourceRelation

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

func (*DispatchReachableResourcesRequest) GetSubjectIds

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

func (*DispatchReachableResourcesRequest) GetSubjectRelation

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

func (*DispatchReachableResourcesRequest) MarshalToSizedBufferVT

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

func (*DispatchReachableResourcesRequest) MarshalToVT

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

func (*DispatchReachableResourcesRequest) MarshalVT

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

func (*DispatchReachableResourcesRequest) MarshalZerologObject

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

MarshalZerologObject implements zerolog object marshalling.

func (*DispatchReachableResourcesRequest) ProtoMessage

func (*DispatchReachableResourcesRequest) ProtoMessage()

func (*DispatchReachableResourcesRequest) ProtoReflect

func (*DispatchReachableResourcesRequest) Reset

func (*DispatchReachableResourcesRequest) SizeVT

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

func (*DispatchReachableResourcesRequest) String

func (*DispatchReachableResourcesRequest) UnmarshalVT

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

func (*DispatchReachableResourcesRequest) Validate

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

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

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

AllErrors returns a list of validation violation errors.

func (DispatchReachableResourcesRequestMultiError) Error

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

type DispatchReachableResourcesRequestValidationError

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

Cause function returns cause value.

func (DispatchReachableResourcesRequestValidationError) Error

Error satisfies the builtin error interface

func (DispatchReachableResourcesRequestValidationError) ErrorName

ErrorName returns error name.

func (DispatchReachableResourcesRequestValidationError) Field

Field function returns field value.

func (DispatchReachableResourcesRequestValidationError) Key

Key function returns key value.

func (DispatchReachableResourcesRequestValidationError) Reason

Reason function returns reason value.

type DispatchReachableResourcesResponse

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

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

func (*DispatchReachableResourcesResponse) CloneVT

func (*DispatchReachableResourcesResponse) Descriptor deprecated

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

Deprecated: Use DispatchReachableResourcesResponse.ProtoReflect.Descriptor instead.

func (*DispatchReachableResourcesResponse) EqualMessageVT

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

func (*DispatchReachableResourcesResponse) EqualVT

func (*DispatchReachableResourcesResponse) GetAfterResponseCursor

func (x *DispatchReachableResourcesResponse) GetAfterResponseCursor() *Cursor

func (*DispatchReachableResourcesResponse) GetMetadata

func (*DispatchReachableResourcesResponse) GetResource

func (*DispatchReachableResourcesResponse) MarshalToSizedBufferVT

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

func (*DispatchReachableResourcesResponse) MarshalToVT

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

func (*DispatchReachableResourcesResponse) MarshalVT

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

func (*DispatchReachableResourcesResponse) ProtoMessage

func (*DispatchReachableResourcesResponse) ProtoMessage()

func (*DispatchReachableResourcesResponse) ProtoReflect

func (*DispatchReachableResourcesResponse) Reset

func (*DispatchReachableResourcesResponse) SizeVT

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

func (*DispatchReachableResourcesResponse) String

func (*DispatchReachableResourcesResponse) UnmarshalVT

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

func (*DispatchReachableResourcesResponse) Validate

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

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

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

AllErrors returns a list of validation violation errors.

func (DispatchReachableResourcesResponseMultiError) Error

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

type DispatchReachableResourcesResponseValidationError

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

Cause function returns cause value.

func (DispatchReachableResourcesResponseValidationError) Error

Error satisfies the builtin error interface

func (DispatchReachableResourcesResponseValidationError) ErrorName

ErrorName returns error name.

func (DispatchReachableResourcesResponseValidationError) Field

Field function returns field value.

func (DispatchReachableResourcesResponseValidationError) Key

Key function returns key value.

func (DispatchReachableResourcesResponseValidationError) Reason

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

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

type DispatchService_DispatchLookupResourcesServer

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

type DispatchService_DispatchLookupSubjectsClient

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

type DispatchService_DispatchLookupSubjectsServer

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

type DispatchService_DispatchReachableResourcesClient

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

type DispatchService_DispatchReachableResourcesServer

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

type FoundSubject

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

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

func (*FoundSubject) CloneVT

func (m *FoundSubject) CloneVT() *FoundSubject

func (*FoundSubject) Descriptor deprecated

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

Deprecated: Use FoundSubject.ProtoReflect.Descriptor instead.

func (*FoundSubject) EqualMessageVT

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

func (*FoundSubject) EqualVT

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

func (*FoundSubject) GetCaveatExpression

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

func (*FoundSubject) GetExcludedSubjects

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

func (*FoundSubject) GetSubjectId

func (x *FoundSubject) GetSubjectId() string

func (*FoundSubject) MarshalToSizedBufferVT

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

func (*FoundSubject) MarshalToVT

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

func (*FoundSubject) MarshalVT

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

func (*FoundSubject) ProtoMessage

func (*FoundSubject) ProtoMessage()

func (*FoundSubject) ProtoReflect

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

func (*FoundSubject) Reset

func (x *FoundSubject) Reset()

func (*FoundSubject) SizeVT

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

func (*FoundSubject) String

func (x *FoundSubject) String() string

func (*FoundSubject) UnmarshalVT

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

func (*FoundSubject) Validate

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

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

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

func (m FoundSubjectMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FoundSubjectMultiError) Error

func (m FoundSubjectMultiError) Error() string

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

type FoundSubjectValidationError

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

Cause function returns cause value.

func (FoundSubjectValidationError) Error

Error satisfies the builtin error interface

func (FoundSubjectValidationError) ErrorName

func (e FoundSubjectValidationError) ErrorName() string

ErrorName returns error name.

func (FoundSubjectValidationError) Field

Field function returns field value.

func (FoundSubjectValidationError) Key

Key function returns key value.

func (FoundSubjectValidationError) Reason

Reason function returns reason value.

type FoundSubjects

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

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

func (*FoundSubjects) CloneVT

func (m *FoundSubjects) CloneVT() *FoundSubjects

func (*FoundSubjects) Descriptor deprecated

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

Deprecated: Use FoundSubjects.ProtoReflect.Descriptor instead.

func (*FoundSubjects) EqualMessageVT

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

func (*FoundSubjects) EqualVT

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

func (*FoundSubjects) GetFoundSubjects

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

func (*FoundSubjects) MarshalToSizedBufferVT

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

func (*FoundSubjects) MarshalToVT

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

func (*FoundSubjects) MarshalVT

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

func (*FoundSubjects) ProtoMessage

func (*FoundSubjects) ProtoMessage()

func (*FoundSubjects) ProtoReflect

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

func (*FoundSubjects) Reset

func (x *FoundSubjects) Reset()

func (*FoundSubjects) SizeVT

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

func (*FoundSubjects) String

func (x *FoundSubjects) String() string

func (*FoundSubjects) UnmarshalVT

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

func (*FoundSubjects) Validate

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

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

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

func (m FoundSubjectsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FoundSubjectsMultiError) Error

func (m FoundSubjectsMultiError) Error() string

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

type FoundSubjectsValidationError

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

Cause function returns cause value.

func (FoundSubjectsValidationError) Error

Error satisfies the builtin error interface

func (FoundSubjectsValidationError) ErrorName

func (e FoundSubjectsValidationError) ErrorName() string

ErrorName returns error name.

func (FoundSubjectsValidationError) Field

Field function returns field value.

func (FoundSubjectsValidationError) Key

Key function returns key value.

func (FoundSubjectsValidationError) Reason

Reason function returns reason value.

type ReachableResource

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

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

func (*ReachableResource) CloneVT

func (m *ReachableResource) CloneVT() *ReachableResource

func (*ReachableResource) Descriptor deprecated

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

Deprecated: Use ReachableResource.ProtoReflect.Descriptor instead.

func (*ReachableResource) EqualMessageVT

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

func (*ReachableResource) EqualVT

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

func (*ReachableResource) GetForSubjectIds

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

func (*ReachableResource) GetResourceId

func (x *ReachableResource) GetResourceId() string

func (*ReachableResource) GetResultStatus

func (*ReachableResource) MarshalToSizedBufferVT

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

func (*ReachableResource) MarshalToVT

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

func (*ReachableResource) MarshalVT

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

func (*ReachableResource) ProtoMessage

func (*ReachableResource) ProtoMessage()

func (*ReachableResource) ProtoReflect

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

func (*ReachableResource) Reset

func (x *ReachableResource) Reset()

func (*ReachableResource) SizeVT

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

func (*ReachableResource) String

func (x *ReachableResource) String() string

func (*ReachableResource) UnmarshalVT

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

func (*ReachableResource) Validate

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

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

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

func (m ReachableResourceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ReachableResourceMultiError) Error

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

type ReachableResourceValidationError

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

Cause function returns cause value.

func (ReachableResourceValidationError) Error

Error satisfies the builtin error interface

func (ReachableResourceValidationError) ErrorName

ErrorName returns error name.

func (ReachableResourceValidationError) Field

Field function returns field value.

func (ReachableResourceValidationError) Key

Key function returns key value.

func (ReachableResourceValidationError) Reason

Reason function returns reason value.

type ReachableResource_ResultStatus

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

func (ReachableResource_ResultStatus) Enum

func (ReachableResource_ResultStatus) EnumDescriptor deprecated

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

Deprecated: Use ReachableResource_ResultStatus.Descriptor instead.

func (ReachableResource_ResultStatus) Number

func (ReachableResource_ResultStatus) String

func (ReachableResource_ResultStatus) Type

type ResolvedResource

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

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

func (*ResolvedResource) CloneVT

func (m *ResolvedResource) CloneVT() *ResolvedResource

func (*ResolvedResource) Descriptor deprecated

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

Deprecated: Use ResolvedResource.ProtoReflect.Descriptor instead.

func (*ResolvedResource) EqualMessageVT

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

func (*ResolvedResource) EqualVT

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

func (*ResolvedResource) GetMissingRequiredContext

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

func (*ResolvedResource) GetPermissionship

func (x *ResolvedResource) GetPermissionship() ResolvedResource_Permissionship

func (*ResolvedResource) GetResourceId

func (x *ResolvedResource) GetResourceId() string

func (*ResolvedResource) MarshalToSizedBufferVT

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

func (*ResolvedResource) MarshalToVT

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

func (*ResolvedResource) MarshalVT

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

func (*ResolvedResource) ProtoMessage

func (*ResolvedResource) ProtoMessage()

func (*ResolvedResource) ProtoReflect

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

func (*ResolvedResource) Reset

func (x *ResolvedResource) Reset()

func (*ResolvedResource) SizeVT

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

func (*ResolvedResource) String

func (x *ResolvedResource) String() string

func (*ResolvedResource) UnmarshalVT

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

func (*ResolvedResource) Validate

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

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

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

func (m ResolvedResourceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ResolvedResourceMultiError) Error

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

type ResolvedResourceValidationError

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

Cause function returns cause value.

func (ResolvedResourceValidationError) Error

Error satisfies the builtin error interface

func (ResolvedResourceValidationError) ErrorName

ErrorName returns error name.

func (ResolvedResourceValidationError) Field

Field function returns field value.

func (ResolvedResourceValidationError) Key

Key function returns key value.

func (ResolvedResourceValidationError) Reason

Reason function returns reason value.

type ResolvedResource_Permissionship

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

func (ResolvedResource_Permissionship) Enum

func (ResolvedResource_Permissionship) EnumDescriptor deprecated

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

Deprecated: Use ResolvedResource_Permissionship.Descriptor instead.

func (ResolvedResource_Permissionship) Number

func (ResolvedResource_Permissionship) String

func (ResolvedResource_Permissionship) Type

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"`
	// Deprecated: Marked as deprecated in dispatch/v1/dispatch.proto.
	RequestId      string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	TraversalBloom []byte `protobuf:"bytes,4,opt,name=traversal_bloom,json=traversalBloom,proto3" json:"traversal_bloom,omitempty"`
	// contains filtered or unexported fields
}

func (*ResolverMeta) CloneMessageVT

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

func (*ResolverMeta) CloneVT

func (m *ResolverMeta) CloneVT() *ResolverMeta

func (*ResolverMeta) Descriptor deprecated

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

Deprecated: Use ResolverMeta.ProtoReflect.Descriptor instead.

func (*ResolverMeta) EqualMessageVT

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

func (*ResolverMeta) EqualVT

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) GetRequestId deprecated

func (x *ResolverMeta) GetRequestId() string

Deprecated: Marked as deprecated in dispatch/v1/dispatch.proto.

func (*ResolverMeta) GetTraversalBloom

func (x *ResolverMeta) GetTraversalBloom() []byte

func (*ResolverMeta) MarshalToSizedBufferVT

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

func (*ResolverMeta) MarshalToVT

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

func (*ResolverMeta) MarshalVT

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

func (*ResolverMeta) MarshalZerologObject

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

func (x *ResolverMeta) RecordTraversal(key string) (possiblyLoop bool, err error)

func (*ResolverMeta) Reset

func (x *ResolverMeta) Reset()

func (*ResolverMeta) SizeVT

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

func (*ResolverMeta) String

func (x *ResolverMeta) String() string

func (*ResolverMeta) UnmarshalVT

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

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

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

func (m ResolverMetaMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ResolverMetaMultiError) Error

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

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

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

func (*ResourceCheckResult) CloneVT

func (*ResourceCheckResult) Descriptor deprecated

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

Deprecated: Use ResourceCheckResult.ProtoReflect.Descriptor instead.

func (*ResourceCheckResult) EqualMessageVT

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

func (*ResourceCheckResult) EqualVT

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

func (*ResourceCheckResult) GetExpression

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

func (*ResourceCheckResult) GetMembership

func (*ResourceCheckResult) GetMissingExprFields

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

func (*ResourceCheckResult) MarshalToSizedBufferVT

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

func (*ResourceCheckResult) MarshalToVT

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

func (*ResourceCheckResult) MarshalVT

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

func (*ResourceCheckResult) ProtoMessage

func (*ResourceCheckResult) ProtoMessage()

func (*ResourceCheckResult) ProtoReflect

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

func (*ResourceCheckResult) Reset

func (x *ResourceCheckResult) Reset()

func (*ResourceCheckResult) SizeVT

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

func (*ResourceCheckResult) String

func (x *ResourceCheckResult) String() string

func (*ResourceCheckResult) UnmarshalVT

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

func (*ResourceCheckResult) Validate

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

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

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

func (m ResourceCheckResultMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ResourceCheckResultMultiError) Error

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

type ResourceCheckResultValidationError

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

Cause function returns cause value.

func (ResourceCheckResultValidationError) Error

Error satisfies the builtin error interface

func (ResourceCheckResultValidationError) ErrorName

ErrorName returns error name.

func (ResourceCheckResultValidationError) Field

Field function returns field value.

func (ResourceCheckResultValidationError) Key

Key function returns key value.

func (ResourceCheckResultValidationError) Reason

Reason function returns reason value.

type ResourceCheckResult_Membership

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

func (ResourceCheckResult_Membership) Enum

func (ResourceCheckResult_Membership) EnumDescriptor deprecated

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

Deprecated: Use ResourceCheckResult_Membership.Descriptor instead.

func (ResourceCheckResult_Membership) Number

func (ResourceCheckResult_Membership) String

func (ResourceCheckResult_Membership) Type

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

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

func (*ResponseMeta) CloneVT

func (m *ResponseMeta) CloneVT() *ResponseMeta

func (*ResponseMeta) Descriptor deprecated

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

Deprecated: Use ResponseMeta.ProtoReflect.Descriptor instead.

func (*ResponseMeta) EqualMessageVT

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

func (*ResponseMeta) EqualVT

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

func (*ResponseMeta) GetCachedDispatchCount

func (x *ResponseMeta) GetCachedDispatchCount() uint32

func (*ResponseMeta) GetDebugInfo

func (x *ResponseMeta) GetDebugInfo() *DebugInformation

func (*ResponseMeta) GetDepthRequired

func (x *ResponseMeta) GetDepthRequired() uint32

func (*ResponseMeta) GetDispatchCount

func (x *ResponseMeta) GetDispatchCount() uint32

func (*ResponseMeta) MarshalToSizedBufferVT

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

func (*ResponseMeta) MarshalToVT

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

func (*ResponseMeta) MarshalVT

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

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

func (*ResponseMeta) String

func (x *ResponseMeta) String() string

func (*ResponseMeta) UnmarshalVT

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

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

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

func (m ResponseMetaMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ResponseMetaMultiError) Error

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

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