Documentation ¶
Index ¶
- func RegisterJoyciCoreServer(s *grpc.Server, srv JoyciCoreServer)
- type ExecuteCommandsRequest
- func (*ExecuteCommandsRequest) Descriptor() ([]byte, []int)
- func (m *ExecuteCommandsRequest) GetApplicationName() string
- func (m *ExecuteCommandsRequest) GetCommands() []string
- func (m *ExecuteCommandsRequest) GetJobDir() string
- func (*ExecuteCommandsRequest) ProtoMessage()
- func (m *ExecuteCommandsRequest) Reset()
- func (m *ExecuteCommandsRequest) String() string
- func (m *ExecuteCommandsRequest) XXX_DiscardUnknown()
- func (m *ExecuteCommandsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExecuteCommandsRequest) XXX_Merge(src proto.Message)
- func (m *ExecuteCommandsRequest) XXX_Size() int
- func (m *ExecuteCommandsRequest) XXX_Unmarshal(b []byte) error
- type GitCloneRequest
- func (*GitCloneRequest) Descriptor() ([]byte, []int)
- func (m *GitCloneRequest) GetApplicationName() string
- func (m *GitCloneRequest) GetJobDir() string
- func (m *GitCloneRequest) GetRepository() string
- func (*GitCloneRequest) ProtoMessage()
- func (m *GitCloneRequest) Reset()
- func (m *GitCloneRequest) String() string
- func (m *GitCloneRequest) XXX_DiscardUnknown()
- func (m *GitCloneRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GitCloneRequest) XXX_Merge(src proto.Message)
- func (m *GitCloneRequest) XXX_Size() int
- func (m *GitCloneRequest) XXX_Unmarshal(b []byte) error
- type JoyciCoreClient
- type JoyciCoreServer
- type UnimplementedJoyciCoreServer
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) ExecuteCommands(ctx context.Context, req *ExecuteCommandsRequest) (*empty.Empty, error)
func (*UnimplementedJoyciCoreServer) GitClone ¶
func (*UnimplementedJoyciCoreServer) GitClone(ctx context.Context, req *GitCloneRequest) (*empty.Empty, error)
Click to show internal directories.
Click to hide internal directories.