proto

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2019 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterJoyciCoreServer

func RegisterJoyciCoreServer(s *grpc.Server, srv JoyciCoreServer)

Types

type ExecuteCommandsRequest

type ExecuteCommandsRequest struct {
	ApplicationName      string   `protobuf:"bytes,1,opt,name=applicationName,proto3" json:"applicationName,omitempty"`
	JobDir               string   `protobuf:"bytes,2,opt,name=jobDir,proto3" json:"jobDir,omitempty"`
	Commands             []string `protobuf:"bytes,3,rep,name=commands,proto3" json:"commands,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ExecuteCommandsRequest) Descriptor

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

func (*ExecuteCommandsRequest) GetApplicationName added in v0.0.2

func (m *ExecuteCommandsRequest) GetApplicationName() string

func (*ExecuteCommandsRequest) GetCommands

func (m *ExecuteCommandsRequest) GetCommands() []string

func (*ExecuteCommandsRequest) GetJobDir added in v0.0.2

func (m *ExecuteCommandsRequest) GetJobDir() string

func (*ExecuteCommandsRequest) ProtoMessage

func (*ExecuteCommandsRequest) ProtoMessage()

func (*ExecuteCommandsRequest) Reset

func (m *ExecuteCommandsRequest) Reset()

func (*ExecuteCommandsRequest) String

func (m *ExecuteCommandsRequest) String() string

func (*ExecuteCommandsRequest) XXX_DiscardUnknown

func (m *ExecuteCommandsRequest) XXX_DiscardUnknown()

func (*ExecuteCommandsRequest) XXX_Marshal

func (m *ExecuteCommandsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExecuteCommandsRequest) XXX_Merge

func (m *ExecuteCommandsRequest) XXX_Merge(src proto.Message)

func (*ExecuteCommandsRequest) XXX_Size

func (m *ExecuteCommandsRequest) XXX_Size() int

func (*ExecuteCommandsRequest) XXX_Unmarshal

func (m *ExecuteCommandsRequest) XXX_Unmarshal(b []byte) error

type GitCloneRequest

type GitCloneRequest struct {
	ApplicationName      string   `protobuf:"bytes,1,opt,name=applicationName,proto3" json:"applicationName,omitempty"`
	JobDir               string   `protobuf:"bytes,2,opt,name=jobDir,proto3" json:"jobDir,omitempty"`
	Repository           string   `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GitCloneRequest) Descriptor

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

func (*GitCloneRequest) GetApplicationName added in v0.0.2

func (m *GitCloneRequest) GetApplicationName() string

func (*GitCloneRequest) GetJobDir added in v0.0.2

func (m *GitCloneRequest) GetJobDir() string

func (*GitCloneRequest) GetRepository

func (m *GitCloneRequest) GetRepository() string

func (*GitCloneRequest) ProtoMessage

func (*GitCloneRequest) ProtoMessage()

func (*GitCloneRequest) Reset

func (m *GitCloneRequest) Reset()

func (*GitCloneRequest) String

func (m *GitCloneRequest) String() string

func (*GitCloneRequest) XXX_DiscardUnknown

func (m *GitCloneRequest) XXX_DiscardUnknown()

func (*GitCloneRequest) XXX_Marshal

func (m *GitCloneRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GitCloneRequest) XXX_Merge

func (m *GitCloneRequest) XXX_Merge(src proto.Message)

func (*GitCloneRequest) XXX_Size

func (m *GitCloneRequest) XXX_Size() int

func (*GitCloneRequest) XXX_Unmarshal

func (m *GitCloneRequest) XXX_Unmarshal(b []byte) error

type JoyciCoreClient

type JoyciCoreClient interface {
	GitClone(ctx context.Context, in *GitCloneRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	ExecuteCommands(ctx context.Context, in *ExecuteCommandsRequest, opts ...grpc.CallOption) (*empty.Empty, error)
}

JoyciCoreClient is the client API for JoyciCore service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewJoyciCoreClient

func NewJoyciCoreClient(cc *grpc.ClientConn) JoyciCoreClient

type JoyciCoreServer

type JoyciCoreServer interface {
	GitClone(context.Context, *GitCloneRequest) (*empty.Empty, error)
	ExecuteCommands(context.Context, *ExecuteCommandsRequest) (*empty.Empty, error)
}

JoyciCoreServer is the server API for JoyciCore service.

type UnimplementedJoyciCoreServer

type UnimplementedJoyciCoreServer struct {
}

UnimplementedJoyciCoreServer can be embedded to have forward compatible implementations.

func (*UnimplementedJoyciCoreServer) ExecuteCommands

func (*UnimplementedJoyciCoreServer) GitClone

Jump to

Keyboard shortcuts

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