common

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EnumStatusCode_name = map[int32]string{
		0:  "OK",
		1:  "ERR",
		2:  "ERR_NOT_FOUND",
		3:  "ERR_ALREADY_EXISTS",
		4:  "ERR_INVALID_SUBGRAPH_SCHEMA",
		5:  "ERR_SUBGRAPH_COMPOSITION_FAILED",
		6:  "ERR_SUBGRAPH_CHECK_FAILED",
		7:  "ERR_INVALID_LABELS",
		8:  "ERR_ANALYTICS_DISABLED",
		9:  "ERROR_NOT_AUTHENTICATED",
		10: "ERR_OPENAI_DISABLED",
		11: "ERR_FREE_TRIAL_EXPIRED",
		12: "ERROR_NOT_AUTHORIZED",
		13: "ERR_LIMIT_REACHED",
		14: "ERR_DEPLOYMENT_FAILED",
	}
	EnumStatusCode_value = map[string]int32{
		"OK":                              0,
		"ERR":                             1,
		"ERR_NOT_FOUND":                   2,
		"ERR_ALREADY_EXISTS":              3,
		"ERR_INVALID_SUBGRAPH_SCHEMA":     4,
		"ERR_SUBGRAPH_COMPOSITION_FAILED": 5,
		"ERR_SUBGRAPH_CHECK_FAILED":       6,
		"ERR_INVALID_LABELS":              7,
		"ERR_ANALYTICS_DISABLED":          8,
		"ERROR_NOT_AUTHENTICATED":         9,
		"ERR_OPENAI_DISABLED":             10,
		"ERR_FREE_TRIAL_EXPIRED":          11,
		"ERROR_NOT_AUTHORIZED":            12,
		"ERR_LIMIT_REACHED":               13,
		"ERR_DEPLOYMENT_FAILED":           14,
	}
)

Enum value maps for EnumStatusCode.

View Source
var (
	GraphQLSubscriptionProtocol_name = map[int32]string{
		0: "GRAPHQL_SUBSCRIPTION_PROTOCOL_WS",
		1: "GRAPHQL_SUBSCRIPTION_PROTOCOL_SSE",
		2: "GRAPHQL_SUBSCRIPTION_PROTOCOL_SSE_POST",
	}
	GraphQLSubscriptionProtocol_value = map[string]int32{
		"GRAPHQL_SUBSCRIPTION_PROTOCOL_WS":       0,
		"GRAPHQL_SUBSCRIPTION_PROTOCOL_SSE":      1,
		"GRAPHQL_SUBSCRIPTION_PROTOCOL_SSE_POST": 2,
	}
)

Enum value maps for GraphQLSubscriptionProtocol.

View Source
var (
	GraphQLWebsocketSubprotocol_name = map[int32]string{
		0: "GRAPHQL_WEBSOCKET_SUBPROTOCOL_AUTO",
		1: "GRAPHQL_WEBSOCKET_SUBPROTOCOL_WS",
		2: "GRAPHQL_WEBSOCKET_SUBPROTOCOL_TRANSPORT_WS",
	}
	GraphQLWebsocketSubprotocol_value = map[string]int32{
		"GRAPHQL_WEBSOCKET_SUBPROTOCOL_AUTO":         0,
		"GRAPHQL_WEBSOCKET_SUBPROTOCOL_WS":           1,
		"GRAPHQL_WEBSOCKET_SUBPROTOCOL_TRANSPORT_WS": 2,
	}
)

Enum value maps for GraphQLWebsocketSubprotocol.

View Source
var File_wg_cosmo_common_common_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type EnumStatusCode

