v0

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2022 License: Apache-2.0 Imports: 20 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RelationTupleFilter_Filter_name = map[int32]string{
		0: "UNKNOWN",
		1: "OBJECT_ID",
		2: "RELATION",
		4: "USERSET",
	}
	RelationTupleFilter_Filter_value = map[string]int32{
		"UNKNOWN":   0,
		"OBJECT_ID": 1,
		"RELATION":  2,
		"USERSET":   4,
	}
)

Enum value maps for RelationTupleFilter_Filter.

View Source
var (
	CheckResponse_Membership_name = map[int32]string{
		0: "UNKNOWN",
		1: "NOT_MEMBER",
		2: "MEMBER",
	}
	CheckResponse_Membership_value = map[string]int32{
		"UNKNOWN":    0,
		"NOT_MEMBER": 1,
		"MEMBER":     2,
	}
)

Enum value maps for CheckResponse_Membership.

View Source
var (
	RelationTupleUpdate_Operation_name = map[int32]string{
		0: "UNKNOWN",
		1: "CREATE",
		2: "TOUCH",
		3: "DELETE",
	}
	RelationTupleUpdate_Operation_value = map[string]int32{
		"UNKNOWN": 0,
		"CREATE":  1,
		"TOUCH":   2,
		"DELETE":  3,
	}
)

Enum value maps for RelationTupleUpdate_Operation.

View Source
var (
	SetOperationUserset_Operation_name = map[int32]string{
		0: "INVALID",
		1: "UNION",
		2: "INTERSECTION",
		3: "EXCLUSION",
	}
	SetOperationUserset_Operation_value = map[string]int32{
		"INVALID":      0,
		"UNION":        1,
		"INTERSECTION": 2,
		"EXCLUSION":    3,
	}
)

Enum value maps for SetOperationUserset_Operation.

View Source
var (
	LookupShareResponse_LookupStatus_name = map[int32]string{
		0: "UNKNOWN_REFERENCE",
		1: "FAILED_TO_LOOKUP",
		2: "VALID_REFERENCE",
		3: "UPGRADED_REFERENCE",
	}
	LookupShareResponse_LookupStatus_value = map[string]int32{
		"UNKNOWN_REFERENCE":  0,
		"FAILED_TO_LOOKUP":   1,
		"VALID_REFERENCE":    2,
		"UPGRADED_REFERENCE": 3,
	}
)

Enum value maps for LookupShareResponse_LookupStatus.

View Source
var (
	DeveloperError_Source_name = map[int32]string{
		0: "UNKNOWN_SOURCE",
		1: "SCHEMA",
		2: "RELATIONSHIP",
		3: "VALIDATION_YAML",
		4: "CHECK_WATCH",
		5: "ASSERTION",
	}
	DeveloperError_Source_value = map[string]int32{
		"UNKNOWN_SOURCE":  0,
		"SCHEMA":          1,
		"RELATIONSHIP":    2,
		"VALIDATION_YAML": 3,
		"CHECK_WATCH":     4,
		"ASSERTION":       5,
	}
)

Enum value maps for DeveloperError_Source.

View Source
var (
	DeveloperError_ErrorKind_name = map[int32]string{
		0: "UNKNOWN_KIND",
		1: "PARSE_ERROR",
		2: "SCHEMA_ISSUE",
		3: "DUPLICATE_RELATIONSHIP",
		4: "MISSING_EXPECTED_RELATIONSHIP",
		5: "EXTRA_RELATIONSHIP_FOUND",
		6: "UNKNOWN_OBJECT_TYPE",
		7: "UNKNOWN_RELATION",
		8: "MAXIMUM_RECURSION",
		9: "ASSERTION_FAILED",
	}
	DeveloperError_ErrorKind_value = map[string]int32{
		"UNKNOWN_KIND":                  0,
		"PARSE_ERROR":                   1,
		"SCHEMA_ISSUE":                  2,
		"DUPLICATE_RELATIONSHIP":        3,
		"MISSING_EXPECTED_RELATIONSHIP": 4,
		"EXTRA_RELATIONSHIP_FOUND":      5,
		"UNKNOWN_OBJECT_TYPE":           6,
		"UNKNOWN_RELATION":              7,
		"MAXIMUM_RECURSION":             8,
		"ASSERTION_FAILED":              9,
	}
)

Enum value maps for DeveloperError_ErrorKind.

View Source
var (
	ComputedUserset_Object_name = map[int32]string{
		0: "TUPLE_OBJECT",
		1: "TUPLE_USERSET_OBJECT",
	}
	ComputedUserset_Object_value = map[string]int32{
		"TUPLE_OBJECT":         0,
		"TUPLE_USERSET_OBJECT": 1,
	}
)

Enum value maps for ComputedUserset_Object.

View Source
var ACLService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "authzed.api.v0.ACLService",
	HandlerType: (*ACLServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Read",
			Handler:    _ACLService_Read_Handler,
		},
		{
			MethodName: "Write",
			Handler:    _ACLService_Write_Handler,
		},
		{
			MethodName: "Check",
			Handler:    _ACLService_Check_Handler,
		},
		{
			MethodName: "ContentChangeCheck",
			Handler:    _ACLService_ContentChangeCheck_Handler,
		},
		{
			MethodName: "Expand",
			Handler:    _ACLService_Expand_Handler,
		},
		{
			MethodName: "Lookup",
			Handler:    _ACLService_Lookup_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "authzed/api/v0/acl_service.proto",
}

ACLService_ServiceDesc is the grpc.ServiceDesc for ACLService 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 DeveloperService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "authzed.api.v0.DeveloperService",
	HandlerType: (*DeveloperServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "EditCheck",
			Handler:    _DeveloperService_EditCheck_Handler,
		},
		{
			MethodName: "Validate",
			Handler:    _DeveloperService_Validate_Handler,
		},
		{
			MethodName: "Share",
			Handler:    _DeveloperService_Share_Handler,
		},
		{
			MethodName: "LookupShared",
			Handler:    _DeveloperService_LookupShared_Handler,
		},
		{
			MethodName: "UpgradeSchema",
			Handler:    _DeveloperService_UpgradeSchema_Handler,
		},
		{
			MethodName: "FormatSchema",
			Handler:    _DeveloperService_FormatSchema_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "authzed/api/v0/developer.proto",
}

DeveloperService_ServiceDesc is the grpc.ServiceDesc for DeveloperService 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_authzed_api_v0_acl_service_proto protoreflect.FileDescriptor
View Source
var File_authzed_api_v0_core_proto protoreflect.FileDescriptor
View Source
var File_authzed_api_v0_developer_proto protoreflect.FileDescriptor
View Source
var File_authzed_api_v0_namespace_proto protoreflect.FileDescriptor
View Source
var File_authzed_api_v0_namespace_service_proto protoreflect.FileDescriptor
View Source
var File_authzed_api_v0_watch_service_proto protoreflect.FileDescriptor
View Source
var Legacy_ACLService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "ACLService",
	HandlerType: (*ACLServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Read",
			Handler:    _ACLService_Read_Handler,
		},
		{
			MethodName: "Write",
			Handler:    _ACLService_Write_Handler,
		},
		{
			MethodName: "Check",
			Handler:    _ACLService_Check_Handler,
		},
		{
			MethodName: "ContentChangeCheck",
			Handler:    _ACLService_ContentChangeCheck_Handler,
		},
		{
			MethodName: "Expand",
			Handler:    _ACLService_Expand_Handler,
		},
		{
			MethodName: "Lookup",
			Handler:    _ACLService_Lookup_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "authzed/api/v0/acl_service.proto",
}

Legacy_ACLService_ServiceDesc is an grpc.ServiceDesc for the original ACLService service that had no Protobuf package.

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

View Source
var Legacy_NamespaceService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "NamespaceService",
	HandlerType: (*NamespaceServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ReadConfig",
			Handler:    _NamespaceService_ReadConfig_Handler,
		},
		{
			MethodName: "WriteConfig",
			Handler:    _NamespaceService_WriteConfig_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "authzed/api/v0/namespace_service.proto",
}

Legacy_NamespaceService_ServiceDesc is an grpc.ServiceDesc for the original NamespaceService service that had no Protobuf package.

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

View Source
var NamespaceService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "authzed.api.v0.NamespaceService",
	HandlerType: (*NamespaceServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ReadConfig",
			Handler:    _NamespaceService_ReadConfig_Handler,
		},
		{
			MethodName: "WriteConfig",
			Handler:    _NamespaceService_WriteConfig_Handler,
		},
		{
			MethodName: "DeleteConfigs",
			Handler:    _NamespaceService_DeleteConfigs_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "authzed/api/v0/namespace_service.proto",
}

NamespaceService_ServiceDesc is the grpc.ServiceDesc for NamespaceService 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 WatchService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "authzed.api.v0.WatchService",
	HandlerType: (*WatchServiceServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Watch",
			Handler:       _WatchService_Watch_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "authzed/api/v0/watch_service.proto",
}

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

Functions

func RegisterACLServiceServer

func RegisterACLServiceServer(s grpc.ServiceRegistrar, srv ACLServiceServer)

func RegisterDeveloperServiceServer

func RegisterDeveloperServiceServer(s grpc.ServiceRegistrar, srv DeveloperServiceServer)

func RegisterLegacyACLServiceServer

func RegisterLegacyACLServiceServer(s grpc.ServiceRegistrar, srv ACLServiceServer)

RegisterACLServiceServer registers an ACLService under its legacy package-less descriptor.

func RegisterLegacyNamespaceServiceServer

func RegisterLegacyNamespaceServiceServer(s grpc.ServiceRegistrar, srv NamespaceServiceServer)

RegisterLegacyNamespaceServiceServer registers a NamespaceService under its legacy package-less descriptor.

func RegisterNamespaceServiceServer

func RegisterNamespaceServiceServer(s grpc.ServiceRegistrar, srv NamespaceServiceServer)

func RegisterWatchServiceServer

func RegisterWatchServiceServer(s grpc.ServiceRegistrar, srv WatchServiceServer)

Types

type ACLServiceClient

type ACLServiceClient interface {
	Read(ctx context.Context, in *ReadRequest, opts ...grpc.CallOption) (*ReadResponse, error)
	Write(ctx context.Context, in *WriteRequest, opts ...grpc.CallOption) (*WriteResponse, error)
	Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error)
	ContentChangeCheck(ctx context.Context, in *ContentChangeCheckRequest, opts ...grpc.CallOption) (*CheckResponse, error)
	Expand(ctx context.Context, in *ExpandRequest, opts ...grpc.CallOption) (*ExpandResponse, error)
	Lookup(ctx context.Context, in *LookupRequest, opts ...grpc.CallOption) (*LookupResponse, error)
}

ACLServiceClient is the client API for ACLService service.

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

func NewACLServiceClient

func NewACLServiceClient(cc grpc.ClientConnInterface) ACLServiceClient

type ACLServiceServer

type ACLServiceServer interface {
	Read(context.Context, *ReadRequest) (*ReadResponse, error)
	Write(context.Context, *WriteRequest) (*WriteResponse, error)
	Check(context.Context, *CheckRequest) (*CheckResponse, error)
	ContentChangeCheck(context.Context, *ContentChangeCheckRequest) (*CheckResponse, error)
	Expand(context.Context, *ExpandRequest) (*ExpandResponse, error)
	Lookup(context.Context, *LookupRequest) (*LookupResponse, error)
	// contains filtered or unexported methods
}

ACLServiceServer is the server API for ACLService service. All implementations must embed UnimplementedACLServiceServer for forward compatibility

type AllowedRelation added in v0.4.0

type AllowedRelation struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Types that are assignable to RelationOrWildcard:
	//	*AllowedRelation_Relation
	//	*AllowedRelation_PublicWildcard_
	RelationOrWildcard isAllowedRelation_RelationOrWildcard `protobuf_oneof:"relation_or_wildcard"`
	// contains filtered or unexported fields
}

func (*AllowedRelation) Descriptor deprecated added in v0.4.0

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

Deprecated: Use AllowedRelation.ProtoReflect.Descriptor instead.

func (*AllowedRelation) GetNamespace added in v0.4.0

func (x *AllowedRelation) GetNamespace() string

func (*AllowedRelation) GetPublicWildcard added in v0.4.0

func (x *AllowedRelation) GetPublicWildcard() *AllowedRelation_PublicWildcard

func (*AllowedRelation) GetRelation added in v0.4.0

func (x *AllowedRelation) GetRelation() string

func (*AllowedRelation) GetRelationOrWildcard added in v0.4.0

func (m *AllowedRelation) GetRelationOrWildcard() isAllowedRelation_RelationOrWildcard

func (*AllowedRelation) ProtoMessage added in v0.4.0

func (*AllowedRelation) ProtoMessage()

func (*AllowedRelation) ProtoReflect added in v0.4.0

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

func (*AllowedRelation) Reset added in v0.4.0

func (x *AllowedRelation) Reset()

func (*AllowedRelation) String added in v0.4.0

func (x *AllowedRelation) String() string

func (*AllowedRelation) Validate added in v0.4.0

func (m *AllowedRelation) Validate() error

Validate checks the field values on AllowedRelation with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type AllowedRelationValidationError added in v0.4.0

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

AllowedRelationValidationError is the validation error returned by AllowedRelation.Validate if the designated constraints aren't met.

func (AllowedRelationValidationError) Cause added in v0.4.0

Cause function returns cause value.

func (AllowedRelationValidationError) Error added in v0.4.0

Error satisfies the builtin error interface

func (AllowedRelationValidationError) ErrorName added in v0.4.0

func (e AllowedRelationValidationError) ErrorName() string

ErrorName returns error name.

func (AllowedRelationValidationError) Field added in v0.4.0

Field function returns field value.

func (AllowedRelationValidationError) Key added in v0.4.0

Key function returns key value.

func (AllowedRelationValidationError) Reason added in v0.4.0

Reason function returns reason value.

type AllowedRelation_PublicWildcard added in v0.4.0

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

func (*AllowedRelation_PublicWildcard) Descriptor deprecated added in v0.4.0

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

Deprecated: Use AllowedRelation_PublicWildcard.ProtoReflect.Descriptor instead.

func (*AllowedRelation_PublicWildcard) ProtoMessage added in v0.4.0

func (*AllowedRelation_PublicWildcard) ProtoMessage()

func (*AllowedRelation_PublicWildcard) ProtoReflect added in v0.4.0

func (*AllowedRelation_PublicWildcard) Reset added in v0.4.0

func (x *AllowedRelation_PublicWildcard) Reset()

func (*AllowedRelation_PublicWildcard) String added in v0.4.0

func (*AllowedRelation_PublicWildcard) Validate added in v0.4.0

func (m *AllowedRelation_PublicWildcard) Validate() error

Validate checks the field values on AllowedRelation_PublicWildcard with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type AllowedRelation_PublicWildcardValidationError added in v0.4.0

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

AllowedRelation_PublicWildcardValidationError is the validation error returned by AllowedRelation_PublicWildcard.Validate if the designated constraints aren't met.

func (AllowedRelation_PublicWildcardValidationError) Cause added in v0.4.0

Cause function returns cause value.

func (AllowedRelation_PublicWildcardValidationError) Error added in v0.4.0

Error satisfies the builtin error interface

func (AllowedRelation_PublicWildcardValidationError) ErrorName added in v0.4.0

ErrorName returns error name.

func (AllowedRelation_PublicWildcardValidationError) Field added in v0.4.0

Field function returns field value.

func (AllowedRelation_PublicWildcardValidationError) Key added in v0.4.0

Key function returns key value.

func (AllowedRelation_PublicWildcardValidationError) Reason added in v0.4.0

Reason function returns reason value.

type AllowedRelation_PublicWildcard_ added in v0.4.0

type AllowedRelation_PublicWildcard_ struct {
	PublicWildcard *AllowedRelation_PublicWildcard `protobuf:"bytes,4,opt,name=public_wildcard,json=publicWildcard,proto3,oneof"`
}

type AllowedRelation_Relation added in v0.4.0

type AllowedRelation_Relation struct {
	Relation string `protobuf:"bytes,3,opt,name=relation,proto3,oneof"`
}

type CheckRequest

