podextension

package
v0.0.0-...-faadaa8 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_extension_proto protoreflect.FileDescriptor

Functions

func RegisterPodExtensionServer

func RegisterPodExtensionServer(s *grpc.Server, srv PodExtensionServer)

Types

type PodExtensionClient

type PodExtensionClient interface {
	Unary(ctx context.Context, in *UnaryReq, opts ...grpc.CallOption) (*UnaryResp, error)
}

PodExtensionClient is the client API for PodExtension service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type PodExtensionServer

type PodExtensionServer interface {
	Unary(context.Context, *UnaryReq) (*UnaryResp, error)
}

PodExtensionServer is the server API for PodExtension service.

type UnaryReq

type UnaryReq struct {

	// the name of the intent as Unaryed by the escape pod.
	IntentName string `protobuf:"bytes,1,opt,name=intent_name,json=intentName,proto3" json:"intent_name,omitempty"`
	// a list of parameters as parsed by the escape pod
	Parameters map[string]string `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UnaryReq) Descriptor deprecated

func (*UnaryReq) Descriptor() ([]byte, []int)

Deprecated: Use UnaryReq.ProtoReflect.Descriptor instead.

func (*UnaryReq) GetIntentName

func (x *UnaryReq) GetIntentName() string

func (*UnaryReq) GetParameters

func (x *UnaryReq) GetParameters() map[string]string

func (*UnaryReq) ProtoMessage

func (*UnaryReq) ProtoMessage()

func (*UnaryReq) ProtoReflect

func (x *UnaryReq) ProtoReflect() protoreflect.Message

func (*UnaryReq) Reset

func (x *UnaryReq) Reset()

func (*UnaryReq) String

func (x *UnaryReq) String() string

type UnaryResp

type UnaryResp struct {

	// the named intent to respond with.
	IntentName string `protobuf:"bytes,1,opt,name=intent_name,json=intentName,proto3" json:"intent_name,omitempty"`
	// a list of parameters to respond with
	Parameters map[string]string `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UnaryResp) Descriptor deprecated

func (*UnaryResp) Descriptor() ([]byte, []int)

Deprecated: Use UnaryResp.ProtoReflect.Descriptor instead.

func (*UnaryResp) GetIntentName

func (x *UnaryResp) GetIntentName() string

func (*UnaryResp) GetParameters

func (x *UnaryResp) GetParameters() map[string]string

func (*UnaryResp) ProtoMessage

func (*UnaryResp) ProtoMessage()

func (*UnaryResp) ProtoReflect

func (x *UnaryResp) ProtoReflect() protoreflect.Message

func (*UnaryResp) Reset

func (x *UnaryResp) Reset()

func (*UnaryResp) String

func (x *UnaryResp) String() string

type UnimplementedPodExtensionServer

type UnimplementedPodExtensionServer struct {
}

UnimplementedPodExtensionServer can be embedded to have forward compatible implementations.

func (*UnimplementedPodExtensionServer) Unary

Jump to

Keyboard shortcuts

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