type EnumStatusCode int32
const (
	EnumStatusCode_OK                              EnumStatusCode = 0
	EnumStatusCode_ERR                             EnumStatusCode = 1
	EnumStatusCode_ERR_NOT_FOUND                   EnumStatusCode = 2
	EnumStatusCode_ERR_ALREADY_EXISTS              EnumStatusCode = 3
	EnumStatusCode_ERR_INVALID_SUBGRAPH_SCHEMA     EnumStatusCode = 4
	EnumStatusCode_ERR_SUBGRAPH_COMPOSITION_FAILED EnumStatusCode = 5
	EnumStatusCode_ERR_SUBGRAPH_CHECK_FAILED       EnumStatusCode = 6
	EnumStatusCode_ERR_INVALID_LABELS              EnumStatusCode = 7
	EnumStatusCode_ERR_ANALYTICS_DISABLED          EnumStatusCode = 8
	EnumStatusCode_ERROR_NOT_AUTHENTICATED         EnumStatusCode = 9
	EnumStatusCode_ERR_OPENAI_DISABLED             EnumStatusCode = 10
	EnumStatusCode_ERR_FREE_TRIAL_EXPIRED          EnumStatusCode = 11
	EnumStatusCode_ERROR_NOT_AUTHORIZED            EnumStatusCode = 12
	EnumStatusCode_ERR_LIMIT_REACHED               EnumStatusCode = 13
	EnumStatusCode_ERR_DEPLOYMENT_FAILED           EnumStatusCode = 14
)

func (EnumStatusCode) Descriptor

func (EnumStatusCode) Enum

func (x EnumStatusCode) Enum() *EnumStatusCode

func (EnumStatusCode) EnumDescriptor deprecated

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

Deprecated: Use EnumStatusCode.Descriptor instead.

func (EnumStatusCode) Number

func (EnumStatusCode) String

func (x EnumStatusCode) String() string

func (EnumStatusCode) Type

type GraphQLSubscriptionProtocol

type GraphQLSubscriptionProtocol int32
const (
	// Subscribe with a websocket, automatically negotiating the subprotocol
	GraphQLSubscriptionProtocol_GRAPHQL_SUBSCRIPTION_PROTOCOL_WS GraphQLSubscriptionProtocol = 0
	// Subscribe via SSE with a GET request
	GraphQLSubscriptionProtocol_GRAPHQL_SUBSCRIPTION_PROTOCOL_SSE GraphQLSubscriptionProtocol = 1
	// Subscribe via SSE with a POST request
	GraphQLSubscriptionProtocol_GRAPHQL_SUBSCRIPTION_PROTOCOL_SSE_POST GraphQLSubscriptionProtocol = 2
)

func (GraphQLSubscriptionProtocol) Descriptor

func (GraphQLSubscriptionProtocol) Enum

func (GraphQLSubscriptionProtocol) EnumDescriptor deprecated

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

Deprecated: Use GraphQLSubscriptionProtocol.Descriptor instead.

func (GraphQLSubscriptionProtocol) Number

func (GraphQLSubscriptionProtocol) String

func (GraphQLSubscriptionProtocol) Type

type GraphQLWebsocketSubprotocol

type GraphQLWebsocketSubprotocol int32
const (
	GraphQLWebsocketSubprotocol_GRAPHQL_WEBSOCKET_SUBPROTOCOL_AUTO         GraphQLWebsocketSubprotocol = 0
	GraphQLWebsocketSubprotocol_GRAPHQL_WEBSOCKET_SUBPROTOCOL_WS           GraphQLWebsocketSubprotocol = 1
	GraphQLWebsocketSubprotocol_GRAPHQL_WEBSOCKET_SUBPROTOCOL_TRANSPORT_WS GraphQLWebsocketSubprotocol = 2
)

func (GraphQLWebsocketSubprotocol) Descriptor

func (GraphQLWebsocketSubprotocol) Enum

func (GraphQLWebsocketSubprotocol) EnumDescriptor deprecated

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

Deprecated: Use GraphQLWebsocketSubprotocol.Descriptor instead.

func (GraphQLWebsocketSubprotocol) Number

func (GraphQLWebsocketSubprotocol) String

func (GraphQLWebsocketSubprotocol) Type

Jump to

Keyboard shortcuts

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