Documentation
¶
Index ¶
- func RegisterService(s giraffe_micro.Server, srv Service)
- type Client
- type CreateRequest
- func (*CreateRequest) Descriptor() ([]byte, []int)
- func (m *CreateRequest) GetProject() *pipeline.Project
- func (m *CreateRequest) GetProviderId() string
- func (*CreateRequest) ProtoMessage()
- func (m *CreateRequest) Reset()
- func (m *CreateRequest) String() string
- func (this *CreateRequest) Validate() error
- func (m *CreateRequest) XXX_DiscardUnknown()
- func (m *CreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateRequest) XXX_Merge(src proto.Message)
- func (m *CreateRequest) XXX_Size() int
- func (m *CreateRequest) XXX_Unmarshal(b []byte) error
- type CreateResponse
- func (*CreateResponse) Descriptor() ([]byte, []int)
- func (m *CreateResponse) GetProject() *pipeline.Project
- func (m *CreateResponse) GetProvider() *pipeline.Provider
- func (*CreateResponse) ProtoMessage()
- func (m *CreateResponse) Reset()
- func (m *CreateResponse) String() string
- func (this *CreateResponse) Validate() error
- func (m *CreateResponse) XXX_DiscardUnknown()
- func (m *CreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateResponse) XXX_Merge(src proto.Message)
- func (m *CreateResponse) XXX_Size() int
- func (m *CreateResponse) XXX_Unmarshal(b []byte) error
- type CreateResponseWrapper
- func (*CreateResponseWrapper) Descriptor() ([]byte, []int)
- func (m *CreateResponseWrapper) GetCode() int32
- func (m *CreateResponseWrapper) GetCodeExplain() string
- func (m *CreateResponseWrapper) GetData() *CreateResponse
- func (m *CreateResponseWrapper) GetError() string
- func (*CreateResponseWrapper) ProtoMessage()
- func (m *CreateResponseWrapper) Reset()
- func (m *CreateResponseWrapper) String() string
- func (this *CreateResponseWrapper) Validate() error
- func (m *CreateResponseWrapper) XXX_DiscardUnknown()
- func (m *CreateResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateResponseWrapper) XXX_Merge(src proto.Message)
- func (m *CreateResponseWrapper) XXX_Size() int
- func (m *CreateResponseWrapper) XXX_Unmarshal(b []byte) error
- type DeleteProjectRequest
- func (*DeleteProjectRequest) Descriptor() ([]byte, []int)
- func (m *DeleteProjectRequest) GetProjectId() string
- func (*DeleteProjectRequest) ProtoMessage()
- func (m *DeleteProjectRequest) Reset()
- func (m *DeleteProjectRequest) String() string
- func (this *DeleteProjectRequest) Validate() error
- func (m *DeleteProjectRequest) XXX_DiscardUnknown()
- func (m *DeleteProjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteProjectRequest) XXX_Merge(src proto.Message)
- func (m *DeleteProjectRequest) XXX_Size() int
- func (m *DeleteProjectRequest) XXX_Unmarshal(b []byte) error
- type DeleteProjectResponseWrapper
- func (*DeleteProjectResponseWrapper) Descriptor() ([]byte, []int)
- func (m *DeleteProjectResponseWrapper) GetCode() int32
- func (m *DeleteProjectResponseWrapper) GetCodeExplain() string
- func (m *DeleteProjectResponseWrapper) GetData() *types.Empty
- func (m *DeleteProjectResponseWrapper) GetError() string
- func (*DeleteProjectResponseWrapper) ProtoMessage()
- func (m *DeleteProjectResponseWrapper) Reset()
- func (m *DeleteProjectResponseWrapper) String() string
- func (this *DeleteProjectResponseWrapper) Validate() error
- func (m *DeleteProjectResponseWrapper) XXX_DiscardUnknown()
- func (m *DeleteProjectResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteProjectResponseWrapper) XXX_Merge(src proto.Message)
- func (m *DeleteProjectResponseWrapper) XXX_Size() int
- func (m *DeleteProjectResponseWrapper) XXX_Unmarshal(b []byte) error
- type GetRequest
- func (*GetRequest) Descriptor() ([]byte, []int)
- func (m *GetRequest) GetProjectId() string
- func (*GetRequest) ProtoMessage()
- func (m *GetRequest) Reset()
- func (m *GetRequest) String() string
- func (this *GetRequest) Validate() error
- func (m *GetRequest) XXX_DiscardUnknown()
- func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRequest) XXX_Merge(src proto.Message)
- func (m *GetRequest) XXX_Size() int
- func (m *GetRequest) XXX_Unmarshal(b []byte) error
- type GetResponse
- func (*GetResponse) Descriptor() ([]byte, []int)
- func (m *GetResponse) GetPipeline() []*pipeline.Pipeline
- func (m *GetResponse) GetProject() *pipeline.Project
- func (m *GetResponse) GetProvider() *pipeline.Provider
- func (*GetResponse) ProtoMessage()
- func (m *GetResponse) Reset()
- func (m *GetResponse) String() string
- func (this *GetResponse) Validate() error
- func (m *GetResponse) XXX_DiscardUnknown()
- func (m *GetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetResponse) XXX_Merge(src proto.Message)
- func (m *GetResponse) XXX_Size() int
- func (m *GetResponse) XXX_Unmarshal(b []byte) error
- type GetResponseWrapper
- func (*GetResponseWrapper) Descriptor() ([]byte, []int)
- func (m *GetResponseWrapper) GetCode() int32
- func (m *GetResponseWrapper) GetCodeExplain() string
- func (m *GetResponseWrapper) GetData() *GetResponse
- func (m *GetResponseWrapper) GetError() string
- func (*GetResponseWrapper) ProtoMessage()
- func (m *GetResponseWrapper) Reset()
- func (m *GetResponseWrapper) String() string
- func (this *GetResponseWrapper) Validate() error
- func (m *GetResponseWrapper) XXX_DiscardUnknown()
- func (m *GetResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetResponseWrapper) XXX_Merge(src proto.Message)
- func (m *GetResponseWrapper) XXX_Size() int
- func (m *GetResponseWrapper) XXX_Unmarshal(b []byte) error
- type ListBranchRequest
- func (*ListBranchRequest) Descriptor() ([]byte, []int)
- func (m *ListBranchRequest) GetPage() int32
- func (m *ListBranchRequest) GetPageSize() int32
- func (m *ListBranchRequest) GetProjectId() string
- func (m *ListBranchRequest) GetSearch() string
- func (*ListBranchRequest) ProtoMessage()
- func (m *ListBranchRequest) Reset()
- func (m *ListBranchRequest) String() string
- func (this *ListBranchRequest) Validate() error
- func (m *ListBranchRequest) XXX_DiscardUnknown()
- func (m *ListBranchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListBranchRequest) XXX_Merge(src proto.Message)
- func (m *ListBranchRequest) XXX_Size() int
- func (m *ListBranchRequest) XXX_Unmarshal(b []byte) error
- type ListBranchResponse
- func (*ListBranchResponse) Descriptor() ([]byte, []int)
- func (m *ListBranchResponse) GetList() []*ListBranchResponse_List
- func (m *ListBranchResponse) GetPage() int32
- func (m *ListBranchResponse) GetPageSize() int32
- func (m *ListBranchResponse) GetTotal() int32
- func (*ListBranchResponse) ProtoMessage()
- func (m *ListBranchResponse) Reset()
- func (m *ListBranchResponse) String() string
- func (this *ListBranchResponse) Validate() error
- func (m *ListBranchResponse) XXX_DiscardUnknown()
- func (m *ListBranchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListBranchResponse) XXX_Merge(src proto.Message)
- func (m *ListBranchResponse) XXX_Size() int
- func (m *ListBranchResponse) XXX_Unmarshal(b []byte) error
- type ListBranchResponseWrapper
- func (*ListBranchResponseWrapper) Descriptor() ([]byte, []int)
- func (m *ListBranchResponseWrapper) GetCode() int32
- func (m *ListBranchResponseWrapper) GetCodeExplain() string
- func (m *ListBranchResponseWrapper) GetData() *ListBranchResponse
- func (m *ListBranchResponseWrapper) GetError() string
- func (*ListBranchResponseWrapper) ProtoMessage()
- func (m *ListBranchResponseWrapper) Reset()
- func (m *ListBranchResponseWrapper) String() string
- func (this *ListBranchResponseWrapper) Validate() error
- func (m *ListBranchResponseWrapper) XXX_DiscardUnknown()
- func (m *ListBranchResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListBranchResponseWrapper) XXX_Merge(src proto.Message)
- func (m *ListBranchResponseWrapper) XXX_Size() int
- func (m *ListBranchResponseWrapper) XXX_Unmarshal(b []byte) error
- type ListBranchResponse_List
- func (*ListBranchResponse_List) Descriptor() ([]byte, []int)
- func (m *ListBranchResponse_List) GetDefault() bool
- func (m *ListBranchResponse_List) GetName() string
- func (m *ListBranchResponse_List) GetProtected() bool
- func (*ListBranchResponse_List) ProtoMessage()
- func (m *ListBranchResponse_List) Reset()
- func (m *ListBranchResponse_List) String() string
- func (this *ListBranchResponse_List) Validate() error
- func (m *ListBranchResponse_List) XXX_DiscardUnknown()
- func (m *ListBranchResponse_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListBranchResponse_List) XXX_Merge(src proto.Message)
- func (m *ListBranchResponse_List) XXX_Size() int
- func (m *ListBranchResponse_List) XXX_Unmarshal(b []byte) error
- type ListRequest
- func (*ListRequest) Descriptor() ([]byte, []int)
- func (m *ListRequest) GetPage() int32
- func (m *ListRequest) GetPageSize() int32
- func (*ListRequest) ProtoMessage()
- func (m *ListRequest) Reset()
- func (m *ListRequest) String() string
- func (this *ListRequest) Validate() error
- func (m *ListRequest) XXX_DiscardUnknown()
- func (m *ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListRequest) XXX_Merge(src proto.Message)
- func (m *ListRequest) XXX_Size() int
- func (m *ListRequest) XXX_Unmarshal(b []byte) error
- type ListResponse
- func (*ListResponse) Descriptor() ([]byte, []int)
- func (m *ListResponse) GetList() []*ListResponse_List
- func (m *ListResponse) GetPage() int32
- func (m *ListResponse) GetPageSize() int32
- func (m *ListResponse) GetTotal() int32
- func (*ListResponse) ProtoMessage()
- func (m *ListResponse) Reset()
- func (m *ListResponse) String() string
- func (this *ListResponse) Validate() error
- func (m *ListResponse) XXX_DiscardUnknown()
- func (m *ListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListResponse) XXX_Merge(src proto.Message)
- func (m *ListResponse) XXX_Size() int
- func (m *ListResponse) XXX_Unmarshal(b []byte) error
- type ListResponseWrapper
- func (*ListResponseWrapper) Descriptor() ([]byte, []int)
- func (m *ListResponseWrapper) GetCode() int32
- func (m *ListResponseWrapper) GetCodeExplain() string
- func (m *ListResponseWrapper) GetData() *ListResponse
- func (m *ListResponseWrapper) GetError() string
- func (*ListResponseWrapper) ProtoMessage()
- func (m *ListResponseWrapper) Reset()
- func (m *ListResponseWrapper) String() string
- func (this *ListResponseWrapper) Validate() error
- func (m *ListResponseWrapper) XXX_DiscardUnknown()
- func (m *ListResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListResponseWrapper) XXX_Merge(src proto.Message)
- func (m *ListResponseWrapper) XXX_Size() int
- func (m *ListResponseWrapper) XXX_Unmarshal(b []byte) error
- type ListResponse_List
- func (*ListResponse_List) Descriptor() ([]byte, []int)
- func (m *ListResponse_List) GetPipeline() []*pipeline.Pipeline
- func (m *ListResponse_List) GetProject() *pipeline.Project
- func (m *ListResponse_List) GetProvider() *pipeline.Provider
- func (*ListResponse_List) ProtoMessage()
- func (m *ListResponse_List) Reset()
- func (m *ListResponse_List) String() string
- func (this *ListResponse_List) Validate() error
- func (m *ListResponse_List) XXX_DiscardUnknown()
- func (m *ListResponse_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListResponse_List) XXX_Merge(src proto.Message)
- func (m *ListResponse_List) XXX_Size() int
- func (m *ListResponse_List) XXX_Unmarshal(b []byte) error
- type ListVariableResponse
- func (*ListVariableResponse) Descriptor() ([]byte, []int)
- func (m *ListVariableResponse) GetList() []*ListVariableResponse_List
- func (m *ListVariableResponse) GetPage() int32
- func (m *ListVariableResponse) GetPageSize() int32
- func (m *ListVariableResponse) GetTotal() int32
- func (*ListVariableResponse) ProtoMessage()
- func (m *ListVariableResponse) Reset()
- func (m *ListVariableResponse) String() string
- func (this *ListVariableResponse) Validate() error
- func (m *ListVariableResponse) XXX_DiscardUnknown()
- func (m *ListVariableResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListVariableResponse) XXX_Merge(src proto.Message)
- func (m *ListVariableResponse) XXX_Size() int
- func (m *ListVariableResponse) XXX_Unmarshal(b []byte) error
- type ListVariableResponseWrapper
- func (*ListVariableResponseWrapper) Descriptor() ([]byte, []int)
- func (m *ListVariableResponseWrapper) GetCode() int32
- func (m *ListVariableResponseWrapper) GetCodeExplain() string
- func (m *ListVariableResponseWrapper) GetData() *ListVariableResponse
- func (m *ListVariableResponseWrapper) GetError() string
- func (*ListVariableResponseWrapper) ProtoMessage()
- func (m *ListVariableResponseWrapper) Reset()
- func (m *ListVariableResponseWrapper) String() string
- func (this *ListVariableResponseWrapper) Validate() error
- func (m *ListVariableResponseWrapper) XXX_DiscardUnknown()
- func (m *ListVariableResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListVariableResponseWrapper) XXX_Merge(src proto.Message)
- func (m *ListVariableResponseWrapper) XXX_Size() int
- func (m *ListVariableResponseWrapper) XXX_Unmarshal(b []byte) error
- type ListVariableResponse_List
- func (*ListVariableResponse_List) Descriptor() ([]byte, []int)
- func (m *ListVariableResponse_List) GetName() string
- func (*ListVariableResponse_List) ProtoMessage()
- func (m *ListVariableResponse_List) Reset()
- func (m *ListVariableResponse_List) String() string
- func (this *ListVariableResponse_List) Validate() error
- func (m *ListVariableResponse_List) XXX_DiscardUnknown()
- func (m *ListVariableResponse_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListVariableResponse_List) XXX_Merge(src proto.Message)
- func (m *ListVariableResponse_List) XXX_Size() int
- func (m *ListVariableResponse_List) XXX_Unmarshal(b []byte) error
- type Service
- type UpdateRequest
- func (*UpdateRequest) Descriptor() ([]byte, []int)
- func (m *UpdateRequest) GetProject() *pipeline.Project
- func (m *UpdateRequest) GetProjectId() string
- func (*UpdateRequest) ProtoMessage()
- func (m *UpdateRequest) Reset()
- func (m *UpdateRequest) String() string
- func (this *UpdateRequest) Validate() error
- func (m *UpdateRequest) XXX_DiscardUnknown()
- func (m *UpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateRequest) XXX_Merge(src proto.Message)
- func (m *UpdateRequest) XXX_Size() int
- func (m *UpdateRequest) XXX_Unmarshal(b []byte) error
- type UpdateResponseWrapper
- func (*UpdateResponseWrapper) Descriptor() ([]byte, []int)
- func (m *UpdateResponseWrapper) GetCode() int32
- func (m *UpdateResponseWrapper) GetCodeExplain() string
- func (m *UpdateResponseWrapper) GetData() *pipeline.Project
- func (m *UpdateResponseWrapper) GetError() string
- func (*UpdateResponseWrapper) ProtoMessage()
- func (m *UpdateResponseWrapper) Reset()
- func (m *UpdateResponseWrapper) String() string
- func (this *UpdateResponseWrapper) Validate() error
- func (m *UpdateResponseWrapper) XXX_DiscardUnknown()
- func (m *UpdateResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateResponseWrapper) XXX_Merge(src proto.Message)
- func (m *UpdateResponseWrapper) XXX_Size() int
- func (m *UpdateResponseWrapper) XXX_Unmarshal(b []byte) error
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 { Create(ctx context.Context, in *CreateRequest) (*CreateResponse, error) DeleteProject(ctx context.Context, in *DeleteProjectRequest) (*types.Empty, error) Get(ctx context.Context, in *GetRequest) (*GetResponse, error) List(ctx context.Context, in *ListRequest) (*ListResponse, error) ListBranch(ctx context.Context, in *ListBranchRequest) (*ListBranchResponse, error) ListVariable(ctx context.Context, in *types.Empty) (*ListVariableResponse, error) Update(ctx context.Context, in *UpdateRequest) (*pipeline.Project, error) }
Client is the client API for project 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 CreateRequest ¶
type CreateRequest struct { // //关联的provider id ProviderId string `protobuf:"bytes,1,opt,name=provider_id,json=providerId,proto3" json:"provider_id" form:"provider_id"` // //代码项目 Project *pipeline.Project `protobuf:"bytes,2,opt,name=project,proto3" json:"project" form:"project"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Create请求
func (*CreateRequest) Descriptor ¶
func (*CreateRequest) Descriptor() ([]byte, []int)
func (*CreateRequest) GetProject ¶
func (m *CreateRequest) GetProject() *pipeline.Project
func (*CreateRequest) GetProviderId ¶
func (m *CreateRequest) GetProviderId() string
func (*CreateRequest) ProtoMessage ¶
func (*CreateRequest) ProtoMessage()
func (*CreateRequest) Reset ¶
func (m *CreateRequest) Reset()
func (*CreateRequest) String ¶
func (m *CreateRequest) String() string
func (*CreateRequest) Validate ¶
func (this *CreateRequest) Validate() error
func (*CreateRequest) XXX_DiscardUnknown ¶
func (m *CreateRequest) XXX_DiscardUnknown()
func (*CreateRequest) XXX_Marshal ¶
func (m *CreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateRequest) XXX_Merge ¶
func (m *CreateRequest) XXX_Merge(src proto.Message)
func (*CreateRequest) XXX_Size ¶
func (m *CreateRequest) XXX_Size() int
func (*CreateRequest) XXX_Unmarshal ¶
func (m *CreateRequest) XXX_Unmarshal(b []byte) error
type CreateResponse ¶
type CreateResponse struct { // //代码项目 Project *pipeline.Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project" form:"project"` // //project关联的provider信息 Provider *pipeline.Provider `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider" form:"provider"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Create返回
func (*CreateResponse) Descriptor ¶
func (*CreateResponse) Descriptor() ([]byte, []int)
func (*CreateResponse) GetProject ¶
func (m *CreateResponse) GetProject() *pipeline.Project
func (*CreateResponse) GetProvider ¶
func (m *CreateResponse) GetProvider() *pipeline.Provider
func (*CreateResponse) ProtoMessage ¶
func (*CreateResponse) ProtoMessage()
func (*CreateResponse) Reset ¶
func (m *CreateResponse) Reset()
func (*CreateResponse) String ¶
func (m *CreateResponse) String() string
func (*CreateResponse) Validate ¶
func (this *CreateResponse) Validate() error
func (*CreateResponse) XXX_DiscardUnknown ¶
func (m *CreateResponse) XXX_DiscardUnknown()
func (*CreateResponse) XXX_Marshal ¶
func (m *CreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateResponse) XXX_Merge ¶
func (m *CreateResponse) XXX_Merge(src proto.Message)
func (*CreateResponse) XXX_Size ¶
func (m *CreateResponse) XXX_Size() int
func (*CreateResponse) XXX_Unmarshal ¶
func (m *CreateResponse) XXX_Unmarshal(b []byte) error
type CreateResponseWrapper ¶
type CreateResponseWrapper 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 *CreateResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
CreateApi返回
func (*CreateResponseWrapper) Descriptor ¶
func (*CreateResponseWrapper) Descriptor() ([]byte, []int)
func (*CreateResponseWrapper) GetCode ¶
func (m *CreateResponseWrapper) GetCode() int32
func (*CreateResponseWrapper) GetCodeExplain ¶
func (m *CreateResponseWrapper) GetCodeExplain() string
func (*CreateResponseWrapper) GetData ¶
func (m *CreateResponseWrapper) GetData() *CreateResponse
func (*CreateResponseWrapper) GetError ¶
func (m *CreateResponseWrapper) GetError() string
func (*CreateResponseWrapper) ProtoMessage ¶
func (*CreateResponseWrapper) ProtoMessage()
func (*CreateResponseWrapper) Reset ¶
func (m *CreateResponseWrapper) Reset()
func (*CreateResponseWrapper) String ¶
func (m *CreateResponseWrapper) String() string
func (*CreateResponseWrapper) Validate ¶
func (this *CreateResponseWrapper) Validate() error
func (*CreateResponseWrapper) XXX_DiscardUnknown ¶
func (m *CreateResponseWrapper) XXX_DiscardUnknown()
func (*CreateResponseWrapper) XXX_Marshal ¶
func (m *CreateResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateResponseWrapper) XXX_Merge ¶
func (m *CreateResponseWrapper) XXX_Merge(src proto.Message)
func (*CreateResponseWrapper) XXX_Size ¶
func (m *CreateResponseWrapper) XXX_Size() int
func (*CreateResponseWrapper) XXX_Unmarshal ¶
func (m *CreateResponseWrapper) XXX_Unmarshal(b []byte) error
type DeleteProjectRequest ¶
type DeleteProjectRequest struct { // //关联的project id ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id" form:"project_id"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DeleteProject请求
func (*DeleteProjectRequest) Descriptor ¶
func (*DeleteProjectRequest) Descriptor() ([]byte, []int)
func (*DeleteProjectRequest) GetProjectId ¶
func (m *DeleteProjectRequest) GetProjectId() string
func (*DeleteProjectRequest) ProtoMessage ¶
func (*DeleteProjectRequest) ProtoMessage()
func (*DeleteProjectRequest) Reset ¶
func (m *DeleteProjectRequest) Reset()
func (*DeleteProjectRequest) String ¶
func (m *DeleteProjectRequest) String() string
func (*DeleteProjectRequest) Validate ¶
func (this *DeleteProjectRequest) Validate() error
func (*DeleteProjectRequest) XXX_DiscardUnknown ¶
func (m *DeleteProjectRequest) XXX_DiscardUnknown()
func (*DeleteProjectRequest) XXX_Marshal ¶
func (m *DeleteProjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteProjectRequest) XXX_Merge ¶
func (m *DeleteProjectRequest) XXX_Merge(src proto.Message)
func (*DeleteProjectRequest) XXX_Size ¶
func (m *DeleteProjectRequest) XXX_Size() int
func (*DeleteProjectRequest) XXX_Unmarshal ¶
func (m *DeleteProjectRequest) XXX_Unmarshal(b []byte) error
type DeleteProjectResponseWrapper ¶
type DeleteProjectResponseWrapper 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.Empty `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DeleteProjectApi返回
func (*DeleteProjectResponseWrapper) Descriptor ¶
func (*DeleteProjectResponseWrapper) Descriptor() ([]byte, []int)
func (*DeleteProjectResponseWrapper) GetCode ¶
func (m *DeleteProjectResponseWrapper) GetCode() int32
func (*DeleteProjectResponseWrapper) GetCodeExplain ¶
func (m *DeleteProjectResponseWrapper) GetCodeExplain() string
func (*DeleteProjectResponseWrapper) GetData ¶
func (m *DeleteProjectResponseWrapper) GetData() *types.Empty
func (*DeleteProjectResponseWrapper) GetError ¶
func (m *DeleteProjectResponseWrapper) GetError() string
func (*DeleteProjectResponseWrapper) ProtoMessage ¶
func (*DeleteProjectResponseWrapper) ProtoMessage()
func (*DeleteProjectResponseWrapper) Reset ¶
func (m *DeleteProjectResponseWrapper) Reset()
func (*DeleteProjectResponseWrapper) String ¶
func (m *DeleteProjectResponseWrapper) String() string
func (*DeleteProjectResponseWrapper) Validate ¶
func (this *DeleteProjectResponseWrapper) Validate() error
func (*DeleteProjectResponseWrapper) XXX_DiscardUnknown ¶
func (m *DeleteProjectResponseWrapper) XXX_DiscardUnknown()
func (*DeleteProjectResponseWrapper) XXX_Marshal ¶
func (m *DeleteProjectResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteProjectResponseWrapper) XXX_Merge ¶
func (m *DeleteProjectResponseWrapper) XXX_Merge(src proto.Message)
func (*DeleteProjectResponseWrapper) XXX_Size ¶
func (m *DeleteProjectResponseWrapper) XXX_Size() int
func (*DeleteProjectResponseWrapper) XXX_Unmarshal ¶
func (m *DeleteProjectResponseWrapper) XXX_Unmarshal(b []byte) error
type GetRequest ¶
type GetRequest struct { // //代码项目id ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id" form:"project_id"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Get请求
func (*GetRequest) Descriptor ¶
func (*GetRequest) Descriptor() ([]byte, []int)
func (*GetRequest) GetProjectId ¶
func (m *GetRequest) GetProjectId() string
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) Reset ¶
func (m *GetRequest) Reset()
func (*GetRequest) String ¶
func (m *GetRequest) String() string
func (*GetRequest) Validate ¶
func (this *GetRequest) Validate() error
func (*GetRequest) XXX_DiscardUnknown ¶
func (m *GetRequest) XXX_DiscardUnknown()
func (*GetRequest) XXX_Marshal ¶
func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRequest) XXX_Merge ¶
func (m *GetRequest) XXX_Merge(src proto.Message)
func (*GetRequest) XXX_Size ¶
func (m *GetRequest) XXX_Size() int
func (*GetRequest) XXX_Unmarshal ¶
func (m *GetRequest) XXX_Unmarshal(b []byte) error
type GetResponse ¶
type GetResponse struct { // //代码项目 Project *pipeline.Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project" form:"project"` // //project关联的provider信息 Provider *pipeline.Provider `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider" form:"provider"` // //project关联的pipeline信息 Pipeline []*pipeline.Pipeline `protobuf:"bytes,3,rep,name=pipeline,proto3" json:"pipeline" form:"pipeline"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Get返回
func (*GetResponse) Descriptor ¶
func (*GetResponse) Descriptor() ([]byte, []int)
func (*GetResponse) GetPipeline ¶
func (m *GetResponse) GetPipeline() []*pipeline.Pipeline
func (*GetResponse) GetProject ¶
func (m *GetResponse) GetProject() *pipeline.Project
func (*GetResponse) GetProvider ¶
func (m *GetResponse) GetProvider() *pipeline.Provider
func (*GetResponse) ProtoMessage ¶
func (*GetResponse) ProtoMessage()
func (*GetResponse) Reset ¶
func (m *GetResponse) Reset()
func (*GetResponse) String ¶
func (m *GetResponse) String() string
func (*GetResponse) Validate ¶
func (this *GetResponse) Validate() error
func (*GetResponse) XXX_DiscardUnknown ¶
func (m *GetResponse) XXX_DiscardUnknown()
func (*GetResponse) XXX_Marshal ¶
func (m *GetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetResponse) XXX_Merge ¶
func (m *GetResponse) XXX_Merge(src proto.Message)
func (*GetResponse) XXX_Size ¶
func (m *GetResponse) XXX_Size() int
func (*GetResponse) XXX_Unmarshal ¶
func (m *GetResponse) XXX_Unmarshal(b []byte) error
type GetResponseWrapper ¶
type GetResponseWrapper 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 *GetResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetApi返回
func (*GetResponseWrapper) Descriptor ¶
func (*GetResponseWrapper) Descriptor() ([]byte, []int)
func (*GetResponseWrapper) GetCode ¶
func (m *GetResponseWrapper) GetCode() int32
func (*GetResponseWrapper) GetCodeExplain ¶
func (m *GetResponseWrapper) GetCodeExplain() string
func (*GetResponseWrapper) GetData ¶
func (m *GetResponseWrapper) GetData() *GetResponse
func (*GetResponseWrapper) GetError ¶
func (m *GetResponseWrapper) GetError() string
func (*GetResponseWrapper) ProtoMessage ¶
func (*GetResponseWrapper) ProtoMessage()
func (*GetResponseWrapper) Reset ¶
func (m *GetResponseWrapper) Reset()
func (*GetResponseWrapper) String ¶
func (m *GetResponseWrapper) String() string
func (*GetResponseWrapper) Validate ¶
func (this *GetResponseWrapper) Validate() error
func (*GetResponseWrapper) XXX_DiscardUnknown ¶
func (m *GetResponseWrapper) XXX_DiscardUnknown()
func (*GetResponseWrapper) XXX_Marshal ¶
func (m *GetResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetResponseWrapper) XXX_Merge ¶
func (m *GetResponseWrapper) XXX_Merge(src proto.Message)
func (*GetResponseWrapper) XXX_Size ¶
func (m *GetResponseWrapper) XXX_Size() int
func (*GetResponseWrapper) XXX_Unmarshal ¶
func (m *GetResponseWrapper) XXX_Unmarshal(b []byte) error
type ListBranchRequest ¶
type ListBranchRequest struct { // //项目id ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id" form:"project_id"` // //页码 Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page" form:"page"` // //每页大小 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size" form:"page_size"` // //过滤 Search string `protobuf:"bytes,4,opt,name=search,proto3" json:"search" form:"search"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListBranch请求
func (*ListBranchRequest) Descriptor ¶
func (*ListBranchRequest) Descriptor() ([]byte, []int)
func (*ListBranchRequest) GetPage ¶
func (m *ListBranchRequest) GetPage() int32
func (*ListBranchRequest) GetPageSize ¶
func (m *ListBranchRequest) GetPageSize() int32
func (*ListBranchRequest) GetProjectId ¶
func (m *ListBranchRequest) GetProjectId() string
func (*ListBranchRequest) GetSearch ¶
func (m *ListBranchRequest) GetSearch() string
func (*ListBranchRequest) ProtoMessage ¶
func (*ListBranchRequest) ProtoMessage()
func (*ListBranchRequest) Reset ¶
func (m *ListBranchRequest) Reset()
func (*ListBranchRequest) String ¶
func (m *ListBranchRequest) String() string
func (*ListBranchRequest) Validate ¶
func (this *ListBranchRequest) Validate() error
func (*ListBranchRequest) XXX_DiscardUnknown ¶
func (m *ListBranchRequest) XXX_DiscardUnknown()
func (*ListBranchRequest) XXX_Marshal ¶
func (m *ListBranchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListBranchRequest) XXX_Merge ¶
func (m *ListBranchRequest) XXX_Merge(src proto.Message)
func (*ListBranchRequest) XXX_Size ¶
func (m *ListBranchRequest) XXX_Size() int
func (*ListBranchRequest) XXX_Unmarshal ¶
func (m *ListBranchRequest) XXX_Unmarshal(b []byte) error
type ListBranchResponse ¶
type ListBranchResponse 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 []*ListBranchResponse_List `protobuf:"bytes,4,rep,name=list,proto3" json:"list" form:"list"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListBranch返回
func (*ListBranchResponse) Descriptor ¶
func (*ListBranchResponse) Descriptor() ([]byte, []int)
func (*ListBranchResponse) GetList ¶
func (m *ListBranchResponse) GetList() []*ListBranchResponse_List
func (*ListBranchResponse) GetPage ¶
func (m *ListBranchResponse) GetPage() int32
func (*ListBranchResponse) GetPageSize ¶
func (m *ListBranchResponse) GetPageSize() int32
func (*ListBranchResponse) GetTotal ¶
func (m *ListBranchResponse) GetTotal() int32
func (*ListBranchResponse) ProtoMessage ¶
func (*ListBranchResponse) ProtoMessage()
func (*ListBranchResponse) Reset ¶
func (m *ListBranchResponse) Reset()
func (*ListBranchResponse) String ¶
func (m *ListBranchResponse) String() string
func (*ListBranchResponse) Validate ¶
func (this *ListBranchResponse) Validate() error
func (*ListBranchResponse) XXX_DiscardUnknown ¶
func (m *ListBranchResponse) XXX_DiscardUnknown()
func (*ListBranchResponse) XXX_Marshal ¶
func (m *ListBranchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListBranchResponse) XXX_Merge ¶
func (m *ListBranchResponse) XXX_Merge(src proto.Message)
func (*ListBranchResponse) XXX_Size ¶
func (m *ListBranchResponse) XXX_Size() int
func (*ListBranchResponse) XXX_Unmarshal ¶
func (m *ListBranchResponse) XXX_Unmarshal(b []byte) error
type ListBranchResponseWrapper ¶
type ListBranchResponseWrapper 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 *ListBranchResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListBranchApi返回
func (*ListBranchResponseWrapper) Descriptor ¶
func (*ListBranchResponseWrapper) Descriptor() ([]byte, []int)
func (*ListBranchResponseWrapper) GetCode ¶
func (m *ListBranchResponseWrapper) GetCode() int32
func (*ListBranchResponseWrapper) GetCodeExplain ¶
func (m *ListBranchResponseWrapper) GetCodeExplain() string
func (*ListBranchResponseWrapper) GetData ¶
func (m *ListBranchResponseWrapper) GetData() *ListBranchResponse
func (*ListBranchResponseWrapper) GetError ¶
func (m *ListBranchResponseWrapper) GetError() string
func (*ListBranchResponseWrapper) ProtoMessage ¶
func (*ListBranchResponseWrapper) ProtoMessage()
func (*ListBranchResponseWrapper) Reset ¶
func (m *ListBranchResponseWrapper) Reset()
func (*ListBranchResponseWrapper) String ¶
func (m *ListBranchResponseWrapper) String() string
func (*ListBranchResponseWrapper) Validate ¶
func (this *ListBranchResponseWrapper) Validate() error
func (*ListBranchResponseWrapper) XXX_DiscardUnknown ¶
func (m *ListBranchResponseWrapper) XXX_DiscardUnknown()
func (*ListBranchResponseWrapper) XXX_Marshal ¶
func (m *ListBranchResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListBranchResponseWrapper) XXX_Merge ¶
func (m *ListBranchResponseWrapper) XXX_Merge(src proto.Message)
func (*ListBranchResponseWrapper) XXX_Size ¶
func (m *ListBranchResponseWrapper) XXX_Size() int
func (*ListBranchResponseWrapper) XXX_Unmarshal ¶
func (m *ListBranchResponseWrapper) XXX_Unmarshal(b []byte) error
type ListBranchResponse_List ¶
type ListBranchResponse_List struct { // //分支名称 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" form:"name"` // //是否为受保护的分支 Protected bool `protobuf:"varint,2,opt,name=protected,proto3" json:"protected" form:"protected"` // //是否为默认分支 Default bool `protobuf:"varint,3,opt,name=default,proto3" json:"default" form:"default"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListBranchResponse_List) Descriptor ¶
func (*ListBranchResponse_List) Descriptor() ([]byte, []int)
func (*ListBranchResponse_List) GetDefault ¶
func (m *ListBranchResponse_List) GetDefault() bool
func (*ListBranchResponse_List) GetName ¶
func (m *ListBranchResponse_List) GetName() string
func (*ListBranchResponse_List) GetProtected ¶
func (m *ListBranchResponse_List) GetProtected() bool
func (*ListBranchResponse_List) ProtoMessage ¶
func (*ListBranchResponse_List) ProtoMessage()
func (*ListBranchResponse_List) Reset ¶
func (m *ListBranchResponse_List) Reset()
func (*ListBranchResponse_List) String ¶
func (m *ListBranchResponse_List) String() string
func (*ListBranchResponse_List) Validate ¶
func (this *ListBranchResponse_List) Validate() error
func (*ListBranchResponse_List) XXX_DiscardUnknown ¶
func (m *ListBranchResponse_List) XXX_DiscardUnknown()
func (*ListBranchResponse_List) XXX_Marshal ¶
func (m *ListBranchResponse_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListBranchResponse_List) XXX_Merge ¶
func (m *ListBranchResponse_List) XXX_Merge(src proto.Message)
func (*ListBranchResponse_List) XXX_Size ¶
func (m *ListBranchResponse_List) XXX_Size() int
func (*ListBranchResponse_List) XXX_Unmarshal ¶
func (m *ListBranchResponse_List) XXX_Unmarshal(b []byte) error
type ListRequest ¶
type ListRequest 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
List请求
func (*ListRequest) Descriptor ¶
func (*ListRequest) Descriptor() ([]byte, []int)
func (*ListRequest) GetPage ¶
func (m *ListRequest) GetPage() int32
func (*ListRequest) GetPageSize ¶
func (m *ListRequest) GetPageSize() int32
func (*ListRequest) ProtoMessage ¶
func (*ListRequest) ProtoMessage()
func (*ListRequest) Reset ¶
func (m *ListRequest) Reset()
func (*ListRequest) String ¶
func (m *ListRequest) String() string
func (*ListRequest) Validate ¶
func (this *ListRequest) Validate() error
func (*ListRequest) XXX_DiscardUnknown ¶
func (m *ListRequest) XXX_DiscardUnknown()
func (*ListRequest) XXX_Marshal ¶
func (m *ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListRequest) XXX_Merge ¶
func (m *ListRequest) XXX_Merge(src proto.Message)
func (*ListRequest) XXX_Size ¶
func (m *ListRequest) XXX_Size() int
func (*ListRequest) XXX_Unmarshal ¶
func (m *ListRequest) XXX_Unmarshal(b []byte) error
type ListResponse ¶
type ListResponse 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 []*ListResponse_List `protobuf:"bytes,4,rep,name=list,proto3" json:"list" form:"list"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
List返回
func (*ListResponse) Descriptor ¶
func (*ListResponse) Descriptor() ([]byte, []int)
func (*ListResponse) GetList ¶
func (m *ListResponse) GetList() []*ListResponse_List
func (*ListResponse) GetPage ¶
func (m *ListResponse) GetPage() int32
func (*ListResponse) GetPageSize ¶
func (m *ListResponse) GetPageSize() int32
func (*ListResponse) GetTotal ¶
func (m *ListResponse) GetTotal() int32
func (*ListResponse) ProtoMessage ¶
func (*ListResponse) ProtoMessage()
func (*ListResponse) Reset ¶
func (m *ListResponse) Reset()
func (*ListResponse) String ¶
func (m *ListResponse) String() string
func (*ListResponse) Validate ¶
func (this *ListResponse) Validate() error
func (*ListResponse) XXX_DiscardUnknown ¶
func (m *ListResponse) XXX_DiscardUnknown()
func (*ListResponse) XXX_Marshal ¶
func (m *ListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListResponse) XXX_Merge ¶
func (m *ListResponse) XXX_Merge(src proto.Message)
func (*ListResponse) XXX_Size ¶
func (m *ListResponse) XXX_Size() int
func (*ListResponse) XXX_Unmarshal ¶
func (m *ListResponse) XXX_Unmarshal(b []byte) error
type ListResponseWrapper ¶
type ListResponseWrapper 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 *ListResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListApi返回
func (*ListResponseWrapper) Descriptor ¶
func (*ListResponseWrapper) Descriptor() ([]byte, []int)
func (*ListResponseWrapper) GetCode ¶
func (m *ListResponseWrapper) GetCode() int32
func (*ListResponseWrapper) GetCodeExplain ¶
func (m *ListResponseWrapper) GetCodeExplain() string
func (*ListResponseWrapper) GetData ¶
func (m *ListResponseWrapper) GetData() *ListResponse
func (*ListResponseWrapper) GetError ¶
func (m *ListResponseWrapper) GetError() string
func (*ListResponseWrapper) ProtoMessage ¶
func (*ListResponseWrapper) ProtoMessage()
func (*ListResponseWrapper) Reset ¶
func (m *ListResponseWrapper) Reset()
func (*ListResponseWrapper) String ¶
func (m *ListResponseWrapper) String() string
func (*ListResponseWrapper) Validate ¶
func (this *ListResponseWrapper) Validate() error
func (*ListResponseWrapper) XXX_DiscardUnknown ¶
func (m *ListResponseWrapper) XXX_DiscardUnknown()
func (*ListResponseWrapper) XXX_Marshal ¶
func (m *ListResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListResponseWrapper) XXX_Merge ¶
func (m *ListResponseWrapper) XXX_Merge(src proto.Message)
func (*ListResponseWrapper) XXX_Size ¶
func (m *ListResponseWrapper) XXX_Size() int
func (*ListResponseWrapper) XXX_Unmarshal ¶
func (m *ListResponseWrapper) XXX_Unmarshal(b []byte) error
type ListResponse_List ¶
type ListResponse_List struct { // //代码项目 Project *pipeline.Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project" form:"project"` // //project关联的provider信息 Provider *pipeline.Provider `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider" form:"provider"` // //project关联的pipeline信息 Pipeline []*pipeline.Pipeline `protobuf:"bytes,3,rep,name=pipeline,proto3" json:"pipeline" form:"pipeline"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListResponse_List) Descriptor ¶
func (*ListResponse_List) Descriptor() ([]byte, []int)
func (*ListResponse_List) GetPipeline ¶
func (m *ListResponse_List) GetPipeline() []*pipeline.Pipeline
func (*ListResponse_List) GetProject ¶
func (m *ListResponse_List) GetProject() *pipeline.Project
func (*ListResponse_List) GetProvider ¶
func (m *ListResponse_List) GetProvider() *pipeline.Provider
func (*ListResponse_List) ProtoMessage ¶
func (*ListResponse_List) ProtoMessage()
func (*ListResponse_List) Reset ¶
func (m *ListResponse_List) Reset()
func (*ListResponse_List) String ¶
func (m *ListResponse_List) String() string
func (*ListResponse_List) Validate ¶
func (this *ListResponse_List) Validate() error
func (*ListResponse_List) XXX_DiscardUnknown ¶
func (m *ListResponse_List) XXX_DiscardUnknown()
func (*ListResponse_List) XXX_Marshal ¶
func (m *ListResponse_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListResponse_List) XXX_Merge ¶
func (m *ListResponse_List) XXX_Merge(src proto.Message)
func (*ListResponse_List) XXX_Size ¶
func (m *ListResponse_List) XXX_Size() int
func (*ListResponse_List) XXX_Unmarshal ¶
func (m *ListResponse_List) XXX_Unmarshal(b []byte) error
type ListVariableResponse ¶
type ListVariableResponse 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 []*ListVariableResponse_List `protobuf:"bytes,4,rep,name=list,proto3" json:"list" form:"list"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListVariable返回
func (*ListVariableResponse) Descriptor ¶
func (*ListVariableResponse) Descriptor() ([]byte, []int)
func (*ListVariableResponse) GetList ¶
func (m *ListVariableResponse) GetList() []*ListVariableResponse_List
func (*ListVariableResponse) GetPage ¶
func (m *ListVariableResponse) GetPage() int32
func (*ListVariableResponse) GetPageSize ¶
func (m *ListVariableResponse) GetPageSize() int32
func (*ListVariableResponse) GetTotal ¶
func (m *ListVariableResponse) GetTotal() int32
func (*ListVariableResponse) ProtoMessage ¶
func (*ListVariableResponse) ProtoMessage()
func (*ListVariableResponse) Reset ¶
func (m *ListVariableResponse) Reset()
func (*ListVariableResponse) String ¶
func (m *ListVariableResponse) String() string
func (*ListVariableResponse) Validate ¶
func (this *ListVariableResponse) Validate() error
func (*ListVariableResponse) XXX_DiscardUnknown ¶
func (m *ListVariableResponse) XXX_DiscardUnknown()
func (*ListVariableResponse) XXX_Marshal ¶
func (m *ListVariableResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListVariableResponse) XXX_Merge ¶
func (m *ListVariableResponse) XXX_Merge(src proto.Message)
func (*ListVariableResponse) XXX_Size ¶
func (m *ListVariableResponse) XXX_Size() int
func (*ListVariableResponse) XXX_Unmarshal ¶
func (m *ListVariableResponse) XXX_Unmarshal(b []byte) error
type ListVariableResponseWrapper ¶
type ListVariableResponseWrapper 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 *ListVariableResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListVariableApi返回
func (*ListVariableResponseWrapper) Descriptor ¶
func (*ListVariableResponseWrapper) Descriptor() ([]byte, []int)
func (*ListVariableResponseWrapper) GetCode ¶
func (m *ListVariableResponseWrapper) GetCode() int32
func (*ListVariableResponseWrapper) GetCodeExplain ¶
func (m *ListVariableResponseWrapper) GetCodeExplain() string
func (*ListVariableResponseWrapper) GetData ¶
func (m *ListVariableResponseWrapper) GetData() *ListVariableResponse
func (*ListVariableResponseWrapper) GetError ¶
func (m *ListVariableResponseWrapper) GetError() string
func (*ListVariableResponseWrapper) ProtoMessage ¶
func (*ListVariableResponseWrapper) ProtoMessage()
func (*ListVariableResponseWrapper) Reset ¶
func (m *ListVariableResponseWrapper) Reset()
func (*ListVariableResponseWrapper) String ¶
func (m *ListVariableResponseWrapper) String() string
func (*ListVariableResponseWrapper) Validate ¶
func (this *ListVariableResponseWrapper) Validate() error
func (*ListVariableResponseWrapper) XXX_DiscardUnknown ¶
func (m *ListVariableResponseWrapper) XXX_DiscardUnknown()
func (*ListVariableResponseWrapper) XXX_Marshal ¶
func (m *ListVariableResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListVariableResponseWrapper) XXX_Merge ¶
func (m *ListVariableResponseWrapper) XXX_Merge(src proto.Message)
func (*ListVariableResponseWrapper) XXX_Size ¶
func (m *ListVariableResponseWrapper) XXX_Size() int
func (*ListVariableResponseWrapper) XXX_Unmarshal ¶
func (m *ListVariableResponseWrapper) XXX_Unmarshal(b []byte) error
type ListVariableResponse_List ¶
type ListVariableResponse_List struct { // //name Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" form:"name"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListVariableResponse_List) Descriptor ¶
func (*ListVariableResponse_List) Descriptor() ([]byte, []int)
func (*ListVariableResponse_List) GetName ¶
func (m *ListVariableResponse_List) GetName() string
func (*ListVariableResponse_List) ProtoMessage ¶
func (*ListVariableResponse_List) ProtoMessage()
func (*ListVariableResponse_List) Reset ¶
func (m *ListVariableResponse_List) Reset()
func (*ListVariableResponse_List) String ¶
func (m *ListVariableResponse_List) String() string
func (*ListVariableResponse_List) Validate ¶
func (this *ListVariableResponse_List) Validate() error
func (*ListVariableResponse_List) XXX_DiscardUnknown ¶
func (m *ListVariableResponse_List) XXX_DiscardUnknown()
func (*ListVariableResponse_List) XXX_Marshal ¶
func (m *ListVariableResponse_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListVariableResponse_List) XXX_Merge ¶
func (m *ListVariableResponse_List) XXX_Merge(src proto.Message)
func (*ListVariableResponse_List) XXX_Size ¶
func (m *ListVariableResponse_List) XXX_Size() int
func (*ListVariableResponse_List) XXX_Unmarshal ¶
func (m *ListVariableResponse_List) XXX_Unmarshal(b []byte) error
type Service ¶
type Service interface { Create(context.Context, *CreateRequest) (*CreateResponse, error) DeleteProject(context.Context, *DeleteProjectRequest) (*types.Empty, error) Get(context.Context, *GetRequest) (*GetResponse, error) List(context.Context, *ListRequest) (*ListResponse, error) ListBranch(context.Context, *ListBranchRequest) (*ListBranchResponse, error) ListVariable(context.Context, *types.Empty) (*ListVariableResponse, error) Update(context.Context, *UpdateRequest) (*pipeline.Project, error) }
Service is the server API for project service.
type UpdateRequest ¶
type UpdateRequest struct { // //要修改的project id ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id" form:"project_id"` // //project信息 Project *pipeline.Project `protobuf:"bytes,2,opt,name=project,proto3" json:"project" form:"project"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Update请求
func (*UpdateRequest) Descriptor ¶
func (*UpdateRequest) Descriptor() ([]byte, []int)
func (*UpdateRequest) GetProject ¶
func (m *UpdateRequest) GetProject() *pipeline.Project
func (*UpdateRequest) GetProjectId ¶
func (m *UpdateRequest) GetProjectId() string
func (*UpdateRequest) ProtoMessage ¶
func (*UpdateRequest) ProtoMessage()
func (*UpdateRequest) Reset ¶
func (m *UpdateRequest) Reset()
func (*UpdateRequest) String ¶
func (m *UpdateRequest) String() string
func (*UpdateRequest) Validate ¶
func (this *UpdateRequest) Validate() error
func (*UpdateRequest) XXX_DiscardUnknown ¶
func (m *UpdateRequest) XXX_DiscardUnknown()
func (*UpdateRequest) XXX_Marshal ¶
func (m *UpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateRequest) XXX_Merge ¶
func (m *UpdateRequest) XXX_Merge(src proto.Message)
func (*UpdateRequest) XXX_Size ¶
func (m *UpdateRequest) XXX_Size() int
func (*UpdateRequest) XXX_Unmarshal ¶
func (m *UpdateRequest) XXX_Unmarshal(b []byte) error
type UpdateResponseWrapper ¶
type UpdateResponseWrapper 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 *pipeline.Project `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
UpdateApi返回
func (*UpdateResponseWrapper) Descriptor ¶
func (*UpdateResponseWrapper) Descriptor() ([]byte, []int)
func (*UpdateResponseWrapper) GetCode ¶
func (m *UpdateResponseWrapper) GetCode() int32
func (*UpdateResponseWrapper) GetCodeExplain ¶
func (m *UpdateResponseWrapper) GetCodeExplain() string
func (*UpdateResponseWrapper) GetData ¶
func (m *UpdateResponseWrapper) GetData() *pipeline.Project
func (*UpdateResponseWrapper) GetError ¶
func (m *UpdateResponseWrapper) GetError() string
func (*UpdateResponseWrapper) ProtoMessage ¶
func (*UpdateResponseWrapper) ProtoMessage()
func (*UpdateResponseWrapper) Reset ¶
func (m *UpdateResponseWrapper) Reset()
func (*UpdateResponseWrapper) String ¶
func (m *UpdateResponseWrapper) String() string
func (*UpdateResponseWrapper) Validate ¶
func (this *UpdateResponseWrapper) Validate() error
func (*UpdateResponseWrapper) XXX_DiscardUnknown ¶
func (m *UpdateResponseWrapper) XXX_DiscardUnknown()
func (*UpdateResponseWrapper) XXX_Marshal ¶
func (m *UpdateResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateResponseWrapper) XXX_Merge ¶
func (m *UpdateResponseWrapper) XXX_Merge(src proto.Message)
func (*UpdateResponseWrapper) XXX_Size ¶
func (m *UpdateResponseWrapper) XXX_Size() int
func (*UpdateResponseWrapper) XXX_Unmarshal ¶
func (m *UpdateResponseWrapper) XXX_Unmarshal(b []byte) error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.