type CheckRequest struct {

	// A check request specifies a userset, represented by ⟨object#relation⟩,
	// a putative user, often represented by an authentication token, and a
	// zookie corresponding to the desired object version.
	TestUserset *ObjectAndRelation `protobuf:"bytes,1,opt,name=test_userset,json=testUserset,proto3" json:"test_userset,omitempty"`
	User        *User              `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // TODO swap for putative user
	AtRevision  *Zookie            `protobuf:"bytes,3,opt,name=at_revision,json=atRevision,proto3" json:"at_revision,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckRequest) Descriptor deprecated

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

Deprecated: Use CheckRequest.ProtoReflect.Descriptor instead.

func (*CheckRequest) GetAtRevision

func (x *CheckRequest) GetAtRevision() *Zookie

func (*CheckRequest) GetTestUserset

func (x *CheckRequest) GetTestUserset() *ObjectAndRelation

func (*CheckRequest) GetUser

func (x *CheckRequest) GetUser() *User

func (*CheckRequest) HandwrittenValidate added in v0.4.0

func (m *CheckRequest) HandwrittenValidate() error

func (*CheckRequest) ProtoMessage

func (*CheckRequest) ProtoMessage()

func (*CheckRequest) ProtoReflect

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

func (*CheckRequest) Reset

func (x *CheckRequest) Reset()

func (*CheckRequest) String

func (x *CheckRequest) String() string

func (*CheckRequest) Validate

func (m *CheckRequest) Validate() error

Validate checks the field values on CheckRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type CheckRequestValidationError

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

CheckRequestValidationError is the validation error returned by CheckRequest.Validate if the designated constraints aren't met.

func (CheckRequestValidationError) Cause

Cause function returns cause value.

func (CheckRequestValidationError) Error

Error satisfies the builtin error interface

func (CheckRequestValidationError) ErrorName

func (e CheckRequestValidationError) ErrorName() string

ErrorName returns error name.

func (CheckRequestValidationError) Field

Field function returns field value.

func (CheckRequestValidationError) Key

Key function returns key value.

func (CheckRequestValidationError) Reason

Reason function returns reason value.

type CheckResponse

type CheckResponse struct {
	IsMember   bool                     `protobuf:"varint,1,opt,name=is_member,json=isMember,proto3" json:"is_member,omitempty"`
	Revision   *Zookie                  `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
	Membership CheckResponse_Membership `protobuf:"varint,3,opt,name=membership,proto3,enum=authzed.api.v0.CheckResponse_Membership" json:"membership,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckResponse) Descriptor deprecated

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

Deprecated: Use CheckResponse.ProtoReflect.Descriptor instead.

func (*CheckResponse) GetIsMember

func (x *CheckResponse) GetIsMember() bool

func (*CheckResponse) GetMembership

func (x *CheckResponse) GetMembership() CheckResponse_Membership

func (*CheckResponse) GetRevision

func (x *CheckResponse) GetRevision() *Zookie

func (*CheckResponse) ProtoMessage

func (*CheckResponse) ProtoMessage()

func (*CheckResponse) ProtoReflect

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

func (*CheckResponse) Reset

func (x *CheckResponse) Reset()

func (*CheckResponse) String

func (x *CheckResponse) String() string

func (*CheckResponse) Validate

func (m *CheckResponse) Validate() error

Validate checks the field values on CheckResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type CheckResponseValidationError

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

CheckResponseValidationError is the validation error returned by CheckResponse.Validate if the designated constraints aren't met.

func (CheckResponseValidationError) Cause

Cause function returns cause value.

func (CheckResponseValidationError) Error

Error satisfies the builtin error interface

func (CheckResponseValidationError) ErrorName

func (e CheckResponseValidationError) ErrorName() string

ErrorName returns error name.

func (CheckResponseValidationError) Field

Field function returns field value.

func (CheckResponseValidationError) Key

Key function returns key value.

func (CheckResponseValidationError) Reason

Reason function returns reason value.

type CheckResponse_Membership

type CheckResponse_Membership int32
const (
	CheckResponse_UNKNOWN    CheckResponse_Membership = 0
	CheckResponse_NOT_MEMBER CheckResponse_Membership = 1
	CheckResponse_MEMBER     CheckResponse_Membership = 2
)

func (CheckResponse_Membership) Descriptor

func (CheckResponse_Membership) Enum

func (CheckResponse_Membership) EnumDescriptor deprecated

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

Deprecated: Use CheckResponse_Membership.Descriptor instead.

func (CheckResponse_Membership) Number

func (CheckResponse_Membership) String

func (x CheckResponse_Membership) String() string

func (CheckResponse_Membership) Type

type ComputedUserset

type ComputedUserset struct {
	Object   ComputedUserset_Object `protobuf:"varint,1,opt,name=object,proto3,enum=authzed.api.v0.ComputedUserset_Object" json:"object,omitempty"`
	Relation string                 `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"`
	// contains filtered or unexported fields
}

func (*ComputedUserset) Descriptor deprecated

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

Deprecated: Use ComputedUserset.ProtoReflect.Descriptor instead.

func (*ComputedUserset) GetObject

func (x *ComputedUserset) GetObject() ComputedUserset_Object

func (*ComputedUserset) GetRelation

func (x *ComputedUserset) GetRelation() string

func (*ComputedUserset) ProtoMessage

func (*ComputedUserset) ProtoMessage()

func (*ComputedUserset) ProtoReflect

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

func (*ComputedUserset) Reset

func (x *ComputedUserset) Reset()

func (*ComputedUserset) String

func (x *ComputedUserset) String() string

func (*ComputedUserset) Validate

func (m *ComputedUserset) Validate() error

Validate checks the field values on ComputedUserset with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ComputedUsersetValidationError

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

ComputedUsersetValidationError is the validation error returned by ComputedUserset.Validate if the designated constraints aren't met.

func (ComputedUsersetValidationError) Cause

Cause function returns cause value.

func (ComputedUsersetValidationError) Error

Error satisfies the builtin error interface

func (ComputedUsersetValidationError) ErrorName

func (e ComputedUsersetValidationError) ErrorName() string

ErrorName returns error name.

func (ComputedUsersetValidationError) Field

Field function returns field value.

func (ComputedUsersetValidationError) Key

Key function returns key value.

func (ComputedUsersetValidationError) Reason

Reason function returns reason value.

type ComputedUserset_Object

type ComputedUserset_Object int32
const (
	ComputedUserset_TUPLE_OBJECT         ComputedUserset_Object = 0
	ComputedUserset_TUPLE_USERSET_OBJECT ComputedUserset_Object = 1
)

func (ComputedUserset_Object) Descriptor

func (ComputedUserset_Object) Enum

func (ComputedUserset_Object) EnumDescriptor deprecated

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

Deprecated: Use ComputedUserset_Object.Descriptor instead.

func (ComputedUserset_Object) Number

func (ComputedUserset_Object) String

func (x ComputedUserset_Object) String() string

func (ComputedUserset_Object) Type

type ContentChangeCheckRequest

type ContentChangeCheckRequest struct {

	// To authorize application content modifications, our clients send a special
	// type of check request, a content-change check. A content-change check
	// request does not carry a zookie and is evaluated at the latest snapshot.
	TestUserset *ObjectAndRelation `protobuf:"bytes,1,opt,name=test_userset,json=testUserset,proto3" json:"test_userset,omitempty"`
	User        *User              `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // TODO swap for a putative user
	// contains filtered or unexported fields
}

func (*ContentChangeCheckRequest) Descriptor deprecated

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

Deprecated: Use ContentChangeCheckRequest.ProtoReflect.Descriptor instead.

func (*ContentChangeCheckRequest) GetTestUserset

func (x *ContentChangeCheckRequest) GetTestUserset() *ObjectAndRelation

func (*ContentChangeCheckRequest) GetUser

func (x *ContentChangeCheckRequest) GetUser() *User

func (*ContentChangeCheckRequest) HandwrittenValidate added in v0.4.0

func (m *ContentChangeCheckRequest) HandwrittenValidate() error

func (*ContentChangeCheckRequest) ProtoMessage

func (*ContentChangeCheckRequest) ProtoMessage()

func (*ContentChangeCheckRequest) ProtoReflect

func (*ContentChangeCheckRequest) Reset

func (x *ContentChangeCheckRequest) Reset()

func (*ContentChangeCheckRequest) String

func (x *ContentChangeCheckRequest) String() string

func (*ContentChangeCheckRequest) Validate

func (m *ContentChangeCheckRequest) Validate() error

Validate checks the field values on ContentChangeCheckRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ContentChangeCheckRequestValidationError

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

ContentChangeCheckRequestValidationError is the validation error returned by ContentChangeCheckRequest.Validate if the designated constraints aren't met.

func (ContentChangeCheckRequestValidationError) Cause

Cause function returns cause value.

func (ContentChangeCheckRequestValidationError) Error

Error satisfies the builtin error interface

func (ContentChangeCheckRequestValidationError) ErrorName

ErrorName returns error name.

func (ContentChangeCheckRequestValidationError) Field

Field function returns field value.

func (ContentChangeCheckRequestValidationError) Key

Key function returns key value.

func (ContentChangeCheckRequestValidationError) Reason

Reason function returns reason value.

type DeleteConfigsRequest added in v0.2.0

type DeleteConfigsRequest struct {
	Namespaces []string `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteConfigsRequest) Descriptor deprecated added in v0.2.0

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

Deprecated: Use DeleteConfigsRequest.ProtoReflect.Descriptor instead.

func (*DeleteConfigsRequest) GetNamespaces added in v0.2.0

func (x *DeleteConfigsRequest) GetNamespaces() []string

func (*DeleteConfigsRequest) ProtoMessage added in v0.2.0

func (*DeleteConfigsRequest) ProtoMessage()

func (*DeleteConfigsRequest) ProtoReflect added in v0.2.0

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

func (*DeleteConfigsRequest) Reset added in v0.2.0

func (x *DeleteConfigsRequest) Reset()

func (*DeleteConfigsRequest) String added in v0.2.0

func (x *DeleteConfigsRequest) String() string

func (*DeleteConfigsRequest) Validate added in v0.2.0

func (m *DeleteConfigsRequest) Validate() error

Validate checks the field values on DeleteConfigsRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DeleteConfigsRequestValidationError added in v0.2.0

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

DeleteConfigsRequestValidationError is the validation error returned by DeleteConfigsRequest.Validate if the designated constraints aren't met.

func (DeleteConfigsRequestValidationError) Cause added in v0.2.0

Cause function returns cause value.

func (DeleteConfigsRequestValidationError) Error added in v0.2.0

Error satisfies the builtin error interface

func (DeleteConfigsRequestValidationError) ErrorName added in v0.2.0

ErrorName returns error name.

func (DeleteConfigsRequestValidationError) Field added in v0.2.0

Field function returns field value.

func (DeleteConfigsRequestValidationError) Key added in v0.2.0

Key function returns key value.

func (DeleteConfigsRequestValidationError) Reason added in v0.2.0

Reason function returns reason value.

type DeleteConfigsResponse added in v0.2.0

type DeleteConfigsResponse struct {
	Revision *Zookie `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteConfigsResponse) Descriptor deprecated added in v0.2.0

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

Deprecated: Use DeleteConfigsResponse.ProtoReflect.Descriptor instead.

func (*DeleteConfigsResponse) GetRevision added in v0.2.0

func (x *DeleteConfigsResponse) GetRevision() *Zookie

func (*DeleteConfigsResponse) ProtoMessage added in v0.2.0

func (*DeleteConfigsResponse) ProtoMessage()

func (*DeleteConfigsResponse) ProtoReflect added in v0.2.0

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

func (*DeleteConfigsResponse) Reset added in v0.2.0

func (x *DeleteConfigsResponse) Reset()

func (*DeleteConfigsResponse) String added in v0.2.0

func (x *DeleteConfigsResponse) String() string

func (*DeleteConfigsResponse) Validate added in v0.2.0

func (m *DeleteConfigsResponse) Validate() error

Validate checks the field values on DeleteConfigsResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DeleteConfigsResponseValidationError added in v0.2.0

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

DeleteConfigsResponseValidationError is the validation error returned by DeleteConfigsResponse.Validate if the designated constraints aren't met.

func (DeleteConfigsResponseValidationError) Cause added in v0.2.0

Cause function returns cause value.

func (DeleteConfigsResponseValidationError) Error added in v0.2.0

Error satisfies the builtin error interface

func (DeleteConfigsResponseValidationError) ErrorName added in v0.2.0

ErrorName returns error name.

func (DeleteConfigsResponseValidationError) Field added in v0.2.0

Field function returns field value.

func (DeleteConfigsResponseValidationError) Key added in v0.2.0

Key function returns key value.

func (DeleteConfigsResponseValidationError) Reason added in v0.2.0

Reason function returns reason value.

type DeveloperError

type DeveloperError struct {
	Message string                   `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Line    uint32                   `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"`
	Column  uint32                   `protobuf:"varint,3,opt,name=column,proto3" json:"column,omitempty"`
	Source  DeveloperError_Source    `protobuf:"varint,4,opt,name=source,proto3,enum=authzed.api.v0.DeveloperError_Source" json:"source,omitempty"`
	Kind    DeveloperError_ErrorKind `protobuf:"varint,5,opt,name=kind,proto3,enum=authzed.api.v0.DeveloperError_ErrorKind" json:"kind,omitempty"`
	Path    []string                 `protobuf:"bytes,6,rep,name=path,proto3" json:"path,omitempty"`
	// context holds the context for the error. For schema issues, this will be the
	// name of the object type. For relationship issues, the full relationship string.
	Context string `protobuf:"bytes,7,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

func (*DeveloperError) Descriptor deprecated

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

Deprecated: Use DeveloperError.ProtoReflect.Descriptor instead.

func (*DeveloperError) GetColumn

func (x *DeveloperError) GetColumn() uint32

func (*DeveloperError) GetContext

func (x *DeveloperError) GetContext() string

func (*DeveloperError) GetKind

func (*DeveloperError) GetLine

func (x *DeveloperError) GetLine() uint32

func (*DeveloperError) GetMessage

func (x *DeveloperError) GetMessage() string

func (*DeveloperError) GetPath

func (x *DeveloperError) GetPath() []string

func (*DeveloperError) GetSource

func (x *DeveloperError) GetSource() DeveloperError_Source

func (*DeveloperError) ProtoMessage

func (*DeveloperError) ProtoMessage()

func (*DeveloperError) ProtoReflect

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

func (*DeveloperError) Reset

func (x *DeveloperError) Reset()

func (*DeveloperError) String

func (x *DeveloperError) String() string

func (*DeveloperError) Validate

func (m *DeveloperError) Validate() error

Validate checks the field values on DeveloperError with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DeveloperErrorValidationError

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

DeveloperErrorValidationError is the validation error returned by DeveloperError.Validate if the designated constraints aren't met.

func (DeveloperErrorValidationError) Cause

Cause function returns cause value.

func (DeveloperErrorValidationError) Error

Error satisfies the builtin error interface

func (DeveloperErrorValidationError) ErrorName

func (e DeveloperErrorValidationError) ErrorName() string

ErrorName returns error name.

func (DeveloperErrorValidationError) Field

Field function returns field value.

func (DeveloperErrorValidationError) Key

Key function returns key value.

func (DeveloperErrorValidationError) Reason

Reason function returns reason value.

type DeveloperError_ErrorKind

type DeveloperError_ErrorKind int32
const (
	DeveloperError_UNKNOWN_KIND                  DeveloperError_ErrorKind = 0
	DeveloperError_PARSE_ERROR                   DeveloperError_ErrorKind = 1
	DeveloperError_SCHEMA_ISSUE                  DeveloperError_ErrorKind = 2
	DeveloperError_DUPLICATE_RELATIONSHIP        DeveloperError_ErrorKind = 3
	DeveloperError_MISSING_EXPECTED_RELATIONSHIP DeveloperError_ErrorKind = 4
	DeveloperError_EXTRA_RELATIONSHIP_FOUND      DeveloperError_ErrorKind = 5
	DeveloperError_UNKNOWN_OBJECT_TYPE           DeveloperError_ErrorKind = 6
	DeveloperError_UNKNOWN_RELATION              DeveloperError_ErrorKind = 7
	DeveloperError_MAXIMUM_RECURSION             DeveloperError_ErrorKind = 8
	DeveloperError_ASSERTION_FAILED              DeveloperError_ErrorKind = 9
)

func (DeveloperError_ErrorKind) Descriptor

func (DeveloperError_ErrorKind) Enum

func (DeveloperError_ErrorKind) EnumDescriptor deprecated

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

Deprecated: Use DeveloperError_ErrorKind.Descriptor instead.

func (DeveloperError_ErrorKind) Number

func (DeveloperError_ErrorKind) String

func (x DeveloperError_ErrorKind) String() string

func (DeveloperError_ErrorKind) Type

type DeveloperError_Source

type DeveloperError_Source int32
const (
	DeveloperError_UNKNOWN_SOURCE  DeveloperError_Source = 0
	DeveloperError_SCHEMA          DeveloperError_Source = 1
	DeveloperError_RELATIONSHIP    DeveloperError_Source = 2
	DeveloperError_VALIDATION_YAML DeveloperError_Source = 3
	DeveloperError_CHECK_WATCH     DeveloperError_Source = 4
	DeveloperError_ASSERTION       DeveloperError_Source = 5
)

func (DeveloperError_Source) Descriptor

func (DeveloperError_Source) Enum

func (DeveloperError_Source) EnumDescriptor deprecated

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

Deprecated: Use DeveloperError_Source.Descriptor instead.

func (DeveloperError_Source) Number

func (DeveloperError_Source) String

func (x DeveloperError_Source) String() string

func (DeveloperError_Source) Type

type DeveloperServiceClient

type DeveloperServiceClient interface {
	EditCheck(ctx context.Context, in *EditCheckRequest, opts ...grpc.CallOption) (*EditCheckResponse, error)
	Validate(ctx context.Context, in *ValidateRequest, opts ...grpc.CallOption) (*ValidateResponse, error)
	Share(ctx context.Context, in *ShareRequest, opts ...grpc.CallOption) (*ShareResponse, error)
	LookupShared(ctx context.Context, in *LookupShareRequest, opts ...grpc.CallOption) (*LookupShareResponse, error)
	UpgradeSchema(ctx context.Context, in *UpgradeSchemaRequest, opts ...grpc.CallOption) (*UpgradeSchemaResponse, error)
	FormatSchema(ctx context.Context, in *FormatSchemaRequest, opts ...grpc.CallOption) (*FormatSchemaResponse, error)
}

DeveloperServiceClient is the client API for DeveloperService 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 DeveloperServiceServer

type DeveloperServiceServer interface {
	EditCheck(context.Context, *EditCheckRequest) (*EditCheckResponse, error)
	Validate(context.Context, *ValidateRequest) (*ValidateResponse, error)
	Share(context.Context, *ShareRequest) (*ShareResponse, error)
	LookupShared(context.Context, *LookupShareRequest) (*LookupShareResponse, error)
	UpgradeSchema(context.Context, *UpgradeSchemaRequest) (*UpgradeSchemaResponse, error)
	FormatSchema(context.Context, *FormatSchemaRequest) (*FormatSchemaResponse, error)
	// contains filtered or unexported methods
}

DeveloperServiceServer is the server API for DeveloperService service. All implementations must embed UnimplementedDeveloperServiceServer for forward compatibility

type DirectUserset

type DirectUserset struct {
	Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

func (*DirectUserset) Descriptor deprecated

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

Deprecated: Use DirectUserset.ProtoReflect.Descriptor instead.

func (*DirectUserset) GetUsers

func (x *DirectUserset) GetUsers() []*User

func (*DirectUserset) ProtoMessage

func (*DirectUserset) ProtoMessage()

func (*DirectUserset) ProtoReflect

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

func (*DirectUserset) Reset

func (x *DirectUserset) Reset()

func (*DirectUserset) String

func (x *DirectUserset) String() string

func (*DirectUserset) Validate

func (m *DirectUserset) Validate() error

Validate checks the field values on DirectUserset with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DirectUsersetValidationError

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

DirectUsersetValidationError is the validation error returned by DirectUserset.Validate if the designated constraints aren't met.

func (DirectUsersetValidationError) Cause

Cause function returns cause value.

func (DirectUsersetValidationError) Error

Error satisfies the builtin error interface

func (DirectUsersetValidationError) ErrorName

func (e DirectUsersetValidationError) ErrorName() string

ErrorName returns error name.

func (DirectUsersetValidationError) Field

Field function returns field value.

func (DirectUsersetValidationError) Key

Key function returns key value.

func (DirectUsersetValidationError) Reason

Reason function returns reason value.

type EditCheckRequest

type EditCheckRequest struct {
	Context            *RequestContext  `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	CheckRelationships []*RelationTuple `protobuf:"bytes,2,rep,name=check_relationships,json=checkRelationships,proto3" json:"check_relationships,omitempty"`
	// contains filtered or unexported fields
}

func (*EditCheckRequest) Descriptor deprecated

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

Deprecated: Use EditCheckRequest.ProtoReflect.Descriptor instead.

func (*EditCheckRequest) GetCheckRelationships

func (x *EditCheckRequest) GetCheckRelationships() []*RelationTuple

func (*EditCheckRequest) GetContext

func (x *EditCheckRequest) GetContext() *RequestContext

func (*EditCheckRequest) ProtoMessage

func (*EditCheckRequest) ProtoMessage()

func (*EditCheckRequest) ProtoReflect

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

func (*EditCheckRequest) Reset

func (x *EditCheckRequest) Reset()

func (*EditCheckRequest) String

func (x *EditCheckRequest) String() string

func (*EditCheckRequest) Validate

func (m *EditCheckRequest) Validate() error

Validate checks the field values on EditCheckRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type EditCheckRequestValidationError

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

EditCheckRequestValidationError is the validation error returned by EditCheckRequest.Validate if the designated constraints aren't met.

func (EditCheckRequestValidationError) Cause

Cause function returns cause value.

func (EditCheckRequestValidationError) Error

Error satisfies the builtin error interface

func (EditCheckRequestValidationError) ErrorName

ErrorName returns error name.

func (EditCheckRequestValidationError) Field

Field function returns field value.

func (EditCheckRequestValidationError) Key

Key function returns key value.

func (EditCheckRequestValidationError) Reason

Reason function returns reason value.

type EditCheckResponse

type EditCheckResponse struct {
	RequestErrors []*DeveloperError  `protobuf:"bytes,1,rep,name=request_errors,json=requestErrors,proto3" json:"request_errors,omitempty"`
	CheckResults  []*EditCheckResult `protobuf:"bytes,2,rep,name=check_results,json=checkResults,proto3" json:"check_results,omitempty"`
	// contains filtered or unexported fields
}

func (*EditCheckResponse) Descriptor deprecated

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

Deprecated: Use EditCheckResponse.ProtoReflect.Descriptor instead.

func (*EditCheckResponse) GetCheckResults

func (x *EditCheckResponse) GetCheckResults() []*EditCheckResult

func (*EditCheckResponse) GetRequestErrors

func (x *EditCheckResponse) GetRequestErrors() []*DeveloperError

func (*EditCheckResponse) ProtoMessage

func (*EditCheckResponse) ProtoMessage()

func (*EditCheckResponse) ProtoReflect

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

func (*EditCheckResponse) Reset

func (x *EditCheckResponse) Reset()

func (*EditCheckResponse) String

func (x *EditCheckResponse) String() string

func (*EditCheckResponse) Validate

func (m *EditCheckResponse) Validate() error

Validate checks the field values on EditCheckResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type EditCheckResponseValidationError

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

EditCheckResponseValidationError is the validation error returned by EditCheckResponse.Validate if the designated constraints aren't met.

func (EditCheckResponseValidationError) Cause

Cause function returns cause value.

func (EditCheckResponseValidationError) Error

Error satisfies the builtin error interface

func (EditCheckResponseValidationError) ErrorName

ErrorName returns error name.

func (EditCheckResponseValidationError) Field

Field function returns field value.

func (EditCheckResponseValidationError) Key

Key function returns key value.

func (EditCheckResponseValidationError) Reason

Reason function returns reason value.

type EditCheckResult

type EditCheckResult struct {
	Relationship *RelationTuple  `protobuf:"bytes,1,opt,name=relationship,proto3" json:"relationship,omitempty"`
	IsMember     bool            `protobuf:"varint,2,opt,name=is_member,json=isMember,proto3" json:"is_member,omitempty"`
	Error        *DeveloperError `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*EditCheckResult) Descriptor deprecated

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

Deprecated: Use EditCheckResult.ProtoReflect.Descriptor instead.

func (*EditCheckResult) GetError

func (x *EditCheckResult) GetError() *DeveloperError

func (*EditCheckResult) GetIsMember

func (x *EditCheckResult) GetIsMember() bool

func (*EditCheckResult) GetRelationship

func (x *EditCheckResult) GetRelationship() *RelationTuple

func (*EditCheckResult) ProtoMessage

func (*EditCheckResult) ProtoMessage()

func (*EditCheckResult) ProtoReflect

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

func (*EditCheckResult) Reset

func (x *EditCheckResult) Reset()

func (*EditCheckResult) String

func (x *EditCheckResult) String() string

func (*EditCheckResult) Validate

func (m *EditCheckResult) Validate() error

Validate checks the field values on EditCheckResult with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type EditCheckResultValidationError

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

EditCheckResultValidationError is the validation error returned by EditCheckResult.Validate if the designated constraints aren't met.

func (EditCheckResultValidationError) Cause

Cause function returns cause value.

func (EditCheckResultValidationError) Error

Error satisfies the builtin error interface

func (EditCheckResultValidationError) ErrorName

func (e EditCheckResultValidationError) ErrorName() string

ErrorName returns error name.

func (EditCheckResultValidationError) Field

Field function returns field value.

func (EditCheckResultValidationError) Key

Key function returns key value.

func (EditCheckResultValidationError) Reason

Reason function returns reason value.

type ExpandRequest

type ExpandRequest struct {

	// The Expand API returns the effective userset given an ⟨object#relation⟩
	// pair and an optional zookie. Unlike the Read API, Expand follows indirect
	// references expressed through userset rewrite rules.
	Userset    *ObjectAndRelation `protobuf:"bytes,1,opt,name=userset,proto3" json:"userset,omitempty"`
	AtRevision *Zookie            `protobuf:"bytes,2,opt,name=at_revision,json=atRevision,proto3" json:"at_revision,omitempty"`
	// contains filtered or unexported fields
}

func (*ExpandRequest) Descriptor deprecated

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

Deprecated: Use ExpandRequest.ProtoReflect.Descriptor instead.

func (*ExpandRequest) GetAtRevision

func (x *ExpandRequest) GetAtRevision() *Zookie

func (*ExpandRequest) GetUserset

func (x *ExpandRequest) GetUserset() *ObjectAndRelation

func (*ExpandRequest) HandwrittenValidate added in v0.4.0

func (m *ExpandRequest) HandwrittenValidate() error

func (*ExpandRequest) ProtoMessage

func (*ExpandRequest) ProtoMessage()

func (*ExpandRequest) ProtoReflect

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

func (*ExpandRequest) Reset

func (x *ExpandRequest) Reset()

func (*ExpandRequest) String

func (x *ExpandRequest) String() string

func (*ExpandRequest) Validate

func (m *ExpandRequest) Validate() error

Validate checks the field values on ExpandRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ExpandRequestValidationError

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

ExpandRequestValidationError is the validation error returned by ExpandRequest.Validate if the designated constraints aren't met.

func (ExpandRequestValidationError) Cause

Cause function returns cause value.

func (ExpandRequestValidationError) Error

Error satisfies the builtin error interface

func (ExpandRequestValidationError) ErrorName

func (e ExpandRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ExpandRequestValidationError) Field

Field function returns field value.

func (ExpandRequestValidationError) Key

Key function returns key value.

func (ExpandRequestValidationError) Reason

Reason function returns reason value.

type ExpandResponse

type ExpandResponse struct {

	// The result is represented by a userset tree whose leaf nodes are user IDs
	// or usersets pointing to other ⟨object#relation⟩ pairs, and intermediate
	// nodes represent union, intersection, or exclusion operators.
	TreeNode *RelationTupleTreeNode `protobuf:"bytes,1,opt,name=tree_node,json=treeNode,proto3" json:"tree_node,omitempty"`
	Revision *Zookie                `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"`
	// contains filtered or unexported fields
}

func (*ExpandResponse) Descriptor deprecated

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

Deprecated: Use ExpandResponse.ProtoReflect.Descriptor instead.

func (*ExpandResponse) GetRevision

func (x *ExpandResponse) GetRevision() *Zookie

func (*ExpandResponse) GetTreeNode

func (x *ExpandResponse) GetTreeNode() *RelationTupleTreeNode

func (*ExpandResponse) ProtoMessage

func (*ExpandResponse) ProtoMessage()

func (*ExpandResponse) ProtoReflect

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

func (*ExpandResponse) Reset

func (x *ExpandResponse) Reset()

func (*ExpandResponse) String

func (x *ExpandResponse) String() string

func (*ExpandResponse) Validate

func (m *ExpandResponse) Validate() error

Validate checks the field values on ExpandResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ExpandResponseValidationError

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

ExpandResponseValidationError is the validation error returned by ExpandResponse.Validate if the designated constraints aren't met.

func (ExpandResponseValidationError) Cause

Cause function returns cause value.

func (ExpandResponseValidationError) Error

Error satisfies the builtin error interface

func (ExpandResponseValidationError) ErrorName

func (e ExpandResponseValidationError) ErrorName() string

ErrorName returns error name.

func (ExpandResponseValidationError) Field

Field function returns field value.

func (ExpandResponseValidationError) Key

Key function returns key value.

func (ExpandResponseValidationError) Reason

Reason function returns reason value.

type FormatSchemaRequest added in v0.1.0

type FormatSchemaRequest struct {
	Schema string `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"`
	// contains filtered or unexported fields
}

func (*FormatSchemaRequest) Descriptor deprecated added in v0.1.0

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

Deprecated: Use FormatSchemaRequest.ProtoReflect.Descriptor instead.

func (*FormatSchemaRequest) GetSchema added in v0.1.0

func (x *FormatSchemaRequest) GetSchema() string

func (*FormatSchemaRequest) ProtoMessage added in v0.1.0

func (*FormatSchemaRequest) ProtoMessage()

func (*FormatSchemaRequest) ProtoReflect added in v0.1.0

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

func (*FormatSchemaRequest) Reset added in v0.1.0

func (x *FormatSchemaRequest) Reset()

func (*FormatSchemaRequest) String added in v0.1.0

func (x *FormatSchemaRequest) String() string

func (*FormatSchemaRequest) Validate added in v0.1.0

func (m *FormatSchemaRequest) Validate() error

Validate checks the field values on FormatSchemaRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type FormatSchemaRequestValidationError added in v0.1.0

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

FormatSchemaRequestValidationError is the validation error returned by FormatSchemaRequest.Validate if the designated constraints aren't met.

func (FormatSchemaRequestValidationError) Cause added in v0.1.0

Cause function returns cause value.

func (FormatSchemaRequestValidationError) Error added in v0.1.0

Error satisfies the builtin error interface

func (FormatSchemaRequestValidationError) ErrorName added in v0.1.0

ErrorName returns error name.

func (FormatSchemaRequestValidationError) Field added in v0.1.0

Field function returns field value.

func (FormatSchemaRequestValidationError) Key added in v0.1.0

Key function returns key value.

func (FormatSchemaRequestValidationError) Reason added in v0.1.0

Reason function returns reason value.

type FormatSchemaResponse added in v0.1.0

type FormatSchemaResponse struct {
	Error           *DeveloperError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	FormattedSchema string          `protobuf:"bytes,2,opt,name=formatted_schema,json=formattedSchema,proto3" json:"formatted_schema,omitempty"`
	// contains filtered or unexported fields
}

func (*FormatSchemaResponse) Descriptor deprecated added in v0.1.0

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

Deprecated: Use FormatSchemaResponse.ProtoReflect.Descriptor instead.

func (*FormatSchemaResponse) GetError added in v0.1.0

func (x *FormatSchemaResponse) GetError() *DeveloperError

func (*FormatSchemaResponse) GetFormattedSchema added in v0.1.0

func (x *FormatSchemaResponse) GetFormattedSchema() string

func (*FormatSchemaResponse) ProtoMessage added in v0.1.0

func (*FormatSchemaResponse) ProtoMessage()

func (*FormatSchemaResponse) ProtoReflect added in v0.1.0

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

func (*FormatSchemaResponse) Reset added in v0.1.0

func (x *FormatSchemaResponse) Reset()

func (*FormatSchemaResponse) String added in v0.1.0

func (x *FormatSchemaResponse) String() string

func (*FormatSchemaResponse) Validate added in v0.1.0

func (m *FormatSchemaResponse) Validate() error

Validate checks the field values on FormatSchemaResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type FormatSchemaResponseValidationError added in v0.1.0

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

FormatSchemaResponseValidationError is the validation error returned by FormatSchemaResponse.Validate if the designated constraints aren't met.

func (FormatSchemaResponseValidationError) Cause added in v0.1.0

Cause function returns cause value.

func (FormatSchemaResponseValidationError) Error added in v0.1.0

Error satisfies the builtin error interface

func (FormatSchemaResponseValidationError) ErrorName added in v0.1.0

ErrorName returns error name.

func (FormatSchemaResponseValidationError) Field added in v0.1.0

Field function returns field value.

func (FormatSchemaResponseValidationError) Key added in v0.1.0

Key function returns key value.

func (FormatSchemaResponseValidationError) Reason added in v0.1.0

Reason function returns reason value.

type LookupRequest

type LookupRequest struct {
	ObjectRelation *RelationReference `protobuf:"bytes,1,opt,name=object_relation,json=objectRelation,proto3" json:"object_relation,omitempty"`
	User           *ObjectAndRelation `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	AtRevision     *Zookie            `protobuf:"bytes,3,opt,name=at_revision,json=atRevision,proto3" json:"at_revision,omitempty"`
	PageReference  string             `protobuf:"bytes,4,opt,name=page_reference,json=pageReference,proto3" json:"page_reference,omitempty"`
	Limit          uint32             `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*LookupRequest) Descriptor deprecated

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

Deprecated: Use LookupRequest.ProtoReflect.Descriptor instead.

func (*LookupRequest) GetAtRevision

func (x *LookupRequest) GetAtRevision() *Zookie

func (*LookupRequest) GetLimit

func (x *LookupRequest) GetLimit() uint32

func (*LookupRequest) GetObjectRelation

func (x *LookupRequest) GetObjectRelation() *RelationReference

func (*LookupRequest) GetPageReference

func (x *LookupRequest) GetPageReference() string

func (*LookupRequest) GetUser

func (x *LookupRequest) GetUser() *ObjectAndRelation

func (*LookupRequest) HandwrittenValidate added in v0.4.0

func (m *LookupRequest) HandwrittenValidate() error

func (*LookupRequest) ProtoMessage

func (*LookupRequest) ProtoMessage()

func (*LookupRequest) ProtoReflect

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

func (*LookupRequest) Reset

func (x *LookupRequest) Reset()

func (*LookupRequest) String

func (x *LookupRequest) String() string

func (*LookupRequest) Validate

func (m *LookupRequest) Validate() error

Validate checks the field values on LookupRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type LookupRequestValidationError

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

LookupRequestValidationError is the validation error returned by LookupRequest.Validate if the designated constraints aren't met.

func (LookupRequestValidationError) Cause

Cause function returns cause value.

func (LookupRequestValidationError) Error

Error satisfies the builtin error interface

func (LookupRequestValidationError) ErrorName

func (e LookupRequestValidationError) ErrorName() string

ErrorName returns error name.

func (LookupRequestValidationError) Field

Field function returns field value.

func (LookupRequestValidationError) Key

Key function returns key value.

func (LookupRequestValidationError) Reason

Reason function returns reason value.

type LookupResponse

type LookupResponse struct {
	ResolvedObjectIds []string `protobuf:"bytes,1,rep,name=resolved_object_ids,json=resolvedObjectIds,proto3" json:"resolved_object_ids,omitempty"`
	NextPageReference string   `protobuf:"bytes,2,opt,name=next_page_reference,json=nextPageReference,proto3" json:"next_page_reference,omitempty"`
	Revision          *Zookie  `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"`
	// contains filtered or unexported fields
}

func (*LookupResponse) Descriptor deprecated

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

Deprecated: Use LookupResponse.ProtoReflect.Descriptor instead.

func (*LookupResponse) GetNextPageReference

func (x *LookupResponse) GetNextPageReference() string

func (*LookupResponse) GetResolvedObjectIds

func (x *LookupResponse) GetResolvedObjectIds() []string

func (*LookupResponse) GetRevision

func (x *LookupResponse) GetRevision() *Zookie

func (*LookupResponse) ProtoMessage

func (*LookupResponse) ProtoMessage()

func (*LookupResponse) ProtoReflect

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

func (*LookupResponse) Reset

func (x *LookupResponse) Reset()

func (*LookupResponse) String

func (x *LookupResponse) String() string

func (*LookupResponse) Validate

func (m *LookupResponse) Validate() error

Validate checks the field values on LookupResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type LookupResponseValidationError

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

LookupResponseValidationError is the validation error returned by LookupResponse.Validate if the designated constraints aren't met.

func (LookupResponseValidationError) Cause

Cause function returns cause value.

func (LookupResponseValidationError) Error

Error satisfies the builtin error interface

func (LookupResponseValidationError) ErrorName

func (e LookupResponseValidationError) ErrorName() string

ErrorName returns error name.

func (LookupResponseValidationError) Field

Field function returns field value.

func (LookupResponseValidationError) Key

Key function returns key value.

func (LookupResponseValidationError) Reason

Reason function returns reason value.

type LookupShareRequest

type LookupShareRequest struct {
	ShareReference string `protobuf:"bytes,1,opt,name=share_reference,json=shareReference,proto3" json:"share_reference,omitempty"`
	// contains filtered or unexported fields
}

func (*LookupShareRequest) Descriptor deprecated

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

Deprecated: Use LookupShareRequest.ProtoReflect.Descriptor instead.

func (*LookupShareRequest) GetShareReference

func (x *LookupShareRequest) GetShareReference() string

func (*LookupShareRequest) ProtoMessage

func (*LookupShareRequest) ProtoMessage()

func (*LookupShareRequest) ProtoReflect

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

func (*LookupShareRequest) Reset

func (x *LookupShareRequest) Reset()

func (*LookupShareRequest) String

func (x *LookupShareRequest) String() string

func (*LookupShareRequest) Validate

func (m *LookupShareRequest) Validate() error

Validate checks the field values on LookupShareRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type LookupShareRequestValidationError

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

LookupShareRequestValidationError is the validation error returned by LookupShareRequest.Validate if the designated constraints aren't met.

func (LookupShareRequestValidationError) Cause

Cause function returns cause value.

func (LookupShareRequestValidationError) Error

Error satisfies the builtin error interface

func (LookupShareRequestValidationError) ErrorName

ErrorName returns error name.

func (LookupShareRequestValidationError) Field

Field function returns field value.

func (LookupShareRequestValidationError) Key

Key function returns key value.

func (LookupShareRequestValidationError) Reason

Reason function returns reason value.

type LookupShareResponse

type LookupShareResponse struct {
	Status            LookupShareResponse_LookupStatus `protobuf:"varint,1,opt,name=status,proto3,enum=authzed.api.v0.LookupShareResponse_LookupStatus" json:"status,omitempty"`
	Schema            string                           `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"`
	RelationshipsYaml string                           `protobuf:"bytes,3,opt,name=relationships_yaml,json=relationshipsYaml,proto3" json:"relationships_yaml,omitempty"`
	ValidationYaml    string                           `protobuf:"bytes,4,opt,name=validation_yaml,json=validationYaml,proto3" json:"validation_yaml,omitempty"`
	AssertionsYaml    string                           `protobuf:"bytes,5,opt,name=assertions_yaml,json=assertionsYaml,proto3" json:"assertions_yaml,omitempty"`
	// contains filtered or unexported fields
}

func (*LookupShareResponse) Descriptor deprecated

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

Deprecated: Use LookupShareResponse.ProtoReflect.Descriptor instead.

func (*LookupShareResponse) GetAssertionsYaml

func (x *LookupShareResponse) GetAssertionsYaml() string

func (*LookupShareResponse) GetRelationshipsYaml

func (x *LookupShareResponse) GetRelationshipsYaml() string

func (*LookupShareResponse) GetSchema

func (x *LookupShareResponse) GetSchema() string

func (*LookupShareResponse) GetStatus

func (*LookupShareResponse) GetValidationYaml

func (x *LookupShareResponse) GetValidationYaml() string

func (*LookupShareResponse) ProtoMessage

func (*LookupShareResponse) ProtoMessage()

func (*LookupShareResponse) ProtoReflect

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

func (*LookupShareResponse) Reset

func (x *LookupShareResponse) Reset()

func (*LookupShareResponse) String

func (x *LookupShareResponse) String() string

func (*LookupShareResponse) Validate

func (m *LookupShareResponse) Validate() error

Validate checks the field values on LookupShareResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type LookupShareResponseValidationError

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

LookupShareResponseValidationError is the validation error returned by LookupShareResponse.Validate if the designated constraints aren't met.

func (LookupShareResponseValidationError) Cause

Cause function returns cause value.

func (LookupShareResponseValidationError) Error

Error satisfies the builtin error interface

func (LookupShareResponseValidationError) ErrorName

ErrorName returns error name.

func (LookupShareResponseValidationError) Field

Field function returns field value.

func (LookupShareResponseValidationError) Key

Key function returns key value.

func (LookupShareResponseValidationError) Reason

Reason function returns reason value.

type LookupShareResponse_LookupStatus

type LookupShareResponse_LookupStatus int32
const (
	LookupShareResponse_UNKNOWN_REFERENCE  LookupShareResponse_LookupStatus = 0
	LookupShareResponse_FAILED_TO_LOOKUP   LookupShareResponse_LookupStatus = 1
	LookupShareResponse_VALID_REFERENCE    LookupShareResponse_LookupStatus = 2
	LookupShareResponse_UPGRADED_REFERENCE LookupShareResponse_LookupStatus = 3
)

func (LookupShareResponse_LookupStatus) Descriptor

func (LookupShareResponse_LookupStatus) Enum

func (LookupShareResponse_LookupStatus) EnumDescriptor deprecated

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

Deprecated: Use LookupShareResponse_LookupStatus.Descriptor instead.

func (LookupShareResponse_LookupStatus) Number

func (LookupShareResponse_LookupStatus) String

func (LookupShareResponse_LookupStatus) Type

type Metadata

type Metadata struct {
	MetadataMessage []*anypb.Any `protobuf:"bytes,1,rep,name=metadata_message,json=metadataMessage,proto3" json:"metadata_message,omitempty"`
	// contains filtered or unexported fields
}

func (*Metadata) Descriptor deprecated

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

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetMetadataMessage

func (x *Metadata) GetMetadataMessage() []*anypb.Any

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

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

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) String

func (x *Metadata) String() string

func (*Metadata) Validate

func (m *Metadata) Validate() error

Validate checks the field values on Metadata with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type MetadataValidationError

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

MetadataValidationError is the validation error returned by Metadata.Validate if the designated constraints aren't met.

func (MetadataValidationError) Cause

func (e MetadataValidationError) Cause() error

Cause function returns cause value.

func (MetadataValidationError) Error

func (e MetadataValidationError) Error() string

Error satisfies the builtin error interface

func (MetadataValidationError) ErrorName

func (e MetadataValidationError) ErrorName() string

ErrorName returns error name.

func (MetadataValidationError) Field

func (e MetadataValidationError) Field() string

Field function returns field value.

func (MetadataValidationError) Key

func (e MetadataValidationError) Key() bool

Key function returns key value.

func (MetadataValidationError) Reason

func (e MetadataValidationError) Reason() string

Reason function returns reason value.

type NamespaceDefinition

type NamespaceDefinition struct {
	Name     string      `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Relation []*Relation `protobuf:"bytes,2,rep,name=relation,proto3" json:"relation,omitempty"`
	Metadata *Metadata   `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*NamespaceDefinition) Descriptor deprecated

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

Deprecated: Use NamespaceDefinition.ProtoReflect.Descriptor instead.

func (*NamespaceDefinition) GetMetadata

func (x *NamespaceDefinition) GetMetadata() *Metadata

func (*NamespaceDefinition) GetName

func (x *NamespaceDefinition) GetName() string

func (*NamespaceDefinition) GetRelation

func (x *NamespaceDefinition) GetRelation() []*Relation

func (*NamespaceDefinition) ProtoMessage

func (*NamespaceDefinition) ProtoMessage()

func (*NamespaceDefinition) ProtoReflect

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

func (*NamespaceDefinition) Reset

func (x *NamespaceDefinition) Reset()

func (*NamespaceDefinition) String

func (x *NamespaceDefinition) String() string

func (*NamespaceDefinition) Validate

func (m *NamespaceDefinition) Validate() error

Validate checks the field values on NamespaceDefinition with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type NamespaceDefinitionValidationError

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

NamespaceDefinitionValidationError is the validation error returned by NamespaceDefinition.Validate if the designated constraints aren't met.

func (NamespaceDefinitionValidationError) Cause

Cause function returns cause value.

func (NamespaceDefinitionValidationError) Error

Error satisfies the builtin error interface

func (NamespaceDefinitionValidationError) ErrorName

ErrorName returns error name.

func (NamespaceDefinitionValidationError) Field

Field function returns field value.

func (NamespaceDefinitionValidationError) Key

Key function returns key value.

func (NamespaceDefinitionValidationError) Reason

Reason function returns reason value.

type NamespaceServiceClient

type NamespaceServiceClient interface {
	ReadConfig(ctx context.Context, in *ReadConfigRequest, opts ...grpc.CallOption) (*ReadConfigResponse, error)
	WriteConfig(ctx context.Context, in *WriteConfigRequest, opts ...grpc.CallOption) (*WriteConfigResponse, error)
	DeleteConfigs(ctx context.Context, in *DeleteConfigsRequest, opts ...grpc.CallOption) (*DeleteConfigsResponse, error)
}

NamespaceServiceClient is the client API for NamespaceService 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 NamespaceServiceServer

type NamespaceServiceServer interface {
	ReadConfig(context.Context, *ReadConfigRequest) (*ReadConfigResponse, error)
	WriteConfig(context.Context, *WriteConfigRequest) (*WriteConfigResponse, error)
	DeleteConfigs(context.Context, *DeleteConfigsRequest) (*DeleteConfigsResponse, error)
	// contains filtered or unexported methods
}

NamespaceServiceServer is the server API for NamespaceService service. All implementations must embed UnimplementedNamespaceServiceServer for forward compatibility

type ObjectAndRelation

type ObjectAndRelation struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	ObjectId  string `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	Relation  string `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectAndRelation) Descriptor deprecated

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

