Documentation ¶
Overview ¶
Package deployment is a generated protocol buffer package.
It is generated from these files:
contracts.proto
It has these top-level messages:
DeployRequest Response
Index ¶
- func RegisterDeployerServer(s *grpc.Server, srv DeployerServer)
- type DeployRequest
- func (*DeployRequest) Descriptor() ([]byte, []int)
- func (m *DeployRequest) GetBotId() string
- func (m *DeployRequest) GetEnvironment() map[string]string
- func (m *DeployRequest) GetToken() string
- func (*DeployRequest) ProtoMessage()
- func (m *DeployRequest) Reset()
- func (m *DeployRequest) String() string
- type DeployerClient
- type DeployerServer
- type Deployer_DeployClient
- type Deployer_DeployServer
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterDeployerServer ¶
func RegisterDeployerServer(s *grpc.Server, srv DeployerServer)
Types ¶
type DeployRequest ¶
type DeployRequest struct { Token string `protobuf:"bytes,1,opt,name=token" json:"token,omitempty"` BotId string `protobuf:"bytes,2,opt,name=botId" json:"botId,omitempty"` Environment map[string]string `` /* 142-byte string literal not displayed */ }
func (*DeployRequest) Descriptor ¶
func (*DeployRequest) Descriptor() ([]byte, []int)
func (*DeployRequest) GetBotId ¶
func (m *DeployRequest) GetBotId() string
func (*DeployRequest) GetEnvironment ¶
func (m *DeployRequest) GetEnvironment() map[string]string
func (*DeployRequest) GetToken ¶
func (m *DeployRequest) GetToken() string
func (*DeployRequest) ProtoMessage ¶
func (*DeployRequest) ProtoMessage()
func (*DeployRequest) Reset ¶
func (m *DeployRequest) Reset()
func (*DeployRequest) String ¶
func (m *DeployRequest) String() string
type DeployerClient ¶
type DeployerClient interface {
Deploy(ctx context.Context, in *DeployRequest, opts ...grpc.CallOption) (Deployer_DeployClient, error)
}
func NewDeployerClient ¶
func NewDeployerClient(cc *grpc.ClientConn) DeployerClient
type DeployerServer ¶
type DeployerServer interface {
Deploy(*DeployRequest, Deployer_DeployServer) error
}
type Deployer_DeployClient ¶
type Deployer_DeployClient interface { Recv() (*Response, error) grpc.ClientStream }
type Deployer_DeployServer ¶
type Deployer_DeployServer interface { Send(*Response) error grpc.ServerStream }
type Response ¶
type Response struct { Code int32 `protobuf:"varint,1,opt,name=code" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"` }
func (*Response) Descriptor ¶
func (*Response) GetMessage ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.