|
|
|
@@ -7,6 +7,7 @@ import (
|
|
|
|
|
context "context"
|
|
|
|
|
fmt "fmt"
|
|
|
|
|
proto "github.com/golang/protobuf/proto"
|
|
|
|
|
empty "github.com/golang/protobuf/ptypes/empty"
|
|
|
|
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
|
|
|
|
grpc "google.golang.org/grpc"
|
|
|
|
|
codes "google.golang.org/grpc/codes"
|
|
|
|
@@ -166,6 +167,53 @@ func (m *WatchWorkflowRequest) GetName() string {
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type TerminateWorkflowRequest struct {
|
|
|
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
|
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *TerminateWorkflowRequest) Reset() { *m = TerminateWorkflowRequest{} }
|
|
|
|
|
func (m *TerminateWorkflowRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*TerminateWorkflowRequest) ProtoMessage() {}
|
|
|
|
|
func (*TerminateWorkflowRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_892c7f566756b0be, []int{3}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *TerminateWorkflowRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return xxx_messageInfo_TerminateWorkflowRequest.Unmarshal(m, b)
|
|
|
|
|
}
|
|
|
|
|
func (m *TerminateWorkflowRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
|
return xxx_messageInfo_TerminateWorkflowRequest.Marshal(b, m, deterministic)
|
|
|
|
|
}
|
|
|
|
|
func (m *TerminateWorkflowRequest) XXX_Merge(src proto.Message) {
|
|
|
|
|
xxx_messageInfo_TerminateWorkflowRequest.Merge(m, src)
|
|
|
|
|
}
|
|
|
|
|
func (m *TerminateWorkflowRequest) XXX_Size() int {
|
|
|
|
|
return xxx_messageInfo_TerminateWorkflowRequest.Size(m)
|
|
|
|
|
}
|
|
|
|
|
func (m *TerminateWorkflowRequest) XXX_DiscardUnknown() {
|
|
|
|
|
xxx_messageInfo_TerminateWorkflowRequest.DiscardUnknown(m)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var xxx_messageInfo_TerminateWorkflowRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
|
|
func (m *TerminateWorkflowRequest) GetNamespace() string {
|
|
|
|
|
if m != nil {
|
|
|
|
|
return m.Namespace
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *TerminateWorkflowRequest) GetName() string {
|
|
|
|
|
if m != nil {
|
|
|
|
|
return m.Name
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type GetWorkflowLogsRequest struct {
|
|
|
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
|
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
|
@@ -180,7 +228,7 @@ func (m *GetWorkflowLogsRequest) Reset() { *m = GetWorkflowLogsRequest{}
|
|
|
|
|
func (m *GetWorkflowLogsRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*GetWorkflowLogsRequest) ProtoMessage() {}
|
|
|
|
|
func (*GetWorkflowLogsRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_892c7f566756b0be, []int{3}
|
|
|
|
|
return fileDescriptor_892c7f566756b0be, []int{4}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *GetWorkflowLogsRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
@@ -242,7 +290,7 @@ func (m *ListWorkflowsRequest) Reset() { *m = ListWorkflowsRequest{} }
|
|
|
|
|
func (m *ListWorkflowsRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*ListWorkflowsRequest) ProtoMessage() {}
|
|
|
|
|
func (*ListWorkflowsRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_892c7f566756b0be, []int{4}
|
|
|
|
|
return fileDescriptor_892c7f566756b0be, []int{5}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *ListWorkflowsRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
@@ -296,7 +344,7 @@ func (m *ListWorkflowsResponse) Reset() { *m = ListWorkflowsResponse{} }
|
|
|
|
|
func (m *ListWorkflowsResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*ListWorkflowsResponse) ProtoMessage() {}
|
|
|
|
|
func (*ListWorkflowsResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_892c7f566756b0be, []int{5}
|
|
|
|
|
return fileDescriptor_892c7f566756b0be, []int{6}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *ListWorkflowsResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
@@ -343,7 +391,7 @@ func (m *LogEntry) Reset() { *m = LogEntry{} }
|
|
|
|
|
func (m *LogEntry) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*LogEntry) ProtoMessage() {}
|
|
|
|
|
func (*LogEntry) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_892c7f566756b0be, []int{6}
|
|
|
|
|
return fileDescriptor_892c7f566756b0be, []int{7}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *LogEntry) XXX_Unmarshal(b []byte) error {
|
|
|
|
@@ -394,7 +442,7 @@ func (m *Workflow) Reset() { *m = Workflow{} }
|
|
|
|
|
func (m *Workflow) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*Workflow) ProtoMessage() {}
|
|
|
|
|
func (*Workflow) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_892c7f566756b0be, []int{7}
|
|
|
|
|
return fileDescriptor_892c7f566756b0be, []int{8}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *Workflow) XXX_Unmarshal(b []byte) error {
|
|
|
|
@@ -469,7 +517,7 @@ func (m *WorkflowParameter) Reset() { *m = WorkflowParameter{} }
|
|
|
|
|
func (m *WorkflowParameter) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*WorkflowParameter) ProtoMessage() {}
|
|
|
|
|
func (*WorkflowParameter) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_892c7f566756b0be, []int{8}
|
|
|
|
|
return fileDescriptor_892c7f566756b0be, []int{9}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *WorkflowParameter) XXX_Unmarshal(b []byte) error {
|
|
|
|
@@ -508,6 +556,7 @@ func init() {
|
|
|
|
|
proto.RegisterType((*CreateWorkflowRequest)(nil), "api.CreateWorkflowRequest")
|
|
|
|
|
proto.RegisterType((*GetWorkflowRequest)(nil), "api.GetWorkflowRequest")
|
|
|
|
|
proto.RegisterType((*WatchWorkflowRequest)(nil), "api.WatchWorkflowRequest")
|
|
|
|
|
proto.RegisterType((*TerminateWorkflowRequest)(nil), "api.TerminateWorkflowRequest")
|
|
|
|
|
proto.RegisterType((*GetWorkflowLogsRequest)(nil), "api.GetWorkflowLogsRequest")
|
|
|
|
|
proto.RegisterType((*ListWorkflowsRequest)(nil), "api.ListWorkflowsRequest")
|
|
|
|
|
proto.RegisterType((*ListWorkflowsResponse)(nil), "api.ListWorkflowsResponse")
|
|
|
|
@@ -519,63 +568,66 @@ func init() {
|
|
|
|
|
func init() { proto.RegisterFile("workflow.proto", fileDescriptor_892c7f566756b0be) }
|
|
|
|
|
|
|
|
|
|
var fileDescriptor_892c7f566756b0be = []byte{
|
|
|
|
|
// 883 bytes of a gzipped FileDescriptorProto
|
|
|
|
|
// 944 bytes of a gzipped FileDescriptorProto
|
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x51, 0x6f, 0x1b, 0x45,
|
|
|
|
|
0x10, 0xd6, 0xc6, 0x4d, 0x88, 0xa7, 0x72, 0x53, 0xa6, 0x8e, 0x6d, 0x4c, 0x2a, 0xc2, 0xb6, 0x48,
|
|
|
|
|
0x49, 0x5b, 0xf9, 0x5c, 0x53, 0x50, 0x15, 0x54, 0x89, 0x50, 0xb5, 0xe5, 0xc1, 0x42, 0xc8, 0x50,
|
|
|
|
|
0x2a, 0xca, 0x03, 0xdd, 0xda, 0x5b, 0xf7, 0x84, 0x7d, 0x7b, 0xdc, 0xae, 0x1d, 0x21, 0xcb, 0x0f,
|
|
|
|
|
0xc0, 0x1b, 0xaf, 0x20, 0xf1, 0xc0, 0x4b, 0xc5, 0xaf, 0xe0, 0x99, 0xbf, 0xd0, 0x5f, 0x80, 0x04,
|
|
|
|
|
0xff, 0x03, 0xdd, 0xde, 0xee, 0xf6, 0xee, 0x7c, 0x49, 0xed, 0xa6, 0x6f, 0xde, 0x99, 0xd9, 0x99,
|
|
|
|
|
0xef, 0xdb, 0x99, 0xf9, 0x7c, 0x70, 0xee, 0x48, 0x44, 0xdf, 0x3d, 0x19, 0x89, 0xa3, 0x56, 0x18,
|
|
|
|
|
0x09, 0x25, 0xb0, 0xc4, 0x42, 0xbf, 0xb9, 0x33, 0x14, 0x62, 0x38, 0xe2, 0x1e, 0x0b, 0x7d, 0x8f,
|
|
|
|
|
0x05, 0x81, 0x50, 0x4c, 0xf9, 0x22, 0x90, 0x49, 0x48, 0xb3, 0x6e, 0xaf, 0x7c, 0xab, 0xf8, 0x38,
|
|
|
|
|
0x1c, 0x31, 0xc5, 0x13, 0x07, 0x7d, 0x04, 0xdb, 0xb7, 0x23, 0xce, 0x14, 0x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c, 0x00, 0x00,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
@@ -596,6 +648,7 @@ type WorkflowServiceClient interface {
|
|
|
|
|
ListWorkflows(ctx context.Context, in *ListWorkflowsRequest, opts ...grpc.CallOption) (*ListWorkflowsResponse, error)
|
|
|
|
|
WatchWorkflow(ctx context.Context, in *WatchWorkflowRequest, opts ...grpc.CallOption) (WorkflowService_WatchWorkflowClient, error)
|
|
|
|
|
GetWorkflowLogs(ctx context.Context, in *GetWorkflowLogsRequest, opts ...grpc.CallOption) (WorkflowService_GetWorkflowLogsClient, error)
|
|
|
|
|
TerminateWorkflow(ctx context.Context, in *TerminateWorkflowRequest, opts ...grpc.CallOption) (*empty.Empty, error)
|
|
|
|
|
CreateWorkflowTemplate(ctx context.Context, in *CreateWorkflowTemplateRequest, opts ...grpc.CallOption) (*WorkflowTemplate, error)
|
|
|
|
|
UpdateWorkflowTemplateVersion(ctx context.Context, in *UpdateWorkflowTemplateVersionRequest, opts ...grpc.CallOption) (*WorkflowTemplate, error)
|
|
|
|
|
CreateWorkflowTemplateVersion(ctx context.Context, in *CreateWorkflowTemplateRequest, opts ...grpc.CallOption) (*WorkflowTemplate, error)
|
|
|
|
@@ -704,6 +757,15 @@ func (x *workflowServiceGetWorkflowLogsClient) Recv() (*LogEntry, error) {
|
|
|
|
|
return m, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *workflowServiceClient) TerminateWorkflow(ctx context.Context, in *TerminateWorkflowRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
|
|
|
|
|
out := new(empty.Empty)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/api.WorkflowService/TerminateWorkflow", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *workflowServiceClient) CreateWorkflowTemplate(ctx context.Context, in *CreateWorkflowTemplateRequest, opts ...grpc.CallOption) (*WorkflowTemplate, error) {
|
|
|
|
|
out := new(WorkflowTemplate)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/api.WorkflowService/CreateWorkflowTemplate", in, out, opts...)
|
|
|
|
@@ -775,6 +837,7 @@ type WorkflowServiceServer interface {
|
|
|
|
|
ListWorkflows(context.Context, *ListWorkflowsRequest) (*ListWorkflowsResponse, error)
|
|
|
|
|
WatchWorkflow(*WatchWorkflowRequest, WorkflowService_WatchWorkflowServer) error
|
|
|
|
|
GetWorkflowLogs(*GetWorkflowLogsRequest, WorkflowService_GetWorkflowLogsServer) error
|
|
|
|
|
TerminateWorkflow(context.Context, *TerminateWorkflowRequest) (*empty.Empty, error)
|
|
|
|
|
CreateWorkflowTemplate(context.Context, *CreateWorkflowTemplateRequest) (*WorkflowTemplate, error)
|
|
|
|
|
UpdateWorkflowTemplateVersion(context.Context, *UpdateWorkflowTemplateVersionRequest) (*WorkflowTemplate, error)
|
|
|
|
|
CreateWorkflowTemplateVersion(context.Context, *CreateWorkflowTemplateRequest) (*WorkflowTemplate, error)
|
|
|
|
@@ -803,6 +866,9 @@ func (*UnimplementedWorkflowServiceServer) WatchWorkflow(req *WatchWorkflowReque
|
|
|
|
|
func (*UnimplementedWorkflowServiceServer) GetWorkflowLogs(req *GetWorkflowLogsRequest, srv WorkflowService_GetWorkflowLogsServer) error {
|
|
|
|
|
return status.Errorf(codes.Unimplemented, "method GetWorkflowLogs not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedWorkflowServiceServer) TerminateWorkflow(ctx context.Context, req *TerminateWorkflowRequest) (*empty.Empty, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method TerminateWorkflow not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedWorkflowServiceServer) CreateWorkflowTemplate(ctx context.Context, req *CreateWorkflowTemplateRequest) (*WorkflowTemplate, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreateWorkflowTemplate not implemented")
|
|
|
|
|
}
|
|
|
|
@@ -925,6 +991,24 @@ func (x *workflowServiceGetWorkflowLogsServer) Send(m *LogEntry) error {
|
|
|
|
|
return x.ServerStream.SendMsg(m)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _WorkflowService_TerminateWorkflow_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(TerminateWorkflowRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(WorkflowServiceServer).TerminateWorkflow(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/api.WorkflowService/TerminateWorkflow",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(WorkflowServiceServer).TerminateWorkflow(ctx, req.(*TerminateWorkflowRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _WorkflowService_CreateWorkflowTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(CreateWorkflowTemplateRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
@@ -1067,6 +1151,10 @@ var _WorkflowService_serviceDesc = grpc.ServiceDesc{
|
|
|
|
|
MethodName: "ListWorkflows",
|
|
|
|
|
Handler: _WorkflowService_ListWorkflows_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "TerminateWorkflow",
|
|
|
|
|
Handler: _WorkflowService_TerminateWorkflow_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "CreateWorkflowTemplate",
|
|
|
|
|
Handler: _WorkflowService_CreateWorkflowTemplate_Handler,
|
|
|
|
|