mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-10-23 21:43:07 +08:00
312 lines
12 KiB
Go
312 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"`
|
|
Version int32 `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{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 ""
|
|
}
|
|
|
|
func (m *GetWorkflowTemplateRequest) GetVersion() int32 {
|
|
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{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 int32 `protobuf:"varint,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() int32 {
|
|
if m != nil {
|
|
return m.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
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{
|
|
// 266 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x52, 0x3d, 0x4f, 0xc3, 0x30,
|
|
0x10, 0x95, 0x49, 0x03, 0xe4, 0x58, 0x82, 0x05, 0xc2, 0xaa, 0x40, 0x8a, 0x02, 0x43, 0xa6, 0x0c,
|
|
0xf0, 0x0b, 0x50, 0x07, 0x16, 0x26, 0x8b, 0x8f, 0x11, 0x99, 0x72, 0x91, 0x2c, 0x1a, 0xdb, 0xe4,
|
|
0x1c, 0xb2, 0xc2, 0x3f, 0x47, 0x75, 0x53, 0x2a, 0x25, 0x6a, 0x87, 0x6e, 0xf7, 0x92, 0xf7, 0xee,
|
|
0xbd, 0x7b, 0x32, 0x5c, 0x74, 0xb6, 0xf9, 0xac, 0x16, 0xb6, 0x7b, 0xf3, 0x58, 0xbb, 0x85, 0xf2,
|
|
0x58, 0xba, 0xc6, 0x7a, 0xcb, 0x23, 0xe5, 0x74, 0xfe, 0xc3, 0xe0, 0x6a, 0xd6, 0xa0, 0xf2, 0xf8,
|
|
0xda, 0xd3, 0x9e, 0x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