deployment

package
v0.0.0-...-81fa7a2 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2019 License: Apache-2.0 Imports: 5 Imported by: 1

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

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) Descriptor() ([]byte, []int)

func (*Response) GetCode

func (m *Response) GetCode() int32

func (*Response) GetMessage

func (m *Response) GetMessage() string

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) Reset

func (m *Response) Reset()

func (*Response) String

func (m *Response) String() string

Jump to

Keyboard shortcuts

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