Documentation ¶
Overview ¶
Used internally for the RPC protocol.
Index ¶
- func ReturnTypeError(expected string) error
- func UnwrapHeaders(st *structpb.Struct) map[string][]string
- func WrapHeaders(h map[string][]string) (*structpb.Struct, error)
- func WrapString(s string) *kong_plugin_protocol.String
- type PdkBridge
- func (b PdkBridge) Ask(method string, args proto.Message, out proto.Message) error
- func (b PdkBridge) AskInt(method string, args proto.Message) (int, error)
- func (b PdkBridge) AskNumber(method string, args proto.Message) (float64, error)
- func (b PdkBridge) AskString(method string, args proto.Message) (string, error)
- func (b PdkBridge) AskValue(method string, args proto.Message) (interface{}, error)
- func (b PdkBridge) Close() error
- type StepData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReturnTypeError ¶
func WrapHeaders ¶ added in v0.7.0
func WrapString ¶ added in v0.7.0
func WrapString(s string) *kong_plugin_protocol.String
Types ¶
Click to show internal directories.
Click to hide internal directories.