mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-10-30 08:16:23 +08:00
304 lines
12 KiB
Go
304 lines
12 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: workflow_template.proto
|
|
|
|
package api
|
|
|
|
import (
|
|
fmt "fmt"
|
|
proto "github.com/golang/protobuf/proto"
|
|
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 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"`
|
|
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{1}
|
|
}
|
|
|
|
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 ""
|
|
}
|
|
|
|
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{2}
|
|
}
|
|
|
|
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 {
|
|
WorkflowTemplates []*WorkflowTemplate `protobuf:"bytes,1,rep,name=workflowTemplates,proto3" json:"workflowTemplates,omitempty"`
|
|
Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,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{3}
|
|
}
|
|
|
|
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) GetWorkflowTemplates() []*WorkflowTemplate {
|
|
if m != nil {
|
|
return m.WorkflowTemplates
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ListWorkflowTemplateVersionsResponse) GetCount() int32 {
|
|
if m != nil {
|
|
return m.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type WorkflowTemplate struct {
|
|
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
|
|
Manifest string `protobuf:"bytes,4,opt,name=manifest,proto3" json:"manifest,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{4}
|
|
}
|
|
|
|
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) 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() string {
|
|
if m != nil {
|
|
return m.Version
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *WorkflowTemplate) GetManifest() string {
|
|
if m != nil {
|
|
return m.Manifest
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*CreateWorkflowTemplateRequest)(nil), "api.CreateWorkflowTemplateRequest")
|
|
proto.RegisterType((*GetWorkflowTemplateRequest)(nil), "api.GetWorkflowTemplateRequest")
|
|
proto.RegisterType((*ListWorkflowTemplateVersionsRequest)(nil), "api.ListWorkflowTemplateVersionsRequest")
|
|
proto.RegisterType((*ListWorkflowTemplateVersionsResponse)(nil), "api.ListWorkflowTemplateVersionsResponse")
|
|
proto.RegisterType((*WorkflowTemplate)(nil), "api.WorkflowTemplate")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("workflow_template.proto", fileDescriptor_b9a07547748a96e8) }
|
|
|
|
var fileDescriptor_b9a07547748a96e8 = []byte{
|
|
// 263 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0x3f, 0x4f, 0xc3, 0x30,
|
|
0x10, 0xc5, 0x65, 0xd2, 0x02, 0x39, 0x96, 0x70, 0x02, 0x61, 0x55, 0x20, 0x45, 0x81, 0xa1, 0x53,
|
|
0x06, 0xf8, 0x04, 0xa8, 0x03, 0x4b, 0xa7, 0x88, 0x3f, 0x23, 0x32, 0xe5, 0x2a, 0x59, 0x34, 0xb6,
|
|
0xc9, 0x39, 0x64, 0x85, 0x6f, 0x8e, 0xea, 0xa6, 0x45, 0x4a, 0x44, 0x87, 0x6c, 0xf7, 0x2e, 0xef,
|
|
0xde, 0xfd, 0x2e, 0x32, 0x5c, 0x34, 0xb6, 0xfa, 0x58, 0xae, 0x6c, 0xf3, 0xea, 0xa9, 0x74, 0x2b,
|
|
0xe5, 0x29, 0x77, 0x95, 0xf5, 0x16, 0x23, 0xe5, 0x74, 0xf6, 0x2d, 0xe0, 0x6a, 0x56, 0x91, 0xf2,
|
|
0xf4, 0xd2, 0xda, 0x1e, 0x5b, 0x57, 0x41, 0x9f, 0x35, 0xb1, 0xc7, 0x4b, 0x88, 0x8d, 0x2a, 0x89,
|
|
0x9d, 0x5a, 0x90, 0x14, 0xa9, 0x98, 0xc6, 0xc5, 0x5f, 0x03, 0xef,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