Documentation ¶
Overview ¶
Package gitserver is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterGitServerHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterGitServerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client GitServerClient) error
- func RegisterGitServerHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterGitServerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server GitServerServer) error
- func RegisterGitServerServer(s grpc.ServiceRegistrar, srv GitServerServer)
- type GitAllProjectsRequest
- func (*GitAllProjectsRequest) Descriptor() ([]byte, []int)deprecated
- func (*GitAllProjectsRequest) ProtoMessage()
- func (x *GitAllProjectsRequest) ProtoReflect() protoreflect.Message
- func (x *GitAllProjectsRequest) Reset()
- func (x *GitAllProjectsRequest) String() string
- func (m *GitAllProjectsRequest) Validate() error
- func (m *GitAllProjectsRequest) ValidateAll() error
- type GitAllProjectsRequestMultiError
- type GitAllProjectsRequestValidationError
- func (e GitAllProjectsRequestValidationError) Cause() error
- func (e GitAllProjectsRequestValidationError) Error() string
- func (e GitAllProjectsRequestValidationError) ErrorName() string
- func (e GitAllProjectsRequestValidationError) Field() string
- func (e GitAllProjectsRequestValidationError) Key() bool
- func (e GitAllProjectsRequestValidationError) Reason() string
- type GitAllProjectsResponse
- func (*GitAllProjectsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GitAllProjectsResponse) GetData() []*GitProjectItem
- func (*GitAllProjectsResponse) ProtoMessage()
- func (x *GitAllProjectsResponse) ProtoReflect() protoreflect.Message
- func (x *GitAllProjectsResponse) Reset()
- func (x *GitAllProjectsResponse) String() string
- func (m *GitAllProjectsResponse) Validate() error
- func (m *GitAllProjectsResponse) ValidateAll() error
- type GitAllProjectsResponseMultiError
- type GitAllProjectsResponseValidationError
- func (e GitAllProjectsResponseValidationError) Cause() error
- func (e GitAllProjectsResponseValidationError) Error() string
- func (e GitAllProjectsResponseValidationError) ErrorName() string
- func (e GitAllProjectsResponseValidationError) Field() string
- func (e GitAllProjectsResponseValidationError) Key() bool
- func (e GitAllProjectsResponseValidationError) Reason() string
- type GitBranchOptionsRequest
- func (*GitBranchOptionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GitBranchOptionsRequest) GetAll() bool
- func (x *GitBranchOptionsRequest) GetProjectId() string
- func (*GitBranchOptionsRequest) ProtoMessage()
- func (x *GitBranchOptionsRequest) ProtoReflect() protoreflect.Message
- func (x *GitBranchOptionsRequest) Reset()
- func (x *GitBranchOptionsRequest) String() string
- func (m *GitBranchOptionsRequest) Validate() error
- func (m *GitBranchOptionsRequest) ValidateAll() error
- type GitBranchOptionsRequestMultiError
- type GitBranchOptionsRequestValidationError
- func (e GitBranchOptionsRequestValidationError) Cause() error
- func (e GitBranchOptionsRequestValidationError) Error() string
- func (e GitBranchOptionsRequestValidationError) ErrorName() string
- func (e GitBranchOptionsRequestValidationError) Field() string
- func (e GitBranchOptionsRequestValidationError) Key() bool
- func (e GitBranchOptionsRequestValidationError) Reason() string
- type GitBranchOptionsResponse
- func (*GitBranchOptionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GitBranchOptionsResponse) GetData() []*GitOption
- func (*GitBranchOptionsResponse) ProtoMessage()
- func (x *GitBranchOptionsResponse) ProtoReflect() protoreflect.Message
- func (x *GitBranchOptionsResponse) Reset()
- func (x *GitBranchOptionsResponse) String() string
- func (m *GitBranchOptionsResponse) Validate() error
- func (m *GitBranchOptionsResponse) ValidateAll() error
- type GitBranchOptionsResponseMultiError
- type GitBranchOptionsResponseValidationError
- func (e GitBranchOptionsResponseValidationError) Cause() error
- func (e GitBranchOptionsResponseValidationError) Error() string
- func (e GitBranchOptionsResponseValidationError) ErrorName() string
- func (e GitBranchOptionsResponseValidationError) Field() string
- func (e GitBranchOptionsResponseValidationError) Key() bool
- func (e GitBranchOptionsResponseValidationError) Reason() string
- type GitCommitOptionsRequest
- func (*GitCommitOptionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GitCommitOptionsRequest) GetBranch() string
- func (x *GitCommitOptionsRequest) GetProjectId() string
- func (*GitCommitOptionsRequest) ProtoMessage()
- func (x *GitCommitOptionsRequest) ProtoReflect() protoreflect.Message
- func (x *GitCommitOptionsRequest) Reset()
- func (x *GitCommitOptionsRequest) String() string
- func (m *GitCommitOptionsRequest) Validate() error
- func (m *GitCommitOptionsRequest) ValidateAll() error
- type GitCommitOptionsRequestMultiError
- type GitCommitOptionsRequestValidationError
- func (e GitCommitOptionsRequestValidationError) Cause() error
- func (e GitCommitOptionsRequestValidationError) Error() string
- func (e GitCommitOptionsRequestValidationError) ErrorName() string
- func (e GitCommitOptionsRequestValidationError) Field() string
- func (e GitCommitOptionsRequestValidationError) Key() bool
- func (e GitCommitOptionsRequestValidationError) Reason() string
- type GitCommitOptionsResponse
- func (*GitCommitOptionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GitCommitOptionsResponse) GetData() []*GitOption
- func (*GitCommitOptionsResponse) ProtoMessage()
- func (x *GitCommitOptionsResponse) ProtoReflect() protoreflect.Message
- func (x *GitCommitOptionsResponse) Reset()
- func (x *GitCommitOptionsResponse) String() string
- func (m *GitCommitOptionsResponse) Validate() error
- func (m *GitCommitOptionsResponse) ValidateAll() error
- type GitCommitOptionsResponseMultiError
- type GitCommitOptionsResponseValidationError
- func (e GitCommitOptionsResponseValidationError) Cause() error
- func (e GitCommitOptionsResponseValidationError) Error() string
- func (e GitCommitOptionsResponseValidationError) ErrorName() string
- func (e GitCommitOptionsResponseValidationError) Field() string
- func (e GitCommitOptionsResponseValidationError) Key() bool
- func (e GitCommitOptionsResponseValidationError) Reason() string
- type GitCommitRequest
- func (*GitCommitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GitCommitRequest) GetBranch() string
- func (x *GitCommitRequest) GetCommit() string
- func (x *GitCommitRequest) GetProjectId() string
- func (*GitCommitRequest) ProtoMessage()
- func (x *GitCommitRequest) ProtoReflect() protoreflect.Message
- func (x *GitCommitRequest) Reset()
- func (x *GitCommitRequest) String() string
- func (m *GitCommitRequest) Validate() error
- func (m *GitCommitRequest) ValidateAll() error
- type GitCommitRequestMultiError
- type GitCommitRequestValidationError
- func (e GitCommitRequestValidationError) Cause() error
- func (e GitCommitRequestValidationError) Error() string
- func (e GitCommitRequestValidationError) ErrorName() string
- func (e GitCommitRequestValidationError) Field() string
- func (e GitCommitRequestValidationError) Key() bool
- func (e GitCommitRequestValidationError) Reason() string
- type GitCommitResponse
- func (*GitCommitResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GitCommitResponse) GetData() *GitOption
- func (*GitCommitResponse) ProtoMessage()
- func (x *GitCommitResponse) ProtoReflect() protoreflect.Message
- func (x *GitCommitResponse) Reset()
- func (x *GitCommitResponse) String() string
- func (m *GitCommitResponse) Validate() error
- func (m *GitCommitResponse) ValidateAll() error
- type GitCommitResponseMultiError
- type GitCommitResponseValidationError
- func (e GitCommitResponseValidationError) Cause() error
- func (e GitCommitResponseValidationError) Error() string
- func (e GitCommitResponseValidationError) ErrorName() string
- func (e GitCommitResponseValidationError) Field() string
- func (e GitCommitResponseValidationError) Key() bool
- func (e GitCommitResponseValidationError) Reason() string
- type GitConfigFileRequest
- func (*GitConfigFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GitConfigFileRequest) GetBranch() string
- func (x *GitConfigFileRequest) GetProjectId() string
- func (*GitConfigFileRequest) ProtoMessage()
- func (x *GitConfigFileRequest) ProtoReflect() protoreflect.Message
- func (x *GitConfigFileRequest) Reset()
- func (x *GitConfigFileRequest) String() string
- func (m *GitConfigFileRequest) Validate() error
- func (m *GitConfigFileRequest) ValidateAll() error
- type GitConfigFileRequestMultiError
- type GitConfigFileRequestValidationError
- func (e GitConfigFileRequestValidationError) Cause() error
- func (e GitConfigFileRequestValidationError) Error() string
- func (e GitConfigFileRequestValidationError) ErrorName() string
- func (e GitConfigFileRequestValidationError) Field() string
- func (e GitConfigFileRequestValidationError) Key() bool
- func (e GitConfigFileRequestValidationError) Reason() string
- type GitConfigFileResponse
- func (*GitConfigFileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GitConfigFileResponse) GetData() string
- func (x *GitConfigFileResponse) GetElements() []*mars.Element
- func (x *GitConfigFileResponse) GetType() string
- func (*GitConfigFileResponse) ProtoMessage()
- func (x *GitConfigFileResponse) ProtoReflect() protoreflect.Message
- func (x *GitConfigFileResponse) Reset()
- func (x *GitConfigFileResponse) String() string
- func (m *GitConfigFileResponse) Validate() error
- func (m *GitConfigFileResponse) ValidateAll() error
- type GitConfigFileResponseMultiError
- type GitConfigFileResponseValidationError
- func (e GitConfigFileResponseValidationError) Cause() error
- func (e GitConfigFileResponseValidationError) Error() string
- func (e GitConfigFileResponseValidationError) ErrorName() string
- func (e GitConfigFileResponseValidationError) Field() string
- func (e GitConfigFileResponseValidationError) Key() bool
- func (e GitConfigFileResponseValidationError) Reason() string
- type GitDestroyRequest
- func (*GitDestroyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GitDestroyRequest) GetNamespaceId() string
- func (x *GitDestroyRequest) GetProjectId() string
- func (*GitDestroyRequest) ProtoMessage()
- func (x *GitDestroyRequest) ProtoReflect() protoreflect.Message
- func (x *GitDestroyRequest) Reset()
- func (x *GitDestroyRequest) String() string
- func (m *GitDestroyRequest) Validate() error
- func (m *GitDestroyRequest) ValidateAll() error
- type GitDestroyRequestMultiError
- type GitDestroyRequestValidationError
- func (e GitDestroyRequestValidationError) Cause() error
- func (e GitDestroyRequestValidationError) Error() string
- func (e GitDestroyRequestValidationError) ErrorName() string
- func (e GitDestroyRequestValidationError) Field() string
- func (e GitDestroyRequestValidationError) Key() bool
- func (e GitDestroyRequestValidationError) Reason() string
- type GitDisableProjectRequest
- func (*GitDisableProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GitDisableProjectRequest) GetGitProjectId() string
- func (*GitDisableProjectRequest) ProtoMessage()
- func (x *GitDisableProjectRequest) ProtoReflect() protoreflect.Message
- func (x *GitDisableProjectRequest) Reset()
- func (x *GitDisableProjectRequest) String() string
- func (m *GitDisableProjectRequest) Validate() error
- func (m *GitDisableProjectRequest) ValidateAll() error
- type GitDisableProjectRequestMultiError
- type GitDisableProjectRequestValidationError
- func (e GitDisableProjectRequestValidationError) Cause() error
- func (e GitDisableProjectRequestValidationError) Error() string
- func (e GitDisableProjectRequestValidationError) ErrorName() string
- func (e GitDisableProjectRequestValidationError) Field() string
- func (e GitDisableProjectRequestValidationError) Key() bool
- func (e GitDisableProjectRequestValidationError) Reason() string
- type GitDisableProjectResponse
- func (*GitDisableProjectResponse) Descriptor() ([]byte, []int)deprecated
- func (*GitDisableProjectResponse) ProtoMessage()
- func (x *GitDisableProjectResponse) ProtoReflect() protoreflect.Message
- func (x *GitDisableProjectResponse) Reset()
- func (x *GitDisableProjectResponse) String() string
- func (m *GitDisableProjectResponse) Validate() error
- func (m *GitDisableProjectResponse) ValidateAll() error
- type GitDisableProjectResponseMultiError
- type GitDisableProjectResponseValidationError
- func (e GitDisableProjectResponseValidationError) Cause() error
- func (e GitDisableProjectResponseValidationError) Error() string
- func (e GitDisableProjectResponseValidationError) ErrorName() string
- func (e GitDisableProjectResponseValidationError) Field() string
- func (e GitDisableProjectResponseValidationError) Key() bool
- func (e GitDisableProjectResponseValidationError) Reason() string
- type GitEnableProjectRequest
- func (*GitEnableProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GitEnableProjectRequest) GetGitProjectId() string
- func (*GitEnableProjectRequest) ProtoMessage()
- func (x *GitEnableProjectRequest) ProtoReflect() protoreflect.Message
- func (x *GitEnableProjectRequest) Reset()
- func (x *GitEnableProjectRequest) String() string
- func (m *GitEnableProjectRequest) Validate() error
- func (m *GitEnableProjectRequest) ValidateAll() error
- type GitEnableProjectRequestMultiError
- type GitEnableProjectRequestValidationError
- func (e GitEnableProjectRequestValidationError) Cause() error
- func (e GitEnableProjectRequestValidationError) Error() string
- func (e GitEnableProjectRequestValidationError) ErrorName() string
- func (e GitEnableProjectRequestValidationError) Field() string
- func (e GitEnableProjectRequestValidationError) Key() bool
- func (e GitEnableProjectRequestValidationError) Reason() string
- type GitEnableProjectResponse
- func (*GitEnableProjectResponse) Descriptor() ([]byte, []int)deprecated
- func (*GitEnableProjectResponse) ProtoMessage()
- func (x *GitEnableProjectResponse) ProtoReflect() protoreflect.Message
- func (x *GitEnableProjectResponse) Reset()
- func (x *GitEnableProjectResponse) String() string
- func (m *GitEnableProjectResponse) Validate() error
- func (m *GitEnableProjectResponse) ValidateAll() error
- type GitEnableProjectResponseMultiError
- type GitEnableProjectResponseValidationError
- func (e GitEnableProjectResponseValidationError) Cause() error
- func (e GitEnableProjectResponseValidationError) Error() string
- func (e GitEnableProjectResponseValidationError) ErrorName() string
- func (e GitEnableProjectResponseValidationError) Field() string
- func (e GitEnableProjectResponseValidationError) Key() bool
- func (e GitEnableProjectResponseValidationError) Reason() string
- type GitOption
- func (*GitOption) Descriptor() ([]byte, []int)deprecated
- func (x *GitOption) GetBranch() string
- func (x *GitOption) GetIsLeaf() bool
- func (x *GitOption) GetLabel() string
- func (x *GitOption) GetProjectId() string
- func (x *GitOption) GetType() string
- func (x *GitOption) GetValue() string
- func (*GitOption) ProtoMessage()
- func (x *GitOption) ProtoReflect() protoreflect.Message
- func (x *GitOption) Reset()
- func (x *GitOption) String() string
- func (m *GitOption) Validate() error
- func (m *GitOption) ValidateAll() error
- type GitOptionMultiError
- type GitOptionValidationError
- type GitPipelineInfoRequest
- func (*GitPipelineInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GitPipelineInfoRequest) GetBranch() string
- func (x *GitPipelineInfoRequest) GetCommit() string
- func (x *GitPipelineInfoRequest) GetProjectId() string
- func (*GitPipelineInfoRequest) ProtoMessage()
- func (x *GitPipelineInfoRequest) ProtoReflect() protoreflect.Message
- func (x *GitPipelineInfoRequest) Reset()
- func (x *GitPipelineInfoRequest) String() string
- func (m *GitPipelineInfoRequest) Validate() error
- func (m *GitPipelineInfoRequest) ValidateAll() error
- type GitPipelineInfoRequestMultiError
- type GitPipelineInfoRequestValidationError
- func (e GitPipelineInfoRequestValidationError) Cause() error
- func (e GitPipelineInfoRequestValidationError) Error() string
- func (e GitPipelineInfoRequestValidationError) ErrorName() string
- func (e GitPipelineInfoRequestValidationError) Field() string
- func (e GitPipelineInfoRequestValidationError) Key() bool
- func (e GitPipelineInfoRequestValidationError) Reason() string
- type GitPipelineInfoResponse
- func (*GitPipelineInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GitPipelineInfoResponse) GetStatus() string
- func (x *GitPipelineInfoResponse) GetWebUrl() string
- func (*GitPipelineInfoResponse) ProtoMessage()
- func (x *GitPipelineInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GitPipelineInfoResponse) Reset()
- func (x *GitPipelineInfoResponse) String() string
- func (m *GitPipelineInfoResponse) Validate() error
- func (m *GitPipelineInfoResponse) ValidateAll() error
- type GitPipelineInfoResponseMultiError
- type GitPipelineInfoResponseValidationError
- func (e GitPipelineInfoResponseValidationError) Cause() error
- func (e GitPipelineInfoResponseValidationError) Error() string
- func (e GitPipelineInfoResponseValidationError) ErrorName() string
- func (e GitPipelineInfoResponseValidationError) Field() string
- func (e GitPipelineInfoResponseValidationError) Key() bool
- func (e GitPipelineInfoResponseValidationError) Reason() string
- type GitProjectItem
- func (*GitProjectItem) Descriptor() ([]byte, []int)deprecated
- func (x *GitProjectItem) GetAvatarUrl() string
- func (x *GitProjectItem) GetDescription() string
- func (x *GitProjectItem) GetEnabled() bool
- func (x *GitProjectItem) GetGlobalEnabled() bool
- func (x *GitProjectItem) GetId() int64
- func (x *GitProjectItem) GetName() string
- func (x *GitProjectItem) GetPath() string
- func (x *GitProjectItem) GetWebUrl() string
- func (*GitProjectItem) ProtoMessage()
- func (x *GitProjectItem) ProtoReflect() protoreflect.Message
- func (x *GitProjectItem) Reset()
- func (x *GitProjectItem) String() string
- func (m *GitProjectItem) Validate() error
- func (m *GitProjectItem) ValidateAll() error
- type GitProjectItemMultiError
- type GitProjectItemValidationError
- func (e GitProjectItemValidationError) Cause() error
- func (e GitProjectItemValidationError) Error() string
- func (e GitProjectItemValidationError) ErrorName() string
- func (e GitProjectItemValidationError) Field() string
- func (e GitProjectItemValidationError) Key() bool
- func (e GitProjectItemValidationError) Reason() string
- type GitProjectOptionsRequest
- func (*GitProjectOptionsRequest) Descriptor() ([]byte, []int)deprecated
- func (*GitProjectOptionsRequest) ProtoMessage()
- func (x *GitProjectOptionsRequest) ProtoReflect() protoreflect.Message
- func (x *GitProjectOptionsRequest) Reset()
- func (x *GitProjectOptionsRequest) String() string
- func (m *GitProjectOptionsRequest) Validate() error
- func (m *GitProjectOptionsRequest) ValidateAll() error
- type GitProjectOptionsRequestMultiError
- type GitProjectOptionsRequestValidationError
- func (e GitProjectOptionsRequestValidationError) Cause() error
- func (e GitProjectOptionsRequestValidationError) Error() string
- func (e GitProjectOptionsRequestValidationError) ErrorName() string
- func (e GitProjectOptionsRequestValidationError) Field() string
- func (e GitProjectOptionsRequestValidationError) Key() bool
- func (e GitProjectOptionsRequestValidationError) Reason() string
- type GitProjectOptionsResponse
- func (*GitProjectOptionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GitProjectOptionsResponse) GetData() []*GitOption
- func (*GitProjectOptionsResponse) ProtoMessage()
- func (x *GitProjectOptionsResponse) ProtoReflect() protoreflect.Message
- func (x *GitProjectOptionsResponse) Reset()
- func (x *GitProjectOptionsResponse) String() string
- func (m *GitProjectOptionsResponse) Validate() error
- func (m *GitProjectOptionsResponse) ValidateAll() error
- type GitProjectOptionsResponseMultiError
- type GitProjectOptionsResponseValidationError
- func (e GitProjectOptionsResponseValidationError) Cause() error
- func (e GitProjectOptionsResponseValidationError) Error() string
- func (e GitProjectOptionsResponseValidationError) ErrorName() string
- func (e GitProjectOptionsResponseValidationError) Field() string
- func (e GitProjectOptionsResponseValidationError) Key() bool
- func (e GitProjectOptionsResponseValidationError) Reason() string
- type GitServerClient
- type GitServerServer
- type UnimplementedGitServerServer
- func (UnimplementedGitServerServer) All(context.Context, *GitAllProjectsRequest) (*GitAllProjectsResponse, error)
- func (UnimplementedGitServerServer) BranchOptions(context.Context, *GitBranchOptionsRequest) (*GitBranchOptionsResponse, error)
- func (UnimplementedGitServerServer) Commit(context.Context, *GitCommitRequest) (*GitCommitResponse, error)
- func (UnimplementedGitServerServer) CommitOptions(context.Context, *GitCommitOptionsRequest) (*GitCommitOptionsResponse, error)
- func (UnimplementedGitServerServer) DisableProject(context.Context, *GitDisableProjectRequest) (*GitDisableProjectResponse, error)
- func (UnimplementedGitServerServer) EnableProject(context.Context, *GitEnableProjectRequest) (*GitEnableProjectResponse, error)
- func (UnimplementedGitServerServer) MarsConfigFile(context.Context, *GitConfigFileRequest) (*GitConfigFileResponse, error)
- func (UnimplementedGitServerServer) PipelineInfo(context.Context, *GitPipelineInfoRequest) (*GitPipelineInfoResponse, error)
- func (UnimplementedGitServerServer) ProjectOptions(context.Context, *GitProjectOptionsRequest) (*GitProjectOptionsResponse, error)
- type UnsafeGitServerServer
Constants ¶
This section is empty.
Variables ¶
var File_gitserver_gitserver_proto protoreflect.FileDescriptor
var GitServer_ServiceDesc = grpc.ServiceDesc{ ServiceName: "GitServer", HandlerType: (*GitServerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "EnableProject", Handler: _GitServer_EnableProject_Handler, }, { MethodName: "DisableProject", Handler: _GitServer_DisableProject_Handler, }, { MethodName: "All", Handler: _GitServer_All_Handler, }, { MethodName: "ProjectOptions", Handler: _GitServer_ProjectOptions_Handler, }, { MethodName: "BranchOptions", Handler: _GitServer_BranchOptions_Handler, }, { MethodName: "CommitOptions", Handler: _GitServer_CommitOptions_Handler, }, { MethodName: "Commit", Handler: _GitServer_Commit_Handler, }, { MethodName: "PipelineInfo", Handler: _GitServer_PipelineInfo_Handler, }, { MethodName: "MarsConfigFile", Handler: _GitServer_MarsConfigFile_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "gitserver/gitserver.proto", }
GitServer_ServiceDesc is the grpc.ServiceDesc for GitServer service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterGitServerHandler ¶
func RegisterGitServerHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterGitServerHandler registers the http handlers for service GitServer to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterGitServerHandlerClient ¶
func RegisterGitServerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client GitServerClient) error
RegisterGitServerHandlerClient registers the http handlers for service GitServer to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "GitServerClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "GitServerClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "GitServerClient" to call the correct interceptors.
func RegisterGitServerHandlerFromEndpoint ¶
func RegisterGitServerHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterGitServerHandlerFromEndpoint is same as RegisterGitServerHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterGitServerHandlerServer ¶
func RegisterGitServerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server GitServerServer) error
RegisterGitServerHandlerServer registers the http handlers for service GitServer to "mux". UnaryRPC :call GitServerServer 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 RegisterGitServerHandlerFromEndpoint instead.
func RegisterGitServerServer ¶
func RegisterGitServerServer(s grpc.ServiceRegistrar, srv GitServerServer)
Types ¶
type GitAllProjectsRequest ¶
type GitAllProjectsRequest struct {
// contains filtered or unexported fields
}
func (*GitAllProjectsRequest) Descriptor
deprecated
func (*GitAllProjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GitAllProjectsRequest.ProtoReflect.Descriptor instead.
func (*GitAllProjectsRequest) ProtoMessage ¶
func (*GitAllProjectsRequest) ProtoMessage()
func (*GitAllProjectsRequest) ProtoReflect ¶
func (x *GitAllProjectsRequest) ProtoReflect() protoreflect.Message
func (*GitAllProjectsRequest) Reset ¶
func (x *GitAllProjectsRequest) Reset()
func (*GitAllProjectsRequest) String ¶
func (x *GitAllProjectsRequest) String() string
func (*GitAllProjectsRequest) Validate ¶
func (m *GitAllProjectsRequest) Validate() error
Validate checks the field values on GitAllProjectsRequest 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 (*GitAllProjectsRequest) ValidateAll ¶
func (m *GitAllProjectsRequest) ValidateAll() error
ValidateAll checks the field values on GitAllProjectsRequest 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 GitAllProjectsRequestMultiError, or nil if none found.
type GitAllProjectsRequestMultiError ¶
type GitAllProjectsRequestMultiError []error
GitAllProjectsRequestMultiError is an error wrapping multiple validation errors returned by GitAllProjectsRequest.ValidateAll() if the designated constraints aren't met.
func (GitAllProjectsRequestMultiError) AllErrors ¶
func (m GitAllProjectsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GitAllProjectsRequestMultiError) Error ¶
func (m GitAllProjectsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GitAllProjectsRequestValidationError ¶
type GitAllProjectsRequestValidationError struct {
// contains filtered or unexported fields
}
GitAllProjectsRequestValidationError is the validation error returned by GitAllProjectsRequest.Validate if the designated constraints aren't met.
func (GitAllProjectsRequestValidationError) Cause ¶
func (e GitAllProjectsRequestValidationError) Cause() error
Cause function returns cause value.
func (GitAllProjectsRequestValidationError) Error ¶
func (e GitAllProjectsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GitAllProjectsRequestValidationError) ErrorName ¶
func (e GitAllProjectsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GitAllProjectsRequestValidationError) Field ¶
func (e GitAllProjectsRequestValidationError) Field() string
Field function returns field value.
func (GitAllProjectsRequestValidationError) Key ¶
func (e GitAllProjectsRequestValidationError) Key() bool
Key function returns key value.
func (GitAllProjectsRequestValidationError) Reason ¶
func (e GitAllProjectsRequestValidationError) Reason() string
Reason function returns reason value.
type GitAllProjectsResponse ¶
type GitAllProjectsResponse struct { Data []*GitProjectItem `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GitAllProjectsResponse) Descriptor
deprecated
func (*GitAllProjectsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GitAllProjectsResponse.ProtoReflect.Descriptor instead.
func (*GitAllProjectsResponse) GetData ¶
func (x *GitAllProjectsResponse) GetData() []*GitProjectItem
func (*GitAllProjectsResponse) ProtoMessage ¶
func (*GitAllProjectsResponse) ProtoMessage()
func (*GitAllProjectsResponse) ProtoReflect ¶
func (x *GitAllProjectsResponse) ProtoReflect() protoreflect.Message
func (*GitAllProjectsResponse) Reset ¶
func (x *GitAllProjectsResponse) Reset()
func (*GitAllProjectsResponse) String ¶
func (x *GitAllProjectsResponse) String() string
func (*GitAllProjectsResponse) Validate ¶
func (m *GitAllProjectsResponse) Validate() error
Validate checks the field values on GitAllProjectsResponse 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 (*GitAllProjectsResponse) ValidateAll ¶
func (m *GitAllProjectsResponse) ValidateAll() error
ValidateAll checks the field values on GitAllProjectsResponse 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 GitAllProjectsResponseMultiError, or nil if none found.
type GitAllProjectsResponseMultiError ¶
type GitAllProjectsResponseMultiError []error
GitAllProjectsResponseMultiError is an error wrapping multiple validation errors returned by GitAllProjectsResponse.ValidateAll() if the designated constraints aren't met.
func (GitAllProjectsResponseMultiError) AllErrors ¶
func (m GitAllProjectsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GitAllProjectsResponseMultiError) Error ¶
func (m GitAllProjectsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GitAllProjectsResponseValidationError ¶
type GitAllProjectsResponseValidationError struct {
// contains filtered or unexported fields
}
GitAllProjectsResponseValidationError is the validation error returned by GitAllProjectsResponse.Validate if the designated constraints aren't met.
func (GitAllProjectsResponseValidationError) Cause ¶
func (e GitAllProjectsResponseValidationError) Cause() error
Cause function returns cause value.
func (GitAllProjectsResponseValidationError) Error ¶
func (e GitAllProjectsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GitAllProjectsResponseValidationError) ErrorName ¶
func (e GitAllProjectsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GitAllProjectsResponseValidationError) Field ¶
func (e GitAllProjectsResponseValidationError) Field() string
Field function returns field value.
func (GitAllProjectsResponseValidationError) Key ¶
func (e GitAllProjectsResponseValidationError) Key() bool
Key function returns key value.
func (GitAllProjectsResponseValidationError) Reason ¶
func (e GitAllProjectsResponseValidationError) Reason() string
Reason function returns reason value.
type GitBranchOptionsRequest ¶
type GitBranchOptionsRequest struct { ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` All bool `protobuf:"varint,2,opt,name=all,proto3" json:"all,omitempty"` // contains filtered or unexported fields }
func (*GitBranchOptionsRequest) Descriptor
deprecated
func (*GitBranchOptionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GitBranchOptionsRequest.ProtoReflect.Descriptor instead.
func (*GitBranchOptionsRequest) GetAll ¶
func (x *GitBranchOptionsRequest) GetAll() bool
func (*GitBranchOptionsRequest) GetProjectId ¶
func (x *GitBranchOptionsRequest) GetProjectId() string
func (*GitBranchOptionsRequest) ProtoMessage ¶
func (*GitBranchOptionsRequest) ProtoMessage()
func (*GitBranchOptionsRequest) ProtoReflect ¶
func (x *GitBranchOptionsRequest) ProtoReflect() protoreflect.Message
func (*GitBranchOptionsRequest) Reset ¶
func (x *GitBranchOptionsRequest) Reset()
func (*GitBranchOptionsRequest) String ¶
func (x *GitBranchOptionsRequest) String() string
func (*GitBranchOptionsRequest) Validate ¶
func (m *GitBranchOptionsRequest) Validate() error
Validate checks the field values on GitBranchOptionsRequest 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 (*GitBranchOptionsRequest) ValidateAll ¶
func (m *GitBranchOptionsRequest) ValidateAll() error
ValidateAll checks the field values on GitBranchOptionsRequest 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 GitBranchOptionsRequestMultiError, or nil if none found.
type GitBranchOptionsRequestMultiError ¶
type GitBranchOptionsRequestMultiError []error
GitBranchOptionsRequestMultiError is an error wrapping multiple validation errors returned by GitBranchOptionsRequest.ValidateAll() if the designated constraints aren't met.
func (GitBranchOptionsRequestMultiError) AllErrors ¶
func (m GitBranchOptionsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GitBranchOptionsRequestMultiError) Error ¶
func (m GitBranchOptionsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GitBranchOptionsRequestValidationError ¶
type GitBranchOptionsRequestValidationError struct {
// contains filtered or unexported fields
}
GitBranchOptionsRequestValidationError is the validation error returned by GitBranchOptionsRequest.Validate if the designated constraints aren't met.
func (GitBranchOptionsRequestValidationError) Cause ¶
func (e GitBranchOptionsRequestValidationError) Cause() error
Cause function returns cause value.
func (GitBranchOptionsRequestValidationError) Error ¶
func (e GitBranchOptionsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GitBranchOptionsRequestValidationError) ErrorName ¶
func (e GitBranchOptionsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GitBranchOptionsRequestValidationError) Field ¶
func (e GitBranchOptionsRequestValidationError) Field() string
Field function returns field value.
func (GitBranchOptionsRequestValidationError) Key ¶
func (e GitBranchOptionsRequestValidationError) Key() bool
Key function returns key value.
func (GitBranchOptionsRequestValidationError) Reason ¶
func (e GitBranchOptionsRequestValidationError) Reason() string
Reason function returns reason value.
type GitBranchOptionsResponse ¶
type GitBranchOptionsResponse struct { Data []*GitOption `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GitBranchOptionsResponse) Descriptor
deprecated
func (*GitBranchOptionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GitBranchOptionsResponse.ProtoReflect.Descriptor instead.
func (*GitBranchOptionsResponse) GetData ¶
func (x *GitBranchOptionsResponse) GetData() []*GitOption
func (*GitBranchOptionsResponse) ProtoMessage ¶
func (*GitBranchOptionsResponse) ProtoMessage()
func (*GitBranchOptionsResponse) ProtoReflect ¶
func (x *GitBranchOptionsResponse) ProtoReflect() protoreflect.Message
func (*GitBranchOptionsResponse) Reset ¶
func (x *GitBranchOptionsResponse) Reset()
func (*GitBranchOptionsResponse) String ¶
func (x *GitBranchOptionsResponse) String() string
func (*GitBranchOptionsResponse) Validate ¶
func (m *GitBranchOptionsResponse) Validate() error
Validate checks the field values on GitBranchOptionsResponse 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 (*GitBranchOptionsResponse) ValidateAll ¶
func (m *GitBranchOptionsResponse) ValidateAll() error
ValidateAll checks the field values on GitBranchOptionsResponse 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 GitBranchOptionsResponseMultiError, or nil if none found.
type GitBranchOptionsResponseMultiError ¶
type GitBranchOptionsResponseMultiError []error
GitBranchOptionsResponseMultiError is an error wrapping multiple validation errors returned by GitBranchOptionsResponse.ValidateAll() if the designated constraints aren't met.
func (GitBranchOptionsResponseMultiError) AllErrors ¶
func (m GitBranchOptionsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GitBranchOptionsResponseMultiError) Error ¶
func (m GitBranchOptionsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GitBranchOptionsResponseValidationError ¶
type GitBranchOptionsResponseValidationError struct {
// contains filtered or unexported fields
}
GitBranchOptionsResponseValidationError is the validation error returned by GitBranchOptionsResponse.Validate if the designated constraints aren't met.
func (GitBranchOptionsResponseValidationError) Cause ¶
func (e GitBranchOptionsResponseValidationError) Cause() error
Cause function returns cause value.
func (GitBranchOptionsResponseValidationError) Error ¶
func (e GitBranchOptionsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GitBranchOptionsResponseValidationError) ErrorName ¶
func (e GitBranchOptionsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GitBranchOptionsResponseValidationError) Field ¶
func (e GitBranchOptionsResponseValidationError) Field() string
Field function returns field value.
func (GitBranchOptionsResponseValidationError) Key ¶
func (e GitBranchOptionsResponseValidationError) Key() bool
Key function returns key value.
func (GitBranchOptionsResponseValidationError) Reason ¶
func (e GitBranchOptionsResponseValidationError) Reason() string
Reason function returns reason value.
type GitCommitOptionsRequest ¶
type GitCommitOptionsRequest struct { ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Branch string `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"` // contains filtered or unexported fields }
func (*GitCommitOptionsRequest) Descriptor
deprecated
func (*GitCommitOptionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GitCommitOptionsRequest.ProtoReflect.Descriptor instead.
func (*GitCommitOptionsRequest) GetBranch ¶
func (x *GitCommitOptionsRequest) GetBranch() string
func (*GitCommitOptionsRequest) GetProjectId ¶
func (x *GitCommitOptionsRequest) GetProjectId() string
func (*GitCommitOptionsRequest) ProtoMessage ¶
func (*GitCommitOptionsRequest) ProtoMessage()
func (*GitCommitOptionsRequest) ProtoReflect ¶
func (x *GitCommitOptionsRequest) ProtoReflect() protoreflect.Message
func (*GitCommitOptionsRequest) Reset ¶
func (x *GitCommitOptionsRequest) Reset()
func (*GitCommitOptionsRequest) String ¶
func (x *GitCommitOptionsRequest) String() string
func (*GitCommitOptionsRequest) Validate ¶
func (m *GitCommitOptionsRequest) Validate() error
Validate checks the field values on GitCommitOptionsRequest 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 (*GitCommitOptionsRequest) ValidateAll ¶
func (m *GitCommitOptionsRequest) ValidateAll() error
ValidateAll checks the field values on GitCommitOptionsRequest 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 GitCommitOptionsRequestMultiError, or nil if none found.
type GitCommitOptionsRequestMultiError ¶
type GitCommitOptionsRequestMultiError []error
GitCommitOptionsRequestMultiError is an error wrapping multiple validation errors returned by GitCommitOptionsRequest.ValidateAll() if the designated constraints aren't met.
func (GitCommitOptionsRequestMultiError) AllErrors ¶
func (m GitCommitOptionsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GitCommitOptionsRequestMultiError) Error ¶
func (m GitCommitOptionsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GitCommitOptionsRequestValidationError ¶
type GitCommitOptionsRequestValidationError struct {
// contains filtered or unexported fields
}
GitCommitOptionsRequestValidationError is the validation error returned by GitCommitOptionsRequest.Validate if the designated constraints aren't met.
func (GitCommitOptionsRequestValidationError) Cause ¶
func (e GitCommitOptionsRequestValidationError) Cause() error
Cause function returns cause value.
func (GitCommitOptionsRequestValidationError) Error ¶
func (e GitCommitOptionsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GitCommitOptionsRequestValidationError) ErrorName ¶
func (e GitCommitOptionsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GitCommitOptionsRequestValidationError) Field ¶
func (e GitCommitOptionsRequestValidationError) Field() string
Field function returns field value.
func (GitCommitOptionsRequestValidationError) Key ¶
func (e GitCommitOptionsRequestValidationError) Key() bool
Key function returns key value.
func (GitCommitOptionsRequestValidationError) Reason ¶
func (e GitCommitOptionsRequestValidationError) Reason() string
Reason function returns reason value.
type GitCommitOptionsResponse ¶
type GitCommitOptionsResponse struct { Data []*GitOption `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GitCommitOptionsResponse) Descriptor
deprecated
func (*GitCommitOptionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GitCommitOptionsResponse.ProtoReflect.Descriptor instead.
func (*GitCommitOptionsResponse) GetData ¶
func (x *GitCommitOptionsResponse) GetData() []*GitOption
func (*GitCommitOptionsResponse) ProtoMessage ¶
func (*GitCommitOptionsResponse) ProtoMessage()
func (*GitCommitOptionsResponse) ProtoReflect ¶
func (x *GitCommitOptionsResponse) ProtoReflect() protoreflect.Message
func (*GitCommitOptionsResponse) Reset ¶
func (x *GitCommitOptionsResponse) Reset()
func (*GitCommitOptionsResponse) String ¶
func (x *GitCommitOptionsResponse) String() string
func (*GitCommitOptionsResponse) Validate ¶
func (m *GitCommitOptionsResponse) Validate() error
Validate checks the field values on GitCommitOptionsResponse 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 (*GitCommitOptionsResponse) ValidateAll ¶
func (m *GitCommitOptionsResponse) ValidateAll() error
ValidateAll checks the field values on GitCommitOptionsResponse 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 GitCommitOptionsResponseMultiError, or nil if none found.
type GitCommitOptionsResponseMultiError ¶
type GitCommitOptionsResponseMultiError []error
GitCommitOptionsResponseMultiError is an error wrapping multiple validation errors returned by GitCommitOptionsResponse.ValidateAll() if the designated constraints aren't met.
func (GitCommitOptionsResponseMultiError) AllErrors ¶
func (m GitCommitOptionsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GitCommitOptionsResponseMultiError) Error ¶
func (m GitCommitOptionsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GitCommitOptionsResponseValidationError ¶
type GitCommitOptionsResponseValidationError struct {
// contains filtered or unexported fields
}
GitCommitOptionsResponseValidationError is the validation error returned by GitCommitOptionsResponse.Validate if the designated constraints aren't met.
func (GitCommitOptionsResponseValidationError) Cause ¶
func (e GitCommitOptionsResponseValidationError) Cause() error
Cause function returns cause value.
func (GitCommitOptionsResponseValidationError) Error ¶
func (e GitCommitOptionsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GitCommitOptionsResponseValidationError) ErrorName ¶
func (e GitCommitOptionsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GitCommitOptionsResponseValidationError) Field ¶
func (e GitCommitOptionsResponseValidationError) Field() string
Field function returns field value.
func (GitCommitOptionsResponseValidationError) Key ¶
func (e GitCommitOptionsResponseValidationError) Key() bool
Key function returns key value.
func (GitCommitOptionsResponseValidationError) Reason ¶
func (e GitCommitOptionsResponseValidationError) Reason() string
Reason function returns reason value.
type GitCommitRequest ¶
type GitCommitRequest struct { ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"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 (*GitCommitRequest) Descriptor
deprecated
func (*GitCommitRequest) Descriptor() ([]byte, []int)
Deprecated: Use GitCommitRequest.ProtoReflect.Descriptor instead.
func (*GitCommitRequest) GetBranch ¶
func (x *GitCommitRequest) GetBranch() string
func (*GitCommitRequest) GetCommit ¶
func (x *GitCommitRequest) GetCommit() string
func (*GitCommitRequest) GetProjectId ¶
func (x *GitCommitRequest) GetProjectId() string
func (*GitCommitRequest) ProtoMessage ¶
func (*GitCommitRequest) ProtoMessage()
func (*GitCommitRequest) ProtoReflect ¶
func (x *GitCommitRequest) ProtoReflect() protoreflect.Message
func (*GitCommitRequest) Reset ¶
func (x *GitCommitRequest) Reset()
func (*GitCommitRequest) String ¶
func (x *GitCommitRequest) String() string
func (*GitCommitRequest) Validate ¶
func (m *GitCommitRequest) Validate() error
Validate checks the field values on GitCommitRequest 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 (*GitCommitRequest) ValidateAll ¶
func (m *GitCommitRequest) ValidateAll() error
ValidateAll checks the field values on GitCommitRequest 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 GitCommitRequestMultiError, or nil if none found.
type GitCommitRequestMultiError ¶
type GitCommitRequestMultiError []error
GitCommitRequestMultiError is an error wrapping multiple validation errors returned by GitCommitRequest.ValidateAll() if the designated constraints aren't met.
func (GitCommitRequestMultiError) AllErrors ¶
func (m GitCommitRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GitCommitRequestMultiError) Error ¶
func (m GitCommitRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GitCommitRequestValidationError ¶
type GitCommitRequestValidationError struct {
// contains filtered or unexported fields
}
GitCommitRequestValidationError is the validation error returned by GitCommitRequest.Validate if the designated constraints aren't met.
func (GitCommitRequestValidationError) Cause ¶
func (e GitCommitRequestValidationError) Cause() error
Cause function returns cause value.
func (GitCommitRequestValidationError) Error ¶
func (e GitCommitRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GitCommitRequestValidationError) ErrorName ¶
func (e GitCommitRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GitCommitRequestValidationError) Field ¶
func (e GitCommitRequestValidationError) Field() string
Field function returns field value.
func (GitCommitRequestValidationError) Key ¶
func (e GitCommitRequestValidationError) Key() bool
Key function returns key value.
func (GitCommitRequestValidationError) Reason ¶
func (e GitCommitRequestValidationError) Reason() string
Reason function returns reason value.
type GitCommitResponse ¶
type GitCommitResponse struct { Data *GitOption `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GitCommitResponse) Descriptor
deprecated
func (*GitCommitResponse) Descriptor() ([]byte, []int)
Deprecated: Use GitCommitResponse.ProtoReflect.Descriptor instead.
func (*GitCommitResponse) GetData ¶
func (x *GitCommitResponse) GetData() *GitOption
func (*GitCommitResponse) ProtoMessage ¶
func (*GitCommitResponse) ProtoMessage()
func (*GitCommitResponse) ProtoReflect ¶
func (x *GitCommitResponse) ProtoReflect() protoreflect.Message
func (*GitCommitResponse) Reset ¶
func (x *GitCommitResponse) Reset()
func (*GitCommitResponse) String ¶
func (x *GitCommitResponse) String() string
func (*GitCommitResponse) Validate ¶
func (m *GitCommitResponse) Validate() error
Validate checks the field values on GitCommitResponse 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 (*GitCommitResponse) ValidateAll ¶
func (m *GitCommitResponse) ValidateAll() error
ValidateAll checks the field values on GitCommitResponse 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 GitCommitResponseMultiError, or nil if none found.
type GitCommitResponseMultiError ¶
type GitCommitResponseMultiError []error
GitCommitResponseMultiError is an error wrapping multiple validation errors returned by GitCommitResponse.ValidateAll() if the designated constraints aren't met.
func (GitCommitResponseMultiError) AllErrors ¶
func (m GitCommitResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GitCommitResponseMultiError) Error ¶
func (m GitCommitResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GitCommitResponseValidationError ¶
type GitCommitResponseValidationError struct {
// contains filtered or unexported fields
}
GitCommitResponseValidationError is the validation error returned by GitCommitResponse.Validate if the designated constraints aren't met.
func (GitCommitResponseValidationError) Cause ¶
func (e GitCommitResponseValidationError) Cause() error
Cause function returns cause value.
func (GitCommitResponseValidationError) Error ¶
func (e GitCommitResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GitCommitResponseValidationError) ErrorName ¶
func (e GitCommitResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GitCommitResponseValidationError) Field ¶
func (e GitCommitResponseValidationError) Field() string
Field function returns field value.
func (GitCommitResponseValidationError) Key ¶
func (e GitCommitResponseValidationError) Key() bool
Key function returns key value.
func (GitCommitResponseValidationError) Reason ¶
func (e GitCommitResponseValidationError) Reason() string
Reason function returns reason value.
type GitConfigFileRequest ¶
type GitConfigFileRequest struct { ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Branch string `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"` // contains filtered or unexported fields }
func (*GitConfigFileRequest) Descriptor
deprecated
func (*GitConfigFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use GitConfigFileRequest.ProtoReflect.Descriptor instead.
func (*GitConfigFileRequest) GetBranch ¶
func (x *GitConfigFileRequest) GetBranch() string
func (*GitConfigFileRequest) GetProjectId ¶
func (x *GitConfigFileRequest) GetProjectId() string
func (*GitConfigFileRequest) ProtoMessage ¶
func (*GitConfigFileRequest) ProtoMessage()
func (*GitConfigFileRequest) ProtoReflect ¶
func (x *GitConfigFileRequest) ProtoReflect() protoreflect.Message
func (*GitConfigFileRequest) Reset ¶
func (x *GitConfigFileRequest) Reset()
func (*GitConfigFileRequest) String ¶
func (x *GitConfigFileRequest) String() string
func (*GitConfigFileRequest) Validate ¶
func (m *GitConfigFileRequest) Validate() error
Validate checks the field values on GitConfigFileRequest 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 (*GitConfigFileRequest) ValidateAll ¶
func (m *GitConfigFileRequest) ValidateAll() error
ValidateAll checks the field values on GitConfigFileRequest 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 GitConfigFileRequestMultiError, or nil if none found.
type GitConfigFileRequestMultiError ¶
type GitConfigFileRequestMultiError []error
GitConfigFileRequestMultiError is an error wrapping multiple validation errors returned by GitConfigFileRequest.ValidateAll() if the designated constraints aren't met.
func (GitConfigFileRequestMultiError) AllErrors ¶
func (m GitConfigFileRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GitConfigFileRequestMultiError) Error ¶
func (m GitConfigFileRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GitConfigFileRequestValidationError ¶
type GitConfigFileRequestValidationError struct {
// contains filtered or unexported fields
}
GitConfigFileRequestValidationError is the validation error returned by GitConfigFileRequest.Validate if the designated constraints aren't met.
func (GitConfigFileRequestValidationError) Cause ¶
func (e GitConfigFileRequestValidationError) Cause() error
Cause function returns cause value.
func (GitConfigFileRequestValidationError) Error ¶
func (e GitConfigFileRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GitConfigFileRequestValidationError) ErrorName ¶
func (e GitConfigFileRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GitConfigFileRequestValidationError) Field ¶
func (e GitConfigFileRequestValidationError) Field() string
Field function returns field value.
func (GitConfigFileRequestValidationError) Key ¶
func (e GitConfigFileRequestValidationError) Key() bool
Key function returns key value.
func (GitConfigFileRequestValidationError) Reason ¶
func (e GitConfigFileRequestValidationError) Reason() string
Reason function returns reason value.
type GitConfigFileResponse ¶
type GitConfigFileResponse 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 (*GitConfigFileResponse) Descriptor
deprecated
func (*GitConfigFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use GitConfigFileResponse.ProtoReflect.Descriptor instead.
func (*GitConfigFileResponse) GetData ¶
func (x *GitConfigFileResponse) GetData() string
func (*GitConfigFileResponse) GetElements ¶
func (x *GitConfigFileResponse) GetElements() []*mars.Element
func (*GitConfigFileResponse) GetType ¶
func (x *GitConfigFileResponse) GetType() string
func (*GitConfigFileResponse) ProtoMessage ¶
func (*GitConfigFileResponse) ProtoMessage()
func (*GitConfigFileResponse) ProtoReflect ¶
func (x *GitConfigFileResponse) ProtoReflect() protoreflect.Message
func (*GitConfigFileResponse) Reset ¶
func (x *GitConfigFileResponse) Reset()
func (*GitConfigFileResponse) String ¶
func (x *GitConfigFileResponse) String() string
func (*GitConfigFileResponse) Validate ¶
func (m *GitConfigFileResponse) Validate() error
Validate checks the field values on GitConfigFileResponse 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 (*GitConfigFileResponse) ValidateAll ¶
func (m *GitConfigFileResponse) ValidateAll() error
ValidateAll checks the field values on GitConfigFileResponse 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 GitConfigFileResponseMultiError, or nil if none found.
type GitConfigFileResponseMultiError ¶
type GitConfigFileResponseMultiError []error
GitConfigFileResponseMultiError is an error wrapping multiple validation errors returned by GitConfigFileResponse.ValidateAll() if the designated constraints aren't met.
func (GitConfigFileResponseMultiError) AllErrors ¶
func (m GitConfigFileResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GitConfigFileResponseMultiError) Error ¶
func (m GitConfigFileResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GitConfigFileResponseValidationError ¶
type GitConfigFileResponseValidationError struct {
// contains filtered or unexported fields
}
GitConfigFileResponseValidationError is the validation error returned by GitConfigFileResponse.Validate if the designated constraints aren't met.
func (GitConfigFileResponseValidationError) Cause ¶
func (e GitConfigFileResponseValidationError) Cause() error
Cause function returns cause value.
func (GitConfigFileResponseValidationError) Error ¶
func (e GitConfigFileResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GitConfigFileResponseValidationError) ErrorName ¶
func (e GitConfigFileResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GitConfigFileResponseValidationError) Field ¶
func (e GitConfigFileResponseValidationError) Field() string
Field function returns field value.
func (GitConfigFileResponseValidationError) Key ¶
func (e GitConfigFileResponseValidationError) Key() bool
Key function returns key value.
func (GitConfigFileResponseValidationError) Reason ¶
func (e GitConfigFileResponseValidationError) Reason() string
Reason function returns reason value.
type GitDestroyRequest ¶
type GitDestroyRequest struct { NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
func (*GitDestroyRequest) Descriptor
deprecated
func (*GitDestroyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GitDestroyRequest.ProtoReflect.Descriptor instead.
func (*GitDestroyRequest) GetNamespaceId ¶
func (x *GitDestroyRequest) GetNamespaceId() string
func (*GitDestroyRequest) GetProjectId ¶
func (x *GitDestroyRequest) GetProjectId() string
func (*GitDestroyRequest) ProtoMessage ¶
func (*GitDestroyRequest) ProtoMessage()
func (*GitDestroyRequest) ProtoReflect ¶
func (x *GitDestroyRequest) ProtoReflect() protoreflect.Message
func (*GitDestroyRequest) Reset ¶
func (x *GitDestroyRequest) Reset()
func (*GitDestroyRequest) String ¶
func (x *GitDestroyRequest) String() string
func (*GitDestroyRequest) Validate ¶
func (m *GitDestroyRequest) Validate() error
Validate checks the field values on GitDestroyRequest 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 (*GitDestroyRequest) ValidateAll ¶
func (m *GitDestroyRequest) ValidateAll() error
ValidateAll checks the field values on GitDestroyRequest 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 GitDestroyRequestMultiError, or nil if none found.
type GitDestroyRequestMultiError ¶
type GitDestroyRequestMultiError []error
GitDestroyRequestMultiError is an error wrapping multiple validation errors returned by GitDestroyRequest.ValidateAll() if the designated constraints aren't met.
func (GitDestroyRequestMultiError) AllErrors ¶
func (m GitDestroyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GitDestroyRequestMultiError) Error ¶
func (m GitDestroyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GitDestroyRequestValidationError ¶
type GitDestroyRequestValidationError struct {
// contains filtered or unexported fields
}
GitDestroyRequestValidationError is the validation error returned by GitDestroyRequest.Validate if the designated constraints aren't met.
func (GitDestroyRequestValidationError) Cause ¶
func (e GitDestroyRequestValidationError) Cause() error
Cause function returns cause value.
func (GitDestroyRequestValidationError) Error ¶
func (e GitDestroyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GitDestroyRequestValidationError) ErrorName ¶
func (e GitDestroyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GitDestroyRequestValidationError) Field ¶
func (e GitDestroyRequestValidationError) Field() string
Field function returns field value.
func (GitDestroyRequestValidationError) Key ¶
func (e GitDestroyRequestValidationError) Key() bool
Key function returns key value.
func (GitDestroyRequestValidationError) Reason ¶
func (e GitDestroyRequestValidationError) Reason() string
Reason function returns reason value.
type GitDisableProjectRequest ¶
type GitDisableProjectRequest 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 (*GitDisableProjectRequest) Descriptor
deprecated
func (*GitDisableProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use GitDisableProjectRequest.ProtoReflect.Descriptor instead.
func (*GitDisableProjectRequest) GetGitProjectId ¶
func (x *GitDisableProjectRequest) GetGitProjectId() string
func (*GitDisableProjectRequest) ProtoMessage ¶
func (*GitDisableProjectRequest) ProtoMessage()
func (*GitDisableProjectRequest) ProtoReflect ¶
func (x *GitDisableProjectRequest) ProtoReflect() protoreflect.Message
func (*GitDisableProjectRequest) Reset ¶
func (x *GitDisableProjectRequest) Reset()
func (*GitDisableProjectRequest) String ¶
func (x *GitDisableProjectRequest) String() string
func (*GitDisableProjectRequest) Validate ¶
func (m *GitDisableProjectRequest) Validate() error
Validate checks the field values on GitDisableProjectRequest 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 (*GitDisableProjectRequest) ValidateAll ¶
func (m *GitDisableProjectRequest) ValidateAll() error
ValidateAll checks the field values on GitDisableProjectRequest 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 GitDisableProjectRequestMultiError, or nil if none found.
type GitDisableProjectRequestMultiError ¶
type GitDisableProjectRequestMultiError []error
GitDisableProjectRequestMultiError is an error wrapping multiple validation errors returned by GitDisableProjectRequest.ValidateAll() if the designated constraints aren't met.
func (GitDisableProjectRequestMultiError) AllErrors ¶
func (m GitDisableProjectRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GitDisableProjectRequestMultiError) Error ¶
func (m GitDisableProjectRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GitDisableProjectRequestValidationError ¶
type GitDisableProjectRequestValidationError struct {
// contains filtered or unexported fields
}
GitDisableProjectRequestValidationError is the validation error returned by GitDisableProjectRequest.Validate if the designated constraints aren't met.
func (GitDisableProjectRequestValidationError) Cause ¶
func (e GitDisableProjectRequestValidationError) Cause() error
Cause function returns cause value.
func (GitDisableProjectRequestValidationError) Error ¶
func (e GitDisableProjectRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GitDisableProjectRequestValidationError) ErrorName ¶
func (e GitDisableProjectRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GitDisableProjectRequestValidationError) Field ¶
func (e GitDisableProjectRequestValidationError) Field() string
Field function returns field value.
func (GitDisableProjectRequestValidationError) Key ¶
func (e GitDisableProjectRequestValidationError) Key() bool
Key function returns key value.
func (GitDisableProjectRequestValidationError) Reason ¶
func (e GitDisableProjectRequestValidationError) Reason() string
Reason function returns reason value.
type GitDisableProjectResponse ¶
type GitDisableProjectResponse struct {
// contains filtered or unexported fields
}
func (*GitDisableProjectResponse) Descriptor
deprecated
func (*GitDisableProjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use GitDisableProjectResponse.ProtoReflect.Descriptor instead.
func (*GitDisableProjectResponse) ProtoMessage ¶
func (*GitDisableProjectResponse) ProtoMessage()
func (*GitDisableProjectResponse) ProtoReflect ¶
func (x *GitDisableProjectResponse) ProtoReflect() protoreflect.Message
func (*GitDisableProjectResponse) Reset ¶
func (x *GitDisableProjectResponse) Reset()
func (*GitDisableProjectResponse) String ¶
func (x *GitDisableProjectResponse) String() string
func (*GitDisableProjectResponse) Validate ¶
func (m *GitDisableProjectResponse) Validate() error
Validate checks the field values on GitDisableProjectResponse 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 (*GitDisableProjectResponse) ValidateAll ¶
func (m *GitDisableProjectResponse) ValidateAll() error
ValidateAll checks the field values on GitDisableProjectResponse 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 GitDisableProjectResponseMultiError, or nil if none found.
type GitDisableProjectResponseMultiError ¶
type GitDisableProjectResponseMultiError []error
GitDisableProjectResponseMultiError is an error wrapping multiple validation errors returned by GitDisableProjectResponse.ValidateAll() if the designated constraints aren't met.
func (GitDisableProjectResponseMultiError) AllErrors ¶
func (m GitDisableProjectResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GitDisableProjectResponseMultiError) Error ¶
func (m GitDisableProjectResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GitDisableProjectResponseValidationError ¶
type GitDisableProjectResponseValidationError struct {
// contains filtered or unexported fields
}
GitDisableProjectResponseValidationError is the validation error returned by GitDisableProjectResponse.Validate if the designated constraints aren't met.
func (GitDisableProjectResponseValidationError) Cause ¶
func (e GitDisableProjectResponseValidationError) Cause() error
Cause function returns cause value.
func (GitDisableProjectResponseValidationError) Error ¶
func (e GitDisableProjectResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GitDisableProjectResponseValidationError) ErrorName ¶
func (e GitDisableProjectResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GitDisableProjectResponseValidationError) Field ¶
func (e GitDisableProjectResponseValidationError) Field() string
Field function returns field value.
func (GitDisableProjectResponseValidationError) Key ¶
func (e GitDisableProjectResponseValidationError) Key() bool
Key function returns key value.
func (GitDisableProjectResponseValidationError) Reason ¶
func (e GitDisableProjectResponseValidationError) Reason() string
Reason function returns reason value.
type GitEnableProjectRequest ¶
type GitEnableProjectRequest 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 (*GitEnableProjectRequest) Descriptor
deprecated
func (*GitEnableProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use GitEnableProjectRequest.ProtoReflect.Descriptor instead.
func (*GitEnableProjectRequest) GetGitProjectId ¶
func (x *GitEnableProjectRequest) GetGitProjectId() string
func (*GitEnableProjectRequest) ProtoMessage ¶
func (*GitEnableProjectRequest) ProtoMessage()
func (*GitEnableProjectRequest) ProtoReflect ¶
func (x *GitEnableProjectRequest) ProtoReflect() protoreflect.Message
func (*GitEnableProjectRequest) Reset ¶
func (x *GitEnableProjectRequest) Reset()
func (*GitEnableProjectRequest) String ¶
func (x *GitEnableProjectRequest) String() string
func (*GitEnableProjectRequest) Validate ¶
func (m *GitEnableProjectRequest) Validate() error
Validate checks the field values on GitEnableProjectRequest 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 (*GitEnableProjectRequest) ValidateAll ¶
func (m *GitEnableProjectRequest) ValidateAll() error
ValidateAll checks the field values on GitEnableProjectRequest 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 GitEnableProjectRequestMultiError, or nil if none found.
type GitEnableProjectRequestMultiError ¶
type GitEnableProjectRequestMultiError []error
GitEnableProjectRequestMultiError is an error wrapping multiple validation errors returned by GitEnableProjectRequest.ValidateAll() if the designated constraints aren't met.
func (GitEnableProjectRequestMultiError) AllErrors ¶
func (m GitEnableProjectRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GitEnableProjectRequestMultiError) Error ¶
func (m GitEnableProjectRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GitEnableProjectRequestValidationError ¶
type GitEnableProjectRequestValidationError struct {
// contains filtered or unexported fields
}
GitEnableProjectRequestValidationError is the validation error returned by GitEnableProjectRequest.Validate if the designated constraints aren't met.
func (GitEnableProjectRequestValidationError) Cause ¶
func (e GitEnableProjectRequestValidationError) Cause() error
Cause function returns cause value.
func (GitEnableProjectRequestValidationError) Error ¶
func (e GitEnableProjectRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GitEnableProjectRequestValidationError) ErrorName ¶
func (e GitEnableProjectRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GitEnableProjectRequestValidationError) Field ¶
func (e GitEnableProjectRequestValidationError) Field() string
Field function returns field value.
func (GitEnableProjectRequestValidationError) Key ¶
func (e GitEnableProjectRequestValidationError) Key() bool
Key function returns key value.
func (GitEnableProjectRequestValidationError) Reason ¶
func (e GitEnableProjectRequestValidationError) Reason() string
Reason function returns reason value.
type GitEnableProjectResponse ¶
type GitEnableProjectResponse struct {
// contains filtered or unexported fields
}
func (*GitEnableProjectResponse) Descriptor
deprecated
func (*GitEnableProjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use GitEnableProjectResponse.ProtoReflect.Descriptor instead.
func (*GitEnableProjectResponse) ProtoMessage ¶
func (*GitEnableProjectResponse) ProtoMessage()
func (*GitEnableProjectResponse) ProtoReflect ¶
func (x *GitEnableProjectResponse) ProtoReflect() protoreflect.Message
func (*GitEnableProjectResponse) Reset ¶
func (x *GitEnableProjectResponse) Reset()
func (*GitEnableProjectResponse) String ¶
func (x *GitEnableProjectResponse) String() string
func (*GitEnableProjectResponse) Validate ¶
func (m *GitEnableProjectResponse) Validate() error
Validate checks the field values on GitEnableProjectResponse 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 (*GitEnableProjectResponse) ValidateAll ¶
func (m *GitEnableProjectResponse) ValidateAll() error
ValidateAll checks the field values on GitEnableProjectResponse 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 GitEnableProjectResponseMultiError, or nil if none found.
type GitEnableProjectResponseMultiError ¶
type GitEnableProjectResponseMultiError []error
GitEnableProjectResponseMultiError is an error wrapping multiple validation errors returned by GitEnableProjectResponse.ValidateAll() if the designated constraints aren't met.
func (GitEnableProjectResponseMultiError) AllErrors ¶
func (m GitEnableProjectResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GitEnableProjectResponseMultiError) Error ¶
func (m GitEnableProjectResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GitEnableProjectResponseValidationError ¶
type GitEnableProjectResponseValidationError struct {
// contains filtered or unexported fields
}
GitEnableProjectResponseValidationError is the validation error returned by GitEnableProjectResponse.Validate if the designated constraints aren't met.
func (GitEnableProjectResponseValidationError) Cause ¶
func (e GitEnableProjectResponseValidationError) Cause() error
Cause function returns cause value.
func (GitEnableProjectResponseValidationError) Error ¶
func (e GitEnableProjectResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GitEnableProjectResponseValidationError) ErrorName ¶
func (e GitEnableProjectResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GitEnableProjectResponseValidationError) Field ¶
func (e GitEnableProjectResponseValidationError) Field() string
Field function returns field value.
func (GitEnableProjectResponseValidationError) Key ¶
func (e GitEnableProjectResponseValidationError) Key() bool
Key function returns key value.
func (GitEnableProjectResponseValidationError) Reason ¶
func (e GitEnableProjectResponseValidationError) Reason() string
Reason function returns reason value.
type GitOption ¶
type GitOption 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"` ProjectId string `protobuf:"bytes,5,opt,name=projectId,proto3" json:"projectId,omitempty"` Branch string `protobuf:"bytes,6,opt,name=branch,proto3" json:"branch,omitempty"` // contains filtered or unexported fields }
func (*GitOption) Descriptor
deprecated
func (*GitOption) GetProjectId ¶
func (*GitOption) ProtoMessage ¶
func (*GitOption) ProtoMessage()
func (*GitOption) ProtoReflect ¶
func (x *GitOption) ProtoReflect() protoreflect.Message
func (*GitOption) Validate ¶
Validate checks the field values on GitOption 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 (*GitOption) ValidateAll ¶
ValidateAll checks the field values on GitOption 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 GitOptionMultiError, or nil if none found.
type GitOptionMultiError ¶
type GitOptionMultiError []error
GitOptionMultiError is an error wrapping multiple validation errors returned by GitOption.ValidateAll() if the designated constraints aren't met.
func (GitOptionMultiError) AllErrors ¶
func (m GitOptionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GitOptionMultiError) Error ¶
func (m GitOptionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GitOptionValidationError ¶
type GitOptionValidationError struct {
// contains filtered or unexported fields
}
GitOptionValidationError is the validation error returned by GitOption.Validate if the designated constraints aren't met.
func (GitOptionValidationError) Cause ¶
func (e GitOptionValidationError) Cause() error
Cause function returns cause value.
func (GitOptionValidationError) Error ¶
func (e GitOptionValidationError) Error() string
Error satisfies the builtin error interface
func (GitOptionValidationError) ErrorName ¶
func (e GitOptionValidationError) ErrorName() string
ErrorName returns error name.
func (GitOptionValidationError) Field ¶
func (e GitOptionValidationError) Field() string
Field function returns field value.
func (GitOptionValidationError) Key ¶
func (e GitOptionValidationError) Key() bool
Key function returns key value.
func (GitOptionValidationError) Reason ¶
func (e GitOptionValidationError) Reason() string
Reason function returns reason value.
type GitPipelineInfoRequest ¶
type GitPipelineInfoRequest struct { ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"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 (*GitPipelineInfoRequest) Descriptor
deprecated
func (*GitPipelineInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GitPipelineInfoRequest.ProtoReflect.Descriptor instead.
func (*GitPipelineInfoRequest) GetBranch ¶
func (x *GitPipelineInfoRequest) GetBranch() string
func (*GitPipelineInfoRequest) GetCommit ¶
func (x *GitPipelineInfoRequest) GetCommit() string
func (*GitPipelineInfoRequest) GetProjectId ¶
func (x *GitPipelineInfoRequest) GetProjectId() string
func (*GitPipelineInfoRequest) ProtoMessage ¶
func (*GitPipelineInfoRequest) ProtoMessage()
func (*GitPipelineInfoRequest) ProtoReflect ¶
func (x *GitPipelineInfoRequest) ProtoReflect() protoreflect.Message
func (*GitPipelineInfoRequest) Reset ¶
func (x *GitPipelineInfoRequest) Reset()
func (*GitPipelineInfoRequest) String ¶
func (x *GitPipelineInfoRequest) String() string
func (*GitPipelineInfoRequest) Validate ¶
func (m *GitPipelineInfoRequest) Validate() error
Validate checks the field values on GitPipelineInfoRequest 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 (*GitPipelineInfoRequest) ValidateAll ¶
func (m *GitPipelineInfoRequest) ValidateAll() error
ValidateAll checks the field values on GitPipelineInfoRequest 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 GitPipelineInfoRequestMultiError, or nil if none found.
type GitPipelineInfoRequestMultiError ¶
type GitPipelineInfoRequestMultiError []error
GitPipelineInfoRequestMultiError is an error wrapping multiple validation errors returned by GitPipelineInfoRequest.ValidateAll() if the designated constraints aren't met.
func (GitPipelineInfoRequestMultiError) AllErrors ¶
func (m GitPipelineInfoRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GitPipelineInfoRequestMultiError) Error ¶
func (m GitPipelineInfoRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GitPipelineInfoRequestValidationError ¶
type GitPipelineInfoRequestValidationError struct {
// contains filtered or unexported fields
}
GitPipelineInfoRequestValidationError is the validation error returned by GitPipelineInfoRequest.Validate if the designated constraints aren't met.
func (GitPipelineInfoRequestValidationError) Cause ¶
func (e GitPipelineInfoRequestValidationError) Cause() error
Cause function returns cause value.
func (GitPipelineInfoRequestValidationError) Error ¶
func (e GitPipelineInfoRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GitPipelineInfoRequestValidationError) ErrorName ¶
func (e GitPipelineInfoRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GitPipelineInfoRequestValidationError) Field ¶
func (e GitPipelineInfoRequestValidationError) Field() string
Field function returns field value.
func (GitPipelineInfoRequestValidationError) Key ¶
func (e GitPipelineInfoRequestValidationError) Key() bool
Key function returns key value.
func (GitPipelineInfoRequestValidationError) Reason ¶
func (e GitPipelineInfoRequestValidationError) Reason() string
Reason function returns reason value.
type GitPipelineInfoResponse ¶
type GitPipelineInfoResponse 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 (*GitPipelineInfoResponse) Descriptor
deprecated
func (*GitPipelineInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GitPipelineInfoResponse.ProtoReflect.Descriptor instead.
func (*GitPipelineInfoResponse) GetStatus ¶
func (x *GitPipelineInfoResponse) GetStatus() string
func (*GitPipelineInfoResponse) GetWebUrl ¶
func (x *GitPipelineInfoResponse) GetWebUrl() string
func (*GitPipelineInfoResponse) ProtoMessage ¶
func (*GitPipelineInfoResponse) ProtoMessage()
func (*GitPipelineInfoResponse) ProtoReflect ¶
func (x *GitPipelineInfoResponse) ProtoReflect() protoreflect.Message
func (*GitPipelineInfoResponse) Reset ¶
func (x *GitPipelineInfoResponse) Reset()
func (*GitPipelineInfoResponse) String ¶
func (x *GitPipelineInfoResponse) String() string
func (*GitPipelineInfoResponse) Validate ¶
func (m *GitPipelineInfoResponse) Validate() error
Validate checks the field values on GitPipelineInfoResponse 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 (*GitPipelineInfoResponse) ValidateAll ¶
func (m *GitPipelineInfoResponse) ValidateAll() error
ValidateAll checks the field values on GitPipelineInfoResponse 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 GitPipelineInfoResponseMultiError, or nil if none found.
type GitPipelineInfoResponseMultiError ¶
type GitPipelineInfoResponseMultiError []error
GitPipelineInfoResponseMultiError is an error wrapping multiple validation errors returned by GitPipelineInfoResponse.ValidateAll() if the designated constraints aren't met.
func (GitPipelineInfoResponseMultiError) AllErrors ¶
func (m GitPipelineInfoResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GitPipelineInfoResponseMultiError) Error ¶
func (m GitPipelineInfoResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GitPipelineInfoResponseValidationError ¶
type GitPipelineInfoResponseValidationError struct {
// contains filtered or unexported fields
}
GitPipelineInfoResponseValidationError is the validation error returned by GitPipelineInfoResponse.Validate if the designated constraints aren't met.
func (GitPipelineInfoResponseValidationError) Cause ¶
func (e GitPipelineInfoResponseValidationError) Cause() error
Cause function returns cause value.
func (GitPipelineInfoResponseValidationError) Error ¶
func (e GitPipelineInfoResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GitPipelineInfoResponseValidationError) ErrorName ¶
func (e GitPipelineInfoResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GitPipelineInfoResponseValidationError) Field ¶
func (e GitPipelineInfoResponseValidationError) Field() string
Field function returns field value.
func (GitPipelineInfoResponseValidationError) Key ¶
func (e GitPipelineInfoResponseValidationError) Key() bool
Key function returns key value.
func (GitPipelineInfoResponseValidationError) Reason ¶
func (e GitPipelineInfoResponseValidationError) Reason() string
Reason function returns reason value.
type GitProjectItem ¶
type GitProjectItem 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"` // contains filtered or unexported fields }
func (*GitProjectItem) Descriptor
deprecated
func (*GitProjectItem) Descriptor() ([]byte, []int)
Deprecated: Use GitProjectItem.ProtoReflect.Descriptor instead.
func (*GitProjectItem) GetAvatarUrl ¶
func (x *GitProjectItem) GetAvatarUrl() string
func (*GitProjectItem) GetDescription ¶
func (x *GitProjectItem) GetDescription() string
func (*GitProjectItem) GetEnabled ¶
func (x *GitProjectItem) GetEnabled() bool
func (*GitProjectItem) GetGlobalEnabled ¶
func (x *GitProjectItem) GetGlobalEnabled() bool
func (*GitProjectItem) GetId ¶
func (x *GitProjectItem) GetId() int64
func (*GitProjectItem) GetName ¶
func (x *GitProjectItem) GetName() string
func (*GitProjectItem) GetPath ¶
func (x *GitProjectItem) GetPath() string
func (*GitProjectItem) GetWebUrl ¶
func (x *GitProjectItem) GetWebUrl() string
func (*GitProjectItem) ProtoMessage ¶
func (*GitProjectItem) ProtoMessage()
func (*GitProjectItem) ProtoReflect ¶
func (x *GitProjectItem) ProtoReflect() protoreflect.Message
func (*GitProjectItem) Reset ¶
func (x *GitProjectItem) Reset()
func (*GitProjectItem) String ¶
func (x *GitProjectItem) String() string
func (*GitProjectItem) Validate ¶
func (m *GitProjectItem) Validate() error
Validate checks the field values on GitProjectItem 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 (*GitProjectItem) ValidateAll ¶
func (m *GitProjectItem) ValidateAll() error
ValidateAll checks the field values on GitProjectItem 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 GitProjectItemMultiError, or nil if none found.
type GitProjectItemMultiError ¶
type GitProjectItemMultiError []error
GitProjectItemMultiError is an error wrapping multiple validation errors returned by GitProjectItem.ValidateAll() if the designated constraints aren't met.
func (GitProjectItemMultiError) AllErrors ¶
func (m GitProjectItemMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GitProjectItemMultiError) Error ¶
func (m GitProjectItemMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GitProjectItemValidationError ¶
type GitProjectItemValidationError struct {
// contains filtered or unexported fields
}
GitProjectItemValidationError is the validation error returned by GitProjectItem.Validate if the designated constraints aren't met.
func (GitProjectItemValidationError) Cause ¶
func (e GitProjectItemValidationError) Cause() error
Cause function returns cause value.
func (GitProjectItemValidationError) Error ¶
func (e GitProjectItemValidationError) Error() string
Error satisfies the builtin error interface
func (GitProjectItemValidationError) ErrorName ¶
func (e GitProjectItemValidationError) ErrorName() string
ErrorName returns error name.
func (GitProjectItemValidationError) Field ¶
func (e GitProjectItemValidationError) Field() string
Field function returns field value.
func (GitProjectItemValidationError) Key ¶
func (e GitProjectItemValidationError) Key() bool
Key function returns key value.
func (GitProjectItemValidationError) Reason ¶
func (e GitProjectItemValidationError) Reason() string
Reason function returns reason value.
type GitProjectOptionsRequest ¶
type GitProjectOptionsRequest struct {
// contains filtered or unexported fields
}
func (*GitProjectOptionsRequest) Descriptor
deprecated
func (*GitProjectOptionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GitProjectOptionsRequest.ProtoReflect.Descriptor instead.
func (*GitProjectOptionsRequest) ProtoMessage ¶
func (*GitProjectOptionsRequest) ProtoMessage()
func (*GitProjectOptionsRequest) ProtoReflect ¶
func (x *GitProjectOptionsRequest) ProtoReflect() protoreflect.Message
func (*GitProjectOptionsRequest) Reset ¶
func (x *GitProjectOptionsRequest) Reset()
func (*GitProjectOptionsRequest) String ¶
func (x *GitProjectOptionsRequest) String() string
func (*GitProjectOptionsRequest) Validate ¶
func (m *GitProjectOptionsRequest) Validate() error
Validate checks the field values on GitProjectOptionsRequest 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 (*GitProjectOptionsRequest) ValidateAll ¶
func (m *GitProjectOptionsRequest) ValidateAll() error
ValidateAll checks the field values on GitProjectOptionsRequest 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 GitProjectOptionsRequestMultiError, or nil if none found.
type GitProjectOptionsRequestMultiError ¶
type GitProjectOptionsRequestMultiError []error
GitProjectOptionsRequestMultiError is an error wrapping multiple validation errors returned by GitProjectOptionsRequest.ValidateAll() if the designated constraints aren't met.
func (GitProjectOptionsRequestMultiError) AllErrors ¶
func (m GitProjectOptionsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GitProjectOptionsRequestMultiError) Error ¶
func (m GitProjectOptionsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GitProjectOptionsRequestValidationError ¶
type GitProjectOptionsRequestValidationError struct {
// contains filtered or unexported fields
}
GitProjectOptionsRequestValidationError is the validation error returned by GitProjectOptionsRequest.Validate if the designated constraints aren't met.
func (GitProjectOptionsRequestValidationError) Cause ¶
func (e GitProjectOptionsRequestValidationError) Cause() error
Cause function returns cause value.
func (GitProjectOptionsRequestValidationError) Error ¶
func (e GitProjectOptionsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GitProjectOptionsRequestValidationError) ErrorName ¶
func (e GitProjectOptionsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GitProjectOptionsRequestValidationError) Field ¶
func (e GitProjectOptionsRequestValidationError) Field() string
Field function returns field value.
func (GitProjectOptionsRequestValidationError) Key ¶
func (e GitProjectOptionsRequestValidationError) Key() bool
Key function returns key value.
func (GitProjectOptionsRequestValidationError) Reason ¶
func (e GitProjectOptionsRequestValidationError) Reason() string
Reason function returns reason value.
type GitProjectOptionsResponse ¶
type GitProjectOptionsResponse struct { Data []*GitOption `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GitProjectOptionsResponse) Descriptor
deprecated
func (*GitProjectOptionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GitProjectOptionsResponse.ProtoReflect.Descriptor instead.
func (*GitProjectOptionsResponse) GetData ¶
func (x *GitProjectOptionsResponse) GetData() []*GitOption
func (*GitProjectOptionsResponse) ProtoMessage ¶
func (*GitProjectOptionsResponse) ProtoMessage()
func (*GitProjectOptionsResponse) ProtoReflect ¶
func (x *GitProjectOptionsResponse) ProtoReflect() protoreflect.Message
func (*GitProjectOptionsResponse) Reset ¶
func (x *GitProjectOptionsResponse) Reset()
func (*GitProjectOptionsResponse) String ¶
func (x *GitProjectOptionsResponse) String() string
func (*GitProjectOptionsResponse) Validate ¶
func (m *GitProjectOptionsResponse) Validate() error
Validate checks the field values on GitProjectOptionsResponse 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 (*GitProjectOptionsResponse) ValidateAll ¶
func (m *GitProjectOptionsResponse) ValidateAll() error
ValidateAll checks the field values on GitProjectOptionsResponse 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 GitProjectOptionsResponseMultiError, or nil if none found.
type GitProjectOptionsResponseMultiError ¶
type GitProjectOptionsResponseMultiError []error
GitProjectOptionsResponseMultiError is an error wrapping multiple validation errors returned by GitProjectOptionsResponse.ValidateAll() if the designated constraints aren't met.
func (GitProjectOptionsResponseMultiError) AllErrors ¶
func (m GitProjectOptionsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GitProjectOptionsResponseMultiError) Error ¶
func (m GitProjectOptionsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GitProjectOptionsResponseValidationError ¶
type GitProjectOptionsResponseValidationError struct {
// contains filtered or unexported fields
}
GitProjectOptionsResponseValidationError is the validation error returned by GitProjectOptionsResponse.Validate if the designated constraints aren't met.
func (GitProjectOptionsResponseValidationError) Cause ¶
func (e GitProjectOptionsResponseValidationError) Cause() error
Cause function returns cause value.
func (GitProjectOptionsResponseValidationError) Error ¶
func (e GitProjectOptionsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GitProjectOptionsResponseValidationError) ErrorName ¶
func (e GitProjectOptionsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GitProjectOptionsResponseValidationError) Field ¶
func (e GitProjectOptionsResponseValidationError) Field() string
Field function returns field value.
func (GitProjectOptionsResponseValidationError) Key ¶
func (e GitProjectOptionsResponseValidationError) Key() bool
Key function returns key value.
func (GitProjectOptionsResponseValidationError) Reason ¶
func (e GitProjectOptionsResponseValidationError) Reason() string
Reason function returns reason value.
type GitServerClient ¶
type GitServerClient interface { // EnableProject 开启项目,开启后可以在项目列表看到 EnableProject(ctx context.Context, in *GitEnableProjectRequest, opts ...grpc.CallOption) (*GitEnableProjectResponse, error) // DisableProject 关闭项目 DisableProject(ctx context.Context, in *GitDisableProjectRequest, opts ...grpc.CallOption) (*GitDisableProjectResponse, error) // All 获取所有的 git 项目 All(ctx context.Context, in *GitAllProjectsRequest, opts ...grpc.CallOption) (*GitAllProjectsResponse, error) // ProjectOptions 获取项目信息, 用在级联列表 ProjectOptions(ctx context.Context, in *GitProjectOptionsRequest, opts ...grpc.CallOption) (*GitProjectOptionsResponse, error) // BranchOptions 获取分支信息, 用在级联列表 BranchOptions(ctx context.Context, in *GitBranchOptionsRequest, opts ...grpc.CallOption) (*GitBranchOptionsResponse, error) // CommitOptions 获取commit信息, 用在级联列表 CommitOptions(ctx context.Context, in *GitCommitOptionsRequest, opts ...grpc.CallOption) (*GitCommitOptionsResponse, error) // Commit 获取 commit 详情 Commit(ctx context.Context, in *GitCommitRequest, opts ...grpc.CallOption) (*GitCommitResponse, error) // PipelineInfo 获取 pipeline 详情 PipelineInfo(ctx context.Context, in *GitPipelineInfoRequest, opts ...grpc.CallOption) (*GitPipelineInfoResponse, error) // MarsConfigFile 获取项目 mars 配置详情 MarsConfigFile(ctx context.Context, in *GitConfigFileRequest, opts ...grpc.CallOption) (*GitConfigFileResponse, error) }
GitServerClient is the client API for GitServer 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 NewGitServerClient ¶
func NewGitServerClient(cc grpc.ClientConnInterface) GitServerClient
type GitServerServer ¶
type GitServerServer interface { // EnableProject 开启项目,开启后可以在项目列表看到 EnableProject(context.Context, *GitEnableProjectRequest) (*GitEnableProjectResponse, error) // DisableProject 关闭项目 DisableProject(context.Context, *GitDisableProjectRequest) (*GitDisableProjectResponse, error) // All 获取所有的 git 项目 All(context.Context, *GitAllProjectsRequest) (*GitAllProjectsResponse, error) // ProjectOptions 获取项目信息, 用在级联列表 ProjectOptions(context.Context, *GitProjectOptionsRequest) (*GitProjectOptionsResponse, error) // BranchOptions 获取分支信息, 用在级联列表 BranchOptions(context.Context, *GitBranchOptionsRequest) (*GitBranchOptionsResponse, error) // CommitOptions 获取commit信息, 用在级联列表 CommitOptions(context.Context, *GitCommitOptionsRequest) (*GitCommitOptionsResponse, error) // Commit 获取 commit 详情 Commit(context.Context, *GitCommitRequest) (*GitCommitResponse, error) // PipelineInfo 获取 pipeline 详情 PipelineInfo(context.Context, *GitPipelineInfoRequest) (*GitPipelineInfoResponse, error) // MarsConfigFile 获取项目 mars 配置详情 MarsConfigFile(context.Context, *GitConfigFileRequest) (*GitConfigFileResponse, error) // contains filtered or unexported methods }
GitServerServer is the server API for GitServer service. All implementations must embed UnimplementedGitServerServer for forward compatibility
type UnimplementedGitServerServer ¶
type UnimplementedGitServerServer struct { }
UnimplementedGitServerServer must be embedded to have forward compatible implementations.
func (UnimplementedGitServerServer) All ¶
func (UnimplementedGitServerServer) All(context.Context, *GitAllProjectsRequest) (*GitAllProjectsResponse, error)
func (UnimplementedGitServerServer) BranchOptions ¶
func (UnimplementedGitServerServer) BranchOptions(context.Context, *GitBranchOptionsRequest) (*GitBranchOptionsResponse, error)
func (UnimplementedGitServerServer) Commit ¶
func (UnimplementedGitServerServer) Commit(context.Context, *GitCommitRequest) (*GitCommitResponse, error)
func (UnimplementedGitServerServer) CommitOptions ¶
func (UnimplementedGitServerServer) CommitOptions(context.Context, *GitCommitOptionsRequest) (*GitCommitOptionsResponse, error)
func (UnimplementedGitServerServer) DisableProject ¶
func (UnimplementedGitServerServer) DisableProject(context.Context, *GitDisableProjectRequest) (*GitDisableProjectResponse, error)
func (UnimplementedGitServerServer) EnableProject ¶
func (UnimplementedGitServerServer) EnableProject(context.Context, *GitEnableProjectRequest) (*GitEnableProjectResponse, error)
func (UnimplementedGitServerServer) MarsConfigFile ¶
func (UnimplementedGitServerServer) MarsConfigFile(context.Context, *GitConfigFileRequest) (*GitConfigFileResponse, error)
func (UnimplementedGitServerServer) PipelineInfo ¶
func (UnimplementedGitServerServer) PipelineInfo(context.Context, *GitPipelineInfoRequest) (*GitPipelineInfoResponse, error)
func (UnimplementedGitServerServer) ProjectOptions ¶
func (UnimplementedGitServerServer) ProjectOptions(context.Context, *GitProjectOptionsRequest) (*GitProjectOptionsResponse, error)
type UnsafeGitServerServer ¶
type UnsafeGitServerServer interface {
// contains filtered or unexported methods
}
UnsafeGitServerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GitServerServer will result in compilation errors.