__

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EIAMPlugin_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "proto.EIAMPlugin",
	HandlerType: (*EIAMPluginServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetInfo",
			Handler:    _EIAMPlugin_GetInfo_Handler,
		},
		{
			MethodName: "Run",
			Handler:    _EIAMPlugin_Run_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "internal/plugins/proto/eiamplugin.proto",
}

EIAMPlugin_ServiceDesc is the grpc.ServiceDesc for EIAMPlugin service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_internal_plugins_proto_eiamplugin_proto protoreflect.FileDescriptor

Functions

func RegisterEIAMPluginServer

func RegisterEIAMPluginServer(s grpc.ServiceRegistrar, srv EIAMPluginServer)

Types

type EIAMPluginClient

type EIAMPluginClient interface {
	GetInfo(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*PluginInfo, error)
	Run(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error)
}

EIAMPluginClient is the client API for EIAMPlugin service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewEIAMPluginClient

func NewEIAMPluginClient(cc grpc.ClientConnInterface) EIAMPluginClient

type EIAMPluginServer

type EIAMPluginServer interface {
	GetInfo(context.Context, *Empty) (*PluginInfo, error)
	Run(context.Context, *Empty) (*Empty, error)
	// contains filtered or unexported methods
}

EIAMPluginServer is the server API for EIAMPlugin service. All implementations must embed UnimplementedEIAMPluginServer for forward compatibility

type Empty

type Empty struct {
	// contains filtered or unexported fields
}

func (*Empty) Descriptor deprecated

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

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

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

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type PluginInfo

type PluginInfo struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Version     string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*PluginInfo) Descriptor deprecated

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

Deprecated: Use PluginInfo.ProtoReflect.Descriptor instead.

func (*PluginInfo) GetDescription

func (x *PluginInfo) GetDescription() string

func (*PluginInfo) GetName

func (x *PluginInfo) GetName() string

func (*PluginInfo) GetVersion

func (x *PluginInfo) GetVersion() string

func (*PluginInfo) ProtoMessage

func (*PluginInfo) ProtoMessage()

func (*PluginInfo) ProtoReflect

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

func (*PluginInfo) Reset

func (x *PluginInfo) Reset()

func (*PluginInfo) String

func (x *PluginInfo) String() string

type UnimplementedEIAMPluginServer

type UnimplementedEIAMPluginServer struct {
}

UnimplementedEIAMPluginServer must be embedded to have forward compatible implementations.

func (UnimplementedEIAMPluginServer) GetInfo

func (UnimplementedEIAMPluginServer) Run

type UnsafeEIAMPluginServer

type UnsafeEIAMPluginServer interface {
	// contains filtered or unexported methods
}

UnsafeEIAMPluginServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EIAMPluginServer will result in compilation errors.

Jump to

Keyboard shortcuts

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