build

package
v0.0.0-...-e218867 Latest Latest
Warning

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

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

Documentation

Overview

Package build is a generated protocol buffer package.

It is generated from these files:

pkg/protobuf/build/build.proto

It has these top-level messages:

BuildRequest
BuildResponse
ListRequest
ListResponse
RunRequest
RunResponse
DeleteRequest
Empty

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterBuildServer

func RegisterBuildServer(s *grpc.Server, srv BuildServer)

Types

type BuildClient

type BuildClient interface {
	Make(ctx context.Context, opts ...grpc.CallOption) (Build_MakeClient, error)
	List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error)
	Run(ctx context.Context, in *RunRequest, opts ...grpc.CallOption) (Build_RunClient, error)
	Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*Empty, error)
}

func NewBuildClient

func NewBuildClient(cc *grpc.ClientConn) BuildClient

type BuildRequest

type BuildRequest struct {
	// Types that are valid to be assigned to Value:
	//	*BuildRequest_Info_
	//	*BuildRequest_File_
	Value isBuildRequest_Value `protobuf_oneof:"value"`
}

func (*BuildRequest) Descriptor

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

func (*BuildRequest) GetFile

func (m *BuildRequest) GetFile() *BuildRequest_File

func (*BuildRequest) GetInfo

func (m *BuildRequest) GetInfo() *BuildRequest_Info

func (*BuildRequest) GetValue

func (m *BuildRequest) GetValue() isBuildRequest_Value

func (*BuildRequest) ProtoMessage

func (*BuildRequest) ProtoMessage()

func (*BuildRequest) Reset

func (m *BuildRequest) Reset()

func (*BuildRequest) String

func (m *BuildRequest) String() string

func (*BuildRequest) XXX_OneofFuncs

func (*BuildRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type BuildRequest_File

type BuildRequest_File struct {
	Chunk []byte `protobuf:"bytes,1,opt,name=chunk,proto3" json:"chunk,omitempty"`
}

func (*BuildRequest_File) Descriptor

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

func (*BuildRequest_File) GetChunk

func (m *BuildRequest_File) GetChunk() []byte

func (*BuildRequest_File) ProtoMessage

func (*BuildRequest_File) ProtoMessage()

func (*BuildRequest_File) Reset

func (m *BuildRequest_File) Reset()

func (*BuildRequest_File) String

func (m *BuildRequest_File) String() string

type BuildRequest_File_

type BuildRequest_File_ struct {
	File *BuildRequest_File `protobuf:"bytes,2,opt,name=file,oneof"`
}

type BuildRequest_Info

type BuildRequest_Info struct {
	App  string `protobuf:"bytes,1,opt,name=app" json:"app,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	Run  bool   `protobuf:"varint,3,opt,name=run" json:"run,omitempty"`
}

func (*BuildRequest_Info) Descriptor

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

func (*BuildRequest_Info) GetApp

func (m *BuildRequest_Info) GetApp() string

func (*BuildRequest_Info) GetName

func (m *BuildRequest_Info) GetName() string

func (*BuildRequest_Info) GetRun

func (m *BuildRequest_Info) GetRun() bool

func (*BuildRequest_Info) ProtoMessage

func (*BuildRequest_Info) ProtoMessage()

func (*BuildRequest_Info) Reset

func (m *BuildRequest_Info) Reset()

func (*BuildRequest_Info) String

func (m *BuildRequest_Info) String() string

type BuildRequest_Info_

type BuildRequest_Info_ struct {
	Info *BuildRequest_Info `protobuf:"bytes,1,opt,name=info,oneof"`
}

type BuildResponse

type BuildResponse struct {
	Text string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"`
}

func (*BuildResponse) Descriptor

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

func (*BuildResponse) GetText

func (m *BuildResponse) GetText() string

func (*BuildResponse) ProtoMessage

func (*BuildResponse) ProtoMessage()

func (*BuildResponse) Reset

func (m *BuildResponse) Reset()

func (*BuildResponse) String

func (m *BuildResponse) String() string

type Build_MakeClient

type Build_MakeClient interface {
	Send(*BuildRequest) error
	Recv() (*BuildResponse, error)
	grpc.ClientStream
}

type Build_MakeServer

type Build_MakeServer interface {
	Send(*BuildResponse) error
	Recv() (*BuildRequest, error)
	grpc.ServerStream
}

type Build_RunClient

type Build_RunClient interface {
	Recv() (*RunResponse, error)
	grpc.ClientStream
}

type Build_RunServer

type Build_RunServer interface {
	Send(*RunResponse) error
	grpc.ServerStream
}

type DeleteRequest

type DeleteRequest struct {
	AppName string `protobuf:"bytes,1,opt,name=app_name,json=appName" json:"app_name,omitempty"`
	Name    string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
}

func (*DeleteRequest) Descriptor

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

func (*DeleteRequest) GetAppName

func (m *DeleteRequest) GetAppName() string

func (*DeleteRequest) GetName

func (m *DeleteRequest) GetName() string

func (*DeleteRequest) ProtoMessage

func (*DeleteRequest) ProtoMessage()

func (*DeleteRequest) Reset

func (m *DeleteRequest) Reset()

func (*DeleteRequest) String

func (m *DeleteRequest) String() string

type Empty

type Empty struct {
}

func (*Empty) Descriptor

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

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) Reset

