graphqlpb

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Type_name = map[int32]string{
		0: "DEFAULT",
		1: "MUTATION",
		2: "QUERY",
	}
	Type_value = map[string]int32{
		"DEFAULT":  0,
		"MUTATION": 1,
		"QUERY":    2,
	}
)

Enum value maps for Type.

View Source
var (
	Upstream_name = map[int32]string{
		0: "UPSTREAM_UNSPECIFIED",
		1: "UPSTREAM_SERVER",
		2: "UPSTREAM_CLIENT",
	}
	Upstream_value = map[string]int32{
		"UPSTREAM_UNSPECIFIED": 0,
		"UPSTREAM_SERVER":      1,
		"UPSTREAM_CLIENT":      2,
	}
)

Enum value maps for Upstream.

View Source
var (
	// optional gloria.v1.graphql.Field field = 65030;
	E_Field = &file_gloria_proto_extTypes[2]
)

Extension fields to descriptorpb.FieldOptions.

View Source
var (
	// optional gloria.v1.graphql.Oneof oneof = 65030;
	E_Oneof = &file_gloria_proto_extTypes[3]
)

Extension fields to descriptorpb.OneofOptions.

View Source
var (
	// optional gloria.v1.graphql.RPC rpc = 65030;
	E_Rpc = &file_gloria_proto_extTypes[0]
)

Extension fields to descriptorpb.MethodOptions.

View Source
var (
	// optional gloria.v1.graphql.SVC svc = 65030;
	E_Svc = &file_gloria_proto_extTypes[1]
)

Extension fields to descriptorpb.ServiceOptions.

View Source
var File_gloria_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Field

type Field struct {
	Required bool   `protobuf:"varint,1,opt,name=required,proto3" json:"required,omitempty"`
	Params   string `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
	Dirs     string `protobuf:"bytes,3,opt,name=dirs,proto3" json:"dirs,omitempty"`
	Ignore   bool   `protobuf:"varint,4,opt,name=ignore,proto3" json:"ignore,omitempty"`
	Name     string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	Default  string `protobuf:"bytes,6,opt,name=default,proto3" json:"default,omitempty"`
	// contains filtered or unexported fields
}

func (*Field) Descriptor deprecated

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

Deprecated: Use Field.ProtoReflect.Descriptor instead.

func (*Field) GetDefault

func (x *Field) GetDefault() string

func (*Field) GetDirs

func (x *Field) GetDirs() string

func (*Field) GetIgnore

func (x *Field) GetIgnore() bool

func (*Field) GetName

func (x *Field) GetName() string

func (*Field) GetParams

func (x *Field) GetParams() string

func (*Field) GetRequired

func (x *Field) GetRequired() bool

func (*Field) ProtoMessage

func (*Field) ProtoMessage()

func (*Field) ProtoReflect

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

func (*Field) Reset

func (x *Field) Reset()

func (*Field) String

func (x *Field) String() string

type Oneof

type Oneof struct {
	Ignore bool   `protobuf:"varint,4,opt,name=ignore,proto3" json:"ignore,omitempty"`
	Name   string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*Oneof) Descriptor deprecated

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

Deprecated: Use Oneof.ProtoReflect.Descriptor instead.

func (*Oneof) GetIgnore

func (x *Oneof) GetIgnore() bool

func (*Oneof) GetName

func (x *Oneof) GetName() string

func (*Oneof) ProtoMessage

func (*Oneof) ProtoMessage()

func (*Oneof) ProtoReflect

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

func (*Oneof) Reset

func (x *Oneof) Reset()

func (*Oneof) String

func (x *Oneof) String() string

type RPC

type RPC struct {
	Type   Type   `protobuf:"varint,1,opt,name=type,proto3,enum=gloria.v1.graphql.Type" json:"type,omitempty"`
	Ignore bool   `protobuf:"varint,2,opt,name=ignore,proto3" json:"ignore,omitempty"`
	Name   string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*RPC) Descriptor deprecated

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

Deprecated: Use RPC.ProtoReflect.Descriptor instead.

func (*RPC) GetIgnore

func (x *RPC) GetIgnore() bool

func (*RPC) GetName

func (x *RPC) GetName() string

func (*RPC) GetType

func (x *RPC) GetType() Type

func (*RPC) ProtoMessage

func (*RPC) ProtoMessage()

func (*RPC) ProtoReflect

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

func (*RPC) Reset

func (x *RPC) Reset()

func (*RPC) String

func (x *RPC) String() string

type SVC

type SVC struct {
	Type     *Type     `protobuf:"varint,1,opt,name=type,proto3,enum=gloria.v1.graphql.Type,oneof" json:"type,omitempty"`
	Ignore   *bool     `protobuf:"varint,2,opt,name=ignore,proto3,oneof" json:"ignore,omitempty"`
	Name     *string   `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Upstream *Upstream `protobuf:"varint,4,opt,name=upstream,proto3,enum=gloria.v1.graphql.Upstream,oneof" json:"upstream,omitempty"`
	// contains filtered or unexported fields
}

func (*SVC) Descriptor deprecated

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

Deprecated: Use SVC.ProtoReflect.Descriptor instead.

func (*SVC) GetIgnore

func (x *SVC) GetIgnore() bool

func (*SVC) GetName

func (x *SVC) GetName() string

func (*SVC) GetType

func (x *SVC) GetType() Type

func (*SVC) GetUpstream

func (x *SVC) GetUpstream() Upstream

func (*SVC) ProtoMessage

func (*SVC) ProtoMessage()

func (*SVC) ProtoReflect

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

func (*SVC) Reset

func (x *SVC) Reset()

func (*SVC) String

func (x *SVC) String() string

type Type

type Type int32
const (
	Type_DEFAULT  Type = 0
	Type_MUTATION Type = 1
	Type_QUERY    Type = 2
)

func (Type) Descriptor

func (Type) Descriptor() protoreflect.EnumDescriptor

func (Type) Enum

func (x Type) Enum() *Type

func (Type) EnumDescriptor deprecated

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

Deprecated: Use Type.Descriptor instead.

func (Type) Number

func (x Type) Number() protoreflect.EnumNumber

func (Type) String

func (x Type) String() string

func (Type) Type

func (Type) Type() protoreflect.EnumType

type Upstream

type Upstream int32
const (
	Upstream_UPSTREAM_UNSPECIFIED Upstream = 0
	Upstream_UPSTREAM_SERVER      Upstream = 1
	Upstream_UPSTREAM_CLIENT      Upstream = 2
)

func (Upstream) Descriptor

func (Upstream) Descriptor() protoreflect.EnumDescriptor

func (Upstream) Enum

func (x Upstream) Enum() *Upstream

func (Upstream) EnumDescriptor deprecated

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

Deprecated: Use Upstream.Descriptor instead.

func (Upstream) Number

func (x Upstream) Number() protoreflect.EnumNumber

func (Upstream) String

func (x Upstream) String() string

func (Upstream) Type

Jump to

Keyboard shortcuts

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