Documentation
¶
Index ¶
- func MakeAuthorizeInput(input *protoMessages.AuthorizeRequest) (f driver.AuthorizeInput, err error)
- func MakeAuthorizeOutput(resp *protoMessages.AuthorizeResponse) (out driver.AuthorizeOutput)
- func MakeAuthorizeRequest(input driver.AuthorizeInput) (r *protoMessages.AuthorizeRequest, err error)
- func MakeAuthorizeResponse(resp bool) *protoMessages.AuthorizeResponse
- func MakeFieldResolveInput(input *protoMessages.FieldResolveRequest) (f driver.FieldResolveInput, err error)
- func MakeFieldResolveOutput(resp *protoMessages.FieldResolveResponse) (out driver.FieldResolveOutput)
- func MakeFieldResolveRequest(input driver.FieldResolveInput) (r *protoMessages.FieldResolveRequest, err error)
- func MakeFieldResolveResponse(resp interface{}) *protoMessages.FieldResolveResponse
- func MakeInterfaceResolveTypeInput(input *protoMessages.InterfaceResolveTypeRequest) (i driver.InterfaceResolveTypeInput, err error)
- func MakeInterfaceResolveTypeOutput(resp *protoMessages.InterfaceResolveTypeResponse) driver.InterfaceResolveTypeOutput
- func MakeInterfaceResolveTypeRequest(input driver.InterfaceResolveTypeInput) (r *protoMessages.InterfaceResolveTypeRequest, err error)
- func MakeInterfaceResolveTypeResponse(resp string) *protoMessages.InterfaceResolveTypeResponse
- func MakeScalarParseInput(req *protoMessages.ScalarParseRequest) (driver.ScalarParseInput, error)
- func MakeScalarParseOutput(resp *protoMessages.ScalarParseResponse) driver.ScalarParseOutput
- func MakeScalarParseRequest(input driver.ScalarParseInput) (req *protoMessages.ScalarParseRequest, err error)
- func MakeScalarParseResponse(value interface{}) *protoMessages.ScalarParseResponse
- func MakeScalarSerializeInput(req *protoMessages.ScalarSerializeRequest) (driver.ScalarSerializeInput, error)
- func MakeScalarSerializeOutput(resp *protoMessages.ScalarSerializeResponse) driver.ScalarSerializeOutput
- func MakeScalarSerializeRequest(input driver.ScalarSerializeInput) (req *protoMessages.ScalarSerializeRequest, err error)
- func MakeScalarSerializeResponse(value interface{}) *protoMessages.ScalarSerializeResponse
- func MakeSetSecretsInput(req *protoMessages.SetSecretsRequest) driver.SetSecretsInput
- func MakeSetSecretsOutput(resp *protoMessages.SetSecretsResponse) driver.SetSecretsOutput
- func MakeSetSecretsRequest(input driver.SetSecretsInput) *protoMessages.SetSecretsRequest
- func MakeSetSecretsResponse(err error) *protoMessages.SetSecretsResponse
- func MakeSubscriptionConnectionInput(input *protoMessages.SubscriptionConnectionRequest) (f driver.SubscriptionConnectionInput, err error)
- func MakeSubscriptionConnectionOutput(resp *protoMessages.SubscriptionConnectionResponse) (out driver.SubscriptionConnectionOutput)
- func MakeSubscriptionConnectionRequest(input driver.SubscriptionConnectionInput) (r *protoMessages.SubscriptionConnectionRequest, err error)
- func MakeSubscriptionConnectionResponse(resp interface{}) *protoMessages.SubscriptionConnectionResponse
- func MakeSubscriptionListenInput(input *protoMessages.SubscriptionListenRequest) (f driver.SubscriptionListenInput, err error)
- func MakeSubscriptionListenRequest(input driver.SubscriptionListenInput) (r *protoMessages.SubscriptionListenRequest, err error)
- func MakeUnionResolveTypeInput(input *protoMessages.UnionResolveTypeRequest) (i driver.UnionResolveTypeInput, err error)
- func MakeUnionResolveTypeOutput(resp *protoMessages.UnionResolveTypeResponse) driver.UnionResolveTypeOutput
- func MakeUnionResolveTypeRequest(input driver.UnionResolveTypeInput) (r *protoMessages.UnionResolveTypeRequest, err error)
- func MakeUnionResolveTypeResponse(resp string) *protoMessages.UnionResolveTypeResponse
- func NewSubscriptionReader(client protoDriverService.DriverClient, ...) (driver.SubscriptionListenReader, error)
- func ReadAuthorizeInput(r io.Reader) (driver.AuthorizeInput, error)
- func ReadAuthorizeOutput(r io.Reader) (driver.AuthorizeOutput, error)
- func ReadFieldResolveInput(r io.Reader) (driver.FieldResolveInput, error)
- func ReadFieldResolveOutput(r io.Reader) (driver.FieldResolveOutput, error)
- func ReadInterfaceResolveTypeInput(r io.Reader) (driver.InterfaceResolveTypeInput, error)
- func ReadInterfaceResolveTypeOutput(r io.Reader) (driver.InterfaceResolveTypeOutput, error)
- func ReadScalarParseInput(r io.Reader) (driver.ScalarParseInput, error)
- func ReadScalarParseOutput(r io.Reader) (driver.ScalarParseOutput, error)
- func ReadScalarSerializeInput(r io.Reader) (driver.ScalarSerializeInput, error)
- func ReadScalarSerializeOutput(r io.Reader) (driver.ScalarSerializeOutput, error)
- func ReadSetSecretsInput(r io.Reader) (driver.SetSecretsInput, error)
- func ReadSetSecretsOutput(r io.Reader) (driver.SetSecretsOutput, error)
- func ReadSubscriptionConnectionInput(r io.Reader) (driver.SubscriptionConnectionInput, error)
- func ReadSubscriptionConnectionOutput(r io.Reader) (driver.SubscriptionConnectionOutput, error)
- func ReadSubscriptionListenInput(r io.Reader) (driver.SubscriptionListenInput, error)
- func ReadUnionResolveTypeInput(r io.Reader) (driver.UnionResolveTypeInput, error)
- func ReadUnionResolveTypeOutput(r io.Reader) (driver.UnionResolveTypeOutput, error)
- func WriteAuthorizeInput(w io.Writer, input driver.AuthorizeInput) error
- func WriteAuthorizeOutput(w io.Writer, r bool) error
- func WriteFieldResolveInput(w io.Writer, input driver.FieldResolveInput) error
- func WriteFieldResolveOutput(w io.Writer, r interface{}) error
- func WriteInterfaceResolveTypeInput(w io.Writer, input driver.InterfaceResolveTypeInput) error
- func WriteInterfaceResolveTypeOutput(w io.Writer, r string) error
- func WriteScalarParseInput(w io.Writer, input driver.ScalarParseInput) error
- func WriteScalarParseOutput(w io.Writer, r interface{}) error
- func WriteScalarSerializeInput(w io.Writer, input driver.ScalarSerializeInput) error
- func WriteScalarSerializeOutput(w io.Writer, r interface{}) error
- func WriteSetSecretsInput(w io.Writer, input driver.SetSecretsInput) error
- func WriteSetSecretsOutput(w io.Writer, rerr error) error
- func WriteSubscriptionConnectionInput(w io.Writer, input driver.SubscriptionConnectionInput) error
- func WriteSubscriptionConnectionOutput(w io.Writer, r interface{}) error
- func WriteSubscriptionListenInput(w io.Writer, input driver.SubscriptionListenInput) error
- func WriteUnionResolveTypeInput(w io.Writer, input driver.UnionResolveTypeInput) error
- func WriteUnionResolveTypeOutput(w io.Writer, r string) error
- type ValueMarshaler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeAuthorizeInput ¶
func MakeAuthorizeInput(input *protoMessages.AuthorizeRequest) (f driver.AuthorizeInput, err error)
MakeAuthorizeInput creates driver.AuthorizeInput from protoMessages.Authorizerequest
func MakeAuthorizeOutput ¶
func MakeAuthorizeOutput(resp *protoMessages.AuthorizeResponse) (out driver.AuthorizeOutput)
MakeAuthorizeOutput creates new driver.AuthorizeOutput from proto response
func MakeAuthorizeRequest ¶
func MakeAuthorizeRequest(input driver.AuthorizeInput) (r *protoMessages.AuthorizeRequest, err error)
MakeAuthorizeRequest creates a new proto AuthorizeRequest from driver input
func MakeAuthorizeResponse ¶
func MakeAuthorizeResponse(resp bool) *protoMessages.AuthorizeResponse
MakeAuthorizeResponse creates a protoMessages.AuthorizeResponse from a value
func MakeFieldResolveInput ¶
func MakeFieldResolveInput(input *protoMessages.FieldResolveRequest) (f driver.FieldResolveInput, err error)
MakeFieldResolveInput creates driver.FieldResolveInput from protoMessages.FieldResolverequest
func MakeFieldResolveOutput ¶
func MakeFieldResolveOutput(resp *protoMessages.FieldResolveResponse) (out driver.FieldResolveOutput)
MakeFieldResolveOutput creates new driver.FieldResolveOutput from proto response
func MakeFieldResolveRequest ¶
func MakeFieldResolveRequest(input driver.FieldResolveInput) (r *protoMessages.FieldResolveRequest, err error)
MakeFieldResolveRequest creates a new proto FieldResolveRequest from driver input
func MakeFieldResolveResponse ¶
func MakeFieldResolveResponse(resp interface{}) *protoMessages.FieldResolveResponse
MakeFieldResolveResponse creates a protoMessages.FieldResolveResponse from a value
func MakeInterfaceResolveTypeInput ¶
func MakeInterfaceResolveTypeInput(input *protoMessages.InterfaceResolveTypeRequest) (i driver.InterfaceResolveTypeInput, err error)
MakeInterfaceResolveTypeInput creates new driver.InterfaceResolveTypeInput from protoMessages.InterfaceResolveTypeRequest
func MakeInterfaceResolveTypeOutput ¶
func MakeInterfaceResolveTypeOutput(resp *protoMessages.InterfaceResolveTypeResponse) driver.InterfaceResolveTypeOutput
MakeInterfaceResolveTypeOutput creates new driver.InterfaceResolveTypeOutput from protoMessages.InterfaceResolveTypeResponse
func MakeInterfaceResolveTypeRequest ¶
func MakeInterfaceResolveTypeRequest(input driver.InterfaceResolveTypeInput) (r *protoMessages.InterfaceResolveTypeRequest, err error)
MakeInterfaceResolveTypeRequest creates new protoMessages.InterfaceResolveTypeRequest from driver.InterfaceResolveTypeInput
func MakeInterfaceResolveTypeResponse ¶
func MakeInterfaceResolveTypeResponse(resp string) *protoMessages.InterfaceResolveTypeResponse
MakeInterfaceResolveTypeResponse creates new protoMessages.InterfaceResolveTypeResponse from type string
func MakeScalarParseInput ¶
func MakeScalarParseInput(req *protoMessages.ScalarParseRequest) (driver.ScalarParseInput, error)
MakeScalarParseInput creates new driver.ScalarParseInput from protoMessages.ScalarParseRequest
func MakeScalarParseOutput ¶
func MakeScalarParseOutput(resp *protoMessages.ScalarParseResponse) driver.ScalarParseOutput
MakeScalarParseOutput creates new driver.ScalarParseOutput from protoMessages.ScalarParseResponse
func MakeScalarParseRequest ¶
func MakeScalarParseRequest(input driver.ScalarParseInput) (req *protoMessages.ScalarParseRequest, err error)
MakeScalarParseRequest creates new protoMessages.ScalarParseRequest from driver.ScalarParseInput
func MakeScalarParseResponse ¶
func MakeScalarParseResponse(value interface{}) *protoMessages.ScalarParseResponse
MakeScalarParseResponse creates new protoMessages.ScalarParseResposne from any value
func MakeScalarSerializeInput ¶
func MakeScalarSerializeInput(req *protoMessages.ScalarSerializeRequest) (driver.ScalarSerializeInput, error)
MakeScalarSerializeInput creates new driver.ScalarSerializeInput from protoMessages.ScalarSerializeRequest
func MakeScalarSerializeOutput ¶
func MakeScalarSerializeOutput(resp *protoMessages.ScalarSerializeResponse) driver.ScalarSerializeOutput
MakeScalarSerializeOutput creates new driver.ScalarSerializeOutput from protoMessages.ScalarSerializeResponse
func MakeScalarSerializeRequest ¶
func MakeScalarSerializeRequest(input driver.ScalarSerializeInput) (req *protoMessages.ScalarSerializeRequest, err error)
MakeScalarSerializeRequest creates new protoMessages.ScalarSerializeRequest from driver.ScalarSerializeInput
func MakeScalarSerializeResponse ¶
func MakeScalarSerializeResponse(value interface{}) *protoMessages.ScalarSerializeResponse
MakeScalarSerializeResponse creates new protoMessages.ScalarSerializeResposne from any value
func MakeSetSecretsInput ¶
func MakeSetSecretsInput(req *protoMessages.SetSecretsRequest) driver.SetSecretsInput
MakeSetSecretsInput creates driver.SetSecretsInput from protoMessages.SetSecretsRequest
func MakeSetSecretsOutput ¶
func MakeSetSecretsOutput(resp *protoMessages.SetSecretsResponse) driver.SetSecretsOutput
MakeSetSecretsOutput creates driver.SetSecretsOutput from protoMessages.SetSecretsResponse
func MakeSetSecretsRequest ¶
func MakeSetSecretsRequest(input driver.SetSecretsInput) *protoMessages.SetSecretsRequest
MakeSetSecretsRequest creates protoMessages.SetSecretsRequest from driver.SetSecretsInput
func MakeSetSecretsResponse ¶
func MakeSetSecretsResponse(err error) *protoMessages.SetSecretsResponse
MakeSetSecretsResponse creates protoMessages.SetSecretsResponse from error
func MakeSubscriptionConnectionInput ¶
func MakeSubscriptionConnectionInput(input *protoMessages.SubscriptionConnectionRequest) (f driver.SubscriptionConnectionInput, err error)
MakeSubscriptionConnectionInput creates driver.SubscriptionConnectionInput from protoMessages.SubscriptionConnectionRequest
func MakeSubscriptionConnectionOutput ¶
func MakeSubscriptionConnectionOutput(resp *protoMessages.SubscriptionConnectionResponse) (out driver.SubscriptionConnectionOutput)
MakeSubscriptionConnectionOutput creates new driver.SubscriptionConnectionOutput from proto response
func MakeSubscriptionConnectionRequest ¶
func MakeSubscriptionConnectionRequest(input driver.SubscriptionConnectionInput) (r *protoMessages.SubscriptionConnectionRequest, err error)
MakeSubscriptionConnectionRequest creates a new proto SubscriptionConnectionRequest from driver input
func MakeSubscriptionConnectionResponse ¶
func MakeSubscriptionConnectionResponse(resp interface{}) *protoMessages.SubscriptionConnectionResponse
MakeSubscriptionConnectionResponse creates a protoMessages.SubscriptionConnectionRespone from a value
func MakeSubscriptionListenInput ¶
func MakeSubscriptionListenInput(input *protoMessages.SubscriptionListenRequest) (f driver.SubscriptionListenInput, err error)
MakeSubscriptionListenInput creates driver.SubscriptionListenInput from protoMessages.SubscriptionListenRequest
func MakeSubscriptionListenRequest ¶
func MakeSubscriptionListenRequest(input driver.SubscriptionListenInput) (r *protoMessages.SubscriptionListenRequest, err error)
MakeSubscriptionListenRequest creates a new proto SubscriptionListenRequest from driver input
func MakeUnionResolveTypeInput ¶
func MakeUnionResolveTypeInput(input *protoMessages.UnionResolveTypeRequest) (i driver.UnionResolveTypeInput, err error)
MakeUnionResolveTypeInput creates new driver.UnionResolveTypeInput from protoMessages.UnionResolveTypeRequest
func MakeUnionResolveTypeOutput ¶
func MakeUnionResolveTypeOutput(resp *protoMessages.UnionResolveTypeResponse) driver.UnionResolveTypeOutput
MakeUnionResolveTypeOutput creates new driver.UnionResolveTypeOutput from protoMessages.UnionResolveTypeResponse
func MakeUnionResolveTypeRequest ¶
func MakeUnionResolveTypeRequest(input driver.UnionResolveTypeInput) (r *protoMessages.UnionResolveTypeRequest, err error)
MakeUnionResolveTypeRequest creates new protoMessages.UnionResolveTypeRequest from driver.UnionResolveTypeInput
func MakeUnionResolveTypeResponse ¶
func MakeUnionResolveTypeResponse(resp string) *protoMessages.UnionResolveTypeResponse
MakeUnionResolveTypeResponse creates new protoMessages.UnionResolveTypeResponse from type string
func NewSubscriptionReader ¶
func NewSubscriptionReader(client protoDriverService.DriverClient, req *protoMessages.SubscriptionListenRequest) (driver.SubscriptionListenReader, error)
NewSubscriptionReader creates new subscription reader for SubscriptionListen
func ReadAuthorizeInput ¶
func ReadAuthorizeInput(r io.Reader) (driver.AuthorizeInput, error)
ReadAuthorizeInput reads io.Reader until io.EOF and returs driver.AuthorizeInput
func ReadAuthorizeOutput ¶
func ReadAuthorizeOutput(r io.Reader) (driver.AuthorizeOutput, error)
ReadAuthorizeOutput reads io.Reader until io.EOF and returs driver.AuthorizeOutput
func ReadFieldResolveInput ¶
func ReadFieldResolveInput(r io.Reader) (driver.FieldResolveInput, error)
ReadFieldResolveInput reads io.Reader until io.EOF and returs driver.FieldResolveInput
func ReadFieldResolveOutput ¶
func ReadFieldResolveOutput(r io.Reader) (driver.FieldResolveOutput, error)
ReadFieldResolveOutput reads io.Reader until io.EOF and returs driver.FieldResolveOutput
func ReadInterfaceResolveTypeInput ¶
func ReadInterfaceResolveTypeInput(r io.Reader) (driver.InterfaceResolveTypeInput, error)
ReadInterfaceResolveTypeInput reads io.Reader until io.EOF and returs driver.InterfaceResolveTypeInput
func ReadInterfaceResolveTypeOutput ¶
func ReadInterfaceResolveTypeOutput(r io.Reader) (driver.InterfaceResolveTypeOutput, error)
ReadInterfaceResolveTypeOutput reads io.Reader until io.EOF and returs driver.InterfaceResolveTypeOutput
func ReadScalarParseInput ¶
func ReadScalarParseInput(r io.Reader) (driver.ScalarParseInput, error)
ReadScalarParseInput reads io.Reader until io.EOF and returs driver.ScalarParseInput
func ReadScalarParseOutput ¶
func ReadScalarParseOutput(r io.Reader) (driver.ScalarParseOutput, error)
ReadScalarParseOutput reads io.Reader until io.EOF and returs driver.ScalarParseOutput
func ReadScalarSerializeInput ¶
func ReadScalarSerializeInput(r io.Reader) (driver.ScalarSerializeInput, error)
ReadScalarSerializeInput reads io.Reader until io.EOF and returs driver.ScalarSerializeInput
func ReadScalarSerializeOutput ¶
func ReadScalarSerializeOutput(r io.Reader) (driver.ScalarSerializeOutput, error)
ReadScalarSerializeOutput reads io.Reader until io.EOF and returs driver.ScalarSerializeOutput
func ReadSetSecretsInput ¶
func ReadSetSecretsInput(r io.Reader) (driver.SetSecretsInput, error)
ReadSetSecretsInput reads io.Reader until io.EOF and returs driver.SetSecretsInput
func ReadSetSecretsOutput ¶
func ReadSetSecretsOutput(r io.Reader) (driver.SetSecretsOutput, error)
ReadSetSecretsOutput reads io.Reader until io.EOF and returs driver.SetSecretsOutput
func ReadSubscriptionConnectionInput ¶
func ReadSubscriptionConnectionInput(r io.Reader) (driver.SubscriptionConnectionInput, error)
ReadSubscriptionConnectionInput reads io.Reader until io.EOF and returs driver.SubscriptionConnectionInput
func ReadSubscriptionConnectionOutput ¶
func ReadSubscriptionConnectionOutput(r io.Reader) (driver.SubscriptionConnectionOutput, error)
ReadSubscriptionConnectionOutput reads io.Reader until io.EOF and returs driver.SubscriptionConnectionOutput
func ReadSubscriptionListenInput ¶
func ReadSubscriptionListenInput(r io.Reader) (driver.SubscriptionListenInput, error)
ReadSubscriptionListenInput reads io.Reader until io.EOF and returs driver.SubscriptionListenInput
func ReadUnionResolveTypeInput ¶
func ReadUnionResolveTypeInput(r io.Reader) (driver.UnionResolveTypeInput, error)
ReadUnionResolveTypeInput reads io.Reader until io.EOF and returs driver.UnionResolveTypeInput
func ReadUnionResolveTypeOutput ¶
func ReadUnionResolveTypeOutput(r io.Reader) (driver.UnionResolveTypeOutput, error)
ReadUnionResolveTypeOutput reads io.Reader until io.EOF and returs driver.UnionResolveTypeOutput
func WriteAuthorizeInput ¶
func WriteAuthorizeInput(w io.Writer, input driver.AuthorizeInput) error
WriteAuthorizeInput writes AuthorizeInput into io.Writer
func WriteAuthorizeOutput ¶
WriteAuthorizeOutput writes AuthorizeOutput into io.Writer
func WriteFieldResolveInput ¶
func WriteFieldResolveInput(w io.Writer, input driver.FieldResolveInput) error
WriteFieldResolveInput writes FieldResolveInput into io.Writer
func WriteFieldResolveOutput ¶
WriteFieldResolveOutput writes FieldResolveOutput into io.Writer
func WriteInterfaceResolveTypeInput ¶
func WriteInterfaceResolveTypeInput(w io.Writer, input driver.InterfaceResolveTypeInput) error
WriteInterfaceResolveTypeInput writes InterfaceResolveTypeInput into io.Writer
func WriteInterfaceResolveTypeOutput ¶
WriteInterfaceResolveTypeOutput writes InterfaceResolveTypeOutput into io.Writer
func WriteScalarParseInput ¶
func WriteScalarParseInput(w io.Writer, input driver.ScalarParseInput) error
WriteScalarParseInput writes ScalarParseInput into io.Writer
func WriteScalarParseOutput ¶
WriteScalarParseOutput writes ScalarParseOutput into io.Writer
func WriteScalarSerializeInput ¶
func WriteScalarSerializeInput(w io.Writer, input driver.ScalarSerializeInput) error
WriteScalarSerializeInput writes ScalarSerializeInput into io.Writer
func WriteScalarSerializeOutput ¶
WriteScalarSerializeOutput writes ScalarSerializeOutput into io.Writer
func WriteSetSecretsInput ¶
func WriteSetSecretsInput(w io.Writer, input driver.SetSecretsInput) error
WriteSetSecretsInput writes SetSecretsInput into io.Writer
func WriteSetSecretsOutput ¶
WriteSetSecretsOutput writes SetSecretsOutput into io.Writer
func WriteSubscriptionConnectionInput ¶
func WriteSubscriptionConnectionInput(w io.Writer, input driver.SubscriptionConnectionInput) error
WriteSubscriptionConnectionInput writes SubscriptionConnectionInput into io.Writer
func WriteSubscriptionConnectionOutput ¶
WriteSubscriptionConnectionOutput writes SubscriptionConnectionOutput into io.Writer
func WriteSubscriptionListenInput ¶
func WriteSubscriptionListenInput(w io.Writer, input driver.SubscriptionListenInput) error
WriteSubscriptionListenInput writes SubscriptionListenInput into io.Writer
func WriteUnionResolveTypeInput ¶
func WriteUnionResolveTypeInput(w io.Writer, input driver.UnionResolveTypeInput) error
WriteUnionResolveTypeInput writes UnionResolveTypeInput into io.Writer
Types ¶
type ValueMarshaler ¶
type ValueMarshaler interface {
MarshalValue() (*protoMessages.Value, error)
}
ValueMarshaler interface for client types that can return it's own protoMessages.Value