Documentation
¶
Overview ¶
Package git is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterGitHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterGitHandlerClient(ctx context.Context, mux *runtime.ServeMux, client GitClient) error
- func RegisterGitHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterGitHandlerServer(ctx context.Context, mux *runtime.ServeMux, server GitServer) error
- func RegisterGitServer(s grpc.ServiceRegistrar, srv GitServer)
- type AllRequest
- type AllRequestMultiError
- type AllRequestValidationError
- type AllResponse
- func (*AllResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AllResponse) GetItems() []*ProjectItem
- func (*AllResponse) ProtoMessage()
- func (x *AllResponse) ProtoReflect() protoreflect.Message
- func (x *AllResponse) Reset()
- func (x *AllResponse) String() string
- func (m *AllResponse) Validate() error
- func (m *AllResponse) ValidateAll() error
- type AllResponseMultiError
- type AllResponseValidationError
- func (e AllResponseValidationError) Cause() error
- func (e AllResponseValidationError) Error() string
- func (e AllResponseValidationError) ErrorName() string
- func (e AllResponseValidationError) Field() string
- func (e AllResponseValidationError) Key() bool
- func (e AllResponseValidationError) Reason() string
- type BranchOptionsRequest
- func (*BranchOptionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BranchOptionsRequest) GetAll() bool
- func (x *BranchOptionsRequest) GetGitProjectId() string
- func (*BranchOptionsRequest) ProtoMessage()
- func (x *BranchOptionsRequest) ProtoReflect() protoreflect.Message
- func (x *BranchOptionsRequest) Reset()
- func (x *BranchOptionsRequest) String() string
- func (m *BranchOptionsRequest) Validate() error
- func (m *BranchOptionsRequest) ValidateAll() error
- type BranchOptionsRequestMultiError
- type BranchOptionsRequestValidationError
- func (e BranchOptionsRequestValidationError) Cause() error
- func (e BranchOptionsRequestValidationError) Error() string
- func (e BranchOptionsRequestValidationError) ErrorName() string
- func (e BranchOptionsRequestValidationError) Field() string
- func (e BranchOptionsRequestValidationError) Key() bool
- func (e BranchOptionsRequestValidationError) Reason() string
- type BranchOptionsResponse
- func (*BranchOptionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BranchOptionsResponse) GetItems() []*Option
- func (*BranchOptionsResponse) ProtoMessage()
- func (x *BranchOptionsResponse) ProtoReflect() protoreflect.Message
- func (x *BranchOptionsResponse) Reset()
- func (x *BranchOptionsResponse) String() string
- func (m *BranchOptionsResponse) Validate() error
- func (m *BranchOptionsResponse) ValidateAll() error
- type BranchOptionsResponseMultiError
- type BranchOptionsResponseValidationError
- func (e BranchOptionsResponseValidationError) Cause() error
- func (e BranchOptionsResponseValidationError) Error() string
- func (e BranchOptionsResponseValidationError) ErrorName() string
- func (e BranchOptionsResponseValidationError) Field() string
- func (e BranchOptionsResponseValidationError) Key() bool
- func (e BranchOptionsResponseValidationError) Reason() string
- type CommitOptionsRequest
- func (*CommitOptionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CommitOptionsRequest) GetBranch() string
- func (x *CommitOptionsRequest) GetGitProjectId() string
- func (*CommitOptionsRequest) ProtoMessage()
- func (x *CommitOptionsRequest) ProtoReflect() protoreflect.Message
- func (x *CommitOptionsRequest) Reset()
- func (x *CommitOptionsRequest) String() string
- func (m *CommitOptionsRequest) Validate() error
- func (m *CommitOptionsRequest) ValidateAll() error
- type CommitOptionsRequestMultiError
- type CommitOptionsRequestValidationError
- func (e CommitOptionsRequestValidationError) Cause() error
- func (e CommitOptionsRequestValidationError) Error() string
- func (e CommitOptionsRequestValidationError) ErrorName() string
- func (e CommitOptionsRequestValidationError) Field() string
- func (e CommitOptionsRequestValidationError) Key() bool
- func (e CommitOptionsRequestValidationError) Reason() string
- type CommitOptionsResponse
- func (*CommitOptionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CommitOptionsResponse) GetItems() []*Option
- func (*CommitOptionsResponse) ProtoMessage()
- func (x *CommitOptionsResponse) ProtoReflect() protoreflect.Message
- func (x *CommitOptionsResponse) Reset()
- func (x *CommitOptionsResponse) String() string
- func (m *CommitOptionsResponse) Validate() error
- func (m *CommitOptionsResponse) ValidateAll() error
- type CommitOptionsResponseMultiError
- type CommitOptionsResponseValidationError
- func (e CommitOptionsResponseValidationError) Cause() error
- func (e CommitOptionsResponseValidationError) Error() string
- func (e CommitOptionsResponseValidationError) ErrorName() string
- func (e CommitOptionsResponseValidationError) Field() string
- func (e CommitOptionsResponseValidationError) Key() bool
- func (e CommitOptionsResponseValidationError) Reason() string
- type CommitRequest
- func (*CommitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CommitRequest) GetBranch() string
- func (x *CommitRequest) GetCommit() string
- func (x *CommitRequest) GetGitProjectId() string
- func (*CommitRequest) ProtoMessage()
- func (x *CommitRequest) ProtoReflect() protoreflect.Message
- func (x *CommitRequest) Reset()
- func (x *CommitRequest) String() string
- func (m *CommitRequest) Validate() error
- func (m *CommitRequest) ValidateAll() error
- type CommitRequestMultiError
- type CommitRequestValidationError
- func (e CommitRequestValidationError) Cause() error
- func (e CommitRequestValidationError) Error() string
- func (e CommitRequestValidationError) ErrorName() string
- func (e CommitRequestValidationError) Field() string
- func (e CommitRequestValidationError) Key() bool
- func (e CommitRequestValidationError) Reason() string
- type CommitResponse
- func (*CommitResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CommitResponse) GetAuthorEmail() string
- func (x *CommitResponse) GetAuthorName() string
- func (x *CommitResponse) GetBranch() string
- func (x *CommitResponse) GetCommittedDate() string
- func (x *CommitResponse) GetCommitterEmail() string
- func (x *CommitResponse) GetCommitterName() string
- func (x *CommitResponse) GetCreatedAt() string
- func (x *CommitResponse) GetGitProjectId() string
- func (x *CommitResponse) GetId() string
- func (x *CommitResponse) GetLabel() string
- func (x *CommitResponse) GetMessage() string
- func (x *CommitResponse) GetShortId() string
- func (x *CommitResponse) GetTitle() string
- func (x *CommitResponse) GetWebUrl() string
- func (*CommitResponse) ProtoMessage()
- func (x *CommitResponse) ProtoReflect() protoreflect.Message
- func (x *CommitResponse) Reset()
- func (x *CommitResponse) String() string
- func (m *CommitResponse) Validate() error
- func (m *CommitResponse) ValidateAll() error
- type CommitResponseMultiError
- type CommitResponseValidationError
- func (e CommitResponseValidationError) Cause() error
- func (e CommitResponseValidationError) Error() string
- func (e CommitResponseValidationError) ErrorName() string
- func (e CommitResponseValidationError) Field() string
- func (e CommitResponseValidationError) Key() bool
- func (e CommitResponseValidationError) Reason() string
- type DisableProjectRequest
- func (*DisableProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DisableProjectRequest) GetGitProjectId() string
- func (*DisableProjectRequest) ProtoMessage()
- func (x *DisableProjectRequest) ProtoReflect() protoreflect.Message
- func (x *DisableProjectRequest) Reset()
- func (x *DisableProjectRequest) String() string
- func (m *DisableProjectRequest) Validate() error
- func (m *DisableProjectRequest) ValidateAll() error
- type DisableProjectRequestMultiError
- type DisableProjectRequestValidationError
- func (e DisableProjectRequestValidationError) Cause() error
- func (e DisableProjectRequestValidationError) Error() string
- func (e DisableProjectRequestValidationError) ErrorName() string
- func (e DisableProjectRequestValidationError) Field() string
- func (e DisableProjectRequestValidationError) Key() bool
- func (e DisableProjectRequestValidationError) Reason() string
- type DisableProjectResponse
- func (*DisableProjectResponse) Descriptor() ([]byte, []int)deprecated
- func (*DisableProjectResponse) ProtoMessage()
- func (x *DisableProjectResponse) ProtoReflect() protoreflect.Message
- func (x *DisableProjectResponse) Reset()
- func (x *DisableProjectResponse) String() string
- func (m *DisableProjectResponse) Validate() error
- func (m *DisableProjectResponse) ValidateAll() error
- type DisableProjectResponseMultiError
- type DisableProjectResponseValidationError
- func (e DisableProjectResponseValidationError) Cause() error
- func (e DisableProjectResponseValidationError) Error() string
- func (e DisableProjectResponseValidationError) ErrorName() string
- func (e DisableProjectResponseValidationError) Field() string
- func (e DisableProjectResponseValidationError) Key() bool
- func (e DisableProjectResponseValidationError) Reason() string
- type EnableProjectRequest
- func (*EnableProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EnableProjectRequest) GetGitProjectId() string
- func (*EnableProjectRequest) ProtoMessage()
- func (x *EnableProjectRequest) ProtoReflect() protoreflect.Message
- func (x *EnableProjectRequest) Reset()
- func (x *EnableProjectRequest) String() string
- func (m *EnableProjectRequest) Validate() error
- func (m *EnableProjectRequest) ValidateAll() error
- type EnableProjectRequestMultiError
- type EnableProjectRequestValidationError
- func (e EnableProjectRequestValidationError) Cause() error
- func (e EnableProjectRequestValidationError) Error() string
- func (e EnableProjectRequestValidationError) ErrorName() string
- func (e EnableProjectRequestValidationError) Field() string
- func (e EnableProjectRequestValidationError) Key() bool
- func (e EnableProjectRequestValidationError) Reason() string
- type EnableProjectResponse
- func (*EnableProjectResponse) Descriptor() ([]byte, []int)deprecated
- func (*EnableProjectResponse) ProtoMessage()
- func (x *EnableProjectResponse) ProtoReflect() protoreflect.Message
- func (x *EnableProjectResponse) Reset()
- func (x *EnableProjectResponse) String() string
- func (m *EnableProjectResponse) Validate() error
- func (m *EnableProjectResponse) ValidateAll() error
- type EnableProjectResponseMultiError
- type EnableProjectResponseValidationError
- func (e EnableProjectResponseValidationError) Cause() error
- func (e EnableProjectResponseValidationError) Error() string
- func (e EnableProjectResponseValidationError) ErrorName() string
- func (e EnableProjectResponseValidationError) Field() string
- func (e EnableProjectResponseValidationError) Key() bool
- func (e EnableProjectResponseValidationError) Reason() string
- type GitClient
- type GitServer
- type MarsConfigFileRequest
- func (*MarsConfigFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MarsConfigFileRequest) GetBranch() string
- func (x *MarsConfigFileRequest) GetGitProjectId() string
- func (*MarsConfigFileRequest) ProtoMessage()
- func (x *MarsConfigFileRequest) ProtoReflect() protoreflect.Message
- func (x *MarsConfigFileRequest) Reset()
- func (x *MarsConfigFileRequest) String() string
- func (m *MarsConfigFileRequest) Validate() error
- func (m *MarsConfigFileRequest) ValidateAll() error
- type MarsConfigFileRequestMultiError
- type MarsConfigFileRequestValidationError
- func (e MarsConfigFileRequestValidationError) Cause() error
- func (e MarsConfigFileRequestValidationError) Error() string
- func (e MarsConfigFileRequestValidationError) ErrorName() string
- func (e MarsConfigFileRequestValidationError) Field() string
- func (e MarsConfigFileRequestValidationError) Key() bool
- func (e MarsConfigFileRequestValidationError) Reason() string
- type MarsConfigFileResponse
- func (*MarsConfigFileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MarsConfigFileResponse) GetData() string
- func (x *MarsConfigFileResponse) GetElements() []*mars.Element
- func (x *MarsConfigFileResponse) GetType() string
- func (*MarsConfigFileResponse) ProtoMessage()
- func (x *MarsConfigFileResponse) ProtoReflect() protoreflect.Message
- func (x *MarsConfigFileResponse) Reset()
- func (x *MarsConfigFileResponse) String() string
- func (m *MarsConfigFileResponse) Validate() error
- func (m *MarsConfigFileResponse) ValidateAll() error
- type MarsConfigFileResponseMultiError
- type MarsConfigFileResponseValidationError
- func (e MarsConfigFileResponseValidationError) Cause() error
- func (e MarsConfigFileResponseValidationError) Error() string
- func (e MarsConfigFileResponseValidationError) ErrorName() string
- func (e MarsConfigFileResponseValidationError) Field() string
- func (e MarsConfigFileResponseValidationError) Key() bool
- func (e MarsConfigFileResponseValidationError) Reason() string
- type Option
- func (*Option) Descriptor() ([]byte, []int)deprecated
- func (x *Option) GetBranch() string
- func (x *Option) GetDisplayName() string
- func (x *Option) GetGitProjectId() string
- func (x *Option) GetIsLeaf() bool
- func (x *Option) GetLabel() string
- func (x *Option) GetType() string
- func (x *Option) GetValue() string
- func (*Option) ProtoMessage()
- func (x *Option) ProtoReflect() protoreflect.Message
- func (x *Option) Reset()
- func (x *Option) String() string
- func (m *Option) Validate() error
- func (m *Option) ValidateAll() error
- type OptionMultiError
- type OptionValidationError
- type PipelineInfoRequest
- func (*PipelineInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PipelineInfoRequest) GetBranch() string
- func (x *PipelineInfoRequest) GetCommit() string
- func (x *PipelineInfoRequest) GetGitProjectId() string
- func (*PipelineInfoRequest) ProtoMessage()
- func (x *PipelineInfoRequest) ProtoReflect() protoreflect.Message
- func (x *PipelineInfoRequest) Reset()
- func (x *PipelineInfoRequest) String() string
- func (m *PipelineInfoRequest) Validate() error
- func (m *PipelineInfoRequest) ValidateAll() error
- type PipelineInfoRequestMultiError
- type PipelineInfoRequestValidationError
- func (e PipelineInfoRequestValidationError) Cause() error
- func (e PipelineInfoRequestValidationError) Error() string
- func (e PipelineInfoRequestValidationError) ErrorName() string
- func (e PipelineInfoRequestValidationError) Field() string
- func (e PipelineInfoRequestValidationError) Key() bool
- func (e PipelineInfoRequestValidationError) Reason() string
- type PipelineInfoResponse
- func (*PipelineInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PipelineInfoResponse) GetStatus() string
- func (x *PipelineInfoResponse) GetWebUrl() string
- func (*PipelineInfoResponse) ProtoMessage()
- func (x *PipelineInfoResponse) ProtoReflect() protoreflect.Message
- func (x *PipelineInfoResponse) Reset()
- func (x *PipelineInfoResponse) String() string
- func (m *PipelineInfoResponse) Validate() error
- func (m *PipelineInfoResponse) ValidateAll() error
- type PipelineInfoResponseMultiError
- type PipelineInfoResponseValidationError
- func (e PipelineInfoResponseValidationError) Cause() error
- func (e PipelineInfoResponseValidationError) Error() string
- func (e PipelineInfoResponseValidationError) ErrorName() string
- func (e PipelineInfoResponseValidationError) Field() string
- func (e PipelineInfoResponseValidationError) Key() bool
- func (e PipelineInfoResponseValidationError) Reason() string
- type ProjectItem
- func (*ProjectItem) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectItem) GetAvatarUrl() string
- func (x *ProjectItem) GetDescription() string
- func (x *ProjectItem) GetDisplayName() string
- func (x *ProjectItem) GetEnabled() bool
- func (x *ProjectItem) GetGlobalEnabled() bool
- func (x *ProjectItem) GetId() int64
- func (x *ProjectItem) GetName() string
- func (x *ProjectItem) GetPath() string
- func (x *ProjectItem) GetWebUrl() string
- func (*ProjectItem) ProtoMessage()
- func (x *ProjectItem) ProtoReflect() protoreflect.Message
- func (x *ProjectItem) Reset()
- func (x *ProjectItem) String() string
- func (m *ProjectItem) Validate() error
- func (m *ProjectItem) ValidateAll() error
- type ProjectItemMultiError
- type ProjectItemValidationError
- func (e ProjectItemValidationError) Cause() error
- func (e ProjectItemValidationError) Error() string
- func (e ProjectItemValidationError) ErrorName() string
- func (e ProjectItemValidationError) Field() string
- func (e ProjectItemValidationError) Key() bool
- func (e ProjectItemValidationError) Reason() string
- type ProjectOptionsRequest
- func (*ProjectOptionsRequest) Descriptor() ([]byte, []int)deprecated
- func (*ProjectOptionsRequest) ProtoMessage()
- func (x *ProjectOptionsRequest) ProtoReflect() protoreflect.Message
- func (x *ProjectOptionsRequest) Reset()
- func (x *ProjectOptionsRequest) String() string
- func (m *ProjectOptionsRequest) Validate() error
- func (m *ProjectOptionsRequest) ValidateAll() error
- type ProjectOptionsRequestMultiError
- type ProjectOptionsRequestValidationError
- func (e ProjectOptionsRequestValidationError) Cause() error
- func (e ProjectOptionsRequestValidationError) Error() string
- func (e ProjectOptionsRequestValidationError) ErrorName() string
- func (e ProjectOptionsRequestValidationError) Field() string
- func (e ProjectOptionsRequestValidationError) Key() bool
- func (e ProjectOptionsRequestValidationError) Reason() string
- type ProjectOptionsResponse
- func (*ProjectOptionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectOptionsResponse) GetItems() []*Option
- func (*ProjectOptionsResponse) ProtoMessage()
- func (x *ProjectOptionsResponse) ProtoReflect() protoreflect.Message
- func (x *ProjectOptionsResponse) Reset()
- func (x *ProjectOptionsResponse) String() string
- func (m *ProjectOptionsResponse) Validate() error
- func (m *ProjectOptionsResponse) ValidateAll() error
- type ProjectOptionsResponseMultiError
- type ProjectOptionsResponseValidationError
- func (e ProjectOptionsResponseValidationError) Cause() error
- func (e ProjectOptionsResponseValidationError) Error() string
- func (e ProjectOptionsResponseValidationError) ErrorName() string
- func (e ProjectOptionsResponseValidationError) Field() string
- func (e ProjectOptionsResponseValidationError) Key() bool
- func (e ProjectOptionsResponseValidationError) Reason() string
- type UnimplementedGitServer
- func (UnimplementedGitServer) All(context.Context, *AllRequest) (*AllResponse, error)
- func (UnimplementedGitServer) BranchOptions(context.Context, *BranchOptionsRequest) (*BranchOptionsResponse, error)
- func (UnimplementedGitServer) Commit(context.Context, *CommitRequest) (*CommitResponse, error)
- func (UnimplementedGitServer) CommitOptions(context.Context, *CommitOptionsRequest) (*CommitOptionsResponse, error)
- func (UnimplementedGitServer) DisableProject(context.Context, *DisableProjectRequest) (*DisableProjectResponse, error)
- func (UnimplementedGitServer) EnableProject(context.Context, *EnableProjectRequest) (*EnableProjectResponse, error)
- func (UnimplementedGitServer) MarsConfigFile(context.Context, *MarsConfigFileRequest) (*MarsConfigFileResponse, error)
- func (UnimplementedGitServer) PipelineInfo(context.Context, *PipelineInfoRequest) (*PipelineInfoResponse, error)
- func (UnimplementedGitServer) ProjectOptions(context.Context, *ProjectOptionsRequest) (*ProjectOptionsResponse, error)
- type UnsafeGitServer
Constants ¶
const ( Git_EnableProject_FullMethodName = "/git.Git/EnableProject" Git_DisableProject_FullMethodName = "/git.Git/DisableProject" Git_All_FullMethodName = "/git.Git/All" Git_ProjectOptions_FullMethodName = "/git.Git/ProjectOptions" Git_BranchOptions_FullMethodName = "/git.Git/BranchOptions" Git_CommitOptions_FullMethodName = "/git.Git/CommitOptions" Git_Commit_FullMethodName = "/git.Git/Commit" Git_PipelineInfo_FullMethodName = "/git.Git/PipelineInfo" Git_MarsConfigFile_FullMethodName = "/git.Git/MarsConfigFile" )
Variables ¶
var File_git_git_proto protoreflect.FileDescriptor
var Git_ServiceDesc = grpc.ServiceDesc{ ServiceName: "git.Git", HandlerType: (*GitServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "EnableProject", Handler: _Git_EnableProject_Handler, }, { MethodName: "DisableProject", Handler: _Git_DisableProject_Handler, }, { MethodName: "All", Handler: _Git_All_Handler, }, { MethodName: "ProjectOptions", Handler: _Git_ProjectOptions_Handler, }, { MethodName: "BranchOptions", Handler: _Git_BranchOptions_Handler, }, { MethodName: "CommitOptions", Handler: _Git_CommitOptions_Handler, }, { MethodName: "Commit", Handler: _Git_Commit_Handler, }, { MethodName: "PipelineInfo", Handler: _Git_PipelineInfo_Handler, }, { MethodName: "MarsConfigFile", Handler: _Git_MarsConfigFile_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "git/git.proto", }
Git_ServiceDesc is the grpc.ServiceDesc for Git service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterGitHandler ¶
RegisterGitHandler registers the http handlers for service Git to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterGitHandlerClient ¶
RegisterGitHandlerClient registers the http handlers for service Git to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "GitClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "GitClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "GitClient" to call the correct interceptors.
func RegisterGitHandlerFromEndpoint ¶
func RegisterGitHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterGitHandlerFromEndpoint is same as RegisterGitHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterGitHandlerServer ¶
RegisterGitHandlerServer registers the http handlers for service Git to "mux". UnaryRPC :call GitServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterGitHandlerFromEndpoint instead.
func RegisterGitServer ¶
func RegisterGitServer(s grpc.ServiceRegistrar, srv GitServer)
Types ¶
type AllRequest ¶
type AllRequest struct {
// contains filtered or unexported fields
}
func (*AllRequest) Descriptor
deprecated
func (*AllRequest) Descriptor() ([]byte, []int)
Deprecated: Use AllRequest.ProtoReflect.Descriptor instead.
func (*AllRequest) ProtoMessage ¶
func (*AllRequest) ProtoMessage()
func (*AllRequest) ProtoReflect ¶
func (x *AllRequest) ProtoReflect() protoreflect.Message
func (*AllRequest) Reset ¶
func (x *AllRequest) Reset()
func (*AllRequest) String ¶
func (x *AllRequest) String() string
func (*AllRequest) Validate ¶
func (m *AllRequest) Validate() error
Validate checks the field values on AllRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AllRequest) ValidateAll ¶
func (m *AllRequest) ValidateAll() error
ValidateAll checks the field values on AllRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AllRequestMultiError, or nil if none found.
type AllRequestMultiError ¶
type AllRequestMultiError []error
AllRequestMultiError is an error wrapping multiple validation errors returned by AllRequest.ValidateAll() if the designated constraints aren't met.
func (AllRequestMultiError) AllErrors ¶
func (m AllRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AllRequestMultiError) Error ¶
func (m AllRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AllRequestValidationError ¶
type AllRequestValidationError struct {
// contains filtered or unexported fields
}
AllRequestValidationError is the validation error returned by AllRequest.Validate if the designated constraints aren't met.
func (AllRequestValidationError) Cause ¶
func (e AllRequestValidationError) Cause() error
Cause function returns cause value.
func (AllRequestValidationError) Error ¶
func (e AllRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AllRequestValidationError) ErrorName ¶
func (e AllRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AllRequestValidationError) Field ¶
func (e AllRequestValidationError) Field() string
Field function returns field value.
func (AllRequestValidationError) Key ¶
func (e AllRequestValidationError) Key() bool
Key function returns key value.
func (AllRequestValidationError) Reason ¶
func (e AllRequestValidationError) Reason() string
Reason function returns reason value.
type AllResponse ¶
type AllResponse struct { Items []*ProjectItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*AllResponse) Descriptor
deprecated
func (*AllResponse) Descriptor() ([]byte, []int)
Deprecated: Use AllResponse.ProtoReflect.Descriptor instead.
func (*AllResponse) GetItems ¶
func (x *AllResponse) GetItems() []*ProjectItem
func (*AllResponse) ProtoMessage ¶
func (*AllResponse) ProtoMessage()
func (*AllResponse) ProtoReflect ¶
func (x *AllResponse) ProtoReflect() protoreflect.Message
func (*AllResponse) Reset ¶
func (x *AllResponse) Reset()
func (*AllResponse) String ¶
func (x *AllResponse) String() string
func (*AllResponse) Validate ¶
func (m *AllResponse) Validate() error
Validate checks the field values on AllResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AllResponse) ValidateAll ¶
func (m *AllResponse) ValidateAll() error
ValidateAll checks the field values on AllResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AllResponseMultiError, or nil if none found.
type AllResponseMultiError ¶
type AllResponseMultiError []error
AllResponseMultiError is an error wrapping multiple validation errors returned by AllResponse.ValidateAll() if the designated constraints aren't met.
func (AllResponseMultiError) AllErrors ¶
func (m AllResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AllResponseMultiError) Error ¶
func (m AllResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AllResponseValidationError ¶
type AllResponseValidationError struct {
// contains filtered or unexported fields
}
AllResponseValidationError is the validation error returned by AllResponse.Validate if the designated constraints aren't met.
func (AllResponseValidationError) Cause ¶
func (e AllResponseValidationError) Cause() error
Cause function returns cause value.
func (AllResponseValidationError) Error ¶
func (e AllResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AllResponseValidationError) ErrorName ¶
func (e AllResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AllResponseValidationError) Field ¶
func (e AllResponseValidationError) Field() string
Field function returns field value.
func (AllResponseValidationError) Key ¶
func (e AllResponseValidationError) Key() bool
Key function returns key value.
func (AllResponseValidationError) Reason ¶
func (e AllResponseValidationError) Reason() string
Reason function returns reason value.
type BranchOptionsRequest ¶
type BranchOptionsRequest struct { GitProjectId string `protobuf:"bytes,1,opt,name=git_project_id,json=gitProjectId,proto3" json:"git_project_id,omitempty"` All bool `protobuf:"varint,2,opt,name=all,proto3" json:"all,omitempty"` // contains filtered or unexported fields }
func (*BranchOptionsRequest) Descriptor
deprecated
func (*BranchOptionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BranchOptionsRequest.ProtoReflect.Descriptor instead.
func (*BranchOptionsRequest) GetAll ¶
func (x *BranchOptionsRequest) GetAll() bool
func (*BranchOptionsRequest) GetGitProjectId ¶
func (x *BranchOptionsRequest) GetGitProjectId() string
func (*BranchOptionsRequest) ProtoMessage ¶
func (*BranchOptionsRequest) ProtoMessage()
func (*BranchOptionsRequest) ProtoReflect ¶
func (x *BranchOptionsRequest) ProtoReflect() protoreflect.Message
func (*BranchOptionsRequest) Reset ¶
func (x *BranchOptionsRequest) Reset()
func (*BranchOptionsRequest) String ¶
func (x *BranchOptionsRequest) String() string
func (*BranchOptionsRequest) Validate ¶
func (m *BranchOptionsRequest) Validate() error
Validate checks the field values on BranchOptionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*BranchOptionsRequest) ValidateAll ¶
func (m *BranchOptionsRequest) ValidateAll() error
ValidateAll checks the field values on BranchOptionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BranchOptionsRequestMultiError, or nil if none found.
type BranchOptionsRequestMultiError ¶
type BranchOptionsRequestMultiError []error
BranchOptionsRequestMultiError is an error wrapping multiple validation errors returned by BranchOptionsRequest.ValidateAll() if the designated constraints aren't met.
func (BranchOptionsRequestMultiError) AllErrors ¶
func (m BranchOptionsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BranchOptionsRequestMultiError) Error ¶
func (m BranchOptionsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BranchOptionsRequestValidationError ¶
type BranchOptionsRequestValidationError struct {
// contains filtered or unexported fields
}
BranchOptionsRequestValidationError is the validation error returned by BranchOptionsRequest.Validate if the designated constraints aren't met.
func (BranchOptionsRequestValidationError) Cause ¶
func (e BranchOptionsRequestValidationError) Cause() error
Cause function returns cause value.
func (BranchOptionsRequestValidationError) Error ¶
func (e BranchOptionsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (BranchOptionsRequestValidationError) ErrorName ¶
func (e BranchOptionsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (BranchOptionsRequestValidationError) Field ¶
func (e BranchOptionsRequestValidationError) Field() string
Field function returns field value.
func (BranchOptionsRequestValidationError) Key ¶
func (e BranchOptionsRequestValidationError) Key() bool
Key function returns key value.
func (BranchOptionsRequestValidationError) Reason ¶
func (e BranchOptionsRequestValidationError) Reason() string
Reason function returns reason value.
type BranchOptionsResponse ¶
type BranchOptionsResponse struct { Items []*Option `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*BranchOptionsResponse) Descriptor
deprecated
func (*BranchOptionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use BranchOptionsResponse.ProtoReflect.Descriptor instead.
func (*BranchOptionsResponse) GetItems ¶
func (x *BranchOptionsResponse) GetItems() []*Option
func (*BranchOptionsResponse) ProtoMessage ¶
func (*BranchOptionsResponse) ProtoMessage()
func (*BranchOptionsResponse) ProtoReflect ¶
func (x *BranchOptionsResponse) ProtoReflect() protoreflect.Message
func (*BranchOptionsResponse) Reset ¶
func (x *BranchOptionsResponse) Reset()
func (*BranchOptionsResponse) String ¶
func (x *BranchOptionsResponse) String() string
func (*BranchOptionsResponse) Validate ¶
func (m *BranchOptionsResponse) Validate() error
Validate checks the field values on BranchOptionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*BranchOptionsResponse) ValidateAll ¶
func (m *BranchOptionsResponse) ValidateAll() error
ValidateAll checks the field values on BranchOptionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BranchOptionsResponseMultiError, or nil if none found.
type BranchOptionsResponseMultiError ¶
type BranchOptionsResponseMultiError []error
BranchOptionsResponseMultiError is an error wrapping multiple validation errors returned by BranchOptionsResponse.ValidateAll() if the designated constraints aren't met.
func (BranchOptionsResponseMultiError) AllErrors ¶
func (m BranchOptionsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BranchOptionsResponseMultiError) Error ¶
func (m BranchOptionsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BranchOptionsResponseValidationError ¶
type BranchOptionsResponseValidationError struct {
// contains filtered or unexported fields
}
BranchOptionsResponseValidationError is the validation error returned by BranchOptionsResponse.Validate if the designated constraints aren't met.
func (BranchOptionsResponseValidationError) Cause ¶
func (e BranchOptionsResponseValidationError) Cause() error
Cause function returns cause value.
func (BranchOptionsResponseValidationError) Error ¶
func (e BranchOptionsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (BranchOptionsResponseValidationError) ErrorName ¶
func (e BranchOptionsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (BranchOptionsResponseValidationError) Field ¶
func (e BranchOptionsResponseValidationError) Field() string
Field function returns field value.
func (BranchOptionsResponseValidationError) Key ¶
func (e BranchOptionsResponseValidationError) Key() bool
Key function returns key value.
func (BranchOptionsResponseValidationError) Reason ¶
func (e BranchOptionsResponseValidationError) Reason() string
Reason function returns reason value.
type CommitOptionsRequest ¶
type CommitOptionsRequest struct { GitProjectId string `protobuf:"bytes,1,opt,name=git_project_id,json=gitProjectId,proto3" json:"git_project_id,omitempty"` Branch string `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"` // contains filtered or unexported fields }
func (*CommitOptionsRequest) Descriptor
deprecated
func (*CommitOptionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CommitOptionsRequest.ProtoReflect.Descriptor instead.
func (*CommitOptionsRequest) GetBranch ¶
func (x *CommitOptionsRequest) GetBranch() string
func (*CommitOptionsRequest) GetGitProjectId ¶
func (x *CommitOptionsRequest) GetGitProjectId() string
func (*CommitOptionsRequest) ProtoMessage ¶
func (*CommitOptionsRequest) ProtoMessage()
func (*CommitOptionsRequest) ProtoReflect ¶
func (x *CommitOptionsRequest) ProtoReflect() protoreflect.Message
func (*CommitOptionsRequest) Reset ¶
func (x *CommitOptionsRequest) Reset()
func (*CommitOptionsRequest) String ¶
func (x *CommitOptionsRequest) String() string
func (*CommitOptionsRequest) Validate ¶
func (m *CommitOptionsRequest) Validate() error
Validate checks the field values on CommitOptionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CommitOptionsRequest) ValidateAll ¶
func (m *CommitOptionsRequest) ValidateAll() error
ValidateAll checks the field values on CommitOptionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CommitOptionsRequestMultiError, or nil if none found.
type CommitOptionsRequestMultiError ¶
type CommitOptionsRequestMultiError []error
CommitOptionsRequestMultiError is an error wrapping multiple validation errors returned by CommitOptionsRequest.ValidateAll() if the designated constraints aren't met.
func (CommitOptionsRequestMultiError) AllErrors ¶
func (m CommitOptionsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CommitOptionsRequestMultiError) Error ¶
func (m CommitOptionsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CommitOptionsRequestValidationError ¶
type CommitOptionsRequestValidationError struct {
// contains filtered or unexported fields
}
CommitOptionsRequestValidationError is the validation error returned by CommitOptionsRequest.Validate if the designated constraints aren't met.
func (CommitOptionsRequestValidationError) Cause ¶
func (e CommitOptionsRequestValidationError) Cause() error
Cause function returns cause value.
func (CommitOptionsRequestValidationError) Error ¶
func (e CommitOptionsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CommitOptionsRequestValidationError) ErrorName ¶
func (e CommitOptionsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CommitOptionsRequestValidationError) Field ¶
func (e CommitOptionsRequestValidationError) Field() string
Field function returns field value.
func (CommitOptionsRequestValidationError) Key ¶
func (e CommitOptionsRequestValidationError) Key() bool
Key function returns key value.
func (CommitOptionsRequestValidationError) Reason ¶
func (e CommitOptionsRequestValidationError) Reason() string
Reason function returns reason value.
type CommitOptionsResponse ¶
type CommitOptionsResponse struct { Items []*Option `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*CommitOptionsResponse) Descriptor
deprecated
func (*CommitOptionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CommitOptionsResponse.ProtoReflect.Descriptor instead.
func (*CommitOptionsResponse) GetItems ¶
func (x *CommitOptionsResponse) GetItems() []*Option
func (*CommitOptionsResponse) ProtoMessage ¶
func (*CommitOptionsResponse) ProtoMessage()
func (*CommitOptionsResponse) ProtoReflect ¶
func (x *CommitOptionsResponse) ProtoReflect() protoreflect.Message
func (*CommitOptionsResponse) Reset ¶
func (x *CommitOptionsResponse) Reset()
func (*CommitOptionsResponse) String ¶
func (x *CommitOptionsResponse) String() string
func (*CommitOptionsResponse) Validate ¶
func (m *CommitOptionsResponse) Validate() error
Validate checks the field values on CommitOptionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CommitOptionsResponse) ValidateAll ¶
func (m *CommitOptionsResponse) ValidateAll() error
ValidateAll checks the field values on CommitOptionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CommitOptionsResponseMultiError, or nil if none found.
type CommitOptionsResponseMultiError ¶
type CommitOptionsResponseMultiError []error
CommitOptionsResponseMultiError is an error wrapping multiple validation errors returned by CommitOptionsResponse.ValidateAll() if the designated constraints aren't met.
func (CommitOptionsResponseMultiError) AllErrors ¶
func (m CommitOptionsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CommitOptionsResponseMultiError) Error ¶
func (m CommitOptionsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CommitOptionsResponseValidationError ¶
type CommitOptionsResponseValidationError struct {
// contains filtered or unexported fields
}
CommitOptionsResponseValidationError is the validation error returned by CommitOptionsResponse.Validate if the designated constraints aren't met.
func (CommitOptionsResponseValidationError) Cause ¶
func (e CommitOptionsResponseValidationError) Cause() error
Cause function returns cause value.
func (CommitOptionsResponseValidationError) Error ¶
func (e CommitOptionsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CommitOptionsResponseValidationError) ErrorName ¶
func (e CommitOptionsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CommitOptionsResponseValidationError) Field ¶
func (e CommitOptionsResponseValidationError) Field() string
Field function returns field value.
func (CommitOptionsResponseValidationError) Key ¶
func (e CommitOptionsResponseValidationError) Key() bool
Key function returns key value.
func (CommitOptionsResponseValidationError) Reason ¶
func (e CommitOptionsResponseValidationError) Reason() string
Reason function returns reason value.
type CommitRequest ¶
type CommitRequest struct { GitProjectId string `protobuf:"bytes,1,opt,name=git_project_id,json=gitProjectId,proto3" json:"git_project_id,omitempty"` Branch string `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"` Commit string `protobuf:"bytes,3,opt,name=commit,proto3" json:"commit,omitempty"` // contains filtered or unexported fields }
func (*CommitRequest) Descriptor
deprecated
func (*CommitRequest) Descriptor() ([]byte, []int)
Deprecated: Use CommitRequest.ProtoReflect.Descriptor instead.
func (*CommitRequest) GetBranch ¶
func (x *CommitRequest) GetBranch() string
func (*CommitRequest) GetCommit ¶
func (x *CommitRequest) GetCommit() string
func (*CommitRequest) GetGitProjectId ¶
func (x *CommitRequest) GetGitProjectId() string
func (*CommitRequest) ProtoMessage ¶
func (*CommitRequest) ProtoMessage()
func (*CommitRequest) ProtoReflect ¶
func (x *CommitRequest) ProtoReflect() protoreflect.Message
func (*CommitRequest) Reset ¶
func (x *CommitRequest) Reset()
func (*CommitRequest) String ¶
func (x *CommitRequest) String() string
func (*CommitRequest) Validate ¶
func (m *CommitRequest) Validate() error
Validate checks the field values on CommitRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CommitRequest) ValidateAll ¶
func (m *CommitRequest) ValidateAll() error
ValidateAll checks the field values on CommitRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CommitRequestMultiError, or nil if none found.
type CommitRequestMultiError ¶
type CommitRequestMultiError []error
CommitRequestMultiError is an error wrapping multiple validation errors returned by CommitRequest.ValidateAll() if the designated constraints aren't met.
func (CommitRequestMultiError) AllErrors ¶
func (m CommitRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CommitRequestMultiError) Error ¶
func (m CommitRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CommitRequestValidationError ¶
type CommitRequestValidationError struct {
// contains filtered or unexported fields
}
CommitRequestValidationError is the validation error returned by CommitRequest.Validate if the designated constraints aren't met.
func (CommitRequestValidationError) Cause ¶
func (e CommitRequestValidationError) Cause() error
Cause function returns cause value.
func (CommitRequestValidationError) Error ¶
func (e CommitRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CommitRequestValidationError) ErrorName ¶
func (e CommitRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CommitRequestValidationError) Field ¶
func (e CommitRequestValidationError) Field() string
Field function returns field value.
func (CommitRequestValidationError) Key ¶
func (e CommitRequestValidationError) Key() bool
Key function returns key value.
func (CommitRequestValidationError) Reason ¶
func (e CommitRequestValidationError) Reason() string
Reason function returns reason value.
type CommitResponse ¶
type CommitResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ShortId string `protobuf:"bytes,2,opt,name=short_id,json=shortId,proto3" json:"short_id,omitempty"` GitProjectId string `protobuf:"bytes,3,opt,name=git_project_id,json=gitProjectId,proto3" json:"git_project_id,omitempty"` Label string `protobuf:"bytes,4,opt,name=label,proto3" json:"label,omitempty"` Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` Branch string `protobuf:"bytes,6,opt,name=branch,proto3" json:"branch,omitempty"` AuthorName string `protobuf:"bytes,7,opt,name=author_name,json=authorName,proto3" json:"author_name,omitempty"` AuthorEmail string `protobuf:"bytes,8,opt,name=author_email,json=authorEmail,proto3" json:"author_email,omitempty"` CommitterName string `protobuf:"bytes,9,opt,name=committer_name,json=committerName,proto3" json:"committer_name,omitempty"` CommitterEmail string `protobuf:"bytes,10,opt,name=committer_email,json=committerEmail,proto3" json:"committer_email,omitempty"` WebUrl string `protobuf:"bytes,11,opt,name=web_url,json=webUrl,proto3" json:"web_url,omitempty"` Message string `protobuf:"bytes,12,opt,name=message,proto3" json:"message,omitempty"` CommittedDate string `protobuf:"bytes,13,opt,name=committed_date,json=committedDate,proto3" json:"committed_date,omitempty"` CreatedAt string `protobuf:"bytes,14,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*CommitResponse) Descriptor
deprecated
func (*CommitResponse) Descriptor() ([]byte, []int)
Deprecated: Use CommitResponse.ProtoReflect.Descriptor instead.
func (*CommitResponse) GetAuthorEmail ¶
func (x *CommitResponse) GetAuthorEmail() string
func (*CommitResponse) GetAuthorName ¶
func (x *CommitResponse) GetAuthorName() string
func (*CommitResponse) GetBranch ¶
func (x *CommitResponse) GetBranch() string
func (*CommitResponse) GetCommittedDate ¶
func (x *CommitResponse) GetCommittedDate() string
func (*CommitResponse) GetCommitterEmail ¶
func (x *CommitResponse) GetCommitterEmail() string
func (*CommitResponse) GetCommitterName ¶
func (x *CommitResponse) GetCommitterName() string
func (*CommitResponse) GetCreatedAt ¶
func (x *CommitResponse) GetCreatedAt() string
func (*CommitResponse) GetGitProjectId ¶
func (x *CommitResponse) GetGitProjectId() string
func (*CommitResponse) GetId ¶
func (x *CommitResponse) GetId() string
func (*CommitResponse) GetLabel ¶
func (x *CommitResponse) GetLabel() string
func (*CommitResponse) GetMessage ¶
func (x *CommitResponse) GetMessage() string
func (*CommitResponse) GetShortId ¶
func (x *CommitResponse) GetShortId() string
func (*CommitResponse) GetTitle ¶
func (x *CommitResponse) GetTitle() string
func (*CommitResponse) GetWebUrl ¶
func (x *CommitResponse) GetWebUrl() string
func (*CommitResponse) ProtoMessage ¶
func (*CommitResponse) ProtoMessage()
func (*CommitResponse) ProtoReflect ¶
func (x *CommitResponse) ProtoReflect() protoreflect.Message
func (*CommitResponse) Reset ¶
func (x *CommitResponse) Reset()
func (*CommitResponse) String ¶
func (x *CommitResponse) String() string
func (*CommitResponse) Validate ¶
func (m *CommitResponse) Validate() error
Validate checks the field values on CommitResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CommitResponse) ValidateAll ¶
func (m *CommitResponse) ValidateAll() error
ValidateAll checks the field values on CommitResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CommitResponseMultiError, or nil if none found.
type CommitResponseMultiError ¶
type CommitResponseMultiError []error
CommitResponseMultiError is an error wrapping multiple validation errors returned by CommitResponse.ValidateAll() if the designated constraints aren't met.
func (CommitResponseMultiError) AllErrors ¶
func (m CommitResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CommitResponseMultiError) Error ¶
func (m CommitResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CommitResponseValidationError ¶
type CommitResponseValidationError struct {
// contains filtered or unexported fields
}
CommitResponseValidationError is the validation error returned by CommitResponse.Validate if the designated constraints aren't met.
func (CommitResponseValidationError) Cause ¶
func (e CommitResponseValidationError) Cause() error
Cause function returns cause value.
func (CommitResponseValidationError) Error ¶
func (e CommitResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CommitResponseValidationError) ErrorName ¶
func (e CommitResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CommitResponseValidationError) Field ¶
func (e CommitResponseValidationError) Field() string
Field function returns field value.
func (CommitResponseValidationError) Key ¶
func (e CommitResponseValidationError) Key() bool
Key function returns key value.
func (CommitResponseValidationError) Reason ¶
func (e CommitResponseValidationError) Reason() string
Reason function returns reason value.
type DisableProjectRequest ¶
type DisableProjectRequest struct { GitProjectId string `protobuf:"bytes,1,opt,name=git_project_id,json=gitProjectId,proto3" json:"git_project_id,omitempty"` // contains filtered or unexported fields }
func (*DisableProjectRequest) Descriptor
deprecated
func (*DisableProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use DisableProjectRequest.ProtoReflect.Descriptor instead.
func (*DisableProjectRequest) GetGitProjectId ¶
func (x *DisableProjectRequest) GetGitProjectId() string
func (*DisableProjectRequest) ProtoMessage ¶
func (*DisableProjectRequest) ProtoMessage()
func (*DisableProjectRequest) ProtoReflect ¶
func (x *DisableProjectRequest) ProtoReflect() protoreflect.Message
func (*DisableProjectRequest) Reset ¶
func (x *DisableProjectRequest) Reset()
func (*DisableProjectRequest) String ¶
func (x *DisableProjectRequest) String() string
func (*DisableProjectRequest) Validate ¶
func (m *DisableProjectRequest) Validate() error
Validate checks the field values on DisableProjectRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DisableProjectRequest) ValidateAll ¶
func (m *DisableProjectRequest) ValidateAll() error
ValidateAll checks the field values on DisableProjectRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DisableProjectRequestMultiError, or nil if none found.
type DisableProjectRequestMultiError ¶
type DisableProjectRequestMultiError []error
DisableProjectRequestMultiError is an error wrapping multiple validation errors returned by DisableProjectRequest.ValidateAll() if the designated constraints aren't met.
func (DisableProjectRequestMultiError) AllErrors ¶
func (m DisableProjectRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DisableProjectRequestMultiError) Error ¶
func (m DisableProjectRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DisableProjectRequestValidationError ¶
type DisableProjectRequestValidationError struct {
// contains filtered or unexported fields
}
DisableProjectRequestValidationError is the validation error returned by DisableProjectRequest.Validate if the designated constraints aren't met.
func (DisableProjectRequestValidationError) Cause ¶
func (e DisableProjectRequestValidationError) Cause() error
Cause function returns cause value.
func (DisableProjectRequestValidationError) Error ¶
func (e DisableProjectRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DisableProjectRequestValidationError) ErrorName ¶
func (e DisableProjectRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DisableProjectRequestValidationError) Field ¶
func (e DisableProjectRequestValidationError) Field() string
Field function returns field value.
func (DisableProjectRequestValidationError) Key ¶
func (e DisableProjectRequestValidationError) Key() bool
Key function returns key value.
func (DisableProjectRequestValidationError) Reason ¶
func (e DisableProjectRequestValidationError) Reason() string
Reason function returns reason value.
type DisableProjectResponse ¶
type DisableProjectResponse struct {
// contains filtered or unexported fields
}
func (*DisableProjectResponse) Descriptor
deprecated
func (*DisableProjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use DisableProjectResponse.ProtoReflect.Descriptor instead.
func (*DisableProjectResponse) ProtoMessage ¶
func (*DisableProjectResponse) ProtoMessage()
func (*DisableProjectResponse) ProtoReflect ¶
func (x *DisableProjectResponse) ProtoReflect() protoreflect.Message
func (*DisableProjectResponse) Reset ¶
func (x *DisableProjectResponse) Reset()
func (*DisableProjectResponse) String ¶
func (x *DisableProjectResponse) String() string
func (*DisableProjectResponse) Validate ¶
func (m *DisableProjectResponse) Validate() error
Validate checks the field values on DisableProjectResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DisableProjectResponse) ValidateAll ¶
func (m *DisableProjectResponse) ValidateAll() error
ValidateAll checks the field values on DisableProjectResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DisableProjectResponseMultiError, or nil if none found.
type DisableProjectResponseMultiError ¶
type DisableProjectResponseMultiError []error
DisableProjectResponseMultiError is an error wrapping multiple validation errors returned by DisableProjectResponse.ValidateAll() if the designated constraints aren't met.
func (DisableProjectResponseMultiError) AllErrors ¶
func (m DisableProjectResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DisableProjectResponseMultiError) Error ¶
func (m DisableProjectResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DisableProjectResponseValidationError ¶
type DisableProjectResponseValidationError struct {
// contains filtered or unexported fields
}
DisableProjectResponseValidationError is the validation error returned by DisableProjectResponse.Validate if the designated constraints aren't met.
func (DisableProjectResponseValidationError) Cause ¶
func (e DisableProjectResponseValidationError) Cause() error
Cause function returns cause value.
func (DisableProjectResponseValidationError) Error ¶
func (e DisableProjectResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DisableProjectResponseValidationError) ErrorName ¶
func (e DisableProjectResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DisableProjectResponseValidationError) Field ¶
func (e DisableProjectResponseValidationError) Field() string
Field function returns field value.
func (DisableProjectResponseValidationError) Key ¶
func (e DisableProjectResponseValidationError) Key() bool
Key function returns key value.
func (DisableProjectResponseValidationError) Reason ¶
func (e DisableProjectResponseValidationError) Reason() string
Reason function returns reason value.
type EnableProjectRequest ¶
type EnableProjectRequest struct { GitProjectId string `protobuf:"bytes,1,opt,name=git_project_id,json=gitProjectId,proto3" json:"git_project_id,omitempty"` // contains filtered or unexported fields }
func (*EnableProjectRequest) Descriptor
deprecated
func (*EnableProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use EnableProjectRequest.ProtoReflect.Descriptor instead.
func (*EnableProjectRequest) GetGitProjectId ¶
func (x *EnableProjectRequest) GetGitProjectId() string
func (*EnableProjectRequest) ProtoMessage ¶
func (*EnableProjectRequest) ProtoMessage()
func (*EnableProjectRequest) ProtoReflect ¶
func (x *EnableProjectRequest) ProtoReflect() protoreflect.Message
func (*EnableProjectRequest) Reset ¶
func (x *EnableProjectRequest) Reset()
func (*EnableProjectRequest) String ¶
func (x *EnableProjectRequest) String() string
func (*EnableProjectRequest) Validate ¶
func (m *EnableProjectRequest) Validate() error
Validate checks the field values on EnableProjectRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*EnableProjectRequest) ValidateAll ¶
func (m *EnableProjectRequest) ValidateAll() error
ValidateAll checks the field values on EnableProjectRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EnableProjectRequestMultiError, or nil if none found.
type EnableProjectRequestMultiError ¶
type EnableProjectRequestMultiError []error
EnableProjectRequestMultiError is an error wrapping multiple validation errors returned by EnableProjectRequest.ValidateAll() if the designated constraints aren't met.
func (EnableProjectRequestMultiError) AllErrors ¶
func (m EnableProjectRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EnableProjectRequestMultiError) Error ¶
func (m EnableProjectRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EnableProjectRequestValidationError ¶
type EnableProjectRequestValidationError struct {
// contains filtered or unexported fields
}
EnableProjectRequestValidationError is the validation error returned by EnableProjectRequest.Validate if the designated constraints aren't met.
func (EnableProjectRequestValidationError) Cause ¶
func (e EnableProjectRequestValidationError) Cause() error
Cause function returns cause value.
func (EnableProjectRequestValidationError) Error ¶
func (e EnableProjectRequestValidationError) Error() string
Error satisfies the builtin error interface
func (EnableProjectRequestValidationError) ErrorName ¶
func (e EnableProjectRequestValidationError) ErrorName() string
ErrorName returns error name.
func (EnableProjectRequestValidationError) Field ¶
func (e EnableProjectRequestValidationError) Field() string
Field function returns field value.
func (EnableProjectRequestValidationError) Key ¶
func (e EnableProjectRequestValidationError) Key() bool
Key function returns key value.
func (EnableProjectRequestValidationError) Reason ¶
func (e EnableProjectRequestValidationError) Reason() string
Reason function returns reason value.
type EnableProjectResponse ¶
type EnableProjectResponse struct {
// contains filtered or unexported fields
}
func (*EnableProjectResponse) Descriptor
deprecated
func (*EnableProjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use EnableProjectResponse.ProtoReflect.Descriptor instead.
func (*EnableProjectResponse) ProtoMessage ¶
func (*EnableProjectResponse) ProtoMessage()
func (*EnableProjectResponse) ProtoReflect ¶
func (x *EnableProjectResponse) ProtoReflect() protoreflect.Message
func (*EnableProjectResponse) Reset ¶
func (x *EnableProjectResponse) Reset()
func (*EnableProjectResponse) String ¶
func (x *EnableProjectResponse) String() string
func (*EnableProjectResponse) Validate ¶
func (m *EnableProjectResponse) Validate() error
Validate checks the field values on EnableProjectResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*EnableProjectResponse) ValidateAll ¶
func (m *EnableProjectResponse) ValidateAll() error
ValidateAll checks the field values on EnableProjectResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EnableProjectResponseMultiError, or nil if none found.
type EnableProjectResponseMultiError ¶
type EnableProjectResponseMultiError []error
EnableProjectResponseMultiError is an error wrapping multiple validation errors returned by EnableProjectResponse.ValidateAll() if the designated constraints aren't met.
func (EnableProjectResponseMultiError) AllErrors ¶
func (m EnableProjectResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EnableProjectResponseMultiError) Error ¶
func (m EnableProjectResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EnableProjectResponseValidationError ¶
type EnableProjectResponseValidationError struct {
// contains filtered or unexported fields
}
EnableProjectResponseValidationError is the validation error returned by EnableProjectResponse.Validate if the designated constraints aren't met.
func (EnableProjectResponseValidationError) Cause ¶
func (e EnableProjectResponseValidationError) Cause() error
Cause function returns cause value.
func (EnableProjectResponseValidationError) Error ¶
func (e EnableProjectResponseValidationError) Error() string
Error satisfies the builtin error interface
func (EnableProjectResponseValidationError) ErrorName ¶
func (e EnableProjectResponseValidationError) ErrorName() string
ErrorName returns error name.
func (EnableProjectResponseValidationError) Field ¶
func (e EnableProjectResponseValidationError) Field() string
Field function returns field value.
func (EnableProjectResponseValidationError) Key ¶
func (e EnableProjectResponseValidationError) Key() bool
Key function returns key value.
func (EnableProjectResponseValidationError) Reason ¶
func (e EnableProjectResponseValidationError) Reason() string
Reason function returns reason value.
type GitClient ¶
type GitClient interface { // EnableProject 开启项目,开启后可以在项目列表看到 EnableProject(ctx context.Context, in *EnableProjectRequest, opts ...grpc.CallOption) (*EnableProjectResponse, error) // DisableProject 关闭项目 DisableProject(ctx context.Context, in *DisableProjectRequest, opts ...grpc.CallOption) (*DisableProjectResponse, error) // All 获取所有的 git 项目 All(ctx context.Context, in *AllRequest, opts ...grpc.CallOption) (*AllResponse, error) // ProjectOptions 获取项目信息, 用在级联列表 ProjectOptions(ctx context.Context, in *ProjectOptionsRequest, opts ...grpc.CallOption) (*ProjectOptionsResponse, error) // BranchOptions 获取分支信息, 用在级联列表 BranchOptions(ctx context.Context, in *BranchOptionsRequest, opts ...grpc.CallOption) (*BranchOptionsResponse, error) // CommitOptions 获取commit信息, 用在级联列表 CommitOptions(ctx context.Context, in *CommitOptionsRequest, opts ...grpc.CallOption) (*CommitOptionsResponse, error) // Commit 获取 commit 详情 Commit(ctx context.Context, in *CommitRequest, opts ...grpc.CallOption) (*CommitResponse, error) // PipelineInfo 获取 pipeline 详情 PipelineInfo(ctx context.Context, in *PipelineInfoRequest, opts ...grpc.CallOption) (*PipelineInfoResponse, error) // MarsConfigFile 获取项目 mars 配置详情 MarsConfigFile(ctx context.Context, in *MarsConfigFileRequest, opts ...grpc.CallOption) (*MarsConfigFileResponse, error) }
GitClient is the client API for Git service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewGitClient ¶
func NewGitClient(cc grpc.ClientConnInterface) GitClient
type GitServer ¶
type GitServer interface { // EnableProject 开启项目,开启后可以在项目列表看到 EnableProject(context.Context, *EnableProjectRequest) (*EnableProjectResponse, error) // DisableProject 关闭项目 DisableProject(context.Context, *DisableProjectRequest) (*DisableProjectResponse, error) // All 获取所有的 git 项目 All(context.Context, *AllRequest) (*AllResponse, error) // ProjectOptions 获取项目信息, 用在级联列表 ProjectOptions(context.Context, *ProjectOptionsRequest) (*ProjectOptionsResponse, error) // BranchOptions 获取分支信息, 用在级联列表 BranchOptions(context.Context, *BranchOptionsRequest) (*BranchOptionsResponse, error) // CommitOptions 获取commit信息, 用在级联列表 CommitOptions(context.Context, *CommitOptionsRequest) (*CommitOptionsResponse, error) // Commit 获取 commit 详情 Commit(context.Context, *CommitRequest) (*CommitResponse, error) // PipelineInfo 获取 pipeline 详情 PipelineInfo(context.Context, *PipelineInfoRequest) (*PipelineInfoResponse, error) // MarsConfigFile 获取项目 mars 配置详情 MarsConfigFile(context.Context, *MarsConfigFileRequest) (*MarsConfigFileResponse, error) // contains filtered or unexported methods }
GitServer is the server API for Git service. All implementations must embed UnimplementedGitServer for forward compatibility
type MarsConfigFileRequest ¶
type MarsConfigFileRequest struct { GitProjectId string `protobuf:"bytes,1,opt,name=git_project_id,json=gitProjectId,proto3" json:"git_project_id,omitempty"` Branch string `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"` // contains filtered or unexported fields }
func (*MarsConfigFileRequest) Descriptor
deprecated
func (*MarsConfigFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use MarsConfigFileRequest.ProtoReflect.Descriptor instead.
func (*MarsConfigFileRequest) GetBranch ¶
func (x *MarsConfigFileRequest) GetBranch() string
func (*MarsConfigFileRequest) GetGitProjectId ¶
func (x *MarsConfigFileRequest) GetGitProjectId() string
func (*MarsConfigFileRequest) ProtoMessage ¶
func (*MarsConfigFileRequest) ProtoMessage()
func (*MarsConfigFileRequest) ProtoReflect ¶
func (x *MarsConfigFileRequest) ProtoReflect() protoreflect.Message
func (*MarsConfigFileRequest) Reset ¶
func (x *MarsConfigFileRequest) Reset()
func (*MarsConfigFileRequest) String ¶
func (x *MarsConfigFileRequest) String() string
func (*MarsConfigFileRequest) Validate ¶
func (m *MarsConfigFileRequest) Validate() error
Validate checks the field values on MarsConfigFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MarsConfigFileRequest) ValidateAll ¶
func (m *MarsConfigFileRequest) ValidateAll() error
ValidateAll checks the field values on MarsConfigFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MarsConfigFileRequestMultiError, or nil if none found.
type MarsConfigFileRequestMultiError ¶
type MarsConfigFileRequestMultiError []error
MarsConfigFileRequestMultiError is an error wrapping multiple validation errors returned by MarsConfigFileRequest.ValidateAll() if the designated constraints aren't met.
func (MarsConfigFileRequestMultiError) AllErrors ¶
func (m MarsConfigFileRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MarsConfigFileRequestMultiError) Error ¶
func (m MarsConfigFileRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MarsConfigFileRequestValidationError ¶
type MarsConfigFileRequestValidationError struct {
// contains filtered or unexported fields
}
MarsConfigFileRequestValidationError is the validation error returned by MarsConfigFileRequest.Validate if the designated constraints aren't met.
func (MarsConfigFileRequestValidationError) Cause ¶
func (e MarsConfigFileRequestValidationError) Cause() error
Cause function returns cause value.
func (MarsConfigFileRequestValidationError) Error ¶
func (e MarsConfigFileRequestValidationError) Error() string
Error satisfies the builtin error interface
func (MarsConfigFileRequestValidationError) ErrorName ¶
func (e MarsConfigFileRequestValidationError) ErrorName() string
ErrorName returns error name.
func (MarsConfigFileRequestValidationError) Field ¶
func (e MarsConfigFileRequestValidationError) Field() string
Field function returns field value.
func (MarsConfigFileRequestValidationError) Key ¶
func (e MarsConfigFileRequestValidationError) Key() bool
Key function returns key value.
func (MarsConfigFileRequestValidationError) Reason ¶
func (e MarsConfigFileRequestValidationError) Reason() string
Reason function returns reason value.
type MarsConfigFileResponse ¶
type MarsConfigFileResponse struct { Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Elements []*mars.Element `protobuf:"bytes,3,rep,name=elements,proto3" json:"elements,omitempty"` // contains filtered or unexported fields }
func (*MarsConfigFileResponse) Descriptor
deprecated
func (*MarsConfigFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use MarsConfigFileResponse.ProtoReflect.Descriptor instead.
func (*MarsConfigFileResponse) GetData ¶
func (x *MarsConfigFileResponse) GetData() string
func (*MarsConfigFileResponse) GetElements ¶
func (x *MarsConfigFileResponse) GetElements() []*mars.Element
func (*MarsConfigFileResponse) GetType ¶
func (x *MarsConfigFileResponse) GetType() string
func (*MarsConfigFileResponse) ProtoMessage ¶
func (*MarsConfigFileResponse) ProtoMessage()
func (*MarsConfigFileResponse) ProtoReflect ¶
func (x *MarsConfigFileResponse) ProtoReflect() protoreflect.Message
func (*MarsConfigFileResponse) Reset ¶
func (x *MarsConfigFileResponse) Reset()
func (*MarsConfigFileResponse) String ¶
func (x *MarsConfigFileResponse) String() string
func (*MarsConfigFileResponse) Validate ¶
func (m *MarsConfigFileResponse) Validate() error
Validate checks the field values on MarsConfigFileResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MarsConfigFileResponse) ValidateAll ¶
func (m *MarsConfigFileResponse) ValidateAll() error
ValidateAll checks the field values on MarsConfigFileResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MarsConfigFileResponseMultiError, or nil if none found.
type MarsConfigFileResponseMultiError ¶
type MarsConfigFileResponseMultiError []error
MarsConfigFileResponseMultiError is an error wrapping multiple validation errors returned by MarsConfigFileResponse.ValidateAll() if the designated constraints aren't met.
func (MarsConfigFileResponseMultiError) AllErrors ¶
func (m MarsConfigFileResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MarsConfigFileResponseMultiError) Error ¶
func (m MarsConfigFileResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MarsConfigFileResponseValidationError ¶
type MarsConfigFileResponseValidationError struct {
// contains filtered or unexported fields
}
MarsConfigFileResponseValidationError is the validation error returned by MarsConfigFileResponse.Validate if the designated constraints aren't met.
func (MarsConfigFileResponseValidationError) Cause ¶
func (e MarsConfigFileResponseValidationError) Cause() error
Cause function returns cause value.
func (MarsConfigFileResponseValidationError) Error ¶
func (e MarsConfigFileResponseValidationError) Error() string
Error satisfies the builtin error interface
func (MarsConfigFileResponseValidationError) ErrorName ¶
func (e MarsConfigFileResponseValidationError) ErrorName() string
ErrorName returns error name.
func (MarsConfigFileResponseValidationError) Field ¶
func (e MarsConfigFileResponseValidationError) Field() string
Field function returns field value.
func (MarsConfigFileResponseValidationError) Key ¶
func (e MarsConfigFileResponseValidationError) Key() bool
Key function returns key value.
func (MarsConfigFileResponseValidationError) Reason ¶
func (e MarsConfigFileResponseValidationError) Reason() string
Reason function returns reason value.
type Option ¶
type Option struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // isLeaf 兼容 antd IsLeaf bool `protobuf:"varint,4,opt,name=isLeaf,proto3" json:"isLeaf,omitempty"` GitProjectId string `protobuf:"bytes,5,opt,name=gitProjectId,proto3" json:"gitProjectId,omitempty"` Branch string `protobuf:"bytes,6,opt,name=branch,proto3" json:"branch,omitempty"` DisplayName string `protobuf:"bytes,7,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // contains filtered or unexported fields }
func (*Option) Descriptor
deprecated
func (*Option) GetDisplayName ¶
func (*Option) GetGitProjectId ¶
func (*Option) ProtoMessage ¶
func (*Option) ProtoMessage()
func (*Option) ProtoReflect ¶
func (x *Option) ProtoReflect() protoreflect.Message
func (*Option) Validate ¶
Validate checks the field values on Option with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Option) ValidateAll ¶
ValidateAll checks the field values on Option with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in OptionMultiError, or nil if none found.
type OptionMultiError ¶
type OptionMultiError []error
OptionMultiError is an error wrapping multiple validation errors returned by Option.ValidateAll() if the designated constraints aren't met.
func (OptionMultiError) AllErrors ¶
func (m OptionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (OptionMultiError) Error ¶
func (m OptionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type OptionValidationError ¶
type OptionValidationError struct {
// contains filtered or unexported fields
}
OptionValidationError is the validation error returned by Option.Validate if the designated constraints aren't met.
func (OptionValidationError) Cause ¶
func (e OptionValidationError) Cause() error
Cause function returns cause value.
func (OptionValidationError) Error ¶
func (e OptionValidationError) Error() string
Error satisfies the builtin error interface
func (OptionValidationError) ErrorName ¶
func (e OptionValidationError) ErrorName() string
ErrorName returns error name.
func (OptionValidationError) Field ¶
func (e OptionValidationError) Field() string
Field function returns field value.
func (OptionValidationError) Key ¶
func (e OptionValidationError) Key() bool
Key function returns key value.
func (OptionValidationError) Reason ¶
func (e OptionValidationError) Reason() string
Reason function returns reason value.
type PipelineInfoRequest ¶
type PipelineInfoRequest struct { GitProjectId string `protobuf:"bytes,1,opt,name=git_project_id,json=gitProjectId,proto3" json:"git_project_id,omitempty"` Branch string `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"` Commit string `protobuf:"bytes,3,opt,name=commit,proto3" json:"commit,omitempty"` // contains filtered or unexported fields }
func (*PipelineInfoRequest) Descriptor
deprecated
func (*PipelineInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use PipelineInfoRequest.ProtoReflect.Descriptor instead.
func (*PipelineInfoRequest) GetBranch ¶
func (x *PipelineInfoRequest) GetBranch() string
func (*PipelineInfoRequest) GetCommit ¶
func (x *PipelineInfoRequest) GetCommit() string
func (*PipelineInfoRequest) GetGitProjectId ¶
func (x *PipelineInfoRequest) GetGitProjectId() string
func (*PipelineInfoRequest) ProtoMessage ¶
func (*PipelineInfoRequest) ProtoMessage()
func (*PipelineInfoRequest) ProtoReflect ¶
func (x *PipelineInfoRequest) ProtoReflect() protoreflect.Message
func (*PipelineInfoRequest) Reset ¶
func (x *PipelineInfoRequest) Reset()
func (*PipelineInfoRequest) String ¶
func (x *PipelineInfoRequest) String() string
func (*PipelineInfoRequest) Validate ¶
func (m *PipelineInfoRequest) Validate() error
Validate checks the field values on PipelineInfoRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PipelineInfoRequest) ValidateAll ¶
func (m *PipelineInfoRequest) ValidateAll() error
ValidateAll checks the field values on PipelineInfoRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PipelineInfoRequestMultiError, or nil if none found.
type PipelineInfoRequestMultiError ¶
type PipelineInfoRequestMultiError []error
PipelineInfoRequestMultiError is an error wrapping multiple validation errors returned by PipelineInfoRequest.ValidateAll() if the designated constraints aren't met.
func (PipelineInfoRequestMultiError) AllErrors ¶
func (m PipelineInfoRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PipelineInfoRequestMultiError) Error ¶
func (m PipelineInfoRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PipelineInfoRequestValidationError ¶
type PipelineInfoRequestValidationError struct {
// contains filtered or unexported fields
}
PipelineInfoRequestValidationError is the validation error returned by PipelineInfoRequest.Validate if the designated constraints aren't met.
func (PipelineInfoRequestValidationError) Cause ¶
func (e PipelineInfoRequestValidationError) Cause() error
Cause function returns cause value.
func (PipelineInfoRequestValidationError) Error ¶
func (e PipelineInfoRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PipelineInfoRequestValidationError) ErrorName ¶
func (e PipelineInfoRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PipelineInfoRequestValidationError) Field ¶
func (e PipelineInfoRequestValidationError) Field() string
Field function returns field value.
func (PipelineInfoRequestValidationError) Key ¶
func (e PipelineInfoRequestValidationError) Key() bool
Key function returns key value.
func (PipelineInfoRequestValidationError) Reason ¶
func (e PipelineInfoRequestValidationError) Reason() string
Reason function returns reason value.
type PipelineInfoResponse ¶
type PipelineInfoResponse struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` WebUrl string `protobuf:"bytes,2,opt,name=web_url,json=webUrl,proto3" json:"web_url,omitempty"` // contains filtered or unexported fields }
func (*PipelineInfoResponse) Descriptor
deprecated
func (*PipelineInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use PipelineInfoResponse.ProtoReflect.Descriptor instead.
func (*PipelineInfoResponse) GetStatus ¶
func (x *PipelineInfoResponse) GetStatus() string
func (*PipelineInfoResponse) GetWebUrl ¶
func (x *PipelineInfoResponse) GetWebUrl() string
func (*PipelineInfoResponse) ProtoMessage ¶
func (*PipelineInfoResponse) ProtoMessage()
func (*PipelineInfoResponse) ProtoReflect ¶
func (x *PipelineInfoResponse) ProtoReflect() protoreflect.Message
func (*PipelineInfoResponse) Reset ¶
func (x *PipelineInfoResponse) Reset()
func (*PipelineInfoResponse) String ¶
func (x *PipelineInfoResponse) String() string
func (*PipelineInfoResponse) Validate ¶
func (m *PipelineInfoResponse) Validate() error
Validate checks the field values on PipelineInfoResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PipelineInfoResponse) ValidateAll ¶
func (m *PipelineInfoResponse) ValidateAll() error
ValidateAll checks the field values on PipelineInfoResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PipelineInfoResponseMultiError, or nil if none found.
type PipelineInfoResponseMultiError ¶
type PipelineInfoResponseMultiError []error
PipelineInfoResponseMultiError is an error wrapping multiple validation errors returned by PipelineInfoResponse.ValidateAll() if the designated constraints aren't met.
func (PipelineInfoResponseMultiError) AllErrors ¶
func (m PipelineInfoResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PipelineInfoResponseMultiError) Error ¶
func (m PipelineInfoResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PipelineInfoResponseValidationError ¶
type PipelineInfoResponseValidationError struct {
// contains filtered or unexported fields
}
PipelineInfoResponseValidationError is the validation error returned by PipelineInfoResponse.Validate if the designated constraints aren't met.
func (PipelineInfoResponseValidationError) Cause ¶
func (e PipelineInfoResponseValidationError) Cause() error
Cause function returns cause value.
func (PipelineInfoResponseValidationError) Error ¶
func (e PipelineInfoResponseValidationError) Error() string
Error satisfies the builtin error interface
func (PipelineInfoResponseValidationError) ErrorName ¶
func (e PipelineInfoResponseValidationError) ErrorName() string
ErrorName returns error name.
func (PipelineInfoResponseValidationError) Field ¶
func (e PipelineInfoResponseValidationError) Field() string
Field function returns field value.
func (PipelineInfoResponseValidationError) Key ¶
func (e PipelineInfoResponseValidationError) Key() bool
Key function returns key value.
func (PipelineInfoResponseValidationError) Reason ¶
func (e PipelineInfoResponseValidationError) Reason() string
Reason function returns reason value.
type ProjectItem ¶
type ProjectItem struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` WebUrl string `protobuf:"bytes,4,opt,name=web_url,json=webUrl,proto3" json:"web_url,omitempty"` AvatarUrl string `protobuf:"bytes,5,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` Enabled bool `protobuf:"varint,7,opt,name=enabled,proto3" json:"enabled,omitempty"` GlobalEnabled bool `protobuf:"varint,8,opt,name=global_enabled,json=globalEnabled,proto3" json:"global_enabled,omitempty"` DisplayName string `protobuf:"bytes,9,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // contains filtered or unexported fields }
func (*ProjectItem) Descriptor
deprecated
func (*ProjectItem) Descriptor() ([]byte, []int)
Deprecated: Use ProjectItem.ProtoReflect.Descriptor instead.
func (*ProjectItem) GetAvatarUrl ¶
func (x *ProjectItem) GetAvatarUrl() string
func (*ProjectItem) GetDescription ¶
func (x *ProjectItem) GetDescription() string
func (*ProjectItem) GetDisplayName ¶
func (x *ProjectItem) GetDisplayName() string
func (*ProjectItem) GetEnabled ¶
func (x *ProjectItem) GetEnabled() bool
func (*ProjectItem) GetGlobalEnabled ¶
func (x *ProjectItem) GetGlobalEnabled() bool
func (*ProjectItem) GetId ¶
func (x *ProjectItem) GetId() int64
func (*ProjectItem) GetName ¶
func (x *ProjectItem) GetName() string
func (*ProjectItem) GetPath ¶
func (x *ProjectItem) GetPath() string
func (*ProjectItem) GetWebUrl ¶
func (x *ProjectItem) GetWebUrl() string
func (*ProjectItem) ProtoMessage ¶
func (*ProjectItem) ProtoMessage()
func (*ProjectItem) ProtoReflect ¶
func (x *ProjectItem) ProtoReflect() protoreflect.Message
func (*ProjectItem) Reset ¶
func (x *ProjectItem) Reset()
func (*ProjectItem) String ¶
func (x *ProjectItem) String() string
func (*ProjectItem) Validate ¶
func (m *ProjectItem) Validate() error
Validate checks the field values on ProjectItem with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ProjectItem) ValidateAll ¶
func (m *ProjectItem) ValidateAll() error
ValidateAll checks the field values on ProjectItem with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ProjectItemMultiError, or nil if none found.
type ProjectItemMultiError ¶
type ProjectItemMultiError []error
ProjectItemMultiError is an error wrapping multiple validation errors returned by ProjectItem.ValidateAll() if the designated constraints aren't met.
func (ProjectItemMultiError) AllErrors ¶
func (m ProjectItemMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProjectItemMultiError) Error ¶
func (m ProjectItemMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProjectItemValidationError ¶
type ProjectItemValidationError struct {
// contains filtered or unexported fields
}
ProjectItemValidationError is the validation error returned by ProjectItem.Validate if the designated constraints aren't met.
func (ProjectItemValidationError) Cause ¶
func (e ProjectItemValidationError) Cause() error
Cause function returns cause value.
func (ProjectItemValidationError) Error ¶
func (e ProjectItemValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectItemValidationError) ErrorName ¶
func (e ProjectItemValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectItemValidationError) Field ¶
func (e ProjectItemValidationError) Field() string
Field function returns field value.
func (ProjectItemValidationError) Key ¶
func (e ProjectItemValidationError) Key() bool
Key function returns key value.
func (ProjectItemValidationError) Reason ¶
func (e ProjectItemValidationError) Reason() string
Reason function returns reason value.
type ProjectOptionsRequest ¶
type ProjectOptionsRequest struct {
// contains filtered or unexported fields
}
func (*ProjectOptionsRequest) Descriptor
deprecated
func (*ProjectOptionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProjectOptionsRequest.ProtoReflect.Descriptor instead.
func (*ProjectOptionsRequest) ProtoMessage ¶
func (*ProjectOptionsRequest) ProtoMessage()
func (*ProjectOptionsRequest) ProtoReflect ¶
func (x *ProjectOptionsRequest) ProtoReflect() protoreflect.Message
func (*ProjectOptionsRequest) Reset ¶
func (x *ProjectOptionsRequest) Reset()
func (*ProjectOptionsRequest) String ¶
func (x *ProjectOptionsRequest) String() string
func (*ProjectOptionsRequest) Validate ¶
func (m *ProjectOptionsRequest) Validate() error
Validate checks the field values on ProjectOptionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ProjectOptionsRequest) ValidateAll ¶
func (m *ProjectOptionsRequest) ValidateAll() error
ValidateAll checks the field values on ProjectOptionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ProjectOptionsRequestMultiError, or nil if none found.
type ProjectOptionsRequestMultiError ¶
type ProjectOptionsRequestMultiError []error
ProjectOptionsRequestMultiError is an error wrapping multiple validation errors returned by ProjectOptionsRequest.ValidateAll() if the designated constraints aren't met.
func (ProjectOptionsRequestMultiError) AllErrors ¶
func (m ProjectOptionsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProjectOptionsRequestMultiError) Error ¶
func (m ProjectOptionsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProjectOptionsRequestValidationError ¶
type ProjectOptionsRequestValidationError struct {
// contains filtered or unexported fields
}
ProjectOptionsRequestValidationError is the validation error returned by ProjectOptionsRequest.Validate if the designated constraints aren't met.
func (ProjectOptionsRequestValidationError) Cause ¶
func (e ProjectOptionsRequestValidationError) Cause() error
Cause function returns cause value.
func (ProjectOptionsRequestValidationError) Error ¶
func (e ProjectOptionsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectOptionsRequestValidationError) ErrorName ¶
func (e ProjectOptionsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectOptionsRequestValidationError) Field ¶
func (e ProjectOptionsRequestValidationError) Field() string
Field function returns field value.
func (ProjectOptionsRequestValidationError) Key ¶
func (e ProjectOptionsRequestValidationError) Key() bool
Key function returns key value.
func (ProjectOptionsRequestValidationError) Reason ¶
func (e ProjectOptionsRequestValidationError) Reason() string
Reason function returns reason value.
type ProjectOptionsResponse ¶
type ProjectOptionsResponse struct { Items []*Option `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ProjectOptionsResponse) Descriptor
deprecated
func (*ProjectOptionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProjectOptionsResponse.ProtoReflect.Descriptor instead.
func (*ProjectOptionsResponse) GetItems ¶
func (x *ProjectOptionsResponse) GetItems() []*Option
func (*ProjectOptionsResponse) ProtoMessage ¶
func (*ProjectOptionsResponse) ProtoMessage()
func (*ProjectOptionsResponse) ProtoReflect ¶
func (x *ProjectOptionsResponse) ProtoReflect() protoreflect.Message
func (*ProjectOptionsResponse) Reset ¶
func (x *ProjectOptionsResponse) Reset()
func (*ProjectOptionsResponse) String ¶
func (x *ProjectOptionsResponse) String() string
func (*ProjectOptionsResponse) Validate ¶
func (m *ProjectOptionsResponse) Validate() error
Validate checks the field values on ProjectOptionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ProjectOptionsResponse) ValidateAll ¶
func (m *ProjectOptionsResponse) ValidateAll() error
ValidateAll checks the field values on ProjectOptionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ProjectOptionsResponseMultiError, or nil if none found.
type ProjectOptionsResponseMultiError ¶
type ProjectOptionsResponseMultiError []error
ProjectOptionsResponseMultiError is an error wrapping multiple validation errors returned by ProjectOptionsResponse.ValidateAll() if the designated constraints aren't met.
func (ProjectOptionsResponseMultiError) AllErrors ¶
func (m ProjectOptionsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProjectOptionsResponseMultiError) Error ¶
func (m ProjectOptionsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProjectOptionsResponseValidationError ¶
type ProjectOptionsResponseValidationError struct {
// contains filtered or unexported fields
}
ProjectOptionsResponseValidationError is the validation error returned by ProjectOptionsResponse.Validate if the designated constraints aren't met.
func (ProjectOptionsResponseValidationError) Cause ¶
func (e ProjectOptionsResponseValidationError) Cause() error
Cause function returns cause value.
func (ProjectOptionsResponseValidationError) Error ¶
func (e ProjectOptionsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectOptionsResponseValidationError) ErrorName ¶
func (e ProjectOptionsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectOptionsResponseValidationError) Field ¶
func (e ProjectOptionsResponseValidationError) Field() string
Field function returns field value.
func (ProjectOptionsResponseValidationError) Key ¶
func (e ProjectOptionsResponseValidationError) Key() bool
Key function returns key value.
func (ProjectOptionsResponseValidationError) Reason ¶
func (e ProjectOptionsResponseValidationError) Reason() string
Reason function returns reason value.
type UnimplementedGitServer ¶
type UnimplementedGitServer struct { }
UnimplementedGitServer must be embedded to have forward compatible implementations.
func (UnimplementedGitServer) All ¶
func (UnimplementedGitServer) All(context.Context, *AllRequest) (*AllResponse, error)
func (UnimplementedGitServer) BranchOptions ¶
func (UnimplementedGitServer) BranchOptions(context.Context, *BranchOptionsRequest) (*BranchOptionsResponse, error)
func (UnimplementedGitServer) Commit ¶
func (UnimplementedGitServer) Commit(context.Context, *CommitRequest) (*CommitResponse, error)
func (UnimplementedGitServer) CommitOptions ¶
func (UnimplementedGitServer) CommitOptions(context.Context, *CommitOptionsRequest) (*CommitOptionsResponse, error)
func (UnimplementedGitServer) DisableProject ¶
func (UnimplementedGitServer) DisableProject(context.Context, *DisableProjectRequest) (*DisableProjectResponse, error)
func (UnimplementedGitServer) EnableProject ¶
func (UnimplementedGitServer) EnableProject(context.Context, *EnableProjectRequest) (*EnableProjectResponse, error)
func (UnimplementedGitServer) MarsConfigFile ¶
func (UnimplementedGitServer) MarsConfigFile(context.Context, *MarsConfigFileRequest) (*MarsConfigFileResponse, error)
func (UnimplementedGitServer) PipelineInfo ¶
func (UnimplementedGitServer) PipelineInfo(context.Context, *PipelineInfoRequest) (*PipelineInfoResponse, error)
func (UnimplementedGitServer) ProjectOptions ¶
func (UnimplementedGitServer) ProjectOptions(context.Context, *ProjectOptionsRequest) (*ProjectOptionsResponse, error)
type UnsafeGitServer ¶
type UnsafeGitServer interface {
// contains filtered or unexported methods
}
UnsafeGitServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GitServer will result in compilation errors.