Documentation ¶
Index ¶
- Variables
- type EnumStatusCode
- func (EnumStatusCode) Descriptor() protoreflect.EnumDescriptor
- func (x EnumStatusCode) Enum() *EnumStatusCode
- func (EnumStatusCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x EnumStatusCode) Number() protoreflect.EnumNumber
- func (x EnumStatusCode) String() string
- func (EnumStatusCode) Type() protoreflect.EnumType
- type GraphQLSubscriptionProtocol
- func (GraphQLSubscriptionProtocol) Descriptor() protoreflect.EnumDescriptor
- func (x GraphQLSubscriptionProtocol) Enum() *GraphQLSubscriptionProtocol
- func (GraphQLSubscriptionProtocol) EnumDescriptor() ([]byte, []int)deprecated
- func (x GraphQLSubscriptionProtocol) Number() protoreflect.EnumNumber
- func (x GraphQLSubscriptionProtocol) String() string
- func (GraphQLSubscriptionProtocol) Type() protoreflect.EnumType
- type GraphQLWebsocketSubprotocol
- func (GraphQLWebsocketSubprotocol) Descriptor() protoreflect.EnumDescriptor
- func (x GraphQLWebsocketSubprotocol) Enum() *GraphQLWebsocketSubprotocol
- func (GraphQLWebsocketSubprotocol) EnumDescriptor() ([]byte, []int)deprecated
- func (x GraphQLWebsocketSubprotocol) Number() protoreflect.EnumNumber
- func (x GraphQLWebsocketSubprotocol) String() string
- func (GraphQLWebsocketSubprotocol) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
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 (x EnumStatusCode) Number() protoreflect.EnumNumber
func (EnumStatusCode) String ¶
func (x EnumStatusCode) String() string
func (EnumStatusCode) Type ¶
func (EnumStatusCode) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
func (GraphQLSubscriptionProtocol) Enum ¶
func (x GraphQLSubscriptionProtocol) Enum() *GraphQLSubscriptionProtocol
func (GraphQLSubscriptionProtocol) EnumDescriptor
deprecated
func (GraphQLSubscriptionProtocol) EnumDescriptor() ([]byte, []int)
Deprecated: Use GraphQLSubscriptionProtocol.Descriptor instead.
func (GraphQLSubscriptionProtocol) Number ¶
func (x GraphQLSubscriptionProtocol) Number() protoreflect.EnumNumber
func (GraphQLSubscriptionProtocol) String ¶
func (x GraphQLSubscriptionProtocol) String() string
func (GraphQLSubscriptionProtocol) Type ¶
func (GraphQLSubscriptionProtocol) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
func (GraphQLWebsocketSubprotocol) Enum ¶
func (x GraphQLWebsocketSubprotocol) Enum() *GraphQLWebsocketSubprotocol
func (GraphQLWebsocketSubprotocol) EnumDescriptor
deprecated
func (GraphQLWebsocketSubprotocol) EnumDescriptor() ([]byte, []int)
Deprecated: Use GraphQLWebsocketSubprotocol.Descriptor instead.
func (GraphQLWebsocketSubprotocol) Number ¶
func (x GraphQLWebsocketSubprotocol) Number() protoreflect.EnumNumber
func (GraphQLWebsocketSubprotocol) String ¶
func (x GraphQLWebsocketSubprotocol) String() string
func (GraphQLWebsocketSubprotocol) Type ¶
func (GraphQLWebsocketSubprotocol) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.