mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-10-05 13:46:51 +08:00
1310 lines
57 KiB
Go
1310 lines
57 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: workflow_template.proto
|
|
|
|
package api
|
|
|
|
import (
|
|
context "context"
|
|
fmt "fmt"
|
|
proto "github.com/golang/protobuf/proto"
|
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
|
grpc "google.golang.org/grpc"
|
|
codes "google.golang.org/grpc/codes"
|
|
status "google.golang.org/grpc/status"
|
|
math "math"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
type CreateWorkflowTemplateRequest struct {
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
WorkflowTemplate *WorkflowTemplate `protobuf:"bytes,2,opt,name=workflowTemplate,proto3" json:"workflowTemplate,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CreateWorkflowTemplateRequest) Reset() { *m = CreateWorkflowTemplateRequest{} }
|
|
func (m *CreateWorkflowTemplateRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*CreateWorkflowTemplateRequest) ProtoMessage() {}
|
|
func (*CreateWorkflowTemplateRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_b9a07547748a96e8, []int{0}
|
|
}
|
|
|
|
func (m *CreateWorkflowTemplateRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CreateWorkflowTemplateRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *CreateWorkflowTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CreateWorkflowTemplateRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *CreateWorkflowTemplateRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CreateWorkflowTemplateRequest.Merge(m, src)
|
|
}
|
|
func (m *CreateWorkflowTemplateRequest) XXX_Size() int {
|
|
return xxx_messageInfo_CreateWorkflowTemplateRequest.Size(m)
|
|
}
|
|
func (m *CreateWorkflowTemplateRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CreateWorkflowTemplateRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CreateWorkflowTemplateRequest proto.InternalMessageInfo
|
|
|
|
func (m *CreateWorkflowTemplateRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CreateWorkflowTemplateRequest) GetWorkflowTemplate() *WorkflowTemplate {
|
|
if m != nil {
|
|
return m.WorkflowTemplate
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UpdateWorkflowTemplateVersionRequest struct {
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
WorkflowTemplate *WorkflowTemplate `protobuf:"bytes,2,opt,name=workflowTemplate,proto3" json:"workflowTemplate,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *UpdateWorkflowTemplateVersionRequest) Reset() { *m = UpdateWorkflowTemplateVersionRequest{} }
|
|
func (m *UpdateWorkflowTemplateVersionRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*UpdateWorkflowTemplateVersionRequest) ProtoMessage() {}
|
|
func (*UpdateWorkflowTemplateVersionRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_b9a07547748a96e8, []int{1}
|
|
}
|
|
|
|
func (m *UpdateWorkflowTemplateVersionRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_UpdateWorkflowTemplateVersionRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *UpdateWorkflowTemplateVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_UpdateWorkflowTemplateVersionRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *UpdateWorkflowTemplateVersionRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_UpdateWorkflowTemplateVersionRequest.Merge(m, src)
|
|
}
|
|
func (m *UpdateWorkflowTemplateVersionRequest) XXX_Size() int {
|
|
return xxx_messageInfo_UpdateWorkflowTemplateVersionRequest.Size(m)
|
|
}
|
|
func (m *UpdateWorkflowTemplateVersionRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_UpdateWorkflowTemplateVersionRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_UpdateWorkflowTemplateVersionRequest proto.InternalMessageInfo
|
|
|
|
func (m *UpdateWorkflowTemplateVersionRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *UpdateWorkflowTemplateVersionRequest) GetWorkflowTemplate() *WorkflowTemplate {
|
|
if m != nil {
|
|
return m.WorkflowTemplate
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetWorkflowTemplateRequest struct {
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
|
|
Version int64 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetWorkflowTemplateRequest) Reset() { *m = GetWorkflowTemplateRequest{} }
|
|
func (m *GetWorkflowTemplateRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetWorkflowTemplateRequest) ProtoMessage() {}
|
|
func (*GetWorkflowTemplateRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_b9a07547748a96e8, []int{2}
|
|
}
|
|
|
|
func (m *GetWorkflowTemplateRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetWorkflowTemplateRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetWorkflowTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetWorkflowTemplateRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetWorkflowTemplateRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetWorkflowTemplateRequest.Merge(m, src)
|
|
}
|
|
func (m *GetWorkflowTemplateRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetWorkflowTemplateRequest.Size(m)
|
|
}
|
|
func (m *GetWorkflowTemplateRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetWorkflowTemplateRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetWorkflowTemplateRequest proto.InternalMessageInfo
|
|
|
|
func (m *GetWorkflowTemplateRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetWorkflowTemplateRequest) GetUid() string {
|
|
if m != nil {
|
|
return m.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetWorkflowTemplateRequest) GetVersion() int64 {
|
|
if m != nil {
|
|
return m.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type CloneWorkflowTemplateRequest struct {
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
|
|
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
|
Version int64 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CloneWorkflowTemplateRequest) Reset() { *m = CloneWorkflowTemplateRequest{} }
|
|
func (m *CloneWorkflowTemplateRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*CloneWorkflowTemplateRequest) ProtoMessage() {}
|
|
func (*CloneWorkflowTemplateRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_b9a07547748a96e8, []int{3}
|
|
}
|
|
|
|
func (m *CloneWorkflowTemplateRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CloneWorkflowTemplateRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *CloneWorkflowTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CloneWorkflowTemplateRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *CloneWorkflowTemplateRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CloneWorkflowTemplateRequest.Merge(m, src)
|
|
}
|
|
func (m *CloneWorkflowTemplateRequest) XXX_Size() int {
|
|
return xxx_messageInfo_CloneWorkflowTemplateRequest.Size(m)
|
|
}
|
|
func (m *CloneWorkflowTemplateRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CloneWorkflowTemplateRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CloneWorkflowTemplateRequest proto.InternalMessageInfo
|
|
|
|
func (m *CloneWorkflowTemplateRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CloneWorkflowTemplateRequest) GetUid() string {
|
|
if m != nil {
|
|
return m.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CloneWorkflowTemplateRequest) GetName() string {
|
|
if m != nil {
|
|
return m.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CloneWorkflowTemplateRequest) GetVersion() int64 {
|
|
if m != nil {
|
|
return m.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ListWorkflowTemplateVersionsRequest struct {
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ListWorkflowTemplateVersionsRequest) Reset() { *m = ListWorkflowTemplateVersionsRequest{} }
|
|
func (m *ListWorkflowTemplateVersionsRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ListWorkflowTemplateVersionsRequest) ProtoMessage() {}
|
|
func (*ListWorkflowTemplateVersionsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_b9a07547748a96e8, []int{4}
|
|
}
|
|
|
|
func (m *ListWorkflowTemplateVersionsRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ListWorkflowTemplateVersionsRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *ListWorkflowTemplateVersionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ListWorkflowTemplateVersionsRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ListWorkflowTemplateVersionsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ListWorkflowTemplateVersionsRequest.Merge(m, src)
|
|
}
|
|
func (m *ListWorkflowTemplateVersionsRequest) XXX_Size() int {
|
|
return xxx_messageInfo_ListWorkflowTemplateVersionsRequest.Size(m)
|
|
}
|
|
func (m *ListWorkflowTemplateVersionsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ListWorkflowTemplateVersionsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ListWorkflowTemplateVersionsRequest proto.InternalMessageInfo
|
|
|
|
func (m *ListWorkflowTemplateVersionsRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ListWorkflowTemplateVersionsRequest) GetUid() string {
|
|
if m != nil {
|
|
return m.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListWorkflowTemplateVersionsResponse struct {
|
|
Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
|
WorkflowTemplates []*WorkflowTemplate `protobuf:"bytes,2,rep,name=workflowTemplates,proto3" json:"workflowTemplates,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ListWorkflowTemplateVersionsResponse) Reset() { *m = ListWorkflowTemplateVersionsResponse{} }
|
|
func (m *ListWorkflowTemplateVersionsResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*ListWorkflowTemplateVersionsResponse) ProtoMessage() {}
|
|
func (*ListWorkflowTemplateVersionsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_b9a07547748a96e8, []int{5}
|
|
}
|
|
|
|
func (m *ListWorkflowTemplateVersionsResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ListWorkflowTemplateVersionsResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *ListWorkflowTemplateVersionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ListWorkflowTemplateVersionsResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ListWorkflowTemplateVersionsResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ListWorkflowTemplateVersionsResponse.Merge(m, src)
|
|
}
|
|
func (m *ListWorkflowTemplateVersionsResponse) XXX_Size() int {
|
|
return xxx_messageInfo_ListWorkflowTemplateVersionsResponse.Size(m)
|
|
}
|
|
func (m *ListWorkflowTemplateVersionsResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ListWorkflowTemplateVersionsResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ListWorkflowTemplateVersionsResponse proto.InternalMessageInfo
|
|
|
|
func (m *ListWorkflowTemplateVersionsResponse) GetCount() int32 {
|
|
if m != nil {
|
|
return m.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ListWorkflowTemplateVersionsResponse) GetWorkflowTemplates() []*WorkflowTemplate {
|
|
if m != nil {
|
|
return m.WorkflowTemplates
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListWorkflowTemplatesRequest struct {
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ListWorkflowTemplatesRequest) Reset() { *m = ListWorkflowTemplatesRequest{} }
|
|
func (m *ListWorkflowTemplatesRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ListWorkflowTemplatesRequest) ProtoMessage() {}
|
|
func (*ListWorkflowTemplatesRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_b9a07547748a96e8, []int{6}
|
|
}
|
|
|
|
func (m *ListWorkflowTemplatesRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ListWorkflowTemplatesRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *ListWorkflowTemplatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ListWorkflowTemplatesRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ListWorkflowTemplatesRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ListWorkflowTemplatesRequest.Merge(m, src)
|
|
}
|
|
func (m *ListWorkflowTemplatesRequest) XXX_Size() int {
|
|
return xxx_messageInfo_ListWorkflowTemplatesRequest.Size(m)
|
|
}
|
|
func (m *ListWorkflowTemplatesRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ListWorkflowTemplatesRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ListWorkflowTemplatesRequest proto.InternalMessageInfo
|
|
|
|
func (m *ListWorkflowTemplatesRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListWorkflowTemplatesResponse struct {
|
|
Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
|
WorkflowTemplates []*WorkflowTemplate `protobuf:"bytes,2,rep,name=workflowTemplates,proto3" json:"workflowTemplates,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ListWorkflowTemplatesResponse) Reset() { *m = ListWorkflowTemplatesResponse{} }
|
|
func (m *ListWorkflowTemplatesResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*ListWorkflowTemplatesResponse) ProtoMessage() {}
|
|
func (*ListWorkflowTemplatesResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_b9a07547748a96e8, []int{7}
|
|
}
|
|
|
|
func (m *ListWorkflowTemplatesResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ListWorkflowTemplatesResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *ListWorkflowTemplatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ListWorkflowTemplatesResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ListWorkflowTemplatesResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ListWorkflowTemplatesResponse.Merge(m, src)
|
|
}
|
|
func (m *ListWorkflowTemplatesResponse) XXX_Size() int {
|
|
return xxx_messageInfo_ListWorkflowTemplatesResponse.Size(m)
|
|
}
|
|
func (m *ListWorkflowTemplatesResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ListWorkflowTemplatesResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ListWorkflowTemplatesResponse proto.InternalMessageInfo
|
|
|
|
func (m *ListWorkflowTemplatesResponse) GetCount() int32 {
|
|
if m != nil {
|
|
return m.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ListWorkflowTemplatesResponse) GetWorkflowTemplates() []*WorkflowTemplate {
|
|
if m != nil {
|
|
return m.WorkflowTemplates
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ArchiveWorkflowTemplateRequest struct {
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ArchiveWorkflowTemplateRequest) Reset() { *m = ArchiveWorkflowTemplateRequest{} }
|
|
func (m *ArchiveWorkflowTemplateRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ArchiveWorkflowTemplateRequest) ProtoMessage() {}
|
|
func (*ArchiveWorkflowTemplateRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_b9a07547748a96e8, []int{8}
|
|
}
|
|
|
|
func (m *ArchiveWorkflowTemplateRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ArchiveWorkflowTemplateRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *ArchiveWorkflowTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ArchiveWorkflowTemplateRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ArchiveWorkflowTemplateRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ArchiveWorkflowTemplateRequest.Merge(m, src)
|
|
}
|
|
func (m *ArchiveWorkflowTemplateRequest) XXX_Size() int {
|
|
return xxx_messageInfo_ArchiveWorkflowTemplateRequest.Size(m)
|
|
}
|
|
func (m *ArchiveWorkflowTemplateRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ArchiveWorkflowTemplateRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ArchiveWorkflowTemplateRequest proto.InternalMessageInfo
|
|
|
|
func (m *ArchiveWorkflowTemplateRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ArchiveWorkflowTemplateRequest) GetUid() string {
|
|
if m != nil {
|
|
return m.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ArchiveWorkflowTemplateResponse struct {
|
|
WorkflowTemplate *WorkflowTemplate `protobuf:"bytes,1,opt,name=workflowTemplate,proto3" json:"workflowTemplate,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ArchiveWorkflowTemplateResponse) Reset() { *m = ArchiveWorkflowTemplateResponse{} }
|
|
func (m *ArchiveWorkflowTemplateResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*ArchiveWorkflowTemplateResponse) ProtoMessage() {}
|
|
func (*ArchiveWorkflowTemplateResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_b9a07547748a96e8, []int{9}
|
|
}
|
|
|
|
func (m *ArchiveWorkflowTemplateResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ArchiveWorkflowTemplateResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *ArchiveWorkflowTemplateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ArchiveWorkflowTemplateResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ArchiveWorkflowTemplateResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ArchiveWorkflowTemplateResponse.Merge(m, src)
|
|
}
|
|
func (m *ArchiveWorkflowTemplateResponse) XXX_Size() int {
|
|
return xxx_messageInfo_ArchiveWorkflowTemplateResponse.Size(m)
|
|
}
|
|
func (m *ArchiveWorkflowTemplateResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ArchiveWorkflowTemplateResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ArchiveWorkflowTemplateResponse proto.InternalMessageInfo
|
|
|
|
func (m *ArchiveWorkflowTemplateResponse) GetWorkflowTemplate() *WorkflowTemplate {
|
|
if m != nil {
|
|
return m.WorkflowTemplate
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type WorkflowExecutionStatisticReport struct {
|
|
Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
|
|
LastExecuted string `protobuf:"bytes,2,opt,name=lastExecuted,proto3" json:"lastExecuted,omitempty"`
|
|
Running int32 `protobuf:"varint,3,opt,name=running,proto3" json:"running,omitempty"`
|
|
Completed int32 `protobuf:"varint,4,opt,name=completed,proto3" json:"completed,omitempty"`
|
|
Failed int32 `protobuf:"varint,5,opt,name=failed,proto3" json:"failed,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *WorkflowExecutionStatisticReport) Reset() { *m = WorkflowExecutionStatisticReport{} }
|
|
func (m *WorkflowExecutionStatisticReport) String() string { return proto.CompactTextString(m) }
|
|
func (*WorkflowExecutionStatisticReport) ProtoMessage() {}
|
|
func (*WorkflowExecutionStatisticReport) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_b9a07547748a96e8, []int{10}
|
|
}
|
|
|
|
func (m *WorkflowExecutionStatisticReport) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_WorkflowExecutionStatisticReport.Unmarshal(m, b)
|
|
}
|
|
func (m *WorkflowExecutionStatisticReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_WorkflowExecutionStatisticReport.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *WorkflowExecutionStatisticReport) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_WorkflowExecutionStatisticReport.Merge(m, src)
|
|
}
|
|
func (m *WorkflowExecutionStatisticReport) XXX_Size() int {
|
|
return xxx_messageInfo_WorkflowExecutionStatisticReport.Size(m)
|
|
}
|
|
func (m *WorkflowExecutionStatisticReport) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_WorkflowExecutionStatisticReport.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_WorkflowExecutionStatisticReport proto.InternalMessageInfo
|
|
|
|
func (m *WorkflowExecutionStatisticReport) GetTotal() int32 {
|
|
if m != nil {
|
|
return m.Total
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *WorkflowExecutionStatisticReport) GetLastExecuted() string {
|
|
if m != nil {
|
|
return m.LastExecuted
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *WorkflowExecutionStatisticReport) GetRunning() int32 {
|
|
if m != nil {
|
|
return m.Running
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *WorkflowExecutionStatisticReport) GetCompleted() int32 {
|
|
if m != nil {
|
|
return m.Completed
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *WorkflowExecutionStatisticReport) GetFailed() int32 {
|
|
if m != nil {
|
|
return m.Failed
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type WorkflowTemplate struct {
|
|
CreatedAt string `protobuf:"bytes,1,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
|
|
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
|
|
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
|
Version int64 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"`
|
|
Versions int64 `protobuf:"varint,5,opt,name=versions,proto3" json:"versions,omitempty"`
|
|
Manifest string `protobuf:"bytes,6,opt,name=manifest,proto3" json:"manifest,omitempty"`
|
|
IsLatest bool `protobuf:"varint,7,opt,name=isLatest,proto3" json:"isLatest,omitempty"`
|
|
IsArchived bool `protobuf:"varint,8,opt,name=isArchived,proto3" json:"isArchived,omitempty"`
|
|
Labels []*KeyValue `protobuf:"bytes,9,rep,name=labels,proto3" json:"labels,omitempty"`
|
|
Stats *WorkflowExecutionStatisticReport `protobuf:"bytes,10,opt,name=stats,proto3" json:"stats,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *WorkflowTemplate) Reset() { *m = WorkflowTemplate{} }
|
|
func (m *WorkflowTemplate) String() string { return proto.CompactTextString(m) }
|
|
func (*WorkflowTemplate) ProtoMessage() {}
|
|
func (*WorkflowTemplate) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_b9a07547748a96e8, []int{11}
|
|
}
|
|
|
|
func (m *WorkflowTemplate) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_WorkflowTemplate.Unmarshal(m, b)
|
|
}
|
|
func (m *WorkflowTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_WorkflowTemplate.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *WorkflowTemplate) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_WorkflowTemplate.Merge(m, src)
|
|
}
|
|
func (m *WorkflowTemplate) XXX_Size() int {
|
|
return xxx_messageInfo_WorkflowTemplate.Size(m)
|
|
}
|
|
func (m *WorkflowTemplate) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_WorkflowTemplate.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_WorkflowTemplate proto.InternalMessageInfo
|
|
|
|
func (m *WorkflowTemplate) GetCreatedAt() string {
|
|
if m != nil {
|
|
return m.CreatedAt
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *WorkflowTemplate) GetUid() string {
|
|
if m != nil {
|
|
return m.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *WorkflowTemplate) GetName() string {
|
|
if m != nil {
|
|
return m.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *WorkflowTemplate) GetVersion() int64 {
|
|
if m != nil {
|
|
return m.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *WorkflowTemplate) GetVersions() int64 {
|
|
if m != nil {
|
|
return m.Versions
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *WorkflowTemplate) GetManifest() string {
|
|
if m != nil {
|
|
return m.Manifest
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *WorkflowTemplate) GetIsLatest() bool {
|
|
if m != nil {
|
|
return m.IsLatest
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *WorkflowTemplate) GetIsArchived() bool {
|
|
if m != nil {
|
|
return m.IsArchived
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *WorkflowTemplate) GetLabels() []*KeyValue {
|
|
if m != nil {
|
|
return m.Labels
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *WorkflowTemplate) GetStats() *WorkflowExecutionStatisticReport {
|
|
if m != nil {
|
|
return m.Stats
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetWorkflowTemplateLabelsRequest 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"`
|
|
Version int64 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
|
|
Stats *WorkflowExecutionStatisticReport `protobuf:"bytes,8,opt,name=stats,proto3" json:"stats,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetWorkflowTemplateLabelsRequest) Reset() { *m = GetWorkflowTemplateLabelsRequest{} }
|
|
func (m *GetWorkflowTemplateLabelsRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetWorkflowTemplateLabelsRequest) ProtoMessage() {}
|
|
func (*GetWorkflowTemplateLabelsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_b9a07547748a96e8, []int{12}
|
|
}
|
|
|
|
func (m *GetWorkflowTemplateLabelsRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetWorkflowTemplateLabelsRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetWorkflowTemplateLabelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetWorkflowTemplateLabelsRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetWorkflowTemplateLabelsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetWorkflowTemplateLabelsRequest.Merge(m, src)
|
|
}
|
|
func (m *GetWorkflowTemplateLabelsRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetWorkflowTemplateLabelsRequest.Size(m)
|
|
}
|
|
func (m *GetWorkflowTemplateLabelsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetWorkflowTemplateLabelsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetWorkflowTemplateLabelsRequest proto.InternalMessageInfo
|
|
|
|
func (m *GetWorkflowTemplateLabelsRequest) GetNamespace() string {
|
|
if m != nil {
|
|
return m.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetWorkflowTemplateLabelsRequest) GetName() string {
|
|
if m != nil {
|
|
return m.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetWorkflowTemplateLabelsRequest) GetVersion() int64 {
|
|
if m != nil {
|
|
return m.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *GetWorkflowTemplateLabelsRequest) GetStats() *WorkflowExecutionStatisticReport {
|
|
if m != nil {
|
|
return m.Stats
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*CreateWorkflowTemplateRequest)(nil), "api.CreateWorkflowTemplateRequest")
|
|
proto.RegisterType((*UpdateWorkflowTemplateVersionRequest)(nil), "api.UpdateWorkflowTemplateVersionRequest")
|
|
proto.RegisterType((*GetWorkflowTemplateRequest)(nil), "api.GetWorkflowTemplateRequest")
|
|
proto.RegisterType((*CloneWorkflowTemplateRequest)(nil), "api.CloneWorkflowTemplateRequest")
|
|
proto.RegisterType((*ListWorkflowTemplateVersionsRequest)(nil), "api.ListWorkflowTemplateVersionsRequest")
|
|
proto.RegisterType((*ListWorkflowTemplateVersionsResponse)(nil), "api.ListWorkflowTemplateVersionsResponse")
|
|
proto.RegisterType((*ListWorkflowTemplatesRequest)(nil), "api.ListWorkflowTemplatesRequest")
|
|
proto.RegisterType((*ListWorkflowTemplatesResponse)(nil), "api.ListWorkflowTemplatesResponse")
|
|
proto.RegisterType((*ArchiveWorkflowTemplateRequest)(nil), "api.ArchiveWorkflowTemplateRequest")
|
|
proto.RegisterType((*ArchiveWorkflowTemplateResponse)(nil), "api.ArchiveWorkflowTemplateResponse")
|
|
proto.RegisterType((*WorkflowExecutionStatisticReport)(nil), "api.WorkflowExecutionStatisticReport")
|
|
proto.RegisterType((*WorkflowTemplate)(nil), "api.WorkflowTemplate")
|
|
proto.RegisterType((*GetWorkflowTemplateLabelsRequest)(nil), "api.GetWorkflowTemplateLabelsRequest")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("workflow_template.proto", fileDescriptor_b9a07547748a96e8) }
|
|
|
|
var fileDescriptor_b9a07547748a96e8 = []byte{
|
|
// 987 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x97, 0x4f, 0x6f, 0x1b, 0x45,
|
|
0x14, 0xc0, 0x35, 0x76, 0x9c, 0xc6, 0xaf, 0x20, 0xa5, 0x0f, 0x92, 0x6c, 0x96, 0xa4, 0x35, 0xd3,
|
|
0x44, 0x72, 0x11, 0xb2, 0xd5, 0xc0, 0x29, 0x2d, 0xa2, 0x6e, 0x5a, 0x0a, 0x34, 0x07, 0xb4, 0xa5,
|
|
0x45, 0xea, 0x05, 0x26, 0xbb, 0xe3, 0xb0, 0xea, 0x66, 0x77, 0xf1, 0x8c, 0x13, 0x4a, 0xb0, 0x44,
|
|
0xe1, 0xc0, 0x8d, 0x0b, 0x7f, 0x04, 0x42, 0xea, 0x19, 0x09, 0x3e, 0x00, 0x67, 0x4e, 0xdc, 0xf3,
|
|
0x15, 0xe0, 0xc0, 0xb7, 0x40, 0xfb, 0x76, 0xd7, 0x89, 0xed, 0x5d, 0xe3, 0x7f, 0xf4, 0xb6, 0x33,
|
|
0xf3, 0xe6, 0xcd, 0xef, 0xfd, 0x99, 0x79, 0x6f, 0x61, 0xe5, 0x28, 0x68, 0x3d, 0x6a, 0x7a, 0xc1,
|
|
0xd1, 0x87, 0x5a, 0x1e, 0x84, 0x9e, 0xd0, 0xb2, 0x16, 0xb6, 0x02, 0x1d, 0x60, 0x51, 0x84, 0xae,
|
|
0xb9, 0xb6, 0x1f, 0x04, 0xfb, 0x9e, 0xac, 0x8b, 0xd0, 0xad, 0x0b, 0xdf, 0x0f, 0xb4, 0xd0, 0x6e,
|
|
0xe0, 0xab, 0x58, 0xc4, 0x3c, 0xef, 0x89, 0x3d, 0xe9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xb1, 0x6e, 0x7c, 0xca,
|
|
0x60, 0x35, 0xb7, 0xa6, 0xe1, 0x66, 0xde, 0x25, 0xee, 0xa9, 0x79, 0xe6, 0x72, 0x2a, 0x96, 0x4e,
|
|
0xf7, 0x02, 0xe2, 0x98, 0x80, 0xb1, 0x3b, 0x93, 0x8a, 0xfd, 0x03, 0x83, 0xd5, 0x86, 0xe3, 0xe4,
|
|
0x00, 0xc6, 0x89, 0xd1, 0x70, 0x9c, 0xd1, 0x80, 0xde, 0x25, 0xa0, 0x5b, 0x7c, 0x0a, 0xa0, 0xed,
|
|
0xb4, 0x95, 0x78, 0xca, 0x60, 0xdd, 0x92, 0xa1, 0x27, 0x6c, 0x99, 0x03, 0xb7, 0x4a, 0x14, 0x89,
|
|
0xcc, 0x58, 0x80, 0xe6, 0x2c, 0x00, 0x7f, 0x64, 0xf0, 0xd2, 0x2d, 0x19, 0x75, 0x87, 0x99, 0x7c,
|
|
0xb8, 0x42, 0x0c, 0xb1, 0x04, 0xcd, 0xfc, 0x17, 0xdc, 0xdb, 0x04, 0x77, 0xf3, 0x95, 0x1b, 0x93,
|
|
0xc3, 0xd5, 0x8f, 0x1f, 0xc9, 0xc7, 0x9d, 0xbd, 0x79, 0xfa, 0x15, 0x7f, 0xed, 0xdf, 0x00, 0x00,
|
|
0x00, 0xff, 0xff, 0xa7, 0xb2, 0x1d, 0x6c, 0xd5, 0x0f, 0x00, 0x00,
|
|
}
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ context.Context
|
|
var _ grpc.ClientConn
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the grpc package it is being compiled against.
|
|
const _ = grpc.SupportPackageIsVersion4
|
|
|
|
// WorkflowTemplateServiceClient is the client API for WorkflowTemplateService service.
|
|
//
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
type WorkflowTemplateServiceClient interface {
|
|
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)
|
|
GetWorkflowTemplate(ctx context.Context, in *GetWorkflowTemplateRequest, opts ...grpc.CallOption) (*WorkflowTemplate, error)
|
|
ListWorkflowTemplateVersions(ctx context.Context, in *ListWorkflowTemplateVersionsRequest, opts ...grpc.CallOption) (*ListWorkflowTemplateVersionsResponse, error)
|
|
ListWorkflowTemplates(ctx context.Context, in *ListWorkflowTemplatesRequest, opts ...grpc.CallOption) (*ListWorkflowTemplatesResponse, error)
|
|
CloneWorkflowTemplate(ctx context.Context, in *CloneWorkflowTemplateRequest, opts ...grpc.CallOption) (*WorkflowTemplate, error)
|
|
ArchiveWorkflowTemplate(ctx context.Context, in *ArchiveWorkflowTemplateRequest, opts ...grpc.CallOption) (*ArchiveWorkflowTemplateResponse, error)
|
|
GetWorkflowTemplateLabels(ctx context.Context, in *GetWorkflowTemplateLabelsRequest, opts ...grpc.CallOption) (*GetLabelsResponse, error)
|
|
AddWorkflowTemplateLabels(ctx context.Context, in *AddLabelsRequest, opts ...grpc.CallOption) (*GetLabelsResponse, error)
|
|
ReplaceWorkflowTemplateLabels(ctx context.Context, in *ReplaceLabelsRequest, opts ...grpc.CallOption) (*GetLabelsResponse, error)
|
|
DeleteWorkflowTemplateLabel(ctx context.Context, in *DeleteLabelRequest, opts ...grpc.CallOption) (*GetLabelsResponse, error)
|
|
}
|
|
|
|
type workflowTemplateServiceClient struct {
|
|
cc *grpc.ClientConn
|
|
}
|
|
|
|
func NewWorkflowTemplateServiceClient(cc *grpc.ClientConn) WorkflowTemplateServiceClient {
|
|
return &workflowTemplateServiceClient{cc}
|
|
}
|
|
|
|
func (c *workflowTemplateServiceClient) CreateWorkflowTemplate(ctx context.Context, in *CreateWorkflowTemplateRequest, opts ...grpc.CallOption) (*WorkflowTemplate, error) {
|
|
out := new(WorkflowTemplate)
|
|
err := c.cc.Invoke(ctx, "/api.WorkflowTemplateService/CreateWorkflowTemplate", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *workflowTemplateServiceClient) UpdateWorkflowTemplateVersion(ctx context.Context, in *UpdateWorkflowTemplateVersionRequest, opts ...grpc.CallOption) (*WorkflowTemplate, error) {
|
|
out := new(WorkflowTemplate)
|
|
err := c.cc.Invoke(ctx, "/api.WorkflowTemplateService/UpdateWorkflowTemplateVersion", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *workflowTemplateServiceClient) CreateWorkflowTemplateVersion(ctx context.Context, in *CreateWorkflowTemplateRequest, opts ...grpc.CallOption) (*WorkflowTemplate, error) {
|
|
out := new(WorkflowTemplate)
|
|
err := c.cc.Invoke(ctx, "/api.WorkflowTemplateService/CreateWorkflowTemplateVersion", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *workflowTemplateServiceClient) GetWorkflowTemplate(ctx context.Context, in *GetWorkflowTemplateRequest, opts ...grpc.CallOption) (*WorkflowTemplate, error) {
|
|
out := new(WorkflowTemplate)
|
|
err := c.cc.Invoke(ctx, "/api.WorkflowTemplateService/GetWorkflowTemplate", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *workflowTemplateServiceClient) ListWorkflowTemplateVersions(ctx context.Context, in *ListWorkflowTemplateVersionsRequest, opts ...grpc.CallOption) (*ListWorkflowTemplateVersionsResponse, error) {
|
|
out := new(ListWorkflowTemplateVersionsResponse)
|
|
err := c.cc.Invoke(ctx, "/api.WorkflowTemplateService/ListWorkflowTemplateVersions", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *workflowTemplateServiceClient) ListWorkflowTemplates(ctx context.Context, in *ListWorkflowTemplatesRequest, opts ...grpc.CallOption) (*ListWorkflowTemplatesResponse, error) {
|
|
out := new(ListWorkflowTemplatesResponse)
|
|
err := c.cc.Invoke(ctx, "/api.WorkflowTemplateService/ListWorkflowTemplates", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *workflowTemplateServiceClient) CloneWorkflowTemplate(ctx context.Context, in *CloneWorkflowTemplateRequest, opts ...grpc.CallOption) (*WorkflowTemplate, error) {
|
|
out := new(WorkflowTemplate)
|
|
err := c.cc.Invoke(ctx, "/api.WorkflowTemplateService/CloneWorkflowTemplate", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *workflowTemplateServiceClient) ArchiveWorkflowTemplate(ctx context.Context, in *ArchiveWorkflowTemplateRequest, opts ...grpc.CallOption) (*ArchiveWorkflowTemplateResponse, error) {
|
|
out := new(ArchiveWorkflowTemplateResponse)
|
|
err := c.cc.Invoke(ctx, "/api.WorkflowTemplateService/ArchiveWorkflowTemplate", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *workflowTemplateServiceClient) GetWorkflowTemplateLabels(ctx context.Context, in *GetWorkflowTemplateLabelsRequest, opts ...grpc.CallOption) (*GetLabelsResponse, error) {
|
|
out := new(GetLabelsResponse)
|
|
err := c.cc.Invoke(ctx, "/api.WorkflowTemplateService/GetWorkflowTemplateLabels", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *workflowTemplateServiceClient) AddWorkflowTemplateLabels(ctx context.Context, in *AddLabelsRequest, opts ...grpc.CallOption) (*GetLabelsResponse, error) {
|
|
out := new(GetLabelsResponse)
|
|
err := c.cc.Invoke(ctx, "/api.WorkflowTemplateService/AddWorkflowTemplateLabels", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *workflowTemplateServiceClient) ReplaceWorkflowTemplateLabels(ctx context.Context, in *ReplaceLabelsRequest, opts ...grpc.CallOption) (*GetLabelsResponse, error) {
|
|
out := new(GetLabelsResponse)
|
|
err := c.cc.Invoke(ctx, "/api.WorkflowTemplateService/ReplaceWorkflowTemplateLabels", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *workflowTemplateServiceClient) DeleteWorkflowTemplateLabel(ctx context.Context, in *DeleteLabelRequest, opts ...grpc.CallOption) (*GetLabelsResponse, error) {
|
|
out := new(GetLabelsResponse)
|
|
err := c.cc.Invoke(ctx, "/api.WorkflowTemplateService/DeleteWorkflowTemplateLabel", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// WorkflowTemplateServiceServer is the server API for WorkflowTemplateService service.
|
|
type WorkflowTemplateServiceServer interface {
|
|
CreateWorkflowTemplate(context.Context, *CreateWorkflowTemplateRequest) (*WorkflowTemplate, error)
|
|
UpdateWorkflowTemplateVersion(context.Context, *UpdateWorkflowTemplateVersionRequest) (*WorkflowTemplate, error)
|
|
CreateWorkflowTemplateVersion(context.Context, *CreateWorkflowTemplateRequest) (*WorkflowTemplate, error)
|
|
GetWorkflowTemplate(context.Context, *GetWorkflowTemplateRequest) (*WorkflowTemplate, error)
|
|
ListWorkflowTemplateVersions(context.Context, *ListWorkflowTemplateVersionsRequest) (*ListWorkflowTemplateVersionsResponse, error)
|
|
ListWorkflowTemplates(context.Context, *ListWorkflowTemplatesRequest) (*ListWorkflowTemplatesResponse, error)
|
|
CloneWorkflowTemplate(context.Context, *CloneWorkflowTemplateRequest) (*WorkflowTemplate, error)
|
|
ArchiveWorkflowTemplate(context.Context, *ArchiveWorkflowTemplateRequest) (*ArchiveWorkflowTemplateResponse, error)
|
|
GetWorkflowTemplateLabels(context.Context, *GetWorkflowTemplateLabelsRequest) (*GetLabelsResponse, error)
|
|
AddWorkflowTemplateLabels(context.Context, *AddLabelsRequest) (*GetLabelsResponse, error)
|
|
ReplaceWorkflowTemplateLabels(context.Context, *ReplaceLabelsRequest) (*GetLabelsResponse, error)
|
|
DeleteWorkflowTemplateLabel(context.Context, *DeleteLabelRequest) (*GetLabelsResponse, error)
|
|
}
|
|
|
|
// UnimplementedWorkflowTemplateServiceServer can be embedded to have forward compatible implementations.
|
|
type UnimplementedWorkflowTemplateServiceServer struct {
|
|
}
|
|
|
|
func (*UnimplementedWorkflowTemplateServiceServer) CreateWorkflowTemplate(ctx context.Context, req *CreateWorkflowTemplateRequest) (*WorkflowTemplate, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreateWorkflowTemplate not implemented")
|
|
}
|
|
func (*UnimplementedWorkflowTemplateServiceServer) UpdateWorkflowTemplateVersion(ctx context.Context, req *UpdateWorkflowTemplateVersionRequest) (*WorkflowTemplate, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateWorkflowTemplateVersion not implemented")
|
|
}
|
|
func (*UnimplementedWorkflowTemplateServiceServer) CreateWorkflowTemplateVersion(ctx context.Context, req *CreateWorkflowTemplateRequest) (*WorkflowTemplate, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreateWorkflowTemplateVersion not implemented")
|
|
}
|
|
func (*UnimplementedWorkflowTemplateServiceServer) GetWorkflowTemplate(ctx context.Context, req *GetWorkflowTemplateRequest) (*WorkflowTemplate, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetWorkflowTemplate not implemented")
|
|
}
|
|
func (*UnimplementedWorkflowTemplateServiceServer) ListWorkflowTemplateVersions(ctx context.Context, req *ListWorkflowTemplateVersionsRequest) (*ListWorkflowTemplateVersionsResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method ListWorkflowTemplateVersions not implemented")
|
|
}
|
|
func (*UnimplementedWorkflowTemplateServiceServer) ListWorkflowTemplates(ctx context.Context, req *ListWorkflowTemplatesRequest) (*ListWorkflowTemplatesResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method ListWorkflowTemplates not implemented")
|
|
}
|
|
func (*UnimplementedWorkflowTemplateServiceServer) CloneWorkflowTemplate(ctx context.Context, req *CloneWorkflowTemplateRequest) (*WorkflowTemplate, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method CloneWorkflowTemplate not implemented")
|
|
}
|
|
func (*UnimplementedWorkflowTemplateServiceServer) ArchiveWorkflowTemplate(ctx context.Context, req *ArchiveWorkflowTemplateRequest) (*ArchiveWorkflowTemplateResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method ArchiveWorkflowTemplate not implemented")
|
|
}
|
|
func (*UnimplementedWorkflowTemplateServiceServer) GetWorkflowTemplateLabels(ctx context.Context, req *GetWorkflowTemplateLabelsRequest) (*GetLabelsResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetWorkflowTemplateLabels not implemented")
|
|
}
|
|
func (*UnimplementedWorkflowTemplateServiceServer) AddWorkflowTemplateLabels(ctx context.Context, req *AddLabelsRequest) (*GetLabelsResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method AddWorkflowTemplateLabels not implemented")
|
|
}
|
|
func (*UnimplementedWorkflowTemplateServiceServer) ReplaceWorkflowTemplateLabels(ctx context.Context, req *ReplaceLabelsRequest) (*GetLabelsResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method ReplaceWorkflowTemplateLabels not implemented")
|
|
}
|
|
func (*UnimplementedWorkflowTemplateServiceServer) DeleteWorkflowTemplateLabel(ctx context.Context, req *DeleteLabelRequest) (*GetLabelsResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DeleteWorkflowTemplateLabel not implemented")
|
|
}
|
|
|
|
func RegisterWorkflowTemplateServiceServer(s *grpc.Server, srv WorkflowTemplateServiceServer) {
|
|
s.RegisterService(&_WorkflowTemplateService_serviceDesc, srv)
|
|
}
|
|
|
|
func _WorkflowTemplateService_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 {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(WorkflowTemplateServiceServer).CreateWorkflowTemplate(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/api.WorkflowTemplateService/CreateWorkflowTemplate",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(WorkflowTemplateServiceServer).CreateWorkflowTemplate(ctx, req.(*CreateWorkflowTemplateRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _WorkflowTemplateService_UpdateWorkflowTemplateVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UpdateWorkflowTemplateVersionRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(WorkflowTemplateServiceServer).UpdateWorkflowTemplateVersion(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/api.WorkflowTemplateService/UpdateWorkflowTemplateVersion",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(WorkflowTemplateServiceServer).UpdateWorkflowTemplateVersion(ctx, req.(*UpdateWorkflowTemplateVersionRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _WorkflowTemplateService_CreateWorkflowTemplateVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CreateWorkflowTemplateRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(WorkflowTemplateServiceServer).CreateWorkflowTemplateVersion(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/api.WorkflowTemplateService/CreateWorkflowTemplateVersion",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(WorkflowTemplateServiceServer).CreateWorkflowTemplateVersion(ctx, req.(*CreateWorkflowTemplateRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _WorkflowTemplateService_GetWorkflowTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetWorkflowTemplateRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(WorkflowTemplateServiceServer).GetWorkflowTemplate(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/api.WorkflowTemplateService/GetWorkflowTemplate",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(WorkflowTemplateServiceServer).GetWorkflowTemplate(ctx, req.(*GetWorkflowTemplateRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _WorkflowTemplateService_ListWorkflowTemplateVersions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ListWorkflowTemplateVersionsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(WorkflowTemplateServiceServer).ListWorkflowTemplateVersions(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/api.WorkflowTemplateService/ListWorkflowTemplateVersions",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(WorkflowTemplateServiceServer).ListWorkflowTemplateVersions(ctx, req.(*ListWorkflowTemplateVersionsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _WorkflowTemplateService_ListWorkflowTemplates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ListWorkflowTemplatesRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(WorkflowTemplateServiceServer).ListWorkflowTemplates(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/api.WorkflowTemplateService/ListWorkflowTemplates",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(WorkflowTemplateServiceServer).ListWorkflowTemplates(ctx, req.(*ListWorkflowTemplatesRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _WorkflowTemplateService_CloneWorkflowTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CloneWorkflowTemplateRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(WorkflowTemplateServiceServer).CloneWorkflowTemplate(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/api.WorkflowTemplateService/CloneWorkflowTemplate",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(WorkflowTemplateServiceServer).CloneWorkflowTemplate(ctx, req.(*CloneWorkflowTemplateRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _WorkflowTemplateService_ArchiveWorkflowTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ArchiveWorkflowTemplateRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(WorkflowTemplateServiceServer).ArchiveWorkflowTemplate(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/api.WorkflowTemplateService/ArchiveWorkflowTemplate",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(WorkflowTemplateServiceServer).ArchiveWorkflowTemplate(ctx, req.(*ArchiveWorkflowTemplateRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _WorkflowTemplateService_GetWorkflowTemplateLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetWorkflowTemplateLabelsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(WorkflowTemplateServiceServer).GetWorkflowTemplateLabels(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/api.WorkflowTemplateService/GetWorkflowTemplateLabels",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(WorkflowTemplateServiceServer).GetWorkflowTemplateLabels(ctx, req.(*GetWorkflowTemplateLabelsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _WorkflowTemplateService_AddWorkflowTemplateLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(AddLabelsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(WorkflowTemplateServiceServer).AddWorkflowTemplateLabels(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/api.WorkflowTemplateService/AddWorkflowTemplateLabels",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(WorkflowTemplateServiceServer).AddWorkflowTemplateLabels(ctx, req.(*AddLabelsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _WorkflowTemplateService_ReplaceWorkflowTemplateLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ReplaceLabelsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(WorkflowTemplateServiceServer).ReplaceWorkflowTemplateLabels(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/api.WorkflowTemplateService/ReplaceWorkflowTemplateLabels",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(WorkflowTemplateServiceServer).ReplaceWorkflowTemplateLabels(ctx, req.(*ReplaceLabelsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _WorkflowTemplateService_DeleteWorkflowTemplateLabel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DeleteLabelRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(WorkflowTemplateServiceServer).DeleteWorkflowTemplateLabel(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/api.WorkflowTemplateService/DeleteWorkflowTemplateLabel",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(WorkflowTemplateServiceServer).DeleteWorkflowTemplateLabel(ctx, req.(*DeleteLabelRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
var _WorkflowTemplateService_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "api.WorkflowTemplateService",
|
|
HandlerType: (*WorkflowTemplateServiceServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "CreateWorkflowTemplate",
|
|
Handler: _WorkflowTemplateService_CreateWorkflowTemplate_Handler,
|
|
},
|
|
{
|
|
MethodName: "UpdateWorkflowTemplateVersion",
|
|
Handler: _WorkflowTemplateService_UpdateWorkflowTemplateVersion_Handler,
|
|
},
|
|
{
|
|
MethodName: "CreateWorkflowTemplateVersion",
|
|
Handler: _WorkflowTemplateService_CreateWorkflowTemplateVersion_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetWorkflowTemplate",
|
|
Handler: _WorkflowTemplateService_GetWorkflowTemplate_Handler,
|
|
},
|
|
{
|
|
MethodName: "ListWorkflowTemplateVersions",
|
|
Handler: _WorkflowTemplateService_ListWorkflowTemplateVersions_Handler,
|
|
},
|
|
{
|
|
MethodName: "ListWorkflowTemplates",
|
|
Handler: _WorkflowTemplateService_ListWorkflowTemplates_Handler,
|
|
},
|
|
{
|
|
MethodName: "CloneWorkflowTemplate",
|
|
Handler: _WorkflowTemplateService_CloneWorkflowTemplate_Handler,
|
|
},
|
|
{
|
|
MethodName: "ArchiveWorkflowTemplate",
|
|
Handler: _WorkflowTemplateService_ArchiveWorkflowTemplate_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetWorkflowTemplateLabels",
|
|
Handler: _WorkflowTemplateService_GetWorkflowTemplateLabels_Handler,
|
|
},
|
|
{
|
|
MethodName: "AddWorkflowTemplateLabels",
|
|
Handler: _WorkflowTemplateService_AddWorkflowTemplateLabels_Handler,
|
|
},
|
|
{
|
|
MethodName: "ReplaceWorkflowTemplateLabels",
|
|
Handler: _WorkflowTemplateService_ReplaceWorkflowTemplateLabels_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeleteWorkflowTemplateLabel",
|
|
Handler: _WorkflowTemplateService_DeleteWorkflowTemplateLabel_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{},
|
|
Metadata: "workflow_template.proto",
|
|
}
|