func (m *Empty) Reset()

func (*Empty) String

func (m *Empty) String() string

type ListRequest

type ListRequest struct {
	AppName string `protobuf:"bytes,1,opt,name=app_name,json=appName" json:"app_name,omitempty"`
}

func (*ListRequest) Descriptor

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

func (*ListRequest) GetAppName

func (m *ListRequest) GetAppName() string

func (*ListRequest) ProtoMessage

func (*ListRequest) ProtoMessage()

func (*ListRequest) Reset

func (m *ListRequest) Reset()

func (*ListRequest) String

func (m *ListRequest) String() string

type ListResponse

type ListResponse struct {
	Builds []*ListResponse_Build `protobuf:"bytes,1,rep,name=builds" json:"builds,omitempty"`
}

func (*ListResponse) Descriptor

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

func (*ListResponse) GetBuilds

func (m *ListResponse) GetBuilds() []*ListResponse_Build

func (*ListResponse) ProtoMessage

func (*ListResponse) ProtoMessage()

func (*ListResponse) Reset

func (m *ListResponse) Reset()

func (*ListResponse) String

func (m *ListResponse) String() string

type ListResponse_Build

type ListResponse_Build struct {
	Name         string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	LastModified string `protobuf:"bytes,2,opt,name=last_modified,json=lastModified" json:"last_modified,omitempty"`
}

func (*ListResponse_Build) Descriptor

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

func (*ListResponse_Build) GetLastModified

func (m *ListResponse_Build) GetLastModified() string

func (*ListResponse_Build) GetName

func (m *ListResponse_Build) GetName() string

func (*ListResponse_Build) ProtoMessage

func (*ListResponse_Build) ProtoMessage()

func (*ListResponse_Build) Reset

func (m *ListResponse_Build) Reset()

func (*ListResponse_Build) String

func (m *ListResponse_Build) String() string

type RunRequest

type RunRequest struct {
	AppName string `protobuf:"bytes,1,opt,name=app_name,json=appName" json:"app_name,omitempty"`
	Name    string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
}

func (*RunRequest) Descriptor

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

func (*RunRequest) GetAppName

func (m *RunRequest) GetAppName() string

func (*RunRequest) GetName

func (m *RunRequest) GetName() string

func (*RunRequest) ProtoMessage

func (*RunRequest) ProtoMessage()

func (*RunRequest) Reset

func (m *RunRequest) Reset()

func (*RunRequest) String

func (m *RunRequest) String() string

type RunResponse

type RunResponse struct {
	Text string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"`
}

func (*RunResponse) Descriptor

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

func (*RunResponse) GetText

func (m *RunResponse) GetText() string

func (*RunResponse) ProtoMessage

func (*RunResponse) ProtoMessage()

func (*RunResponse) Reset

func (m *RunResponse) Reset()

func (*RunResponse) String

func (m *RunResponse) String() string

Jump to

Keyboard shortcuts

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