Documentation ¶
Overview ¶
Package proto is a generated protocol buffer package.
It is generated from these files:
plugin_interface.proto
It has these top-level messages:
ErrorStatus DeployRequest Empty
Index ¶
- func RegisterPluginInterfaceServer(s *grpc.Server, srv PluginInterfaceServer)
- type DeployRequest
- type Empty
- type ErrorStatus
- func (*ErrorStatus) Descriptor() ([]byte, []int)
- func (m *ErrorStatus) GetError() string
- func (m *ErrorStatus) GetOptionalErr() isErrorStatus_OptionalErr
- func (*ErrorStatus) ProtoMessage()
- func (m *ErrorStatus) Reset()
- func (m *ErrorStatus) String() string
- func (*ErrorStatus) XXX_OneofFuncs() (func(msg proto1.Message, b *proto1.Buffer) error, ...)
- type ErrorStatus_Error
- type PluginInterfaceClient
- type PluginInterfaceServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterPluginInterfaceServer ¶
func RegisterPluginInterfaceServer(s *grpc.Server, srv PluginInterfaceServer)
Types ¶
type DeployRequest ¶
type DeployRequest struct {
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}
func (*DeployRequest) Descriptor ¶
func (*DeployRequest) Descriptor() ([]byte, []int)
func (*DeployRequest) GetName ¶
func (m *DeployRequest) GetName() string
func (*DeployRequest) ProtoMessage ¶
func (*DeployRequest) ProtoMessage()
func (*DeployRequest) Reset ¶
func (m *DeployRequest) Reset()
func (*DeployRequest) String ¶
func (m *DeployRequest) String() string
type Empty ¶
type Empty struct { }
func (*Empty) Descriptor ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
type ErrorStatus ¶
type ErrorStatus struct { // Types that are valid to be assigned to OptionalErr: // *ErrorStatus_Error OptionalErr isErrorStatus_OptionalErr `protobuf_oneof:"optional_err"` }
func (*ErrorStatus) Descriptor ¶
func (*ErrorStatus) Descriptor() ([]byte, []int)
func (*ErrorStatus) GetError ¶
func (m *ErrorStatus) GetError() string
func (*ErrorStatus) GetOptionalErr ¶
func (m *ErrorStatus) GetOptionalErr() isErrorStatus_OptionalErr
func (*ErrorStatus) ProtoMessage ¶
func (*ErrorStatus) ProtoMessage()
func (*ErrorStatus) Reset ¶
func (m *ErrorStatus) Reset()
func (*ErrorStatus) String ¶
func (m *ErrorStatus) String() string
func (*ErrorStatus) XXX_OneofFuncs ¶
func (*ErrorStatus) XXX_OneofFuncs() (func(msg proto1.Message, b *proto1.Buffer) error, func(msg proto1.Message, tag, wire int, b *proto1.Buffer) (bool, error), func(msg proto1.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type ErrorStatus_Error ¶
type ErrorStatus_Error struct {
Error string `protobuf:"bytes,2,opt,name=error,oneof"`
}
type PluginInterfaceClient ¶
type PluginInterfaceClient interface { Initialization(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ErrorStatus, error) Deploy(ctx context.Context, in *DeployRequest, opts ...grpc.CallOption) (*ErrorStatus, error) UnInitialization(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ErrorStatus, error) }
func NewPluginInterfaceClient ¶
func NewPluginInterfaceClient(cc *grpc.ClientConn) PluginInterfaceClient
type PluginInterfaceServer ¶
type PluginInterfaceServer interface { Initialization(context.Context, *Empty) (*ErrorStatus, error) Deploy(context.Context, *DeployRequest) (*ErrorStatus, error) UnInitialization(context.Context, *Empty) (*ErrorStatus, error) }
Click to show internal directories.
Click to hide internal directories.