Deprecated: Use ObjectAndRelation.ProtoReflect.Descriptor instead.

func (*ObjectAndRelation) GetNamespace

func (x *ObjectAndRelation) GetNamespace() string

func (*ObjectAndRelation) GetObjectId

func (x *ObjectAndRelation) GetObjectId() string

func (*ObjectAndRelation) GetRelation

func (x *ObjectAndRelation) GetRelation() string

func (*ObjectAndRelation) ProtoMessage

func (*ObjectAndRelation) ProtoMessage()

func (*ObjectAndRelation) ProtoReflect

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

func (*ObjectAndRelation) Reset

func (x *ObjectAndRelation) Reset()

func (*ObjectAndRelation) String

func (x *ObjectAndRelation) String() string

func (*ObjectAndRelation) Validate

func (m *ObjectAndRelation) Validate() error

Validate checks the field values on ObjectAndRelation with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ObjectAndRelationValidationError

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

ObjectAndRelationValidationError is the validation error returned by ObjectAndRelation.Validate if the designated constraints aren't met.

func (ObjectAndRelationValidationError) Cause

Cause function returns cause value.

func (ObjectAndRelationValidationError) Error

Error satisfies the builtin error interface

func (ObjectAndRelationValidationError) ErrorName

ErrorName returns error name.

