Documentation ¶
Index ¶
- Variables
- type ServiceSpec
- func (m *ServiceSpec) Clone() proto.Message
- func (*ServiceSpec) Descriptor() ([]byte, []int)deprecated
- func (m *ServiceSpec) Equal(that interface{}) bool
- func (x *ServiceSpec) GetEndpoint() *ServiceSpec_Endpoint
- func (m *ServiceSpec) Hash(hasher hash.Hash64) (uint64, error)
- func (*ServiceSpec) ProtoMessage()
- func (x *ServiceSpec) ProtoReflect() protoreflect.Message
- func (x *ServiceSpec) Reset()
- func (x *ServiceSpec) String() string
- type ServiceSpec_Endpoint
- func (m *ServiceSpec_Endpoint) Clone() proto.Message
- func (*ServiceSpec_Endpoint) Descriptor() ([]byte, []int)deprecated
- func (m *ServiceSpec_Endpoint) Equal(that interface{}) bool
- func (x *ServiceSpec_Endpoint) GetUrl() string
- func (m *ServiceSpec_Endpoint) Hash(hasher hash.Hash64) (uint64, error)
- func (*ServiceSpec_Endpoint) ProtoMessage()
- func (x *ServiceSpec_Endpoint) ProtoReflect() protoreflect.Message
- func (x *ServiceSpec_Endpoint) Reset()
- func (x *ServiceSpec_Endpoint) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_github_com_solo_io_gloo_projects_gloo_api_v1_options_graphql_graphql_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ServiceSpec ¶
type ServiceSpec struct { // Endpoint provides the endpoint information, and how to call the GraphQL Server. // This endpoint must be called via HTTP POST sending form data as mentioned in [the GraphQL Docs](https://graphql.org/learn/serving-over-http/#post-request). Endpoint *ServiceSpec_Endpoint `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // contains filtered or unexported fields }
Only supported in enterprise with the GraphQL addon. This is the service spec describing GraphQL upstreams. This will usually be filled automatically via function discovery (if the upstream supports introspection). If your upstream service is a GraphQL service, use this service spec (an empty spec is fine).
func (*ServiceSpec) Descriptor
deprecated
func (*ServiceSpec) Descriptor() ([]byte, []int)
Deprecated: Use ServiceSpec.ProtoReflect.Descriptor instead.
func (*ServiceSpec) GetEndpoint ¶
func (x *ServiceSpec) GetEndpoint() *ServiceSpec_Endpoint
func (*ServiceSpec) Hash ¶
func (m *ServiceSpec) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*ServiceSpec) ProtoMessage ¶
func (*ServiceSpec) ProtoMessage()
func (*ServiceSpec) ProtoReflect ¶
func (x *ServiceSpec) ProtoReflect() protoreflect.Message
func (*ServiceSpec) Reset ¶
func (x *ServiceSpec) Reset()
func (*ServiceSpec) String ¶
func (x *ServiceSpec) String() string
type ServiceSpec_Endpoint ¶
type ServiceSpec_Endpoint struct { // The url for the graphql endpoint. Automation via Discovery only supports `http://<host>/graphql` ie: http://myurl.com/graphql Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
Describes a GraphQL Endpoint information
func (*ServiceSpec_Endpoint) Clone ¶
func (m *ServiceSpec_Endpoint) Clone() proto.Message
Clone function
func (*ServiceSpec_Endpoint) Descriptor
deprecated
func (*ServiceSpec_Endpoint) Descriptor() ([]byte, []int)
Deprecated: Use ServiceSpec_Endpoint.ProtoReflect.Descriptor instead.
func (*ServiceSpec_Endpoint) Equal ¶
func (m *ServiceSpec_Endpoint) Equal(that interface{}) bool
Equal function
func (*ServiceSpec_Endpoint) GetUrl ¶
func (x *ServiceSpec_Endpoint) GetUrl() string
func (*ServiceSpec_Endpoint) Hash ¶
func (m *ServiceSpec_Endpoint) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*ServiceSpec_Endpoint) ProtoMessage ¶
func (*ServiceSpec_Endpoint) ProtoMessage()
func (*ServiceSpec_Endpoint) ProtoReflect ¶
func (x *ServiceSpec_Endpoint) ProtoReflect() protoreflect.Message
func (*ServiceSpec_Endpoint) Reset ¶
func (x *ServiceSpec_Endpoint) Reset()
func (*ServiceSpec_Endpoint) String ¶
func (x *ServiceSpec_Endpoint) String() string
Click to show internal directories.
Click to hide internal directories.