Documentation
¶
Index ¶
- Variables
- func RegisterEIAMPluginServer(s grpc.ServiceRegistrar, srv EIAMPluginServer)
- type EIAMPluginClient
- type EIAMPluginServer
- type Empty
- type PluginInfo
- func (*PluginInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PluginInfo) GetDescription() string
- func (x *PluginInfo) GetName() string
- func (x *PluginInfo) GetVersion() string
- func (*PluginInfo) ProtoMessage()
- func (x *PluginInfo) ProtoReflect() protoreflect.Message
- func (x *PluginInfo) Reset()
- func (x *PluginInfo) String() string
- type UnimplementedEIAMPluginServer
- type UnsafeEIAMPluginServer
Constants ¶
This section is empty.
Variables ¶
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)
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://pkgo.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) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
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) GetInfo(context.Context, *Empty) (*PluginInfo, error)
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.