basic

package
v0.0.0-...-b63aa1a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterService

func RegisterService(s giraffe_micro.Server, srv Service)

Types

type Client

type Client interface {
	UpdateBatchPermission(ctx context.Context, in *UpdateBatchPermissionRequest) (*types.Struct, error)
	CreateFlow(ctx context.Context, in *flow.Flow) (*flow.Flow, error)
	DeleteFlow(ctx context.Context, in *DeleteFlowRequest) (*DeleteFlowResponse, error)
	GetFlowInfo(ctx context.Context, in *GetFlowInfoRequest) (*flow.Flow, error)
	GetFlowCategories(ctx context.Context, in *types.Empty) (*GetFlowCategoriesResponse, error)
	GetVersionList(ctx context.Context, in *GetVersionListRequest) (*GetVersionListResponse, error)
	GetFlowList(ctx context.Context, in *GetFlowListRequest) (*GetFlowListResponse, error)
	UpdateFlow(ctx context.Context, in *flow.Flow) (*flow.Flow, error)
}

Client is the client API for basic service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewClient

func NewClient(c giraffe_micro.Client) Client

type CreateFlowResponseWrapper

type CreateFlowResponseWrapper struct {
	//
	//返回码
	Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"`
	//
	//返回码解释
	CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"`
	//
	//错误详情
	Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"`
	//
	//返回数据
	Data                 *flow.Flow `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

CreateFlowApi返回

func (*CreateFlowResponseWrapper) Descriptor

func (*CreateFlowResponseWrapper) Descriptor() ([]byte, []int)

func (*CreateFlowResponseWrapper) GetCode

func (m *CreateFlowResponseWrapper) GetCode() int32

func (*CreateFlowResponseWrapper) GetCodeExplain

func (m *CreateFlowResponseWrapper) GetCodeExplain() string

func (*CreateFlowResponseWrapper) GetData

func (m *CreateFlowResponseWrapper) GetData() *flow.Flow

func (*CreateFlowResponseWrapper) GetError

func (m *CreateFlowResponseWrapper) GetError() string

func (*CreateFlowResponseWrapper) ProtoMessage

func (*CreateFlowResponseWrapper) ProtoMessage()

func (*CreateFlowResponseWrapper) Reset

func (m *CreateFlowResponseWrapper) Reset()

func (*CreateFlowResponseWrapper) String

func (m *CreateFlowResponseWrapper) String() string

func (*CreateFlowResponseWrapper) Validate

func (this *CreateFlowResponseWrapper) Validate() error

func (*CreateFlowResponseWrapper) XXX_DiscardUnknown

func (m *CreateFlowResponseWrapper) XXX_DiscardUnknown()

func (*CreateFlowResponseWrapper) XXX_Marshal

func (m *CreateFlowResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateFlowResponseWrapper) XXX_Merge

func (m *CreateFlowResponseWrapper) XXX_Merge(src proto.Message)

func (*CreateFlowResponseWrapper) XXX_Size

func (m *CreateFlowResponseWrapper) XXX_Size() int

func (*CreateFlowResponseWrapper) XXX_Unmarshal

func (m *CreateFlowResponseWrapper) XXX_Unmarshal(b []byte) error

type DeleteFlowRequest

type DeleteFlowRequest struct {
	//
	//流程ID
	FlowId               string   `protobuf:"bytes,1,opt,name=flowId,proto3" json:"flowId" form:"flowId"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

DeleteFlow请求

func (*DeleteFlowRequest) Descriptor

func (*DeleteFlowRequest) Descriptor() ([]byte, []int)

func (*DeleteFlowRequest) GetFlowId

func (m *DeleteFlowRequest) GetFlowId() string

func (*DeleteFlowRequest) ProtoMessage

func (*DeleteFlowRequest) ProtoMessage()

func (*DeleteFlowRequest) Reset

func (m *DeleteFlowRequest) Reset()

func (*DeleteFlowRequest) String

func (m *DeleteFlowRequest) String() string

func (*DeleteFlowRequest) Validate

func (this *DeleteFlowRequest) Validate() error

func (*DeleteFlowRequest) XXX_DiscardUnknown

func (m *DeleteFlowRequest) XXX_DiscardUnknown()

func (*DeleteFlowRequest) XXX_Marshal

func (m *DeleteFlowRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteFlowRequest) XXX_Merge

func (m *DeleteFlowRequest) XXX_Merge(src proto.Message)

func (*DeleteFlowRequest) XXX_Size

func (m *DeleteFlowRequest) XXX_Size() int

func (*DeleteFlowRequest) XXX_Unmarshal

func (m *DeleteFlowRequest) XXX_Unmarshal(b []byte) error

type DeleteFlowResponse

type DeleteFlowResponse struct {
	//
	//流程ID
	FlowId               string   `protobuf:"bytes,1,opt,name=flowId,proto3" json:"flowId" form:"flowId"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

DeleteFlow返回

func (*DeleteFlowResponse) Descriptor

func (*DeleteFlowResponse) Descriptor() ([]byte, []int)

func (*DeleteFlowResponse) GetFlowId

func (m *DeleteFlowResponse) GetFlowId() string

func (*DeleteFlowResponse) ProtoMessage

func (*DeleteFlowResponse) ProtoMessage()

func (*DeleteFlowResponse) Reset

func (m *DeleteFlowResponse) Reset()

func (*DeleteFlowResponse) String

func (m *DeleteFlowResponse) String() string

func (*DeleteFlowResponse) Validate

func (this *DeleteFlowResponse) Validate() error

func (*DeleteFlowResponse) XXX_DiscardUnknown

func (m *DeleteFlowResponse) XXX_DiscardUnknown()

func (*DeleteFlowResponse) XXX_Marshal

func (m *DeleteFlowResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteFlowResponse) XXX_Merge

func (m *DeleteFlowResponse) XXX_Merge(src proto.Message)

func (*DeleteFlowResponse) XXX_Size

func (m *DeleteFlowResponse) XXX_Size() int

func (*DeleteFlowResponse) XXX_Unmarshal

func (m *DeleteFlowResponse) XXX_Unmarshal(b []byte) error

type DeleteFlowResponseWrapper

type DeleteFlowResponseWrapper struct {
	//
	//返回码
	Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"`
	//
	//返回码解释
	CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"`
	//
	//错误详情
	Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"`
	//
	//返回数据
	Data                 *DeleteFlowResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

DeleteFlowApi返回

func (*DeleteFlowResponseWrapper) Descriptor

func (*DeleteFlowResponseWrapper) Descriptor() ([]byte, []int)

func (*DeleteFlowResponseWrapper) GetCode

func (m *DeleteFlowResponseWrapper) GetCode() int32

func (*DeleteFlowResponseWrapper) GetCodeExplain

func (m *DeleteFlowResponseWrapper) GetCodeExplain() string

func (*DeleteFlowResponseWrapper) GetData

func (*DeleteFlowResponseWrapper) GetError

func (m *DeleteFlowResponseWrapper) GetError() string

func (*DeleteFlowResponseWrapper) ProtoMessage

func (*DeleteFlowResponseWrapper) ProtoMessage()

func (*DeleteFlowResponseWrapper) Reset

func (m *DeleteFlowResponseWrapper) Reset()

func (*DeleteFlowResponseWrapper) String

func (m *DeleteFlowResponseWrapper) String() string

func (*DeleteFlowResponseWrapper) Validate

func (this *DeleteFlowResponseWrapper) Validate() error

func (*DeleteFlowResponseWrapper) XXX_DiscardUnknown

func (m *DeleteFlowResponseWrapper) XXX_DiscardUnknown()

func (*DeleteFlowResponseWrapper) XXX_Marshal

func (m *DeleteFlowResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteFlowResponseWrapper) XXX_Merge

func (m *DeleteFlowResponseWrapper) XXX_Merge(src proto.Message)

func (*DeleteFlowResponseWrapper) XXX_Size

func (m *DeleteFlowResponseWrapper) XXX_Size() int

func (*DeleteFlowResponseWrapper) XXX_Unmarshal

func (m *DeleteFlowResponseWrapper) XXX_Unmarshal(b []byte) error

type GetFlowCategoriesResponse

type GetFlowCategoriesResponse struct {
	//
	//返回码
	Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"`
	//
	//返回信息
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message" form:"message"`
	//
	//请求错误信息
	Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"`
	//
	//流程分类信息,如["默认","清理","Test"]
	Data                 []string `protobuf:"bytes,4,rep,name=data,proto3" json:"data" form:"data"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

GetFlowCategories返回

func (*GetFlowCategoriesResponse) Descriptor

func (*GetFlowCategoriesResponse) Descriptor() ([]byte, []int)

func (*GetFlowCategoriesResponse) GetCode

func (m *GetFlowCategoriesResponse) GetCode() int32

func (*GetFlowCategoriesResponse) GetData

func (m *GetFlowCategoriesResponse) GetData() []string

func (*GetFlowCategoriesResponse) GetError

func (m *GetFlowCategoriesResponse) GetError() string

func (*GetFlowCategoriesResponse) GetMessage

func (m *GetFlowCategoriesResponse) GetMessage() string

func (*GetFlowCategoriesResponse) ProtoMessage

func (*GetFlowCategoriesResponse) ProtoMessage()

func (*GetFlowCategoriesResponse) Reset

func (m *GetFlowCategoriesResponse) Reset()

func (*GetFlowCategoriesResponse) String

func (m *GetFlowCategoriesResponse) String() string

func (*GetFlowCategoriesResponse) Validate

func (this *GetFlowCategoriesResponse) Validate() error

func (*GetFlowCategoriesResponse) XXX_DiscardUnknown

func (m *GetFlowCategoriesResponse) XXX_DiscardUnknown()

func (*GetFlowCategoriesResponse) XXX_Marshal

func (m *GetFlowCategoriesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetFlowCategoriesResponse) XXX_Merge

func (m *GetFlowCategoriesResponse) XXX_Merge(src proto.Message)

func (*GetFlowCategoriesResponse) XXX_Size

func (m *GetFlowCategoriesResponse) XXX_Size() int

func (*GetFlowCategoriesResponse) XXX_Unmarshal

func (m *GetFlowCategoriesResponse) XXX_Unmarshal(b []byte) error

type GetFlowCategoriesResponseWrapper

type GetFlowCategoriesResponseWrapper struct {
	//
	//返回码
	Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"`
	//
	//返回码解释
	CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"`
	//
	//错误详情
	Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"`
	//
	//返回数据
	Data                 *GetFlowCategoriesResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

GetFlowCategoriesApi返回

func (*GetFlowCategoriesResponseWrapper) Descriptor

func (*GetFlowCategoriesResponseWrapper) Descriptor() ([]byte, []int)

func (*GetFlowCategoriesResponseWrapper) GetCode

func (*GetFlowCategoriesResponseWrapper) GetCodeExplain

func (m *GetFlowCategoriesResponseWrapper) GetCodeExplain() string

func (*GetFlowCategoriesResponseWrapper) GetData

func (*GetFlowCategoriesResponseWrapper) GetError

func (*GetFlowCategoriesResponseWrapper) ProtoMessage

func (*GetFlowCategoriesResponseWrapper) ProtoMessage()

func (*GetFlowCategoriesResponseWrapper) Reset

func (*GetFlowCategoriesResponseWrapper) String

func (*GetFlowCategoriesResponseWrapper) Validate

func (this *GetFlowCategoriesResponseWrapper) Validate() error

func (*GetFlowCategoriesResponseWrapper) XXX_DiscardUnknown

func (m *GetFlowCategoriesResponseWrapper) XXX_DiscardUnknown()

func (*GetFlowCategoriesResponseWrapper) XXX_Marshal

func (m *GetFlowCategoriesResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetFlowCategoriesResponseWrapper) XXX_Merge

func (*GetFlowCategoriesResponseWrapper) XXX_Size

func (m *GetFlowCategoriesResponseWrapper) XXX_Size() int

func (*GetFlowCategoriesResponseWrapper) XXX_Unmarshal

func (m *GetFlowCategoriesResponseWrapper) XXX_Unmarshal(b []byte) error

type GetFlowInfoRequest

type GetFlowInfoRequest struct {
	//
	//流程ID
	FlowId string `protobuf:"bytes,1,opt,name=flowId,proto3" json:"flowId" form:"flowId"`
	//
	//版本号(时间戳-秒)
	Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version" form:"version"`
	//
	//流程标签
	Tags                 []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags" form:"tags"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

GetFlowInfo请求

func (*GetFlowInfoRequest) Descriptor

func (*GetFlowInfoRequest) Descriptor() ([]byte, []int)

func (*GetFlowInfoRequest) GetFlowId

func (m *GetFlowInfoRequest) GetFlowId() string

func (*GetFlowInfoRequest) GetTags

func (m *GetFlowInfoRequest) GetTags() []string

func (*GetFlowInfoRequest) GetVersion

func (m *GetFlowInfoRequest) GetVersion() int32

func (*GetFlowInfoRequest) ProtoMessage

func (*GetFlowInfoRequest) ProtoMessage()

func (*GetFlowInfoRequest) Reset

func (m *GetFlowInfoRequest) Reset()

func (*GetFlowInfoRequest) String

func (m *GetFlowInfoRequest) String() string

func (*GetFlowInfoRequest) Validate

func (this *GetFlowInfoRequest) Validate() error

func (*GetFlowInfoRequest) XXX_DiscardUnknown

func (m *GetFlowInfoRequest) XXX_DiscardUnknown()

func (*GetFlowInfoRequest) XXX_Marshal

func (m *GetFlowInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetFlowInfoRequest) XXX_Merge

func (m *GetFlowInfoRequest) XXX_Merge(src proto.Message)

func (*GetFlowInfoRequest) XXX_Size

func (m *GetFlowInfoRequest) XXX_Size() int

func (*GetFlowInfoRequest) XXX_Unmarshal

func (m *GetFlowInfoRequest) XXX_Unmarshal(b []byte) error

type GetFlowInfoResponseWrapper

type GetFlowInfoResponseWrapper struct {
	//
	//返回码
	Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"`
	//
	//返回码解释
	CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"`
	//
	//错误详情
	Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"`
	//
	//返回数据
	Data                 *flow.Flow `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

GetFlowInfoApi返回

func (*GetFlowInfoResponseWrapper) Descriptor

func (*GetFlowInfoResponseWrapper) Descriptor() ([]byte, []int)

func (*GetFlowInfoResponseWrapper) GetCode

func (m *GetFlowInfoResponseWrapper) GetCode() int32

func (*GetFlowInfoResponseWrapper) GetCodeExplain

func (m *GetFlowInfoResponseWrapper) GetCodeExplain() string

func (*GetFlowInfoResponseWrapper) GetData

func (m *GetFlowInfoResponseWrapper) GetData() *flow.Flow

func (*GetFlowInfoResponseWrapper) GetError

func (m *GetFlowInfoResponseWrapper) GetError() string

func (*GetFlowInfoResponseWrapper) ProtoMessage

func (*GetFlowInfoResponseWrapper) ProtoMessage()

func (*GetFlowInfoResponseWrapper) Reset

func (m *GetFlowInfoResponseWrapper) Reset()

func (*GetFlowInfoResponseWrapper) String

func (m *GetFlowInfoResponseWrapper) String() string

func (*GetFlowInfoResponseWrapper) Validate

func (this *GetFlowInfoResponseWrapper) Validate() error

func (*GetFlowInfoResponseWrapper) XXX_DiscardUnknown

func (m *GetFlowInfoResponseWrapper) XXX_DiscardUnknown()

func (*GetFlowInfoResponseWrapper) XXX_Marshal

func (m *GetFlowInfoResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetFlowInfoResponseWrapper) XXX_Merge

func (m *GetFlowInfoResponseWrapper) XXX_Merge(src proto.Message)

func (*GetFlowInfoResponseWrapper) XXX_Size

func (m *GetFlowInfoResponseWrapper) XXX_Size() int

func (*GetFlowInfoResponseWrapper) XXX_Unmarshal

func (m *GetFlowInfoResponseWrapper) XXX_Unmarshal(b []byte) error

type GetFlowListRequest

type GetFlowListRequest struct {
	//
	//查询其实页面
	Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page" form:"page"`
	//
	//每页数量
	PageSize int32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize" form:"pageSize"`
	//
	//名字模糊匹配
	Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword" form:"keyword"`
	//
	//没设类别的流程
	NotCategory bool `protobuf:"varint,4,opt,name=notCategory,proto3" json:"notCategory" form:"notCategory"`
	//
	//用户对流程具有的权限; 用","分割(read=查看, update=更新, delete=删除, execute=执行)
	Permissions string `protobuf:"bytes,5,opt,name=permissions,proto3" json:"permissions" form:"permissions"`
	//
	//元数据查询的key名称(支持对流程metadata属性数据的查询,如 metadata.customKey(MongoDB二级查询语法))
	MetadataKey string `protobuf:"bytes,6,opt,name=metadataKey,proto3" json:"metadataKey" form:"metadataKey"`
	//
	//元数据查询的key对应的值; 目前只支持字符串。(在实际查询时是metadata.customValue)
	MetadataValue string `protobuf:"bytes,7,opt,name=metadataValue,proto3" json:"metadataValue" form:"metadataValue"`
	//
	//指定返回流程id,用","分隔
	Ids string `protobuf:"bytes,8,opt,name=ids,proto3" json:"ids" form:"ids"`
	//
	//流程类别如流水线、流程、流水线模板等
	Category string `protobuf:"bytes,9,opt,name=category,proto3" json:"category" form:"category"`
	//
	//流程创建者
	Creator string `protobuf:"bytes,10,opt,name=creator,proto3" json:"creator" form:"creator"`
	//
	//流程自定义分类
	Type string `protobuf:"bytes,11,opt,name=type,proto3" json:"type" form:"type"`
	//
	//流程标签
	Tags                 []string `protobuf:"bytes,12,rep,name=tags,proto3" json:"tags" form:"tags"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

GetFlowList请求

func (*GetFlowListRequest) Descriptor

func (*GetFlowListRequest) Descriptor() ([]byte, []int)

func (*GetFlowListRequest) GetCategory

func (m *GetFlowListRequest) GetCategory() string

func (*GetFlowListRequest) GetCreator

func (m *GetFlowListRequest) GetCreator() string

func (*GetFlowListRequest) GetIds

func (m *GetFlowListRequest) GetIds() string

func (*GetFlowListRequest) GetKeyword

func (m *GetFlowListRequest) GetKeyword() string

func (*GetFlowListRequest) GetMetadataKey

func (m *GetFlowListRequest) GetMetadataKey() string

func (*GetFlowListRequest) GetMetadataValue

func (m *GetFlowListRequest) GetMetadataValue() string

func (*GetFlowListRequest) GetNotCategory

func (m *GetFlowListRequest) GetNotCategory() bool

func (*GetFlowListRequest) GetPage

func (m *GetFlowListRequest) GetPage() int32

func (*GetFlowListRequest) GetPageSize

func (m *GetFlowListRequest) GetPageSize() int32

func (*GetFlowListRequest) GetPermissions

func (m *GetFlowListRequest) GetPermissions() string

func (*GetFlowListRequest) GetTags

func (m *GetFlowListRequest) GetTags() []string

func (*GetFlowListRequest) GetType

func (m *GetFlowListRequest) GetType() string

func (*GetFlowListRequest) ProtoMessage

func (*GetFlowListRequest) ProtoMessage()

func (*GetFlowListRequest) Reset

func (m *GetFlowListRequest) Reset()

func (*GetFlowListRequest) String

func (m *GetFlowListRequest) String() string

func (*GetFlowListRequest) Validate

func (this *GetFlowListRequest) Validate() error

func (*GetFlowListRequest) XXX_DiscardUnknown

func (m *GetFlowListRequest) XXX_DiscardUnknown()

func (*GetFlowListRequest) XXX_Marshal

func (m *GetFlowListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetFlowListRequest) XXX_Merge

func (m *GetFlowListRequest) XXX_Merge(src proto.Message)

func (*GetFlowListRequest) XXX_Size

func (m *GetFlowListRequest) XXX_Size() int

func (*GetFlowListRequest) XXX_Unmarshal

func (m *GetFlowListRequest) XXX_Unmarshal(b []byte) error

type GetFlowListResponse

type GetFlowListResponse struct {
	//
	//页数
	Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page" form:"page"`
	//
	//页大小
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size" form:"page_size"`
	//
	//总数
	Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total" form:"total"`
	//
	//数据列表
	List                 []*flow.Flow `protobuf:"bytes,4,rep,name=list,proto3" json:"list" form:"list"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

GetFlowList返回

func (*GetFlowListResponse) Descriptor

func (*GetFlowListResponse) Descriptor() ([]byte, []int)

func (*GetFlowListResponse) GetList

func (m *GetFlowListResponse) GetList() []*flow.Flow

func (*GetFlowListResponse) GetPage

func (m *GetFlowListResponse) GetPage() int32

func (*GetFlowListResponse) GetPageSize

func (m *GetFlowListResponse) GetPageSize() int32

func (*GetFlowListResponse) GetTotal

func (m *GetFlowListResponse) GetTotal() int32

func (*GetFlowListResponse) ProtoMessage

func (*GetFlowListResponse) ProtoMessage()

func (*GetFlowListResponse) Reset

func (m *GetFlowListResponse) Reset()

func (*GetFlowListResponse) String

func (m *GetFlowListResponse) String() string

func (*GetFlowListResponse) Validate

func (this *GetFlowListResponse) Validate() error

func (*GetFlowListResponse) XXX_DiscardUnknown

func (m *GetFlowListResponse) XXX_DiscardUnknown()

func (*GetFlowListResponse) XXX_Marshal

func (m *GetFlowListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetFlowListResponse) XXX_Merge

func (m *GetFlowListResponse) XXX_Merge(src proto.Message)

func (*GetFlowListResponse) XXX_Size

func (m *GetFlowListResponse) XXX_Size() int

func (*GetFlowListResponse) XXX_Unmarshal

func (m *GetFlowListResponse) XXX_Unmarshal(b []byte) error

type GetFlowListResponseWrapper

type GetFlowListResponseWrapper struct {
	//
	//返回码
	Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"`
	//
	//返回码解释
	CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"`
	//
	//错误详情
	Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"`
	//
	//返回数据
	Data                 *GetFlowListResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

GetFlowListApi返回

func (*GetFlowListResponseWrapper) Descriptor

func (*GetFlowListResponseWrapper) Descriptor() ([]byte, []int)

func (*GetFlowListResponseWrapper) GetCode

func (m *GetFlowListResponseWrapper) GetCode() int32

func (*GetFlowListResponseWrapper) GetCodeExplain

func (m *GetFlowListResponseWrapper) GetCodeExplain() string

func (*GetFlowListResponseWrapper) GetData

func (*GetFlowListResponseWrapper) GetError

func (m *GetFlowListResponseWrapper) GetError() string

func (*GetFlowListResponseWrapper) ProtoMessage

func (*GetFlowListResponseWrapper) ProtoMessage()

func (*GetFlowListResponseWrapper) Reset

func (m *GetFlowListResponseWrapper) Reset()

func (*GetFlowListResponseWrapper) String

func (m *GetFlowListResponseWrapper) String() string

func (*GetFlowListResponseWrapper) Validate

func (this *GetFlowListResponseWrapper) Validate() error

func (*GetFlowListResponseWrapper) XXX_DiscardUnknown

func (m *GetFlowListResponseWrapper) XXX_DiscardUnknown()

func (*GetFlowListResponseWrapper) XXX_Marshal

func (m *GetFlowListResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetFlowListResponseWrapper) XXX_Merge

func (m *GetFlowListResponseWrapper) XXX_Merge(src proto.Message)

func (*GetFlowListResponseWrapper) XXX_Size

func (m *GetFlowListResponseWrapper) XXX_Size() int

func (*GetFlowListResponseWrapper) XXX_Unmarshal

func (m *GetFlowListResponseWrapper) XXX_Unmarshal(b []byte) error

type GetVersionListRequest

type GetVersionListRequest struct {
	//
	//查询开始时间
	StartTime string `protobuf:"bytes,1,opt,name=startTime,proto3" json:"startTime" form:"startTime"`
	//
	//查询结束时间
	EndTime string `protobuf:"bytes,2,opt,name=endTime,proto3" json:"endTime" form:"endTime"`
	//
	//version排序规则
	Order string `protobuf:"bytes,3,opt,name=order,proto3" json:"order" form:"order"`
	//
	//指定返回字段, 逗号分隔
	Fields string `protobuf:"bytes,4,opt,name=fields,proto3" json:"fields" form:"fields"`
	//
	//流程ID
	FlowId               string   `protobuf:"bytes,5,opt,name=flowId,proto3" json:"flowId" form:"flowId"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

GetVersionList请求

func (*GetVersionListRequest) Descriptor

func (*GetVersionListRequest) Descriptor() ([]byte, []int)

func (*GetVersionListRequest) GetEndTime

func (m *GetVersionListRequest) GetEndTime() string

func (*GetVersionListRequest) GetFields

func (m *GetVersionListRequest) GetFields() string

func (*GetVersionListRequest) GetFlowId

func (m *GetVersionListRequest) GetFlowId() string

func (*GetVersionListRequest) GetOrder

func (m *GetVersionListRequest) GetOrder() string

func (*GetVersionListRequest) GetStartTime

func (m *GetVersionListRequest) GetStartTime() string

func (*GetVersionListRequest) ProtoMessage

func (*GetVersionListRequest) ProtoMessage()

func (*GetVersionListRequest) Reset

func (m *GetVersionListRequest) Reset()

func (*GetVersionListRequest) String

func (m *GetVersionListRequest) String() string

func (*GetVersionListRequest) Validate

func (this *GetVersionListRequest) Validate() error

func (*GetVersionListRequest) XXX_DiscardUnknown

func (m *GetVersionListRequest) XXX_DiscardUnknown()

func (*GetVersionListRequest) XXX_Marshal

func (m *GetVersionListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetVersionListRequest) XXX_Merge

func (m *GetVersionListRequest) XXX_Merge(src proto.Message)

func (*GetVersionListRequest) XXX_Size

func (m *GetVersionListRequest) XXX_Size() int

func (*GetVersionListRequest) XXX_Unmarshal

func (m *GetVersionListRequest) XXX_Unmarshal(b []byte) error

type GetVersionListResponse

type GetVersionListResponse struct {
	//
	//页数
	Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page" form:"page"`
	//
	//页大小
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size" form:"page_size"`
	//
	//总数
	Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total" form:"total"`
	//
	//数据列表
	List                 []*GetVersionListResponse_List `protobuf:"bytes,4,rep,name=list,proto3" json:"list" form:"list"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

GetVersionList返回

func (*GetVersionListResponse) Descriptor

func (*GetVersionListResponse) Descriptor() ([]byte, []int)

func (*GetVersionListResponse) GetList

func (*GetVersionListResponse) GetPage

func (m *GetVersionListResponse) GetPage() int32

func (*GetVersionListResponse) GetPageSize

func (m *GetVersionListResponse) GetPageSize() int32

func (*GetVersionListResponse) GetTotal

func (m *GetVersionListResponse) GetTotal() int32

func (*GetVersionListResponse) ProtoMessage

func (*GetVersionListResponse) ProtoMessage()

func (*GetVersionListResponse) Reset

func (m *GetVersionListResponse) Reset()

func (*GetVersionListResponse) String

func (m *GetVersionListResponse) String() string

func (*GetVersionListResponse) Validate

func (this *GetVersionListResponse) Validate() error

func (*GetVersionListResponse) XXX_DiscardUnknown

func (m *GetVersionListResponse) XXX_DiscardUnknown()

func (*GetVersionListResponse) XXX_Marshal

func (m *GetVersionListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetVersionListResponse) XXX_Merge

func (m *GetVersionListResponse) XXX_Merge(src proto.Message)

func (*GetVersionListResponse) XXX_Size

func (m *GetVersionListResponse) XXX_Size() int

func (*GetVersionListResponse) XXX_Unmarshal

func (m *GetVersionListResponse) XXX_Unmarshal(b []byte) error

type GetVersionListResponseWrapper

type GetVersionListResponseWrapper struct {
	//
	//返回码
	Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"`
	//
	//返回码解释
	CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"`
	//
	//错误详情
	Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"`
	//
	//返回数据
	Data                 *GetVersionListResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

GetVersionListApi返回

func (*GetVersionListResponseWrapper) Descriptor

func (*GetVersionListResponseWrapper) Descriptor() ([]byte, []int)

func (*GetVersionListResponseWrapper) GetCode

func (m *GetVersionListResponseWrapper) GetCode() int32

func (*GetVersionListResponseWrapper) GetCodeExplain

func (m *GetVersionListResponseWrapper) GetCodeExplain() string

func (*GetVersionListResponseWrapper) GetData

func (*GetVersionListResponseWrapper) GetError

func (m *GetVersionListResponseWrapper) GetError() string

func (*GetVersionListResponseWrapper) ProtoMessage

func (*GetVersionListResponseWrapper) ProtoMessage()

func (*GetVersionListResponseWrapper) Reset

func (m *GetVersionListResponseWrapper) Reset()

func (*GetVersionListResponseWrapper) String

func (*GetVersionListResponseWrapper) Validate

func (this *GetVersionListResponseWrapper) Validate() error

func (*GetVersionListResponseWrapper) XXX_DiscardUnknown

func (m *GetVersionListResponseWrapper) XXX_DiscardUnknown()

func (*GetVersionListResponseWrapper) XXX_Marshal

func (m *GetVersionListResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetVersionListResponseWrapper) XXX_Merge

func (m *GetVersionListResponseWrapper) XXX_Merge(src proto.Message)

func (*GetVersionListResponseWrapper) XXX_Size

func (m *GetVersionListResponseWrapper) XXX_Size() int

func (*GetVersionListResponseWrapper) XXX_Unmarshal

func (m *GetVersionListResponseWrapper) XXX_Unmarshal(b []byte) error

type GetVersionListResponse_List

type GetVersionListResponse_List struct {
	//
	//流程ID
	FlowId string `protobuf:"bytes,1,opt,name=flowId,proto3" json:"flowId" form:"flowId"`
	//
	//版本创建者
	VCreator string `protobuf:"bytes,2,opt,name=vCreator,proto3" json:"vCreator" form:"vCreator"`
	//
	//修改时间
	UpdateTime string `protobuf:"bytes,3,opt,name=updateTime,proto3" json:"updateTime" form:"updateTime"`
	//
	//版本号(时间戳-秒)
	Version int32 `protobuf:"varint,4,opt,name=version,proto3" json:"version" form:"version"`
	//
	//版本说明
	VDesc                string   `protobuf:"bytes,5,opt,name=vDesc,proto3" json:"vDesc" form:"vDesc"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetVersionListResponse_List) Descriptor

func (*GetVersionListResponse_List) Descriptor() ([]byte, []int)

func (*GetVersionListResponse_List) GetFlowId

func (m *GetVersionListResponse_List) GetFlowId() string

func (*GetVersionListResponse_List) GetUpdateTime

func (m *GetVersionListResponse_List) GetUpdateTime() string

func (*GetVersionListResponse_List) GetVCreator

func (m *GetVersionListResponse_List) GetVCreator() string

func (*GetVersionListResponse_List) GetVDesc

func (m *GetVersionListResponse_List) GetVDesc() string

func (*GetVersionListResponse_List) GetVersion

func (m *GetVersionListResponse_List) GetVersion() int32

func (*GetVersionListResponse_List) ProtoMessage

func (*GetVersionListResponse_List) ProtoMessage()

func (*GetVersionListResponse_List) Reset

func (m *GetVersionListResponse_List) Reset()

func (*GetVersionListResponse_List) String

func (m *GetVersionListResponse_List) String() string

func (*GetVersionListResponse_List) Validate

func (this *GetVersionListResponse_List) Validate() error

func (*GetVersionListResponse_List) XXX_DiscardUnknown

func (m *GetVersionListResponse_List) XXX_DiscardUnknown()

func (*GetVersionListResponse_List) XXX_Marshal

func (m *GetVersionListResponse_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetVersionListResponse_List) XXX_Merge

func (m *GetVersionListResponse_List) XXX_Merge(src proto.Message)

func (*GetVersionListResponse_List) XXX_Size

func (m *GetVersionListResponse_List) XXX_Size() int

func (*GetVersionListResponse_List) XXX_Unmarshal

func (m *GetVersionListResponse_List) XXX_Unmarshal(b []byte) error

type Service

Service is the server API for basic service.

type UpdateBatchPermissionRequest

type UpdateBatchPermissionRequest struct {
	//
	//批量更新方式, 可选值: append(追加), overwrite(重置), pull(移除)
	Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method" form:"method"`
	//
	//权限列表,可选值deleteAuthorizers(删除), updateAuthorizers(更新), readAuthorizers(读取或查看),executeAuthorizers(执行)
	Permissions []string `protobuf:"bytes,2,rep,name=permissions,proto3" json:"permissions" form:"permissions"`
	//
	//流程ID
	FlowIds []string `protobuf:"bytes,3,rep,name=flowIds,proto3" json:"flowIds" form:"flowIds"`
	//
	//用户、用户组列表
	Authorizers          []string `protobuf:"bytes,4,rep,name=authorizers,proto3" json:"authorizers" form:"authorizers"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

UpdateBatchPermission请求

func (*UpdateBatchPermissionRequest) Descriptor

func (*UpdateBatchPermissionRequest) Descriptor() ([]byte, []int)

func (*UpdateBatchPermissionRequest) GetAuthorizers

func (m *UpdateBatchPermissionRequest) GetAuthorizers() []string

func (*UpdateBatchPermissionRequest) GetFlowIds

func (m *UpdateBatchPermissionRequest) GetFlowIds() []string

func (*UpdateBatchPermissionRequest) GetMethod

func (m *UpdateBatchPermissionRequest) GetMethod() string

func (*UpdateBatchPermissionRequest) GetPermissions

func (m *UpdateBatchPermissionRequest) GetPermissions() []string

func (*UpdateBatchPermissionRequest) ProtoMessage

func (*UpdateBatchPermissionRequest) ProtoMessage()

func (*UpdateBatchPermissionRequest) Reset

func (m *UpdateBatchPermissionRequest) Reset()

func (*UpdateBatchPermissionRequest) String

func (*UpdateBatchPermissionRequest) Validate

func (this *UpdateBatchPermissionRequest) Validate() error

func (*UpdateBatchPermissionRequest) XXX_DiscardUnknown

func (m *UpdateBatchPermissionRequest) XXX_DiscardUnknown()

func (*UpdateBatchPermissionRequest) XXX_Marshal

func (m *UpdateBatchPermissionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateBatchPermissionRequest) XXX_Merge

func (m *UpdateBatchPermissionRequest) XXX_Merge(src proto.Message)

func (*UpdateBatchPermissionRequest) XXX_Size

func (m *UpdateBatchPermissionRequest) XXX_Size() int

func (*UpdateBatchPermissionRequest) XXX_Unmarshal

func (m *UpdateBatchPermissionRequest) XXX_Unmarshal(b []byte) error

type UpdateBatchPermissionResponseWrapper

type UpdateBatchPermissionResponseWrapper struct {
	//
	//返回码
	Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"`
	//
	//返回码解释
	CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"`
	//
	//错误详情
	Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"`
	//
	//返回数据
	Data                 *types.Struct `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

UpdateBatchPermissionApi返回

func (*UpdateBatchPermissionResponseWrapper) Descriptor

func (*UpdateBatchPermissionResponseWrapper) Descriptor() ([]byte, []int)

func (*UpdateBatchPermissionResponseWrapper) GetCode

func (*UpdateBatchPermissionResponseWrapper) GetCodeExplain

func (m *UpdateBatchPermissionResponseWrapper) GetCodeExplain() string

func (*UpdateBatchPermissionResponseWrapper) GetData

func (*UpdateBatchPermissionResponseWrapper) GetError

func (*UpdateBatchPermissionResponseWrapper) ProtoMessage

func (*UpdateBatchPermissionResponseWrapper) ProtoMessage()

func (*UpdateBatchPermissionResponseWrapper) Reset

func (*UpdateBatchPermissionResponseWrapper) String

func (*UpdateBatchPermissionResponseWrapper) Validate

func (*UpdateBatchPermissionResponseWrapper) XXX_DiscardUnknown

func (m *UpdateBatchPermissionResponseWrapper) XXX_DiscardUnknown()

func (*UpdateBatchPermissionResponseWrapper) XXX_Marshal

func (m *UpdateBatchPermissionResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateBatchPermissionResponseWrapper) XXX_Merge

func (*UpdateBatchPermissionResponseWrapper) XXX_Size

func (*UpdateBatchPermissionResponseWrapper) XXX_Unmarshal

func (m *UpdateBatchPermissionResponseWrapper) XXX_Unmarshal(b []byte) error

type UpdateFlowResponseWrapper

type UpdateFlowResponseWrapper struct {
	//
	//返回码
	Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"`
	//
	//返回码解释
	CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"`
	//
	//错误详情
	Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"`
	//
	//返回数据
	Data                 *flow.Flow `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

UpdateFlowApi返回

func (*UpdateFlowResponseWrapper) Descriptor

func (*UpdateFlowResponseWrapper) Descriptor() ([]byte, []int)

func (*UpdateFlowResponseWrapper) GetCode

func (m *UpdateFlowResponseWrapper) GetCode() int32

func (*UpdateFlowResponseWrapper) GetCodeExplain

func (m *UpdateFlowResponseWrapper) GetCodeExplain() string

func (*UpdateFlowResponseWrapper) GetData

func (m *UpdateFlowResponseWrapper) GetData() *flow.Flow

func (*UpdateFlowResponseWrapper) GetError

func (m *UpdateFlowResponseWrapper) GetError() string

func (*UpdateFlowResponseWrapper) ProtoMessage

func (*UpdateFlowResponseWrapper) ProtoMessage()

func (*UpdateFlowResponseWrapper) Reset

func (m *UpdateFlowResponseWrapper) Reset()

func (*UpdateFlowResponseWrapper) String

func (m *UpdateFlowResponseWrapper) String() string

func (*UpdateFlowResponseWrapper) Validate

func (this *UpdateFlowResponseWrapper) Validate() error

func (*UpdateFlowResponseWrapper) XXX_DiscardUnknown

func (m *UpdateFlowResponseWrapper) XXX_DiscardUnknown()

func (*UpdateFlowResponseWrapper) XXX_Marshal

func (m *UpdateFlowResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateFlowResponseWrapper) XXX_Merge

func (m *UpdateFlowResponseWrapper) XXX_Merge(src proto.Message)

func (*UpdateFlowResponseWrapper) XXX_Size

func (m *UpdateFlowResponseWrapper) XXX_Size() int

func (*UpdateFlowResponseWrapper) XXX_Unmarshal

func (m *UpdateFlowResponseWrapper) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL