rtkquerypb

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EndpointType_name = map[int32]string{
		0: "QUERY",
		1: "MUTATION",
	}
	EndpointType_value = map[string]int32{
		"QUERY":    0,
		"MUTATION": 1,
	}
)

Enum value maps for EndpointType.

View Source
var (
	// optional rtkquery.ServiceOptions api = 66699;
	E_Api = &file_rtkquery_rtkquery_proto_extTypes[0]
)

Extension fields to descriptorpb.ServiceOptions.

View Source
var (
	// optional rtkquery.MethodOptions endpoint = 66699;
	E_Endpoint = &file_rtkquery_rtkquery_proto_extTypes[1]
)

Extension fields to descriptorpb.MethodOptions.

View Source
var File_rtkquery_rtkquery_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type EndpointType

type EndpointType int32
const (
	EndpointType_QUERY    EndpointType = 0
	EndpointType_MUTATION EndpointType = 1
)

func (EndpointType) Descriptor

func (EndpointType) Enum

func (x EndpointType) Enum() *EndpointType

func (EndpointType) EnumDescriptor deprecated

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

Deprecated: Use EndpointType.Descriptor instead.

func (EndpointType) Number

func (EndpointType) String

func (x EndpointType) String() string

func (EndpointType) Type

type ListTag

type ListTag struct {
	Tag   string  `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
	Items *string `protobuf:"bytes,2,opt,name=items,proto3,oneof" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTag) Descriptor deprecated

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

Deprecated: Use ListTag.ProtoReflect.Descriptor instead.

func (*ListTag) GetItems

func (x *ListTag) GetItems() string

func (*ListTag) GetTag

func (x *ListTag) GetTag() string

func (*ListTag) ProtoMessage

func (*ListTag) ProtoMessage()

func (*ListTag) ProtoReflect

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

func (*ListTag) Reset

func (x *ListTag) Reset()

func (*ListTag) String

func (x *ListTag) String() string

type MethodOptions

type MethodOptions struct {
	Type *EndpointType `protobuf:"varint,1,opt,name=type,proto3,enum=rtkquery.EndpointType,oneof" json:"type,omitempty"`
	// Types that are assignable to ProvidesTags:
	//
	//	*MethodOptions_ProvidesGeneric
	//	*MethodOptions_ProvidesSpecific
	//	*MethodOptions_ProvidesList
	ProvidesTags isMethodOptions_ProvidesTags `protobuf_oneof:"provides_tags"`
	// Types that are assignable to InvalidatesTags:
	//
	//	*MethodOptions_InvalidatesGeneric
	//	*MethodOptions_InvalidatesSpecific
	//	*MethodOptions_InvalidatesList
	InvalidatesTags isMethodOptions_InvalidatesTags `protobuf_oneof:"invalidates_tags"`
	// contains filtered or unexported fields
}

func (*MethodOptions) Descriptor deprecated

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

Deprecated: Use MethodOptions.ProtoReflect.Descriptor instead.

func (*MethodOptions) GetInvalidatesGeneric

func (x *MethodOptions) GetInvalidatesGeneric() string

func (*MethodOptions) GetInvalidatesList

func (x *MethodOptions) GetInvalidatesList() string

func (*MethodOptions) GetInvalidatesSpecific

func (x *MethodOptions) GetInvalidatesSpecific() *SpecificTag

func (*MethodOptions) GetInvalidatesTags

func (m *MethodOptions) GetInvalidatesTags() isMethodOptions_InvalidatesTags

func (*MethodOptions) GetProvidesGeneric

func (x *MethodOptions) GetProvidesGeneric() string

func (*MethodOptions) GetProvidesList

func (x *MethodOptions) GetProvidesList() *ListTag

func (*MethodOptions) GetProvidesSpecific

func (x *MethodOptions) GetProvidesSpecific() *SpecificTag

func (*MethodOptions) GetProvidesTags

func (m *MethodOptions) GetProvidesTags() isMethodOptions_ProvidesTags

func (*MethodOptions) GetType

func (x *MethodOptions) GetType() EndpointType

func (*MethodOptions) ProtoMessage

func (*MethodOptions) ProtoMessage()

func (*MethodOptions) ProtoReflect

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

func (*MethodOptions) Reset

func (x *MethodOptions) Reset()

func (*MethodOptions) String

func (x *MethodOptions) String() string

type MethodOptions_InvalidatesGeneric

type MethodOptions_InvalidatesGeneric struct {
	InvalidatesGeneric string `protobuf:"bytes,5,opt,name=invalidates_generic,json=invalidatesGeneric,proto3,oneof"`
}

type MethodOptions_InvalidatesList

type MethodOptions_InvalidatesList struct {
	InvalidatesList string `protobuf:"bytes,7,opt,name=invalidates_list,json=invalidatesList,proto3,oneof"`
}

type MethodOptions_InvalidatesSpecific

type MethodOptions_InvalidatesSpecific struct {
	InvalidatesSpecific *SpecificTag `protobuf:"bytes,6,opt,name=invalidates_specific,json=invalidatesSpecific,proto3,oneof"`
}

type MethodOptions_ProvidesGeneric

type MethodOptions_ProvidesGeneric struct {
	ProvidesGeneric string `protobuf:"bytes,2,opt,name=provides_generic,json=providesGeneric,proto3,oneof"`
}

type MethodOptions_ProvidesList

type MethodOptions_ProvidesList struct {
	ProvidesList *ListTag `protobuf:"bytes,4,opt,name=provides_list,json=providesList,proto3,oneof"`
}

type MethodOptions_ProvidesSpecific

type MethodOptions_ProvidesSpecific struct {
	ProvidesSpecific *SpecificTag `protobuf:"bytes,3,opt,name=provides_specific,json=providesSpecific,proto3,oneof"`
}

type ServiceOptions

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

func (*ServiceOptions) Descriptor deprecated

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

Deprecated: Use ServiceOptions.ProtoReflect.Descriptor instead.

func (*ServiceOptions) GetTags

func (x *ServiceOptions) GetTags() []string

func (*ServiceOptions) ProtoMessage

func (*ServiceOptions) ProtoMessage()

func (*ServiceOptions) ProtoReflect

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

func (*ServiceOptions) Reset

func (x *ServiceOptions) Reset()

func (*ServiceOptions) String

func (x *ServiceOptions) String() string

type SpecificTag

type SpecificTag struct {
	Tag string  `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
	Id  *string `protobuf:"bytes,2,opt,name=id,proto3,oneof" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*SpecificTag) Descriptor deprecated

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

Deprecated: Use SpecificTag.ProtoReflect.Descriptor instead.

func (*SpecificTag) GetId

func (x *SpecificTag) GetId() string

func (*SpecificTag) GetTag

func (x *SpecificTag) GetTag() string

func (*SpecificTag) ProtoMessage

func (*SpecificTag) ProtoMessage()

func (*SpecificTag) ProtoReflect

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

func (*SpecificTag) Reset

func (x *SpecificTag) Reset()

func (*SpecificTag) String

func (x *SpecificTag) String() string

Jump to

Keyboard shortcuts

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