func (ObjectAndRelationValidationError) Field

Field function returns field value.

func (ObjectAndRelationValidationError) Key

Key function returns key value.

func (ObjectAndRelationValidationError) Reason

Reason function returns reason value.

type ReadConfigRequest

type ReadConfigRequest struct {
	Namespace  string  `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	AtRevision *Zookie `protobuf:"bytes,2,opt,name=at_revision,json=atRevision,proto3" json:"at_revision,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadConfigRequest) Descriptor deprecated

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

Deprecated: Use ReadConfigRequest.ProtoReflect.Descriptor instead.

func (*ReadConfigRequest) GetAtRevision

func (x *ReadConfigRequest) GetAtRevision() *Zookie

func (*ReadConfigRequest) GetNamespace

func (x *ReadConfigRequest) GetNamespace() string

func (*ReadConfigRequest) ProtoMessage

func (*ReadConfigRequest) ProtoMessage()

func (*ReadConfigRequest) ProtoReflect

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

func (*ReadConfigRequest) Reset

func (x *ReadConfigRequest) Reset()

func (*ReadConfigRequest) String

func (x *ReadConfigRequest) String() string

func (*ReadConfigRequest) Validate

func (m *ReadConfigRequest) Validate() error

Validate checks the field values on ReadConfigRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ReadConfigRequestValidationError

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

ReadConfigRequestValidationError is the validation error returned by ReadConfigRequest.Validate if the designated constraints aren't met.

func (ReadConfigRequestValidationError) Cause

Cause function returns cause value.

func (ReadConfigRequestValidationError) Error

Error satisfies the builtin error interface

func (ReadConfigRequestValidationError) ErrorName

ErrorName returns error name.

func (ReadConfigRequestValidationError) Field

Field function returns field value.

func (ReadConfigRequestValidationError) Key

Key function returns key value.

func (ReadConfigRequestValidationError) Reason

Reason function returns reason value.

type ReadConfigResponse

type ReadConfigResponse struct {
	Namespace string               `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Config    *NamespaceDefinition `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	Revision  *Zookie              `protobuf:"bytes,4,opt,name=revision,proto3" json:"revision,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadConfigResponse) Descriptor deprecated

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

Deprecated: Use ReadConfigResponse.ProtoReflect.Descriptor instead.

func (*ReadConfigResponse) GetConfig

func (x *ReadConfigResponse) GetConfig() *NamespaceDefinition

func (*ReadConfigResponse) GetNamespace

func (x *ReadConfigResponse) GetNamespace() string

func (*ReadConfigResponse) GetRevision

func (x *ReadConfigResponse) GetRevision() *Zookie

func (*ReadConfigResponse) ProtoMessage

func (*ReadConfigResponse) ProtoMessage()

func (*ReadConfigResponse) ProtoReflect

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

func (*ReadConfigResponse) Reset

func (x *ReadConfigResponse) Reset()

func (*ReadConfigResponse) String

func (x *ReadConfigResponse) String() string

func (*ReadConfigResponse) Validate

func (m *ReadConfigResponse) Validate() error

Validate checks the field values on ReadConfigResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ReadConfigResponseValidationError

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

ReadConfigResponseValidationError is the validation error returned by ReadConfigResponse.Validate if the designated constraints aren't met.

func (ReadConfigResponseValidationError) Cause

Cause function returns cause value.

func (ReadConfigResponseValidationError) Error

Error satisfies the builtin error interface

func (ReadConfigResponseValidationError) ErrorName

ErrorName returns error name.

func (ReadConfigResponseValidationError) Field

Field function returns field value.

func (ReadConfigResponseValidationError) Key

Key function returns key value.

func (ReadConfigResponseValidationError) Reason

Reason function returns reason value.

type ReadRequest

type ReadRequest struct {

	// A read request specifies one or multiple tuplesets and an optional zookie.
	Tuplesets  []*RelationTupleFilter `protobuf:"bytes,1,rep,name=tuplesets,proto3" json:"tuplesets,omitempty"`
	AtRevision *Zookie                `protobuf:"bytes,2,opt,name=at_revision,json=atRevision,proto3" json:"at_revision,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadRequest) Descriptor deprecated

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

Deprecated: Use ReadRequest.ProtoReflect.Descriptor instead.

func (*ReadRequest) GetAtRevision

func (x *ReadRequest) GetAtRevision() *Zookie

func (*ReadRequest) GetTuplesets

func (x *ReadRequest) GetTuplesets() []*RelationTupleFilter

func (*ReadRequest) ProtoMessage

func (*ReadRequest) ProtoMessage()

func (*ReadRequest) ProtoReflect

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

func (*ReadRequest) Reset

func (x *ReadRequest) Reset()

func (*ReadRequest) String

func (x *ReadRequest) String() string

func (*ReadRequest) Validate

func (m *ReadRequest) Validate() error

Validate checks the field values on ReadRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ReadRequestValidationError

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

ReadRequestValidationError is the validation error returned by ReadRequest.Validate if the designated constraints aren't met.

func (ReadRequestValidationError) Cause

Cause function returns cause value.

func (ReadRequestValidationError) Error

Error satisfies the builtin error interface

func (ReadRequestValidationError) ErrorName

func (e ReadRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ReadRequestValidationError) Field

Field function returns field value.

func (ReadRequestValidationError) Key

Key function returns key value.

func (ReadRequestValidationError) Reason

Reason function returns reason value.

type ReadResponse

type ReadResponse struct {
	Tuplesets []*ReadResponse_Tupleset `protobuf:"bytes,1,rep,name=tuplesets,proto3" json:"tuplesets,omitempty"`
	Revision  *Zookie                  `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadResponse) Descriptor deprecated

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

Deprecated: Use ReadResponse.ProtoReflect.Descriptor instead.

func (*ReadResponse) GetRevision

func (x *ReadResponse) GetRevision() *Zookie

func (*ReadResponse) GetTuplesets

func (x *ReadResponse) GetTuplesets() []*ReadResponse_Tupleset

func (*ReadResponse) ProtoMessage

func (*ReadResponse) ProtoMessage()

func (*ReadResponse) ProtoReflect

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

func (*ReadResponse) Reset

func (x *ReadResponse) Reset()

func (*ReadResponse) String

func (x *ReadResponse) String() string

func (*ReadResponse) Validate

func (m *ReadResponse) Validate() error

Validate checks the field values on ReadResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ReadResponseValidationError

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

ReadResponseValidationError is the validation error returned by ReadResponse.Validate if the designated constraints aren't met.

func (ReadResponseValidationError) Cause

Cause function returns cause value.

func (ReadResponseValidationError) Error

Error satisfies the builtin error interface

func (ReadResponseValidationError) ErrorName

func (e ReadResponseValidationError) ErrorName() string

ErrorName returns error name.

func (ReadResponseValidationError) Field

Field function returns field value.

func (ReadResponseValidationError) Key

Key function returns key value.

func (ReadResponseValidationError) Reason

Reason function returns reason value.

type ReadResponse_Tupleset

type ReadResponse_Tupleset struct {
	Tuples []*RelationTuple `protobuf:"bytes,1,rep,name=tuples,proto3" json:"tuples,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadResponse_Tupleset) Descriptor deprecated

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

Deprecated: Use ReadResponse_Tupleset.ProtoReflect.Descriptor instead.

func (*ReadResponse_Tupleset) GetTuples

func (x *ReadResponse_Tupleset) GetTuples() []*RelationTuple

func (*ReadResponse_Tupleset) ProtoMessage

func (*ReadResponse_Tupleset) ProtoMessage()

func (*ReadResponse_Tupleset) ProtoReflect

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

func (*ReadResponse_Tupleset) Reset

func (x *ReadResponse_Tupleset) Reset()

func (*ReadResponse_Tupleset) String

func (x *ReadResponse_Tupleset) String() string

func (*ReadResponse_Tupleset) Validate

func (m *ReadResponse_Tupleset) Validate() error

Validate checks the field values on ReadResponse_Tupleset with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ReadResponse_TuplesetValidationError

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

ReadResponse_TuplesetValidationError is the validation error returned by ReadResponse_Tupleset.Validate if the designated constraints aren't met.

func (ReadResponse_TuplesetValidationError) Cause

Cause function returns cause value.

func (ReadResponse_TuplesetValidationError) Error

Error satisfies the builtin error interface

func (ReadResponse_TuplesetValidationError) ErrorName

ErrorName returns error name.

func (ReadResponse_TuplesetValidationError) Field

Field function returns field value.

func (ReadResponse_TuplesetValidationError) Key

Key function returns key value.

func (ReadResponse_TuplesetValidationError) Reason

Reason function returns reason value.

type Relation

type Relation struct {
	Name            string           `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	UsersetRewrite  *UsersetRewrite  `protobuf:"bytes,2,opt,name=userset_rewrite,json=usersetRewrite,proto3" json:"userset_rewrite,omitempty"`
	TypeInformation *TypeInformation `protobuf:"bytes,3,opt,name=type_information,json=typeInformation,proto3" json:"type_information,omitempty"`
	Metadata        *Metadata        `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*Relation) Descriptor deprecated

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

Deprecated: Use Relation.ProtoReflect.Descriptor instead.

func (*Relation) GetMetadata

func (x *Relation) GetMetadata() *Metadata

func (*Relation) GetName

func (x *Relation) GetName() string

func (*Relation) GetTypeInformation

func (x *Relation) GetTypeInformation() *TypeInformation

func (*Relation) GetUsersetRewrite

func (x *Relation) GetUsersetRewrite() *UsersetRewrite

func (*Relation) ProtoMessage

func (*Relation) ProtoMessage()

func (*Relation) ProtoReflect

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

func (*Relation) Reset

func (x *Relation) Reset()

func (*Relation) String

func (x *Relation) String() string

func (*Relation) Validate

func (m *Relation) Validate() error

Validate checks the field values on Relation with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RelationReference

type RelationReference struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Relation  string `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"`
	// contains filtered or unexported fields
}

func (*RelationReference) Descriptor deprecated

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

Deprecated: Use RelationReference.ProtoReflect.Descriptor instead.

func (*RelationReference) GetNamespace

func (x *RelationReference) GetNamespace() string

func (*RelationReference) GetRelation

func (x *RelationReference) GetRelation() string

func (*RelationReference) ProtoMessage

func (*RelationReference) ProtoMessage()

func (*RelationReference) ProtoReflect

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

func (*RelationReference) Reset

func (x *RelationReference) Reset()

func (*RelationReference) String

func (x *RelationReference) String() string

func (*RelationReference) Validate

func (m *RelationReference) Validate() error

Validate checks the field values on RelationReference with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RelationReferenceValidationError

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

RelationReferenceValidationError is the validation error returned by RelationReference.Validate if the designated constraints aren't met.

func (RelationReferenceValidationError) Cause

Cause function returns cause value.

func (RelationReferenceValidationError) Error

Error satisfies the builtin error interface

func (RelationReferenceValidationError) ErrorName

ErrorName returns error name.

func (RelationReferenceValidationError) Field

Field function returns field value.

func (RelationReferenceValidationError) Key

Key function returns key value.

func (RelationReferenceValidationError) Reason

Reason function returns reason value.

type RelationTuple

type RelationTuple struct {

	// Each tupleset specifies keys of a set of relation tuples. The set can
	// include a single tuple key, or all tuples with a given object ID or
	// userset in a namespace, optionally constrained by a relation name.
	//
	// examples:
	// doc:readme#viewer@group:eng#member (fully specified)
	// doc:*#*#group:eng#member (all tuples that this userset relates to)
	// doc:12345#*#* (all tuples with a direct relationship to a document)
	// doc:12345#writer#* (all tuples with direct write relationship with the
	// document) doc:#writer#group:eng#member (all tuples that eng group has write
	// relationship)
	ObjectAndRelation *ObjectAndRelation `protobuf:"bytes,1,opt,name=object_and_relation,json=objectAndRelation,proto3" json:"object_and_relation,omitempty"`
	User              *User              `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*RelationTuple) Descriptor deprecated

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

Deprecated: Use RelationTuple.ProtoReflect.Descriptor instead.

func (*RelationTuple) GetObjectAndRelation

func (x *RelationTuple) GetObjectAndRelation() *ObjectAndRelation

func (*RelationTuple) GetUser

func (x *RelationTuple) GetUser() *User

func (*RelationTuple) HandwrittenValidate added in v0.4.0

func (m *RelationTuple) HandwrittenValidate() error

func (*RelationTuple) ProtoMessage

func (*RelationTuple) ProtoMessage()

func (*RelationTuple) ProtoReflect

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

func (*RelationTuple) Reset

func (x *RelationTuple) Reset()

func (*RelationTuple) String

func (x *RelationTuple) String() string

func (*RelationTuple) Validate

func (m *RelationTuple) Validate() error

Validate checks the field values on RelationTuple with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RelationTupleFilter

type RelationTupleFilter struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Setting any of these fields requires the appropriate filter type to be
	// added to the filters list as well
	ObjectId string                       `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	Relation string                       `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"`
	Userset  *ObjectAndRelation           `protobuf:"bytes,5,opt,name=userset,proto3" json:"userset,omitempty"`
	Filters  []RelationTupleFilter_Filter `protobuf:"varint,6,rep,packed,name=filters,proto3,enum=authzed.api.v0.RelationTupleFilter_Filter" json:"filters,omitempty"`
	// contains filtered or unexported fields
}

func (*RelationTupleFilter) Descriptor deprecated

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

Deprecated: Use RelationTupleFilter.ProtoReflect.Descriptor instead.

func (*RelationTupleFilter) GetFilters

func (*RelationTupleFilter) GetNamespace

func (x *RelationTupleFilter) GetNamespace() string

func (*RelationTupleFilter) GetObjectId

func (x *RelationTupleFilter) GetObjectId() string

func (*RelationTupleFilter) GetRelation

func (x *RelationTupleFilter) GetRelation() string

func (*RelationTupleFilter) GetUserset

func (x *RelationTupleFilter) GetUserset() *ObjectAndRelation

func (*RelationTupleFilter) ProtoMessage

func (*RelationTupleFilter) ProtoMessage()

func (*RelationTupleFilter) ProtoReflect

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

func (*RelationTupleFilter) Reset

func (x *RelationTupleFilter) Reset()

func (*RelationTupleFilter) String

func (x *RelationTupleFilter) String() string

func (*RelationTupleFilter) Validate

func (m *RelationTupleFilter) Validate() error

Validate checks the field values on RelationTupleFilter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RelationTupleFilterValidationError

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

RelationTupleFilterValidationError is the validation error returned by RelationTupleFilter.Validate if the designated constraints aren't met.

func (RelationTupleFilterValidationError) Cause

Cause function returns cause value.

func (RelationTupleFilterValidationError) Error

Error satisfies the builtin error interface

func (RelationTupleFilterValidationError) ErrorName

ErrorName returns error name.

func (RelationTupleFilterValidationError) Field

Field function returns field value.

func (RelationTupleFilterValidationError) Key

Key function returns key value.

func (RelationTupleFilterValidationError) Reason

Reason function returns reason value.

type RelationTupleFilter_Filter

type RelationTupleFilter_Filter int32
const (
	RelationTupleFilter_UNKNOWN   RelationTupleFilter_Filter = 0
	RelationTupleFilter_OBJECT_ID RelationTupleFilter_Filter = 1
	RelationTupleFilter_RELATION  RelationTupleFilter_Filter = 2
	RelationTupleFilter_USERSET   RelationTupleFilter_Filter = 4
)

func (RelationTupleFilter_Filter) Descriptor

func (RelationTupleFilter_Filter) Enum

func (RelationTupleFilter_Filter) EnumDescriptor deprecated

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

Deprecated: Use RelationTupleFilter_Filter.Descriptor instead.

func (RelationTupleFilter_Filter) Number

func (RelationTupleFilter_Filter) String

func (RelationTupleFilter_Filter) Type

type RelationTupleTreeNode

type RelationTupleTreeNode struct {

	// Types that are assignable to NodeType:
	//	*RelationTupleTreeNode_IntermediateNode
	//	*RelationTupleTreeNode_LeafNode
	NodeType isRelationTupleTreeNode_NodeType `protobuf_oneof:"node_type"`
	Expanded *ObjectAndRelation               `protobuf:"bytes,3,opt,name=expanded,proto3" json:"expanded,omitempty"`
	// contains filtered or unexported fields
}

func (*RelationTupleTreeNode) Descriptor deprecated

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

Deprecated: Use RelationTupleTreeNode.ProtoReflect.Descriptor instead.

func (*RelationTupleTreeNode) GetExpanded

func (x *RelationTupleTreeNode) GetExpanded() *ObjectAndRelation

func (*RelationTupleTreeNode) GetIntermediateNode

func (x *RelationTupleTreeNode) GetIntermediateNode() *SetOperationUserset

func (*RelationTupleTreeNode) GetLeafNode

func (x *RelationTupleTreeNode) GetLeafNode() *DirectUserset

func (*RelationTupleTreeNode) GetNodeType

func (m *RelationTupleTreeNode) GetNodeType() isRelationTupleTreeNode_NodeType

func (*RelationTupleTreeNode) ProtoMessage

func (*RelationTupleTreeNode) ProtoMessage()

func (*RelationTupleTreeNode) ProtoReflect

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

func (*RelationTupleTreeNode) Reset

func (x *RelationTupleTreeNode) Reset()

func (*RelationTupleTreeNode) String

func (x *RelationTupleTreeNode) String() string

func (*RelationTupleTreeNode) Validate

func (m *RelationTupleTreeNode) Validate() error

Validate checks the field values on RelationTupleTreeNode with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RelationTupleTreeNodeValidationError

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

RelationTupleTreeNodeValidationError is the validation error returned by RelationTupleTreeNode.Validate if the designated constraints aren't met.

func (RelationTupleTreeNodeValidationError) Cause

Cause function returns cause value.

func (RelationTupleTreeNodeValidationError) Error

Error satisfies the builtin error interface

func (RelationTupleTreeNodeValidationError) ErrorName

ErrorName returns error name.

func (RelationTupleTreeNodeValidationError) Field

Field function returns field value.

func (RelationTupleTreeNodeValidationError) Key

Key function returns key value.

func (RelationTupleTreeNodeValidationError) Reason

Reason function returns reason value.

type RelationTupleTreeNode_IntermediateNode

type RelationTupleTreeNode_IntermediateNode struct {
	IntermediateNode *SetOperationUserset `protobuf:"bytes,1,opt,name=intermediate_node,json=intermediateNode,proto3,oneof"`
}

type RelationTupleTreeNode_LeafNode

type RelationTupleTreeNode_LeafNode struct {
	LeafNode *DirectUserset `protobuf:"bytes,2,opt,name=leaf_node,json=leafNode,proto3,oneof"`
}

type RelationTupleUpdate

type RelationTupleUpdate struct {
	Operation RelationTupleUpdate_Operation `protobuf:"varint,1,opt,name=operation,proto3,enum=authzed.api.v0.RelationTupleUpdate_Operation" json:"operation,omitempty"`
	Tuple     *RelationTuple                `protobuf:"bytes,2,opt,name=tuple,proto3" json:"tuple,omitempty"`
	// contains filtered or unexported fields
}

func (*RelationTupleUpdate) Descriptor deprecated

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

Deprecated: Use RelationTupleUpdate.ProtoReflect.Descriptor instead.

func (*RelationTupleUpdate) GetOperation

func (*RelationTupleUpdate) GetTuple

func (x *RelationTupleUpdate) GetTuple() *RelationTuple

func (*RelationTupleUpdate) HandwrittenValidate added in v0.4.0

func (m *RelationTupleUpdate) HandwrittenValidate() error

func (*RelationTupleUpdate) ProtoMessage

func (*RelationTupleUpdate) ProtoMessage()

func (*RelationTupleUpdate) ProtoReflect

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

func (*RelationTupleUpdate) Reset

func (x *RelationTupleUpdate) Reset()

func (*RelationTupleUpdate) String

func (x *RelationTupleUpdate) String() string

func (*RelationTupleUpdate) Validate

func (m *RelationTupleUpdate) Validate() error

Validate checks the field values on RelationTupleUpdate with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RelationTupleUpdateValidationError

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

RelationTupleUpdateValidationError is the validation error returned by RelationTupleUpdate.Validate if the designated constraints aren't met.

func (RelationTupleUpdateValidationError) Cause

Cause function returns cause value.

func (RelationTupleUpdateValidationError) Error

Error satisfies the builtin error interface

func (RelationTupleUpdateValidationError) ErrorName

ErrorName returns error name.

func (RelationTupleUpdateValidationError) Field

Field function returns field value.

func (RelationTupleUpdateValidationError) Key

Key function returns key value.

func (RelationTupleUpdateValidationError) Reason

Reason function returns reason value.

type RelationTupleUpdate_Operation

type RelationTupleUpdate_Operation int32
const (
	RelationTupleUpdate_UNKNOWN RelationTupleUpdate_Operation = 0
	RelationTupleUpdate_CREATE  RelationTupleUpdate_Operation = 1
	RelationTupleUpdate_TOUCH   RelationTupleUpdate_Operation = 2
	RelationTupleUpdate_DELETE  RelationTupleUpdate_Operation = 3
)

func (RelationTupleUpdate_Operation) Descriptor

func (RelationTupleUpdate_Operation) Enum

func (RelationTupleUpdate_Operation) EnumDescriptor deprecated

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

Deprecated: Use RelationTupleUpdate_Operation.Descriptor instead.

func (RelationTupleUpdate_Operation) Number

func (RelationTupleUpdate_Operation) String

func (RelationTupleUpdate_Operation) Type

type RelationTupleValidationError

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

RelationTupleValidationError is the validation error returned by RelationTuple.Validate if the designated constraints aren't met.

func (RelationTupleValidationError) Cause

Cause function returns cause value.

func (RelationTupleValidationError) Error

Error satisfies the builtin error interface

func (RelationTupleValidationError) ErrorName

func (e RelationTupleValidationError) ErrorName() string

ErrorName returns error name.

func (RelationTupleValidationError) Field

Field function returns field value.

func (RelationTupleValidationError) Key

Key function returns key value.

func (RelationTupleValidationError) Reason

Reason function returns reason value.

type RelationValidationError

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

RelationValidationError is the validation error returned by Relation.Validate if the designated constraints aren't met.

func (RelationValidationError) Cause

func (e RelationValidationError) Cause() error

Cause function returns cause value.

func (RelationValidationError) Error

func (e RelationValidationError) Error() string

Error satisfies the builtin error interface

func (RelationValidationError) ErrorName

func (e RelationValidationError) ErrorName() string

ErrorName returns error name.

func (RelationValidationError) Field

func (e RelationValidationError) Field() string

Field function returns field value.

func (RelationValidationError) Key

func (e RelationValidationError) Key() bool

Key function returns key value.

func (RelationValidationError) Reason

func (e RelationValidationError) Reason() string

Reason function returns reason value.

type RequestContext

type RequestContext struct {
	Schema          string                 `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"`
	Relationships   []*RelationTuple       `protobuf:"bytes,2,rep,name=relationships,proto3" json:"relationships,omitempty"`
	LegacyNsConfigs []*NamespaceDefinition `protobuf:"bytes,3,rep,name=legacy_ns_configs,json=legacyNsConfigs,proto3" json:"legacy_ns_configs,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestContext) Descriptor deprecated

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

Deprecated: Use RequestContext.ProtoReflect.Descriptor instead.

func (*RequestContext) GetLegacyNsConfigs added in v0.1.0

func (x *RequestContext) GetLegacyNsConfigs() []*NamespaceDefinition

func (*RequestContext) GetRelationships

func (x *RequestContext) GetRelationships() []*RelationTuple

func (*RequestContext) GetSchema

func (x *RequestContext) GetSchema() string

func (*RequestContext) ProtoMessage

func (*RequestContext) ProtoMessage()

func (*RequestContext) ProtoReflect

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

func (*RequestContext) Reset

func (x *RequestContext) Reset()

func (*RequestContext) String

func (x *RequestContext) String() string

func (*RequestContext) Validate

func (m *RequestContext) Validate() error

Validate checks the field values on RequestContext with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RequestContextValidationError

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

RequestContextValidationError is the validation error returned by RequestContext.Validate if the designated constraints aren't met.

func (RequestContextValidationError) Cause

Cause function returns cause value.

func (RequestContextValidationError) Error

Error satisfies the builtin error interface

func (RequestContextValidationError) ErrorName

func (e RequestContextValidationError) ErrorName() string

ErrorName returns error name.

func (RequestContextValidationError) Field

Field function returns field value.

func (RequestContextValidationError) Key

Key function returns key value.

func (RequestContextValidationError) Reason

Reason function returns reason value.

type SetOperation

type SetOperation struct {
	Child []*SetOperation_Child `protobuf:"bytes,1,rep,name=child,proto3" json:"child,omitempty"`
	// contains filtered or unexported fields
}

func (*SetOperation) Descriptor deprecated

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

Deprecated: Use SetOperation.ProtoReflect.Descriptor instead.

func (*SetOperation) GetChild

func (x *SetOperation) GetChild() []*SetOperation_Child

func (*SetOperation) ProtoMessage

func (*SetOperation) ProtoMessage()

func (*SetOperation) ProtoReflect

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

func (*SetOperation) Reset

func (x *SetOperation) Reset()

func (*SetOperation) String

func (x *SetOperation) String() string

func (*SetOperation) Validate

func (m *SetOperation) Validate() error

Validate checks the field values on SetOperation with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type SetOperationUserset

type SetOperationUserset struct {
	Operation  SetOperationUserset_Operation `protobuf:"varint,1,opt,name=operation,proto3,enum=authzed.api.v0.SetOperationUserset_Operation" json:"operation,omitempty"`
	ChildNodes []*RelationTupleTreeNode      `protobuf:"bytes,2,rep,name=child_nodes,json=childNodes,proto3" json:"child_nodes,omitempty"`
	// contains filtered or unexported fields
}

func (*SetOperationUserset) Descriptor deprecated

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

Deprecated: Use SetOperationUserset.ProtoReflect.Descriptor instead.

func (*SetOperationUserset) GetChildNodes

func (x *SetOperationUserset) GetChildNodes() []*RelationTupleTreeNode

func (*SetOperationUserset) GetOperation

func (*SetOperationUserset) ProtoMessage

func (*SetOperationUserset) ProtoMessage()

func (*SetOperationUserset) ProtoReflect

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

func (*SetOperationUserset) Reset

func (x *SetOperationUserset) Reset()

func (*SetOperationUserset) String

func (x *SetOperationUserset) String() string

func (*SetOperationUserset) Validate

func (m *SetOperationUserset) Validate() error

Validate checks the field values on SetOperationUserset with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type SetOperationUsersetValidationError

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

SetOperationUsersetValidationError is the validation error returned by SetOperationUserset.Validate if the designated constraints aren't met.

func (SetOperationUsersetValidationError) Cause

Cause function returns cause value.

func (SetOperationUsersetValidationError) Error

Error satisfies the builtin error interface

func (SetOperationUsersetValidationError) ErrorName

ErrorName returns error name.

func (SetOperationUsersetValidationError) Field

Field function returns field value.

func (SetOperationUsersetValidationError) Key

Key function returns key value.

func (SetOperationUsersetValidationError) Reason

Reason function returns reason value.

type SetOperationUserset_Operation

type SetOperationUserset_Operation int32
const (
	SetOperationUserset_INVALID      SetOperationUserset_Operation = 0
	SetOperationUserset_UNION        SetOperationUserset_Operation = 1
	SetOperationUserset_INTERSECTION SetOperationUserset_Operation = 2
	SetOperationUserset_EXCLUSION    SetOperationUserset_Operation = 3
)

func (SetOperationUserset_Operation) Descriptor

func (SetOperationUserset_Operation) Enum

func (SetOperationUserset_Operation) EnumDescriptor deprecated

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

Deprecated: Use SetOperationUserset_Operation.Descriptor instead.

func (SetOperationUserset_Operation) Number

func (SetOperationUserset_Operation) String

func (SetOperationUserset_Operation) Type

type SetOperationValidationError

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

SetOperationValidationError is the validation error returned by SetOperation.Validate if the designated constraints aren't met.

func (SetOperationValidationError) Cause

Cause function returns cause value.

func (SetOperationValidationError) Error

Error satisfies the builtin error interface

func (SetOperationValidationError) ErrorName

func (e SetOperationValidationError) ErrorName() string

ErrorName returns error name.

func (SetOperationValidationError) Field

Field function returns field value.

func (SetOperationValidationError) Key

Key function returns key value.

func (SetOperationValidationError) Reason

Reason function returns reason value.

type SetOperation_Child

type SetOperation_Child struct {

	// Types that are assignable to ChildType:
	//	*SetOperation_Child_XThis
	//	*SetOperation_Child_ComputedUserset
	//	*SetOperation_Child_TupleToUserset
	//	*SetOperation_Child_UsersetRewrite
	ChildType isSetOperation_Child_ChildType `protobuf_oneof:"child_type"`
	// contains filtered or unexported fields
}

func (*SetOperation_Child) Descriptor deprecated

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

Deprecated: Use SetOperation_Child.ProtoReflect.Descriptor instead.

func (*SetOperation_Child) GetChildType

func (m *SetOperation_Child) GetChildType() isSetOperation_Child_ChildType

func (*SetOperation_Child) GetComputedUserset

func (x *SetOperation_Child) GetComputedUserset() *ComputedUserset

func (*SetOperation_Child) GetTupleToUserset

func (x *SetOperation_Child) GetTupleToUserset() *TupleToUserset

func (*SetOperation_Child) GetUsersetRewrite

func (x *SetOperation_Child) GetUsersetRewrite() *UsersetRewrite

func (*SetOperation_Child) GetXThis

func (*SetOperation_Child) ProtoMessage

func (*SetOperation_Child) ProtoMessage()

func (*SetOperation_Child) ProtoReflect

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

func (*SetOperation_Child) Reset

func (x *SetOperation_Child) Reset()

func (*SetOperation_Child) String

func (x *SetOperation_Child) String() string

func (*SetOperation_Child) Validate

func (m *SetOperation_Child) Validate() error

Validate checks the field values on SetOperation_Child with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type SetOperation_ChildValidationError

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

SetOperation_ChildValidationError is the validation error returned by SetOperation_Child.Validate if the designated constraints aren't met.

func (SetOperation_ChildValidationError) Cause

Cause function returns cause value.

func (SetOperation_ChildValidationError) Error

Error satisfies the builtin error interface

func (SetOperation_ChildValidationError) ErrorName

ErrorName returns error name.

func (SetOperation_ChildValidationError) Field

Field function returns field value.

func (SetOperation_ChildValidationError) Key

Key function returns key value.

func (SetOperation_ChildValidationError) Reason

Reason function returns reason value.

type SetOperation_Child_ComputedUserset

type SetOperation_Child_ComputedUserset struct {
	ComputedUserset *ComputedUserset `protobuf:"bytes,2,opt,name=computed_userset,json=computedUserset,proto3,oneof"`
}

type SetOperation_Child_This

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

func (*SetOperation_Child_This) Descriptor deprecated

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

Deprecated: Use SetOperation_Child_This.ProtoReflect.Descriptor instead.

func (*SetOperation_Child_This) ProtoMessage

func (*SetOperation_Child_This) ProtoMessage()

func (*SetOperation_Child_This) ProtoReflect

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

func (*SetOperation_Child_This) Reset

func (x *SetOperation_Child_This) Reset()

func (*SetOperation_Child_This) String

func (x *SetOperation_Child_This) String() string

func (*SetOperation_Child_This) Validate

func (m *SetOperation_Child_This) Validate() error

Validate checks the field values on SetOperation_Child_This with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type SetOperation_Child_ThisValidationError

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

SetOperation_Child_ThisValidationError is the validation error returned by SetOperation_Child_This.Validate if the designated constraints aren't met.

func (SetOperation_Child_ThisValidationError) Cause

Cause function returns cause value.

func (SetOperation_Child_ThisValidationError) Error

Error satisfies the builtin error interface

func (SetOperation_Child_ThisValidationError) ErrorName

ErrorName returns error name.

func (SetOperation_Child_ThisValidationError) Field

Field function returns field value.

func (SetOperation_Child_ThisValidationError) Key

Key function returns key value.

func (SetOperation_Child_ThisValidationError) Reason

Reason function returns reason value.

type SetOperation_Child_TupleToUserset

type SetOperation_Child_TupleToUserset struct {
	TupleToUserset *TupleToUserset `protobuf:"bytes,3,opt,name=tuple_to_userset,json=tupleToUserset,proto3,oneof"`
}

type SetOperation_Child_UsersetRewrite

type SetOperation_Child_UsersetRewrite struct {
	UsersetRewrite *UsersetRewrite `protobuf:"bytes,4,opt,name=userset_rewrite,json=usersetRewrite,proto3,oneof"`
}

type SetOperation_Child_XThis

type SetOperation_Child_XThis struct {
	XThis *SetOperation_Child_This `protobuf:"bytes,1,opt,name=_this,json=This,proto3,oneof"`
}

type ShareRequest

type ShareRequest struct {
	Schema            string `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"`
	RelationshipsYaml string `protobuf:"bytes,2,opt,name=relationships_yaml,json=relationshipsYaml,proto3" json:"relationships_yaml,omitempty"`
	ValidationYaml    string `protobuf:"bytes,3,opt,name=validation_yaml,json=validationYaml,proto3" json:"validation_yaml,omitempty"`
	AssertionsYaml    string `protobuf:"bytes,4,opt,name=assertions_yaml,json=assertionsYaml,proto3" json:"assertions_yaml,omitempty"`
	// contains filtered or unexported fields
}

func (*ShareRequest) Descriptor deprecated

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

Deprecated: Use ShareRequest.ProtoReflect.Descriptor instead.

func (*ShareRequest) GetAssertionsYaml

func (x *ShareRequest) GetAssertionsYaml() string

func (*ShareRequest) GetRelationshipsYaml

func (x *ShareRequest) GetRelationshipsYaml() string

func (*ShareRequest) GetSchema

func (x *ShareRequest) GetSchema() string

func (*ShareRequest) GetValidationYaml

func (x *ShareRequest) GetValidationYaml() string

func (*ShareRequest) ProtoMessage

func (*ShareRequest) ProtoMessage()

func (*ShareRequest) ProtoReflect

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

func (*ShareRequest) Reset

func (x *ShareRequest) Reset()

func (*ShareRequest) String

func (x *ShareRequest) String() string

func (*ShareRequest) Validate

func (m *ShareRequest) Validate() error

Validate checks the field values on ShareRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ShareRequestValidationError

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

ShareRequestValidationError is the validation error returned by ShareRequest.Validate if the designated constraints aren't met.

func (ShareRequestValidationError) Cause

Cause function returns cause value.

func (ShareRequestValidationError) Error

Error satisfies the builtin error interface

func (ShareRequestValidationError) ErrorName

func (e ShareRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ShareRequestValidationError) Field

Field function returns field value.

func (ShareRequestValidationError) Key

Key function returns key value.

func (ShareRequestValidationError) Reason

Reason function returns reason value.

type ShareResponse

type ShareResponse struct {
	ShareReference string `protobuf:"bytes,1,opt,name=share_reference,json=shareReference,proto3" json:"share_reference,omitempty"`
	// contains filtered or unexported fields
}

func (*ShareResponse) Descriptor deprecated

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

Deprecated: Use ShareResponse.ProtoReflect.Descriptor instead.

func (*ShareResponse) GetShareReference

func (x *ShareResponse) GetShareReference() string

func (*ShareResponse) ProtoMessage

func (*ShareResponse) ProtoMessage()

func (*ShareResponse) ProtoReflect

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

func (*ShareResponse) Reset

func (x *ShareResponse) Reset()

func (*ShareResponse) String

func (x *ShareResponse) String() string

func (*ShareResponse) Validate

func (m *ShareResponse) Validate() error

Validate checks the field values on ShareResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ShareResponseValidationError

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

ShareResponseValidationError is the validation error returned by ShareResponse.Validate if the designated constraints aren't met.

func (ShareResponseValidationError) Cause

Cause function returns cause value.

func (ShareResponseValidationError) Error

Error satisfies the builtin error interface

func (ShareResponseValidationError) ErrorName

func (e ShareResponseValidationError) ErrorName() string

ErrorName returns error name.

func (ShareResponseValidationError) Field

Field function returns field value.

func (ShareResponseValidationError) Key

Key function returns key value.

func (ShareResponseValidationError) Reason

Reason function returns reason value.

type TupleToUserset

type TupleToUserset struct {
	Tupleset        *TupleToUserset_Tupleset `protobuf:"bytes,1,opt,name=tupleset,proto3" json:"tupleset,omitempty"`
	ComputedUserset *ComputedUserset         `protobuf:"bytes,2,opt,name=computed_userset,json=computedUserset,proto3" json:"computed_userset,omitempty"`
	// contains filtered or unexported fields
}

func (*TupleToUserset) Descriptor deprecated

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

Deprecated: Use TupleToUserset.ProtoReflect.Descriptor instead.

func (*TupleToUserset) GetComputedUserset

func (x *TupleToUserset) GetComputedUserset() *ComputedUserset

func (*TupleToUserset) GetTupleset

func (x *TupleToUserset) GetTupleset() *TupleToUserset_Tupleset

func (*TupleToUserset) ProtoMessage

func (*TupleToUserset) ProtoMessage()

func (*TupleToUserset) ProtoReflect

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

func (*TupleToUserset) Reset

func (x *TupleToUserset) Reset()

func (*TupleToUserset) String

func (x *TupleToUserset) String() string

func (*TupleToUserset) Validate

func (m *TupleToUserset) Validate() error

Validate checks the field values on TupleToUserset with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type TupleToUsersetValidationError

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

TupleToUsersetValidationError is the validation error returned by TupleToUserset.Validate if the designated constraints aren't met.

func (TupleToUsersetValidationError) Cause

Cause function returns cause value.

func (TupleToUsersetValidationError) Error

Error satisfies the builtin error interface

func (TupleToUsersetValidationError) ErrorName

func (e TupleToUsersetValidationError) ErrorName() string

ErrorName returns error name.

func (TupleToUsersetValidationError) Field

Field function returns field value.

func (TupleToUsersetValidationError) Key

Key function returns key value.

func (TupleToUsersetValidationError) Reason

Reason function returns reason value.

type TupleToUserset_Tupleset

type TupleToUserset_Tupleset struct {
	Relation string `protobuf:"bytes,1,opt,name=relation,proto3" json:"relation,omitempty"`
	// contains filtered or unexported fields
}

func (*TupleToUserset_Tupleset) Descriptor deprecated

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

Deprecated: Use TupleToUserset_Tupleset.ProtoReflect.Descriptor instead.

func (*TupleToUserset_Tupleset) GetRelation

func (x *TupleToUserset_Tupleset) GetRelation() string

func (*TupleToUserset_Tupleset) ProtoMessage

func (*TupleToUserset_Tupleset) ProtoMessage()

func (*TupleToUserset_Tupleset) ProtoReflect

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

func (*TupleToUserset_Tupleset) Reset

func (x *TupleToUserset_Tupleset) Reset()

func (*TupleToUserset_Tupleset) String

func (x *TupleToUserset_Tupleset) String() string

func (*TupleToUserset_Tupleset) Validate

func (m *TupleToUserset_Tupleset) Validate() error

Validate checks the field values on TupleToUserset_Tupleset with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type TupleToUserset_TuplesetValidationError

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

TupleToUserset_TuplesetValidationError is the validation error returned by TupleToUserset_Tupleset.Validate if the designated constraints aren't met.

func (TupleToUserset_TuplesetValidationError) Cause

Cause function returns cause value.

func (TupleToUserset_TuplesetValidationError) Error

Error satisfies the builtin error interface

func (TupleToUserset_TuplesetValidationError) ErrorName

ErrorName returns error name.

func (TupleToUserset_TuplesetValidationError) Field

Field function returns field value.

func (TupleToUserset_TuplesetValidationError) Key

Key function returns key value.

func (TupleToUserset_TuplesetValidationError) Reason

Reason function returns reason value.

type TypeInformation

type TypeInformation struct {
	AllowedDirectRelations []*AllowedRelation `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TypeInformation) Descriptor deprecated

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

Deprecated: Use TypeInformation.ProtoReflect.Descriptor instead.

func (*TypeInformation) GetAllowedDirectRelations

func (x *TypeInformation) GetAllowedDirectRelations() []*AllowedRelation

func (*TypeInformation) ProtoMessage

func (*TypeInformation) ProtoMessage()

func (*TypeInformation) ProtoReflect

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

func (*TypeInformation) Reset

func (x *TypeInformation) Reset()

func (*TypeInformation) String

func (x *TypeInformation) String() string

func (*TypeInformation) Validate

func (m *TypeInformation) Validate() error

Validate checks the field values on TypeInformation with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type TypeInformationValidationError

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

TypeInformationValidationError is the validation error returned by TypeInformation.Validate if the designated constraints aren't met.

func (TypeInformationValidationError) Cause

Cause function returns cause value.

func (TypeInformationValidationError) Error

Error satisfies the builtin error interface

func (TypeInformationValidationError) ErrorName

func (e TypeInformationValidationError) ErrorName() string

ErrorName returns error name.

func (TypeInformationValidationError) Field

Field function returns field value.

func (TypeInformationValidationError) Key

Key function returns key value.

func (TypeInformationValidationError) Reason

Reason function returns reason value.

type UnimplementedACLServiceServer

type UnimplementedACLServiceServer struct {
}

UnimplementedACLServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedACLServiceServer) Check

func (UnimplementedACLServiceServer) ContentChangeCheck

func (UnimplementedACLServiceServer) Expand

func (UnimplementedACLServiceServer) Lookup

func (UnimplementedACLServiceServer) Read

func (UnimplementedACLServiceServer) Write

type UnimplementedDeveloperServiceServer

type UnimplementedDeveloperServiceServer struct {
}

UnimplementedDeveloperServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedDeveloperServiceServer) EditCheck

func (UnimplementedDeveloperServiceServer) FormatSchema added in v0.1.0

func (UnimplementedDeveloperServiceServer) LookupShared

func (UnimplementedDeveloperServiceServer) Share

func (UnimplementedDeveloperServiceServer) UpgradeSchema

func (UnimplementedDeveloperServiceServer) Validate

type UnimplementedNamespaceServiceServer

type UnimplementedNamespaceServiceServer struct {
}

UnimplementedNamespaceServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedNamespaceServiceServer) DeleteConfigs added in v0.2.0

func (UnimplementedNamespaceServiceServer) ReadConfig

func (UnimplementedNamespaceServiceServer) WriteConfig

type UnimplementedWatchServiceServer

type UnimplementedWatchServiceServer struct {
}

UnimplementedWatchServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedWatchServiceServer) Watch

type UnsafeACLServiceServer

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

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

type UnsafeDeveloperServiceServer

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

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

type UnsafeNamespaceServiceServer

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

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

type UnsafeWatchServiceServer

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

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

type UpgradeSchemaRequest

type UpgradeSchemaRequest struct {
	NamespaceConfigs []string `protobuf:"bytes,1,rep,name=namespace_configs,json=namespaceConfigs,proto3" json:"namespace_configs,omitempty"`
	// contains filtered or unexported fields
}

func (*UpgradeSchemaRequest) Descriptor deprecated

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

Deprecated: Use UpgradeSchemaRequest.ProtoReflect.Descriptor instead.

func (*UpgradeSchemaRequest) GetNamespaceConfigs

func (x *UpgradeSchemaRequest) GetNamespaceConfigs() []string

func (*UpgradeSchemaRequest) ProtoMessage

func (*UpgradeSchemaRequest) ProtoMessage()

func (*UpgradeSchemaRequest) ProtoReflect

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

func (*UpgradeSchemaRequest) Reset

func (x *UpgradeSchemaRequest) Reset()

func (*UpgradeSchemaRequest) String

func (x *UpgradeSchemaRequest) String() string

func (*UpgradeSchemaRequest) Validate

func (m *UpgradeSchemaRequest) Validate() error

Validate checks the field values on UpgradeSchemaRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type UpgradeSchemaRequestValidationError

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

UpgradeSchemaRequestValidationError is the validation error returned by UpgradeSchemaRequest.Validate if the designated constraints aren't met.

func (UpgradeSchemaRequestValidationError) Cause

Cause function returns cause value.

func (UpgradeSchemaRequestValidationError) Error

Error satisfies the builtin error interface

func (UpgradeSchemaRequestValidationError) ErrorName

ErrorName returns error name.

func (UpgradeSchemaRequestValidationError) Field

Field function returns field value.

func (UpgradeSchemaRequestValidationError) Key

Key function returns key value.

func (UpgradeSchemaRequestValidationError) Reason

Reason function returns reason value.

type UpgradeSchemaResponse

type UpgradeSchemaResponse struct {
	Error          *DeveloperError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	UpgradedSchema string          `protobuf:"bytes,2,opt,name=upgraded_schema,json=upgradedSchema,proto3" json:"upgraded_schema,omitempty"`
	// contains filtered or unexported fields
}

func (*UpgradeSchemaResponse) Descriptor deprecated

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

Deprecated: Use UpgradeSchemaResponse.ProtoReflect.Descriptor instead.

func (*UpgradeSchemaResponse) GetError

func (x *UpgradeSchemaResponse) GetError() *DeveloperError

func (*UpgradeSchemaResponse) GetUpgradedSchema

func (x *UpgradeSchemaResponse) GetUpgradedSchema() string

func (*UpgradeSchemaResponse) ProtoMessage

func (*UpgradeSchemaResponse) ProtoMessage()

func (*UpgradeSchemaResponse) ProtoReflect

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

func (*UpgradeSchemaResponse) Reset

func (x *UpgradeSchemaResponse) Reset()

func (*UpgradeSchemaResponse) String

func (x *UpgradeSchemaResponse) String() string

func (*UpgradeSchemaResponse) Validate

func (m *UpgradeSchemaResponse) Validate() error

Validate checks the field values on UpgradeSchemaResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type UpgradeSchemaResponseValidationError

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

UpgradeSchemaResponseValidationError is the validation error returned by UpgradeSchemaResponse.Validate if the designated constraints aren't met.

func (UpgradeSchemaResponseValidationError) Cause

Cause function returns cause value.

func (UpgradeSchemaResponseValidationError) Error

Error satisfies the builtin error interface

func (UpgradeSchemaResponseValidationError) ErrorName

ErrorName returns error name.

func (UpgradeSchemaResponseValidationError) Field

Field function returns field value.

func (UpgradeSchemaResponseValidationError) Key

Key function returns key value.

func (UpgradeSchemaResponseValidationError) Reason

Reason function returns reason value.

type User

type User struct {

	// Types that are assignable to UserOneof:
	//	*User_Userset
	UserOneof isUser_UserOneof `protobuf_oneof:"user_oneof"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetUserOneof

func (m *User) GetUserOneof() isUser_UserOneof

func (*User) GetUserset

func (x *User) GetUserset() *ObjectAndRelation

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

func (*User) Validate

func (m *User) Validate() error

Validate checks the field values on User with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type UserValidationError

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

UserValidationError is the validation error returned by User.Validate if the designated constraints aren't met.

func (UserValidationError) Cause

func (e UserValidationError) Cause() error

Cause function returns cause value.

func (UserValidationError) Error

func (e UserValidationError) Error() string

Error satisfies the builtin error interface

func (UserValidationError) ErrorName

func (e UserValidationError) ErrorName() string

ErrorName returns error name.

func (UserValidationError) Field

func (e UserValidationError) Field() string

Field function returns field value.

func (UserValidationError) Key

func (e UserValidationError) Key() bool

Key function returns key value.

func (UserValidationError) Reason

func (e UserValidationError) Reason() string

Reason function returns reason value.

type User_Userset

type User_Userset struct {
	Userset *ObjectAndRelation `protobuf:"bytes,2,opt,name=userset,proto3,oneof"`
}

type UsersetRewrite

type UsersetRewrite struct {

	// Types that are assignable to RewriteOperation:
	//	*UsersetRewrite_Union
	//	*UsersetRewrite_Intersection
	//	*UsersetRewrite_Exclusion
	RewriteOperation isUsersetRewrite_RewriteOperation `protobuf_oneof:"rewrite_operation"`
	// contains filtered or unexported fields
}

func (*UsersetRewrite) Descriptor deprecated

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

Deprecated: Use UsersetRewrite.ProtoReflect.Descriptor instead.

func (*UsersetRewrite) GetExclusion

func (x *UsersetRewrite) GetExclusion() *SetOperation

func (*UsersetRewrite) GetIntersection

func (x *UsersetRewrite) GetIntersection() *SetOperation

func (*UsersetRewrite) GetRewriteOperation

func (m *UsersetRewrite) GetRewriteOperation() isUsersetRewrite_RewriteOperation

func (*UsersetRewrite) GetUnion

func (x *UsersetRewrite) GetUnion() *SetOperation

func (*UsersetRewrite) ProtoMessage

func (*UsersetRewrite) ProtoMessage()

func (*UsersetRewrite) ProtoReflect

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

func (*UsersetRewrite) Reset

func (x *UsersetRewrite) Reset()

func (*UsersetRewrite) String

func (x *UsersetRewrite) String() string

func (*UsersetRewrite) Validate

func (m *UsersetRewrite) Validate() error

Validate checks the field values on UsersetRewrite with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type UsersetRewriteValidationError

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

UsersetRewriteValidationError is the validation error returned by UsersetRewrite.Validate if the designated constraints aren't met.

func (UsersetRewriteValidationError) Cause

Cause function returns cause value.

func (UsersetRewriteValidationError) Error

Error satisfies the builtin error interface

func (UsersetRewriteValidationError) ErrorName

func (e UsersetRewriteValidationError) ErrorName() string

ErrorName returns error name.

func (UsersetRewriteValidationError) Field

Field function returns field value.

func (UsersetRewriteValidationError) Key

Key function returns key value.

func (UsersetRewriteValidationError) Reason

Reason function returns reason value.

type UsersetRewrite_Exclusion

type UsersetRewrite_Exclusion struct {
	Exclusion *SetOperation `protobuf:"bytes,3,opt,name=exclusion,proto3,oneof"`
}

type UsersetRewrite_Intersection

type UsersetRewrite_Intersection struct {
	Intersection *SetOperation `protobuf:"bytes,2,opt,name=intersection,proto3,oneof"`
}

type UsersetRewrite_Union

type UsersetRewrite_Union struct {
	Union *SetOperation `protobuf:"bytes,1,opt,name=union,proto3,oneof"`
}

type ValidateRequest

type ValidateRequest struct {
	Context              *RequestContext `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	ValidationYaml       string          `protobuf:"bytes,3,opt,name=validation_yaml,json=validationYaml,proto3" json:"validation_yaml,omitempty"`
	UpdateValidationYaml bool            `protobuf:"varint,4,opt,name=update_validation_yaml,json=updateValidationYaml,proto3" json:"update_validation_yaml,omitempty"`
	AssertionsYaml       string          `protobuf:"bytes,5,opt,name=assertions_yaml,json=assertionsYaml,proto3" json:"assertions_yaml,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateRequest) Descriptor deprecated

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

Deprecated: Use ValidateRequest.ProtoReflect.Descriptor instead.

func (*ValidateRequest) GetAssertionsYaml

func (x *ValidateRequest) GetAssertionsYaml() string

func (*ValidateRequest) GetContext

func (x *ValidateRequest) GetContext() *RequestContext

func (*ValidateRequest) GetUpdateValidationYaml

func (x *ValidateRequest) GetUpdateValidationYaml() bool

func (*ValidateRequest) GetValidationYaml

func (x *ValidateRequest) GetValidationYaml() string

func (*ValidateRequest) ProtoMessage

func (*ValidateRequest) ProtoMessage()

func (*ValidateRequest) ProtoReflect

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

func (*ValidateRequest) Reset

func (x *ValidateRequest) Reset()

func (*ValidateRequest) String

func (x *ValidateRequest) String() string

func (*ValidateRequest) Validate

func (m *ValidateRequest) Validate() error

Validate checks the field values on ValidateRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ValidateRequestValidationError

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

ValidateRequestValidationError is the validation error returned by ValidateRequest.Validate if the designated constraints aren't met.

func (ValidateRequestValidationError) Cause

Cause function returns cause value.

func (ValidateRequestValidationError) Error

Error satisfies the builtin error interface

func (ValidateRequestValidationError) ErrorName

func (e ValidateRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ValidateRequestValidationError) Field

Field function returns field value.

func (ValidateRequestValidationError) Key

Key function returns key value.

func (ValidateRequestValidationError) Reason

Reason function returns reason value.

type ValidateResponse

type ValidateResponse struct {
	RequestErrors         []*DeveloperError `protobuf:"bytes,1,rep,name=request_errors,json=requestErrors,proto3" json:"request_errors,omitempty"`
	ValidationErrors      []*DeveloperError `protobuf:"bytes,2,rep,name=validation_errors,json=validationErrors,proto3" json:"validation_errors,omitempty"`
	UpdatedValidationYaml string            `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ValidateResponse) Descriptor deprecated

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

Deprecated: Use ValidateResponse.ProtoReflect.Descriptor instead.

func (*ValidateResponse) GetRequestErrors

func (x *ValidateResponse) GetRequestErrors() []*DeveloperError

func (*ValidateResponse) GetUpdatedValidationYaml

func (x *ValidateResponse) GetUpdatedValidationYaml() string

func (*ValidateResponse) GetValidationErrors

func (x *ValidateResponse) GetValidationErrors() []*DeveloperError

func (*ValidateResponse) ProtoMessage

func (*ValidateResponse) ProtoMessage()

func (*ValidateResponse) ProtoReflect

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

func (*ValidateResponse) Reset

func (x *ValidateResponse) Reset()

func (*ValidateResponse) String

func (x *ValidateResponse) String() string

func (*ValidateResponse) Validate

func (m *ValidateResponse) Validate() error

Validate checks the field values on ValidateResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ValidateResponseValidationError

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

ValidateResponseValidationError is the validation error returned by ValidateResponse.Validate if the designated constraints aren't met.

func (ValidateResponseValidationError) Cause

Cause function returns cause value.

func (ValidateResponseValidationError) Error

Error satisfies the builtin error interface

func (ValidateResponseValidationError) ErrorName

ErrorName returns error name.

func (ValidateResponseValidationError) Field

Field function returns field value.

func (ValidateResponseValidationError) Key

Key function returns key value.

func (ValidateResponseValidationError) Reason

Reason function returns reason value.

type WatchRequest

type WatchRequest struct {

	// A watch request specifies one or more namespaces and a zookie
	// representing the time to start watching.
	Namespaces    []string `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
	StartRevision *Zookie  `protobuf:"bytes,2,opt,name=start_revision,json=startRevision,proto3" json:"start_revision,omitempty"`
	// contains filtered or unexported fields
}

func (*WatchRequest) Descriptor deprecated

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

Deprecated: Use WatchRequest.ProtoReflect.Descriptor instead.

func (*WatchRequest) GetNamespaces

func (x *WatchRequest) GetNamespaces() []string

func (*WatchRequest) GetStartRevision

func (x *WatchRequest) GetStartRevision() *Zookie

func (*WatchRequest) ProtoMessage

func (*WatchRequest) ProtoMessage()

func (*WatchRequest) ProtoReflect

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

func (*WatchRequest) Reset

func (x *WatchRequest) Reset()

func (*WatchRequest) String

func (x *WatchRequest) String() string

func (*WatchRequest) Validate

func (m *WatchRequest) Validate() error

Validate checks the field values on WatchRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type WatchRequestValidationError

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

WatchRequestValidationError is the validation error returned by WatchRequest.Validate if the designated constraints aren't met.

func (WatchRequestValidationError) Cause

Cause function returns cause value.

func (WatchRequestValidationError) Error

Error satisfies the builtin error interface

func (WatchRequestValidationError) ErrorName

func (e WatchRequestValidationError) ErrorName() string

ErrorName returns error name.

func (WatchRequestValidationError) Field

Field function returns field value.

func (WatchRequestValidationError) Key

Key function returns key value.

func (WatchRequestValidationError) Reason

Reason function returns reason value.

type WatchResponse

type WatchResponse struct {

	// A watch response contains all tuple modification events in ascending
	// timestamp order, from the requested start timestamp to a timestamp
	// encoded in a heartbeat zookie included in the watch response. The client
	// can use the heartbeat zookie to resume watching where the previous watch
	// response left off.
	Updates     []*RelationTupleUpdate `protobuf:"bytes,1,rep,name=updates,proto3" json:"updates,omitempty"`
	EndRevision *Zookie                `protobuf:"bytes,2,opt,name=end_revision,json=endRevision,proto3" json:"end_revision,omitempty"`
	// contains filtered or unexported fields
}

func (*WatchResponse) Descriptor deprecated

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

Deprecated: Use WatchResponse.ProtoReflect.Descriptor instead.

func (*WatchResponse) GetEndRevision

func (x *WatchResponse) GetEndRevision() *Zookie

func (*WatchResponse) GetUpdates

func (x *WatchResponse) GetUpdates() []*RelationTupleUpdate

func (*WatchResponse) ProtoMessage

func (*WatchResponse) ProtoMessage()

func (*WatchResponse) ProtoReflect

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

func (*WatchResponse) Reset

func (x *WatchResponse) Reset()

func (*WatchResponse) String

func (x *WatchResponse) String() string

func (*WatchResponse) Validate

func (m *WatchResponse) Validate() error

Validate checks the field values on WatchResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type WatchResponseValidationError

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

WatchResponseValidationError is the validation error returned by WatchResponse.Validate if the designated constraints aren't met.

func (WatchResponseValidationError) Cause

Cause function returns cause value.

func (WatchResponseValidationError) Error

Error satisfies the builtin error interface

func (WatchResponseValidationError) ErrorName

func (e WatchResponseValidationError) ErrorName() string

ErrorName returns error name.

func (WatchResponseValidationError) Field

Field function returns field value.

func (WatchResponseValidationError) Key

Key function returns key value.

func (WatchResponseValidationError) Reason

Reason function returns reason value.

type WatchServiceClient

type WatchServiceClient interface {
	Watch(ctx context.Context, in *WatchRequest, opts ...grpc.CallOption) (WatchService_WatchClient, error)
}

WatchServiceClient is the client API for WatchService 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 WatchServiceServer

type WatchServiceServer interface {
	Watch(*WatchRequest, WatchService_WatchServer) error
	// contains filtered or unexported methods
}

WatchServiceServer is the server API for WatchService service. All implementations must embed UnimplementedWatchServiceServer for forward compatibility

type WatchService_WatchClient

type WatchService_WatchClient interface {
	Recv() (*WatchResponse, error)
	grpc.ClientStream
}

type WatchService_WatchServer

type WatchService_WatchServer interface {
	Send(*WatchResponse) error
	grpc.ServerStream
}

type WriteConfigRequest

type WriteConfigRequest struct {
	Configs []*NamespaceDefinition `protobuf:"bytes,2,rep,name=configs,proto3" json:"configs,omitempty"`
	// contains filtered or unexported fields
}

func (*WriteConfigRequest) Descriptor deprecated

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

Deprecated: Use WriteConfigRequest.ProtoReflect.Descriptor instead.

func (*WriteConfigRequest) GetConfigs

func (x *WriteConfigRequest) GetConfigs() []*NamespaceDefinition

func (*WriteConfigRequest) ProtoMessage

func (*WriteConfigRequest) ProtoMessage()

func (*WriteConfigRequest) ProtoReflect

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

func (*WriteConfigRequest) Reset

func (x *WriteConfigRequest) Reset()

func (*WriteConfigRequest) String

func (x *WriteConfigRequest) String() string

func (*WriteConfigRequest) Validate

func (m *WriteConfigRequest) Validate() error

Validate checks the field values on WriteConfigRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type WriteConfigRequestValidationError

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

WriteConfigRequestValidationError is the validation error returned by WriteConfigRequest.Validate if the designated constraints aren't met.

func (WriteConfigRequestValidationError) Cause

Cause function returns cause value.

func (WriteConfigRequestValidationError) Error

Error satisfies the builtin error interface

func (WriteConfigRequestValidationError) ErrorName

ErrorName returns error name.

func (WriteConfigRequestValidationError) Field

Field function returns field value.

func (WriteConfigRequestValidationError) Key

Key function returns key value.

func (WriteConfigRequestValidationError) Reason

Reason function returns reason value.

type WriteConfigResponse

type WriteConfigResponse struct {
	Revision *Zookie `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"`
	// contains filtered or unexported fields
}

func (*WriteConfigResponse) Descriptor deprecated

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

Deprecated: Use WriteConfigResponse.ProtoReflect.Descriptor instead.

func (*WriteConfigResponse) GetRevision

func (x *WriteConfigResponse) GetRevision() *Zookie

func (*WriteConfigResponse) ProtoMessage

func (*WriteConfigResponse) ProtoMessage()

func (*WriteConfigResponse) ProtoReflect

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

func (*WriteConfigResponse) Reset

func (x *WriteConfigResponse) Reset()

func (*WriteConfigResponse) String

func (x *WriteConfigResponse) String() string

func (*WriteConfigResponse) Validate

func (m *WriteConfigResponse) Validate() error

Validate checks the field values on WriteConfigResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type WriteConfigResponseValidationError

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

WriteConfigResponseValidationError is the validation error returned by WriteConfigResponse.Validate if the designated constraints aren't met.

func (WriteConfigResponseValidationError) Cause

Cause function returns cause value.

func (WriteConfigResponseValidationError) Error

Error satisfies the builtin error interface

func (WriteConfigResponseValidationError) ErrorName

ErrorName returns error name.

func (WriteConfigResponseValidationError) Field

Field function returns field value.

func (WriteConfigResponseValidationError) Key

Key function returns key value.

func (WriteConfigResponseValidationError) Reason

Reason function returns reason value.

type WriteRequest

type WriteRequest struct {

	// Clients may modify a single relation tuple to add or remove an ACL. They
	// may also modify all tuples related to an object via a read-modify-write
	// process with optimistic concurrency control [21] that uses a read RPC
	// followed by a write RPC:
	//
	// 1. Read all relation tuples of an object, including a per-object “lock”
	//    tuple.
	// 2. Generate the tuples to write or delete. Send the writes, along with a
	//    touch on the lock tuple, to Zanzibar, with the condition that the
	//    writes will be committed only if the lock tuple has not been modified
	//    since the read.
	// 3. If the write condition is not met, go back to step 1.
	//    The lock tuple is just a regular relation tuple used by clients to
	//    detect write races.
	//
	// The lock tuple is just a regular relation tuple used by clients to
	// detect write races.
	WriteConditions []*RelationTuple       `protobuf:"bytes,1,rep,name=write_conditions,json=writeConditions,proto3" json:"write_conditions,omitempty"` // To be bounded by configuration
	Updates         []*RelationTupleUpdate `protobuf:"bytes,2,rep,name=updates,proto3" json:"updates,omitempty"`
	// contains filtered or unexported fields
}

func (*WriteRequest) Descriptor deprecated

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

Deprecated: Use WriteRequest.ProtoReflect.Descriptor instead.

func (*WriteRequest) GetUpdates

func (x *WriteRequest) GetUpdates() []*RelationTupleUpdate

func (*WriteRequest) GetWriteConditions

func (x *WriteRequest) GetWriteConditions() []*RelationTuple

func (*WriteRequest) HandwrittenValidate added in v0.4.0

func (m *WriteRequest) HandwrittenValidate() error

func (*WriteRequest) ProtoMessage

func (*WriteRequest) ProtoMessage()

func (*WriteRequest) ProtoReflect

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

func (*WriteRequest) Reset

func (x *WriteRequest) Reset()

func (*WriteRequest) String

func (x *WriteRequest) String() string

func (*WriteRequest) Validate

func (m *WriteRequest) Validate() error

Validate checks the field values on WriteRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type WriteRequestValidationError

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

WriteRequestValidationError is the validation error returned by WriteRequest.Validate if the designated constraints aren't met.

func (WriteRequestValidationError) Cause

Cause function returns cause value.

func (WriteRequestValidationError) Error

Error satisfies the builtin error interface

func (WriteRequestValidationError) ErrorName

func (e WriteRequestValidationError) ErrorName() string

ErrorName returns error name.

func (WriteRequestValidationError) Field

Field function returns field value.

func (WriteRequestValidationError) Key

Key function returns key value.

func (WriteRequestValidationError) Reason

Reason function returns reason value.

type WriteResponse

type WriteResponse struct {
	Revision *Zookie `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"`
	// contains filtered or unexported fields
}

func (*WriteResponse) Descriptor deprecated

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

Deprecated: Use WriteResponse.ProtoReflect.Descriptor instead.

func (*WriteResponse) GetRevision

func (x *WriteResponse) GetRevision() *Zookie

func (*WriteResponse) ProtoMessage

func (*WriteResponse) ProtoMessage()

func (*WriteResponse) ProtoReflect

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

func (*WriteResponse) Reset

func (x *WriteResponse) Reset()

func (*WriteResponse) String

func (x *WriteResponse) String() string

func (*WriteResponse) Validate

func (m *WriteResponse) Validate() error

Validate checks the field values on WriteResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type WriteResponseValidationError

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

WriteResponseValidationError is the validation error returned by WriteResponse.Validate if the designated constraints aren't met.

func (WriteResponseValidationError) Cause

Cause function returns cause value.

func (WriteResponseValidationError) Error

Error satisfies the builtin error interface

func (WriteResponseValidationError) ErrorName

func (e WriteResponseValidationError) ErrorName() string

ErrorName returns error name.

func (WriteResponseValidationError) Field

Field function returns field value.

func (WriteResponseValidationError) Key

Key function returns key value.

func (WriteResponseValidationError) Reason

Reason function returns reason value.

type Zookie

type Zookie struct {
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*Zookie) Descriptor deprecated

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

Deprecated: Use Zookie.ProtoReflect.Descriptor instead.

func (*Zookie) GetToken

func (x *Zookie) GetToken() string

func (*Zookie) ProtoMessage

func (*Zookie) ProtoMessage()

func (*Zookie) ProtoReflect

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

func (*Zookie) Reset

func (x *Zookie) Reset()

func (*Zookie) String

func (x *Zookie) String() string

func (*Zookie) Validate

func (m *Zookie) Validate() error

Validate checks the field values on Zookie with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ZookieValidationError

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

ZookieValidationError is the validation error returned by Zookie.Validate if the designated constraints aren't met.

func (ZookieValidationError) Cause

func (e ZookieValidationError) Cause() error

Cause function returns cause value.

func (ZookieValidationError) Error

func (e ZookieValidationError) Error() string

Error satisfies the builtin error interface

func (ZookieValidationError) ErrorName

func (e ZookieValidationError) ErrorName() string

ErrorName returns error name.

func (ZookieValidationError) Field

func (e ZookieValidationError) Field() string

Field function returns field value.

func (ZookieValidationError) Key

func (e ZookieValidationError) Key() bool

Key function returns key value.

func (ZookieValidationError) Reason

func (e ZookieValidationError) Reason() string

Reason function returns reason value.

Jump to

Keyboard shortcuts

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