Documentation ¶
Overview ¶
Package git is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterGitHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterGitHandlerClient(ctx context.Context, mux *runtime.ServeMux, client GitClient) error
- func RegisterGitHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterGitHandlerServer(ctx context.Context, mux *runtime.ServeMux, server GitServer) error
- func RegisterGitServer(s grpc.ServiceRegistrar, srv GitServer)
- type AllReposRequest
- func (*AllReposRequest) Descriptor() ([]byte, []int)deprecated
- func (*AllReposRequest) ProtoMessage()
- func (x *AllReposRequest) ProtoReflect() protoreflect.Message
- func (x *AllReposRequest) Reset()
- func (x *AllReposRequest) String() string
- func (m *AllReposRequest) Validate() error
- func (m *AllReposRequest) ValidateAll() error
- type AllReposRequestMultiError
- type AllReposRequestValidationError
- func (e AllReposRequestValidationError) Cause() error
- func (e AllReposRequestValidationError) Error() string
- func (e AllReposRequestValidationError) ErrorName() string
- func (e AllReposRequestValidationError) Field() string
- func (e AllReposRequestValidationError) Key() bool
- func (e AllReposRequestValidationError) Reason() string
- type AllReposResponse
- func (*AllReposResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AllReposResponse) GetItems() []*AllReposResponse_Item
- func (*AllReposResponse) ProtoMessage()
- func (x *AllReposResponse) ProtoReflect() protoreflect.Message
- func (x *AllReposResponse) Reset()
- func (x *AllReposResponse) String() string
- func (m *AllReposResponse) Validate() error
- func (m *AllReposResponse) ValidateAll() error
- type AllReposResponseMultiError
- type AllReposResponseValidationError
- func (e AllReposResponseValidationError) Cause() error
- func (e AllReposResponseValidationError) Error() string
- func (e AllReposResponseValidationError) ErrorName() string
- func (e AllReposResponseValidationError) Field() string
- func (e AllReposResponseValidationError) Key() bool
- func (e AllReposResponseValidationError) Reason() string
- type AllReposResponse_Item
- func (*AllReposResponse_Item) Descriptor() ([]byte, []int)deprecated
- func (x *AllReposResponse_Item) GetDescription() string
- func (x *AllReposResponse_Item) GetId() int32
- func (x *AllReposResponse_Item) GetName() string
- func (*AllReposResponse_Item) ProtoMessage()
- func (x *AllReposResponse_Item) ProtoReflect() protoreflect.Message
- func (x *AllReposResponse_Item) Reset()
- func (x *AllReposResponse_Item) String() string
- func (m *AllReposResponse_Item) Validate() error
- func (m *AllReposResponse_Item) ValidateAll() error
- type AllReposResponse_ItemMultiError
- type AllReposResponse_ItemValidationError
- func (e AllReposResponse_ItemValidationError) Cause() error
- func (e AllReposResponse_ItemValidationError) Error() string
- func (e AllReposResponse_ItemValidationError) ErrorName() string
- func (e AllReposResponse_ItemValidationError) Field() string
- func (e AllReposResponse_ItemValidationError) Key() bool
- func (e AllReposResponse_ItemValidationError) Reason() string
- type BranchOptionsRequest
- func (*BranchOptionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BranchOptionsRequest) GetGitProjectId() int32
- func (x *BranchOptionsRequest) GetRepoId() int32
- func (*BranchOptionsRequest) ProtoMessage()
- func (x *BranchOptionsRequest) ProtoReflect() protoreflect.Message
- func (x *BranchOptionsRequest) Reset()
- func (x *BranchOptionsRequest) String() string
- func (m *BranchOptionsRequest) Validate() error
- func (m *BranchOptionsRequest) ValidateAll() error
- type BranchOptionsRequestMultiError
- type BranchOptionsRequestValidationError
- func (e BranchOptionsRequestValidationError) Cause() error
- func (e BranchOptionsRequestValidationError) Error() string
- func (e BranchOptionsRequestValidationError) ErrorName() string
- func (e BranchOptionsRequestValidationError) Field() string
- func (e BranchOptionsRequestValidationError) Key() bool
- func (e BranchOptionsRequestValidationError) Reason() string
- type BranchOptionsResponse
- func (*BranchOptionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BranchOptionsResponse) GetItems() []*Option
- func (*BranchOptionsResponse) ProtoMessage()
- func (x *BranchOptionsResponse) ProtoReflect() protoreflect.Message
- func (x *BranchOptionsResponse) Reset()
- func (x *BranchOptionsResponse) String() string
- func (m *BranchOptionsResponse) Validate() error
- func (m *BranchOptionsResponse) ValidateAll() error
- type BranchOptionsResponseMultiError
- type BranchOptionsResponseValidationError
- func (e BranchOptionsResponseValidationError) Cause() error
- func (e BranchOptionsResponseValidationError) Error() string
- func (e BranchOptionsResponseValidationError) ErrorName() string
- func (e BranchOptionsResponseValidationError) Field() string
- func (e BranchOptionsResponseValidationError) Key() bool
- func (e BranchOptionsResponseValidationError) Reason() string
- type CommitOptionsRequest
- func (*CommitOptionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CommitOptionsRequest) GetBranch() string
- func (x *CommitOptionsRequest) GetGitProjectId() int32
- func (*CommitOptionsRequest) ProtoMessage()
- func (x *CommitOptionsRequest) ProtoReflect() protoreflect.Message
- func (x *CommitOptionsRequest) Reset()
- func (x *CommitOptionsRequest) String() string
- func (m *CommitOptionsRequest) Validate() error
- func (m *CommitOptionsRequest) ValidateAll() error
- type CommitOptionsRequestMultiError
- type CommitOptionsRequestValidationError
- func (e CommitOptionsRequestValidationError) Cause() error
- func (e CommitOptionsRequestValidationError) Error() string
- func (e CommitOptionsRequestValidationError) ErrorName() string
- func (e CommitOptionsRequestValidationError) Field() string
- func (e CommitOptionsRequestValidationError) Key() bool
- func (e CommitOptionsRequestValidationError) Reason() string
- type CommitOptionsResponse
- func (*CommitOptionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CommitOptionsResponse) GetItems() []*Option
- func (*CommitOptionsResponse) ProtoMessage()
- func (x *CommitOptionsResponse) ProtoReflect() protoreflect.Message
- func (x *CommitOptionsResponse) Reset()
- func (x *CommitOptionsResponse) String() string
- func (m *CommitOptionsResponse) Validate() error
- func (m *CommitOptionsResponse) ValidateAll() error
- type CommitOptionsResponseMultiError
- type CommitOptionsResponseValidationError
- func (e CommitOptionsResponseValidationError) Cause() error
- func (e CommitOptionsResponseValidationError) Error() string
- func (e CommitOptionsResponseValidationError) ErrorName() string
- func (e CommitOptionsResponseValidationError) Field() string
- func (e CommitOptionsResponseValidationError) Key() bool
- func (e CommitOptionsResponseValidationError) Reason() string
- type CommitRequest
- func (*CommitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CommitRequest) GetBranch() string
- func (x *CommitRequest) GetCommit() string
- func (x *CommitRequest) GetGitProjectId() int32
- func (*CommitRequest) ProtoMessage()
- func (x *CommitRequest) ProtoReflect() protoreflect.Message
- func (x *CommitRequest) Reset()
- func (x *CommitRequest) String() string
- func (m *CommitRequest) Validate() error
- func (m *CommitRequest) ValidateAll() error
- type CommitRequestMultiError
- type CommitRequestValidationError
- func (e CommitRequestValidationError) Cause() error
- func (e CommitRequestValidationError) Error() string
- func (e CommitRequestValidationError) ErrorName() string
- func (e CommitRequestValidationError) Field() string
- func (e CommitRequestValidationError) Key() bool
- func (e CommitRequestValidationError) Reason() string
- type CommitResponse
- func (*CommitResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CommitResponse) GetAuthorEmail() string
- func (x *CommitResponse) GetAuthorName() string
- func (x *CommitResponse) GetBranch() string
- func (x *CommitResponse) GetCommittedDate() string
- func (x *CommitResponse) GetCommitterEmail() string
- func (x *CommitResponse) GetCommitterName() string
- func (x *CommitResponse) GetCreatedAt() string
- func (x *CommitResponse) GetGitProjectId() int32
- func (x *CommitResponse) GetId() string
- func (x *CommitResponse) GetLabel() string
- func (x *CommitResponse) GetMessage() string
- func (x *CommitResponse) GetShortId() string
- func (x *CommitResponse) GetTitle() string
- func (x *CommitResponse) GetWebUrl() string
- func (*CommitResponse) ProtoMessage()
- func (x *CommitResponse) ProtoReflect() protoreflect.Message
- func (x *CommitResponse) Reset()
- func (x *CommitResponse) String() string
- func (m *CommitResponse) Validate() error
- func (m *CommitResponse) ValidateAll() error
- type CommitResponseMultiError
- type CommitResponseValidationError
- func (e CommitResponseValidationError) Cause() error
- func (e CommitResponseValidationError) Error() string
- func (e CommitResponseValidationError) ErrorName() string
- func (e CommitResponseValidationError) Field() string
- func (e CommitResponseValidationError) Key() bool
- func (e CommitResponseValidationError) Reason() string
- type GetChartValuesYamlRequest
- func (*GetChartValuesYamlRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetChartValuesYamlRequest) GetInput() string
- func (*GetChartValuesYamlRequest) ProtoMessage()
- func (x *GetChartValuesYamlRequest) ProtoReflect() protoreflect.Message
- func (x *GetChartValuesYamlRequest) Reset()
- func (x *GetChartValuesYamlRequest) String() string
- func (m *GetChartValuesYamlRequest) Validate() error
- func (m *GetChartValuesYamlRequest) ValidateAll() error
- type GetChartValuesYamlRequestMultiError
- type GetChartValuesYamlRequestValidationError
- func (e GetChartValuesYamlRequestValidationError) Cause() error
- func (e GetChartValuesYamlRequestValidationError) Error() string
- func (e GetChartValuesYamlRequestValidationError) ErrorName() string
- func (e GetChartValuesYamlRequestValidationError) Field() string
- func (e GetChartValuesYamlRequestValidationError) Key() bool
- func (e GetChartValuesYamlRequestValidationError) Reason() string
- type GetChartValuesYamlResponse
- func (*GetChartValuesYamlResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetChartValuesYamlResponse) GetValues() string
- func (*GetChartValuesYamlResponse) ProtoMessage()
- func (x *GetChartValuesYamlResponse) ProtoReflect() protoreflect.Message
- func (x *GetChartValuesYamlResponse) Reset()
- func (x *GetChartValuesYamlResponse) String() string
- func (m *GetChartValuesYamlResponse) Validate() error
- func (m *GetChartValuesYamlResponse) ValidateAll() error
- type GetChartValuesYamlResponseMultiError
- type GetChartValuesYamlResponseValidationError
- func (e GetChartValuesYamlResponseValidationError) Cause() error
- func (e GetChartValuesYamlResponseValidationError) Error() string
- func (e GetChartValuesYamlResponseValidationError) ErrorName() string
- func (e GetChartValuesYamlResponseValidationError) Field() string
- func (e GetChartValuesYamlResponseValidationError) Key() bool
- func (e GetChartValuesYamlResponseValidationError) Reason() string
- type GitClient
- type GitServer
- type Option
- func (*Option) Descriptor() ([]byte, []int)deprecated
- func (x *Option) GetBranch() string
- func (x *Option) GetDescription() string
- func (x *Option) GetGitProjectId() int32
- func (x *Option) GetIsLeaf() bool
- func (x *Option) GetLabel() string
- func (x *Option) GetNeedGitRepo() bool
- func (x *Option) GetType() string
- func (x *Option) GetValue() string
- func (*Option) ProtoMessage()
- func (x *Option) ProtoReflect() protoreflect.Message
- func (x *Option) Reset()
- func (x *Option) String() string
- func (m *Option) Validate() error
- func (m *Option) ValidateAll() error
- type OptionMultiError
- type OptionValidationError
- type PipelineInfoRequest
- func (*PipelineInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PipelineInfoRequest) GetBranch() string
- func (x *PipelineInfoRequest) GetCommit() string
- func (x *PipelineInfoRequest) GetGitProjectId() string
- func (*PipelineInfoRequest) ProtoMessage()
- func (x *PipelineInfoRequest) ProtoReflect() protoreflect.Message
- func (x *PipelineInfoRequest) Reset()
- func (x *PipelineInfoRequest) String() string
- func (m *PipelineInfoRequest) Validate() error
- func (m *PipelineInfoRequest) ValidateAll() error
- type PipelineInfoRequestMultiError
- type PipelineInfoRequestValidationError
- func (e PipelineInfoRequestValidationError) Cause() error
- func (e PipelineInfoRequestValidationError) Error() string
- func (e PipelineInfoRequestValidationError) ErrorName() string
- func (e PipelineInfoRequestValidationError) Field() string
- func (e PipelineInfoRequestValidationError) Key() bool
- func (e PipelineInfoRequestValidationError) Reason() string
- type PipelineInfoResponse
- func (*PipelineInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PipelineInfoResponse) GetStatus() string
- func (x *PipelineInfoResponse) GetWebUrl() string
- func (*PipelineInfoResponse) ProtoMessage()
- func (x *PipelineInfoResponse) ProtoReflect() protoreflect.Message
- func (x *PipelineInfoResponse) Reset()
- func (x *PipelineInfoResponse) String() string
- func (m *PipelineInfoResponse) Validate() error
- func (m *PipelineInfoResponse) ValidateAll() error
- type PipelineInfoResponseMultiError
- type PipelineInfoResponseValidationError
- func (e PipelineInfoResponseValidationError) Cause() error
- func (e PipelineInfoResponseValidationError) Error() string
- func (e PipelineInfoResponseValidationError) ErrorName() string
- func (e PipelineInfoResponseValidationError) Field() string
- func (e PipelineInfoResponseValidationError) Key() bool
- func (e PipelineInfoResponseValidationError) Reason() string
- type ProjectOptionsRequest
- func (*ProjectOptionsRequest) Descriptor() ([]byte, []int)deprecated
- func (*ProjectOptionsRequest) ProtoMessage()
- func (x *ProjectOptionsRequest) ProtoReflect() protoreflect.Message
- func (x *ProjectOptionsRequest) Reset()
- func (x *ProjectOptionsRequest) String() string
- func (m *ProjectOptionsRequest) Validate() error
- func (m *ProjectOptionsRequest) ValidateAll() error
- type ProjectOptionsRequestMultiError
- type ProjectOptionsRequestValidationError
- func (e ProjectOptionsRequestValidationError) Cause() error
- func (e ProjectOptionsRequestValidationError) Error() string
- func (e ProjectOptionsRequestValidationError) ErrorName() string
- func (e ProjectOptionsRequestValidationError) Field() string
- func (e ProjectOptionsRequestValidationError) Key() bool
- func (e ProjectOptionsRequestValidationError) Reason() string
- type ProjectOptionsResponse
- func (*ProjectOptionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectOptionsResponse) GetItems() []*Option
- func (*ProjectOptionsResponse) ProtoMessage()
- func (x *ProjectOptionsResponse) ProtoReflect() protoreflect.Message
- func (x *ProjectOptionsResponse) Reset()
- func (x *ProjectOptionsResponse) String() string
- func (m *ProjectOptionsResponse) Validate() error
- func (m *ProjectOptionsResponse) ValidateAll() error
- type ProjectOptionsResponseMultiError
- type ProjectOptionsResponseValidationError
- func (e ProjectOptionsResponseValidationError) Cause() error
- func (e ProjectOptionsResponseValidationError) Error() string
- func (e ProjectOptionsResponseValidationError) ErrorName() string
- func (e ProjectOptionsResponseValidationError) Field() string
- func (e ProjectOptionsResponseValidationError) Key() bool
- func (e ProjectOptionsResponseValidationError) Reason() string
- type UnimplementedGitServer
- func (UnimplementedGitServer) AllRepos(context.Context, *AllReposRequest) (*AllReposResponse, error)
- func (UnimplementedGitServer) BranchOptions(context.Context, *BranchOptionsRequest) (*BranchOptionsResponse, error)
- func (UnimplementedGitServer) Commit(context.Context, *CommitRequest) (*CommitResponse, error)
- func (UnimplementedGitServer) CommitOptions(context.Context, *CommitOptionsRequest) (*CommitOptionsResponse, error)
- func (UnimplementedGitServer) GetChartValuesYaml(context.Context, *GetChartValuesYamlRequest) (*GetChartValuesYamlResponse, error)
- func (UnimplementedGitServer) PipelineInfo(context.Context, *PipelineInfoRequest) (*PipelineInfoResponse, error)
- func (UnimplementedGitServer) ProjectOptions(context.Context, *ProjectOptionsRequest) (*ProjectOptionsResponse, error)
- type UnsafeGitServer
Constants ¶
const ( Git_AllRepos_FullMethodName = "/git.Git/AllRepos" Git_ProjectOptions_FullMethodName = "/git.Git/ProjectOptions" Git_BranchOptions_FullMethodName = "/git.Git/BranchOptions" Git_CommitOptions_FullMethodName = "/git.Git/CommitOptions" Git_Commit_FullMethodName = "/git.Git/Commit" Git_PipelineInfo_FullMethodName = "/git.Git/PipelineInfo" Git_GetChartValuesYaml_FullMethodName = "/git.Git/GetChartValuesYaml" )
Variables ¶
var File_git_git_proto protoreflect.FileDescriptor
var Git_ServiceDesc = grpc.ServiceDesc{ ServiceName: "git.Git", HandlerType: (*GitServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AllRepos", Handler: _Git_AllRepos_Handler, }, { MethodName: "ProjectOptions", Handler: _Git_ProjectOptions_Handler, }, { MethodName: "BranchOptions", Handler: _Git_BranchOptions_Handler, }, { MethodName: "CommitOptions", Handler: _Git_CommitOptions_Handler, }, { MethodName: "Commit", Handler: _Git_Commit_Handler, }, { MethodName: "PipelineInfo", Handler: _Git_PipelineInfo_Handler, }, { MethodName: "GetChartValuesYaml", Handler: _Git_GetChartValuesYaml_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "git/git.proto", }
Git_ServiceDesc is the grpc.ServiceDesc for Git service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterGitHandler ¶
RegisterGitHandler registers the http handlers for service Git to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterGitHandlerClient ¶
RegisterGitHandlerClient registers the http handlers for service Git to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "GitClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "GitClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "GitClient" to call the correct interceptors.
func RegisterGitHandlerFromEndpoint ¶
func RegisterGitHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterGitHandlerFromEndpoint is same as RegisterGitHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterGitHandlerServer ¶
RegisterGitHandlerServer registers the http handlers for service Git to "mux". UnaryRPC :call GitServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterGitHandlerFromEndpoint instead.
func RegisterGitServer ¶
func RegisterGitServer(s grpc.ServiceRegistrar, srv GitServer)
Types ¶
type AllReposRequest ¶
type AllReposRequest struct {
// contains filtered or unexported fields
}
func (*AllReposRequest) Descriptor
deprecated
func (*AllReposRequest) Descriptor() ([]byte, []int)
Deprecated: Use AllReposRequest.ProtoReflect.Descriptor instead.
func (*AllReposRequest) ProtoMessage ¶
func (*AllReposRequest) ProtoMessage()
func (*AllReposRequest) ProtoReflect ¶
func (x *AllReposRequest) ProtoReflect() protoreflect.Message
func (*AllReposRequest) Reset ¶
func (x *AllReposRequest) Reset()
func (*AllReposRequest) String ¶
func (x *AllReposRequest) String() string
func (*AllReposRequest) Validate ¶
func (m *AllReposRequest) Validate() error
Validate checks the field values on AllReposRequest 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 (*AllReposRequest) ValidateAll ¶
func (m *AllReposRequest) ValidateAll() error
ValidateAll checks the field values on AllReposRequest 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 AllReposRequestMultiError, or nil if none found.
type AllReposRequestMultiError ¶
type AllReposRequestMultiError []error
AllReposRequestMultiError is an error wrapping multiple validation errors returned by AllReposRequest.ValidateAll() if the designated constraints aren't met.
func (AllReposRequestMultiError) AllErrors ¶
func (m AllReposRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AllReposRequestMultiError) Error ¶
func (m AllReposRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AllReposRequestValidationError ¶
type AllReposRequestValidationError struct {
// contains filtered or unexported fields
}
AllReposRequestValidationError is the validation error returned by AllReposRequest.Validate if the designated constraints aren't met.
func (AllReposRequestValidationError) Cause ¶
func (e AllReposRequestValidationError) Cause() error
Cause function returns cause value.
func (AllReposRequestValidationError) Error ¶
func (e AllReposRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AllReposRequestValidationError) ErrorName ¶
func (e AllReposRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AllReposRequestValidationError) Field ¶
func (e AllReposRequestValidationError) Field() string
Field function returns field value.
func (AllReposRequestValidationError) Key ¶
func (e AllReposRequestValidationError) Key() bool
Key function returns key value.
func (AllReposRequestValidationError) Reason ¶
func (e AllReposRequestValidationError) Reason() string
Reason function returns reason value.
type AllReposResponse ¶
type AllReposResponse struct { Items []*AllReposResponse_Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*AllReposResponse) Descriptor
deprecated
func (*AllReposResponse) Descriptor() ([]byte, []int)
Deprecated: Use AllReposResponse.ProtoReflect.Descriptor instead.
func (*AllReposResponse) GetItems ¶
func (x *AllReposResponse) GetItems() []*AllReposResponse_Item
func (*AllReposResponse) ProtoMessage ¶
func (*AllReposResponse) ProtoMessage()
func (*AllReposResponse) ProtoReflect ¶
func (x *AllReposResponse) ProtoReflect() protoreflect.Message
func (*AllReposResponse) Reset ¶
func (x *AllReposResponse) Reset()
func (*AllReposResponse) String ¶
func (x *AllReposResponse) String() string
func (*AllReposResponse) Validate ¶
func (m *AllReposResponse) Validate() error
Validate checks the field values on AllReposResponse 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 (*AllReposResponse) ValidateAll ¶
func (m *AllReposResponse) ValidateAll() error
ValidateAll checks the field values on AllReposResponse 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 AllReposResponseMultiError, or nil if none found.
type AllReposResponseMultiError ¶
type AllReposResponseMultiError []error
AllReposResponseMultiError is an error wrapping multiple validation errors returned by AllReposResponse.ValidateAll() if the designated constraints aren't met.
func (AllReposResponseMultiError) AllErrors ¶
func (m AllReposResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AllReposResponseMultiError) Error ¶
func (m AllReposResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AllReposResponseValidationError ¶
type AllReposResponseValidationError struct {
// contains filtered or unexported fields
}
AllReposResponseValidationError is the validation error returned by AllReposResponse.Validate if the designated constraints aren't met.
func (AllReposResponseValidationError) Cause ¶
func (e AllReposResponseValidationError) Cause() error
Cause function returns cause value.
func (AllReposResponseValidationError) Error ¶
func (e AllReposResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AllReposResponseValidationError) ErrorName ¶
func (e AllReposResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AllReposResponseValidationError) Field ¶
func (e AllReposResponseValidationError) Field() string
Field function returns field value.
func (AllReposResponseValidationError) Key ¶
func (e AllReposResponseValidationError) Key() bool
Key function returns key value.
func (AllReposResponseValidationError) Reason ¶
func (e AllReposResponseValidationError) Reason() string
Reason function returns reason value.
type AllReposResponse_Item ¶
type AllReposResponse_Item struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*AllReposResponse_Item) Descriptor
deprecated
func (*AllReposResponse_Item) Descriptor() ([]byte, []int)
Deprecated: Use AllReposResponse_Item.ProtoReflect.Descriptor instead.
func (*AllReposResponse_Item) GetDescription ¶
func (x *AllReposResponse_Item) GetDescription() string
func (*AllReposResponse_Item) GetId ¶
func (x *AllReposResponse_Item) GetId() int32
func (*AllReposResponse_Item) GetName ¶
func (x *AllReposResponse_Item) GetName() string
func (*AllReposResponse_Item) ProtoMessage ¶
func (*AllReposResponse_Item) ProtoMessage()
func (*AllReposResponse_Item) ProtoReflect ¶
func (x *AllReposResponse_Item) ProtoReflect() protoreflect.Message
func (*AllReposResponse_Item) Reset ¶
func (x *AllReposResponse_Item) Reset()
func (*AllReposResponse_Item) String ¶
func (x *AllReposResponse_Item) String() string
func (*AllReposResponse_Item) Validate ¶
func (m *AllReposResponse_Item) Validate() error
Validate checks the field values on AllReposResponse_Item 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 (*AllReposResponse_Item) ValidateAll ¶
func (m *AllReposResponse_Item) ValidateAll() error
ValidateAll checks the field values on AllReposResponse_Item 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 AllReposResponse_ItemMultiError, or nil if none found.
type AllReposResponse_ItemMultiError ¶
type AllReposResponse_ItemMultiError []error
AllReposResponse_ItemMultiError is an error wrapping multiple validation errors returned by AllReposResponse_Item.ValidateAll() if the designated constraints aren't met.
func (AllReposResponse_ItemMultiError) AllErrors ¶
func (m AllReposResponse_ItemMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AllReposResponse_ItemMultiError) Error ¶
func (m AllReposResponse_ItemMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AllReposResponse_ItemValidationError ¶
type AllReposResponse_ItemValidationError struct {
// contains filtered or unexported fields
}
AllReposResponse_ItemValidationError is the validation error returned by AllReposResponse_Item.Validate if the designated constraints aren't met.
func (AllReposResponse_ItemValidationError) Cause ¶
func (e AllReposResponse_ItemValidationError) Cause() error
Cause function returns cause value.
func (AllReposResponse_ItemValidationError) Error ¶
func (e AllReposResponse_ItemValidationError) Error() string
Error satisfies the builtin error interface
func (AllReposResponse_ItemValidationError) ErrorName ¶
func (e AllReposResponse_ItemValidationError) ErrorName() string
ErrorName returns error name.
func (AllReposResponse_ItemValidationError) Field ¶
func (e AllReposResponse_ItemValidationError) Field() string
Field function returns field value.
func (AllReposResponse_ItemValidationError) Key ¶
func (e AllReposResponse_ItemValidationError) Key() bool
Key function returns key value.
func (AllReposResponse_ItemValidationError) Reason ¶
func (e AllReposResponse_ItemValidationError) Reason() string
Reason function returns reason value.
type BranchOptionsRequest ¶
type BranchOptionsRequest struct { GitProjectId int32 `protobuf:"varint,1,opt,name=git_project_id,json=gitProjectId,proto3" json:"git_project_id,omitempty"` // 如果传入 repo_id, 就会根据 mars 配置过滤分支 RepoId int32 `protobuf:"varint,2,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` // contains filtered or unexported fields }
func (*BranchOptionsRequest) Descriptor
deprecated
func (*BranchOptionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BranchOptionsRequest.ProtoReflect.Descriptor instead.
func (*BranchOptionsRequest) GetGitProjectId ¶
func (x *BranchOptionsRequest) GetGitProjectId() int32
func (*BranchOptionsRequest) GetRepoId ¶
func (x *BranchOptionsRequest) GetRepoId() int32
func (*BranchOptionsRequest) ProtoMessage ¶
func (*BranchOptionsRequest) ProtoMessage()
func (*BranchOptionsRequest) ProtoReflect ¶
func (x *BranchOptionsRequest) ProtoReflect() protoreflect.Message
func (*BranchOptionsRequest) Reset ¶
func (x *BranchOptionsRequest) Reset()
func (*BranchOptionsRequest) String ¶
func (x *BranchOptionsRequest) String() string
func (*BranchOptionsRequest) Validate ¶
func (m *BranchOptionsRequest) Validate() error
Validate checks the field values on BranchOptionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*BranchOptionsRequest) ValidateAll ¶
func (m *BranchOptionsRequest) ValidateAll() error
ValidateAll checks the field values on BranchOptionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BranchOptionsRequestMultiError, or nil if none found.
type BranchOptionsRequestMultiError ¶
type BranchOptionsRequestMultiError []error
BranchOptionsRequestMultiError is an error wrapping multiple validation errors returned by BranchOptionsRequest.ValidateAll() if the designated constraints aren't met.
func (BranchOptionsRequestMultiError) AllErrors ¶
func (m BranchOptionsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BranchOptionsRequestMultiError) Error ¶
func (m BranchOptionsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BranchOptionsRequestValidationError ¶
type BranchOptionsRequestValidationError struct {
// contains filtered or unexported fields
}
BranchOptionsRequestValidationError is the validation error returned by BranchOptionsRequest.Validate if the designated constraints aren't met.
func (BranchOptionsRequestValidationError) Cause ¶
func (e BranchOptionsRequestValidationError) Cause() error
Cause function returns cause value.
func (BranchOptionsRequestValidationError) Error ¶
func (e BranchOptionsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (BranchOptionsRequestValidationError) ErrorName ¶
func (e BranchOptionsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (BranchOptionsRequestValidationError) Field ¶
func (e BranchOptionsRequestValidationError) Field() string
Field function returns field value.
func (BranchOptionsRequestValidationError) Key ¶
func (e BranchOptionsRequestValidationError) Key() bool
Key function returns key value.
func (BranchOptionsRequestValidationError) Reason ¶
func (e BranchOptionsRequestValidationError) Reason() string
Reason function returns reason value.
type BranchOptionsResponse ¶
type BranchOptionsResponse struct { Items []*Option `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*BranchOptionsResponse) Descriptor
deprecated
func (*BranchOptionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use BranchOptionsResponse.ProtoReflect.Descriptor instead.
func (*BranchOptionsResponse) GetItems ¶
func (x *BranchOptionsResponse) GetItems() []*Option
func (*BranchOptionsResponse) ProtoMessage ¶
func (*BranchOptionsResponse) ProtoMessage()
func (*BranchOptionsResponse) ProtoReflect ¶
func (x *BranchOptionsResponse) ProtoReflect() protoreflect.Message
func (*BranchOptionsResponse) Reset ¶
func (x *BranchOptionsResponse) Reset()
func (*BranchOptionsResponse) String ¶
func (x *BranchOptionsResponse) String() string
func (*BranchOptionsResponse) Validate ¶
func (m *BranchOptionsResponse) Validate() error
Validate checks the field values on BranchOptionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*BranchOptionsResponse) ValidateAll ¶
func (m *BranchOptionsResponse) ValidateAll() error
ValidateAll checks the field values on BranchOptionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BranchOptionsResponseMultiError, or nil if none found.
type BranchOptionsResponseMultiError ¶
type BranchOptionsResponseMultiError []error
BranchOptionsResponseMultiError is an error wrapping multiple validation errors returned by BranchOptionsResponse.ValidateAll() if the designated constraints aren't met.
func (BranchOptionsResponseMultiError) AllErrors ¶
func (m BranchOptionsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BranchOptionsResponseMultiError) Error ¶
func (m BranchOptionsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BranchOptionsResponseValidationError ¶
type BranchOptionsResponseValidationError struct {
// contains filtered or unexported fields
}
BranchOptionsResponseValidationError is the validation error returned by BranchOptionsResponse.Validate if the designated constraints aren't met.
func (BranchOptionsResponseValidationError) Cause ¶
func (e BranchOptionsResponseValidationError) Cause() error
Cause function returns cause value.
func (BranchOptionsResponseValidationError) Error ¶
func (e BranchOptionsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (BranchOptionsResponseValidationError) ErrorName ¶
func (e BranchOptionsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (BranchOptionsResponseValidationError) Field ¶
func (e BranchOptionsResponseValidationError) Field() string
Field function returns field value.
func (BranchOptionsResponseValidationError) Key ¶
func (e BranchOptionsResponseValidationError) Key() bool
Key function returns key value.
func (BranchOptionsResponseValidationError) Reason ¶
func (e BranchOptionsResponseValidationError) Reason() string
Reason function returns reason value.
type CommitOptionsRequest ¶
type CommitOptionsRequest struct { GitProjectId int32 `protobuf:"varint,1,opt,name=git_project_id,json=gitProjectId,proto3" json:"git_project_id,omitempty"` Branch string `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"` // contains filtered or unexported fields }
func (*CommitOptionsRequest) Descriptor
deprecated
func (*CommitOptionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CommitOptionsRequest.ProtoReflect.Descriptor instead.
func (*CommitOptionsRequest) GetBranch ¶
func (x *CommitOptionsRequest) GetBranch() string
func (*CommitOptionsRequest) GetGitProjectId ¶
func (x *CommitOptionsRequest) GetGitProjectId() int32
func (*CommitOptionsRequest) ProtoMessage ¶
func (*CommitOptionsRequest) ProtoMessage()
func (*CommitOptionsRequest) ProtoReflect ¶
func (x *CommitOptionsRequest) ProtoReflect() protoreflect.Message
func (*CommitOptionsRequest) Reset ¶
func (x *CommitOptionsRequest) Reset()
func (*CommitOptionsRequest) String ¶
func (x *CommitOptionsRequest) String() string
func (*CommitOptionsRequest) Validate ¶
func (m *CommitOptionsRequest) Validate() error
Validate checks the field values on CommitOptionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CommitOptionsRequest) ValidateAll ¶
func (m *CommitOptionsRequest) ValidateAll() error
ValidateAll checks the field values on CommitOptionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CommitOptionsRequestMultiError, or nil if none found.
type CommitOptionsRequestMultiError ¶
type CommitOptionsRequestMultiError []error
CommitOptionsRequestMultiError is an error wrapping multiple validation errors returned by CommitOptionsRequest.ValidateAll() if the designated constraints aren't met.
func (CommitOptionsRequestMultiError) AllErrors ¶
func (m CommitOptionsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CommitOptionsRequestMultiError) Error ¶
func (m CommitOptionsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CommitOptionsRequestValidationError ¶
type CommitOptionsRequestValidationError struct {
// contains filtered or unexported fields
}
CommitOptionsRequestValidationError is the validation error returned by CommitOptionsRequest.Validate if the designated constraints aren't met.
func (CommitOptionsRequestValidationError) Cause ¶
func (e CommitOptionsRequestValidationError) Cause() error
Cause function returns cause value.
func (CommitOptionsRequestValidationError) Error ¶
func (e CommitOptionsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CommitOptionsRequestValidationError) ErrorName ¶
func (e CommitOptionsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CommitOptionsRequestValidationError) Field ¶
func (e CommitOptionsRequestValidationError) Field() string
Field function returns field value.
func (CommitOptionsRequestValidationError) Key ¶
func (e CommitOptionsRequestValidationError) Key() bool
Key function returns key value.
func (CommitOptionsRequestValidationError) Reason ¶
func (e CommitOptionsRequestValidationError) Reason() string
Reason function returns reason value.
type CommitOptionsResponse ¶
type CommitOptionsResponse struct { Items []*Option `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*CommitOptionsResponse) Descriptor
deprecated
func (*CommitOptionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CommitOptionsResponse.ProtoReflect.Descriptor instead.
func (*CommitOptionsResponse) GetItems ¶
func (x *CommitOptionsResponse) GetItems() []*Option
func (*CommitOptionsResponse) ProtoMessage ¶
func (*CommitOptionsResponse) ProtoMessage()
func (*CommitOptionsResponse) ProtoReflect ¶
func (x *CommitOptionsResponse) ProtoReflect() protoreflect.Message
func (*CommitOptionsResponse) Reset ¶
func (x *CommitOptionsResponse) Reset()
func (*CommitOptionsResponse) String ¶
func (x *CommitOptionsResponse) String() string
func (*CommitOptionsResponse) Validate ¶
func (m *CommitOptionsResponse) Validate() error
Validate checks the field values on CommitOptionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CommitOptionsResponse) ValidateAll ¶
func (m *CommitOptionsResponse) ValidateAll() error
ValidateAll checks the field values on CommitOptionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CommitOptionsResponseMultiError, or nil if none found.
type CommitOptionsResponseMultiError ¶
type CommitOptionsResponseMultiError []error
CommitOptionsResponseMultiError is an error wrapping multiple validation errors returned by CommitOptionsResponse.ValidateAll() if the designated constraints aren't met.
func (CommitOptionsResponseMultiError) AllErrors ¶
func (m CommitOptionsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CommitOptionsResponseMultiError) Error ¶
func (m CommitOptionsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CommitOptionsResponseValidationError ¶
type CommitOptionsResponseValidationError struct {
// contains filtered or unexported fields
}
CommitOptionsResponseValidationError is the validation error returned by CommitOptionsResponse.Validate if the designated constraints aren't met.
func (CommitOptionsResponseValidationError) Cause ¶
func (e CommitOptionsResponseValidationError) Cause() error
Cause function returns cause value.
func (CommitOptionsResponseValidationError) Error ¶
func (e CommitOptionsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CommitOptionsResponseValidationError) ErrorName ¶
func (e CommitOptionsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CommitOptionsResponseValidationError) Field ¶
func (e CommitOptionsResponseValidationError) Field() string
Field function returns field value.
func (CommitOptionsResponseValidationError) Key ¶
func (e CommitOptionsResponseValidationError) Key() bool
Key function returns key value.
func (CommitOptionsResponseValidationError) Reason ¶
func (e CommitOptionsResponseValidationError) Reason() string
Reason function returns reason value.
type CommitRequest ¶
type CommitRequest struct { GitProjectId int32 `protobuf:"varint,1,opt,name=git_project_id,json=gitProjectId,proto3" json:"git_project_id,omitempty"` Branch string `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"` Commit string `protobuf:"bytes,3,opt,name=commit,proto3" json:"commit,omitempty"` // contains filtered or unexported fields }
func (*CommitRequest) Descriptor
deprecated
func (*CommitRequest) Descriptor() ([]byte, []int)
Deprecated: Use CommitRequest.ProtoReflect.Descriptor instead.
func (*CommitRequest) GetBranch ¶
func (x *CommitRequest) GetBranch() string
func (*CommitRequest) GetCommit ¶
func (x *CommitRequest) GetCommit() string
func (*CommitRequest) GetGitProjectId ¶
func (x *CommitRequest) GetGitProjectId() int32
func (*CommitRequest) ProtoMessage ¶
func (*CommitRequest) ProtoMessage()
func (*CommitRequest) ProtoReflect ¶
func (x *CommitRequest) ProtoReflect() protoreflect.Message
func (*CommitRequest) Reset ¶
func (x *CommitRequest) Reset()
func (*CommitRequest) String ¶
func (x *CommitRequest) String() string
func (*CommitRequest) Validate ¶
func (m *CommitRequest) Validate() error
Validate checks the field values on CommitRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CommitRequest) ValidateAll ¶
func (m *CommitRequest) ValidateAll() error
ValidateAll checks the field values on CommitRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CommitRequestMultiError, or nil if none found.
type CommitRequestMultiError ¶
type CommitRequestMultiError []error
CommitRequestMultiError is an error wrapping multiple validation errors returned by CommitRequest.ValidateAll() if the designated constraints aren't met.
func (CommitRequestMultiError) AllErrors ¶
func (m CommitRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CommitRequestMultiError) Error ¶
func (m CommitRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CommitRequestValidationError ¶
type CommitRequestValidationError struct {
// contains filtered or unexported fields
}
CommitRequestValidationError is the validation error returned by CommitRequest.Validate if the designated constraints aren't met.
func (CommitRequestValidationError) Cause ¶
func (e CommitRequestValidationError) Cause() error
Cause function returns cause value.
func (CommitRequestValidationError) Error ¶
func (e CommitRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CommitRequestValidationError) ErrorName ¶
func (e CommitRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CommitRequestValidationError) Field ¶
func (e CommitRequestValidationError) Field() string
Field function returns field value.
func (CommitRequestValidationError) Key ¶
func (e CommitRequestValidationError) Key() bool
Key function returns key value.
func (CommitRequestValidationError) Reason ¶
func (e CommitRequestValidationError) Reason() string
Reason function returns reason value.
type CommitResponse ¶
type CommitResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ShortId string `protobuf:"bytes,2,opt,name=short_id,json=shortId,proto3" json:"short_id,omitempty"` GitProjectId int32 `protobuf:"varint,3,opt,name=git_project_id,json=gitProjectId,proto3" json:"git_project_id,omitempty"` Label string `protobuf:"bytes,4,opt,name=label,proto3" json:"label,omitempty"` Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` Branch string `protobuf:"bytes,6,opt,name=branch,proto3" json:"branch,omitempty"` AuthorName string `protobuf:"bytes,7,opt,name=author_name,json=authorName,proto3" json:"author_name,omitempty"` AuthorEmail string `protobuf:"bytes,8,opt,name=author_email,json=authorEmail,proto3" json:"author_email,omitempty"` CommitterName string `protobuf:"bytes,9,opt,name=committer_name,json=committerName,proto3" json:"committer_name,omitempty"` CommitterEmail string `protobuf:"bytes,10,opt,name=committer_email,json=committerEmail,proto3" json:"committer_email,omitempty"` WebUrl string `protobuf:"bytes,11,opt,name=web_url,json=webUrl,proto3" json:"web_url,omitempty"` Message string `protobuf:"bytes,12,opt,name=message,proto3" json:"message,omitempty"` CommittedDate string `protobuf:"bytes,13,opt,name=committed_date,json=committedDate,proto3" json:"committed_date,omitempty"` CreatedAt string `protobuf:"bytes,14,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*CommitResponse) Descriptor
deprecated
func (*CommitResponse) Descriptor() ([]byte, []int)
Deprecated: Use CommitResponse.ProtoReflect.Descriptor instead.
func (*CommitResponse) GetAuthorEmail ¶
func (x *CommitResponse) GetAuthorEmail() string
func (*CommitResponse) GetAuthorName ¶
func (x *CommitResponse) GetAuthorName() string
func (*CommitResponse) GetBranch ¶
func (x *CommitResponse) GetBranch() string
func (*CommitResponse) GetCommittedDate ¶
func (x *CommitResponse) GetCommittedDate() string
func (*CommitResponse) GetCommitterEmail ¶
func (x *CommitResponse) GetCommitterEmail() string
func (*CommitResponse) GetCommitterName ¶
func (x *CommitResponse) GetCommitterName() string
func (*CommitResponse) GetCreatedAt ¶
func (x *CommitResponse) GetCreatedAt() string
func (*CommitResponse) GetGitProjectId ¶
func (x *CommitResponse) GetGitProjectId() int32
func (*CommitResponse) GetId ¶
func (x *CommitResponse) GetId() string
func (*CommitResponse) GetLabel ¶
func (x *CommitResponse) GetLabel() string
func (*CommitResponse) GetMessage ¶
func (x *CommitResponse) GetMessage() string
func (*CommitResponse) GetShortId ¶
func (x *CommitResponse) GetShortId() string
func (*CommitResponse) GetTitle ¶
func (x *CommitResponse) GetTitle() string
func (*CommitResponse) GetWebUrl ¶
func (x *CommitResponse) GetWebUrl() string
func (*CommitResponse) ProtoMessage ¶
func (*CommitResponse) ProtoMessage()
func (*CommitResponse) ProtoReflect ¶
func (x *CommitResponse) ProtoReflect() protoreflect.Message
func (*CommitResponse) Reset ¶
func (x *CommitResponse) Reset()
func (*CommitResponse) String ¶
func (x *CommitResponse) String() string
func (*CommitResponse) Validate ¶
func (m *CommitResponse) Validate() error
Validate checks the field values on CommitResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CommitResponse) ValidateAll ¶
func (m *CommitResponse) ValidateAll() error
ValidateAll checks the field values on CommitResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CommitResponseMultiError, or nil if none found.
type CommitResponseMultiError ¶
type CommitResponseMultiError []error
CommitResponseMultiError is an error wrapping multiple validation errors returned by CommitResponse.ValidateAll() if the designated constraints aren't met.
func (CommitResponseMultiError) AllErrors ¶
func (m CommitResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CommitResponseMultiError) Error ¶
func (m CommitResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CommitResponseValidationError ¶
type CommitResponseValidationError struct {
// contains filtered or unexported fields
}
CommitResponseValidationError is the validation error returned by CommitResponse.Validate if the designated constraints aren't met.
func (CommitResponseValidationError) Cause ¶
func (e CommitResponseValidationError) Cause() error
Cause function returns cause value.
func (CommitResponseValidationError) Error ¶
func (e CommitResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CommitResponseValidationError) ErrorName ¶
func (e CommitResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CommitResponseValidationError) Field ¶
func (e CommitResponseValidationError) Field() string
Field function returns field value.
func (CommitResponseValidationError) Key ¶
func (e CommitResponseValidationError) Key() bool
Key function returns key value.
func (CommitResponseValidationError) Reason ¶
func (e CommitResponseValidationError) Reason() string
Reason function returns reason value.
type GetChartValuesYamlRequest ¶
type GetChartValuesYamlRequest struct { // "pid|branch|path" or "path" Input string `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"` // contains filtered or unexported fields }
func (*GetChartValuesYamlRequest) Descriptor
deprecated
func (*GetChartValuesYamlRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetChartValuesYamlRequest.ProtoReflect.Descriptor instead.
func (*GetChartValuesYamlRequest) GetInput ¶
func (x *GetChartValuesYamlRequest) GetInput() string
func (*GetChartValuesYamlRequest) ProtoMessage ¶
func (*GetChartValuesYamlRequest) ProtoMessage()
func (*GetChartValuesYamlRequest) ProtoReflect ¶
func (x *GetChartValuesYamlRequest) ProtoReflect() protoreflect.Message
func (*GetChartValuesYamlRequest) Reset ¶
func (x *GetChartValuesYamlRequest) Reset()
func (*GetChartValuesYamlRequest) String ¶
func (x *GetChartValuesYamlRequest) String() string
func (*GetChartValuesYamlRequest) Validate ¶
func (m *GetChartValuesYamlRequest) Validate() error
Validate checks the field values on GetChartValuesYamlRequest 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 (*GetChartValuesYamlRequest) ValidateAll ¶
func (m *GetChartValuesYamlRequest) ValidateAll() error
ValidateAll checks the field values on GetChartValuesYamlRequest 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 GetChartValuesYamlRequestMultiError, or nil if none found.
type GetChartValuesYamlRequestMultiError ¶
type GetChartValuesYamlRequestMultiError []error
GetChartValuesYamlRequestMultiError is an error wrapping multiple validation errors returned by GetChartValuesYamlRequest.ValidateAll() if the designated constraints aren't met.
func (GetChartValuesYamlRequestMultiError) AllErrors ¶
func (m GetChartValuesYamlRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetChartValuesYamlRequestMultiError) Error ¶
func (m GetChartValuesYamlRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetChartValuesYamlRequestValidationError ¶
type GetChartValuesYamlRequestValidationError struct {
// contains filtered or unexported fields
}
GetChartValuesYamlRequestValidationError is the validation error returned by GetChartValuesYamlRequest.Validate if the designated constraints aren't met.
func (GetChartValuesYamlRequestValidationError) Cause ¶
func (e GetChartValuesYamlRequestValidationError) Cause() error
Cause function returns cause value.
func (GetChartValuesYamlRequestValidationError) Error ¶
func (e GetChartValuesYamlRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetChartValuesYamlRequestValidationError) ErrorName ¶
func (e GetChartValuesYamlRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetChartValuesYamlRequestValidationError) Field ¶
func (e GetChartValuesYamlRequestValidationError) Field() string
Field function returns field value.
func (GetChartValuesYamlRequestValidationError) Key ¶
func (e GetChartValuesYamlRequestValidationError) Key() bool
Key function returns key value.
func (GetChartValuesYamlRequestValidationError) Reason ¶
func (e GetChartValuesYamlRequestValidationError) Reason() string
Reason function returns reason value.
type GetChartValuesYamlResponse ¶
type GetChartValuesYamlResponse struct { Values string `protobuf:"bytes,1,opt,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
func (*GetChartValuesYamlResponse) Descriptor
deprecated
func (*GetChartValuesYamlResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetChartValuesYamlResponse.ProtoReflect.Descriptor instead.
func (*GetChartValuesYamlResponse) GetValues ¶
func (x *GetChartValuesYamlResponse) GetValues() string
func (*GetChartValuesYamlResponse) ProtoMessage ¶
func (*GetChartValuesYamlResponse) ProtoMessage()
func (*GetChartValuesYamlResponse) ProtoReflect ¶
func (x *GetChartValuesYamlResponse) ProtoReflect() protoreflect.Message
func (*GetChartValuesYamlResponse) Reset ¶
func (x *GetChartValuesYamlResponse) Reset()
func (*GetChartValuesYamlResponse) String ¶
func (x *GetChartValuesYamlResponse) String() string
func (*GetChartValuesYamlResponse) Validate ¶
func (m *GetChartValuesYamlResponse) Validate() error
Validate checks the field values on GetChartValuesYamlResponse 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 (*GetChartValuesYamlResponse) ValidateAll ¶
func (m *GetChartValuesYamlResponse) ValidateAll() error
ValidateAll checks the field values on GetChartValuesYamlResponse 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 GetChartValuesYamlResponseMultiError, or nil if none found.
type GetChartValuesYamlResponseMultiError ¶
type GetChartValuesYamlResponseMultiError []error
GetChartValuesYamlResponseMultiError is an error wrapping multiple validation errors returned by GetChartValuesYamlResponse.ValidateAll() if the designated constraints aren't met.
func (GetChartValuesYamlResponseMultiError) AllErrors ¶
func (m GetChartValuesYamlResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetChartValuesYamlResponseMultiError) Error ¶
func (m GetChartValuesYamlResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetChartValuesYamlResponseValidationError ¶
type GetChartValuesYamlResponseValidationError struct {
// contains filtered or unexported fields
}
GetChartValuesYamlResponseValidationError is the validation error returned by GetChartValuesYamlResponse.Validate if the designated constraints aren't met.
func (GetChartValuesYamlResponseValidationError) Cause ¶
func (e GetChartValuesYamlResponseValidationError) Cause() error
Cause function returns cause value.
func (GetChartValuesYamlResponseValidationError) Error ¶
func (e GetChartValuesYamlResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetChartValuesYamlResponseValidationError) ErrorName ¶
func (e GetChartValuesYamlResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetChartValuesYamlResponseValidationError) Field ¶
func (e GetChartValuesYamlResponseValidationError) Field() string
Field function returns field value.
func (GetChartValuesYamlResponseValidationError) Key ¶
func (e GetChartValuesYamlResponseValidationError) Key() bool
Key function returns key value.
func (GetChartValuesYamlResponseValidationError) Reason ¶
func (e GetChartValuesYamlResponseValidationError) Reason() string
Reason function returns reason value.
type GitClient ¶
type GitClient interface { AllRepos(ctx context.Context, in *AllReposRequest, opts ...grpc.CallOption) (*AllReposResponse, error) ProjectOptions(ctx context.Context, in *ProjectOptionsRequest, opts ...grpc.CallOption) (*ProjectOptionsResponse, error) BranchOptions(ctx context.Context, in *BranchOptionsRequest, opts ...grpc.CallOption) (*BranchOptionsResponse, error) CommitOptions(ctx context.Context, in *CommitOptionsRequest, opts ...grpc.CallOption) (*CommitOptionsResponse, error) Commit(ctx context.Context, in *CommitRequest, opts ...grpc.CallOption) (*CommitResponse, error) PipelineInfo(ctx context.Context, in *PipelineInfoRequest, opts ...grpc.CallOption) (*PipelineInfoResponse, error) GetChartValuesYaml(ctx context.Context, in *GetChartValuesYamlRequest, opts ...grpc.CallOption) (*GetChartValuesYamlResponse, error) }
GitClient is the client API for Git service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewGitClient ¶
func NewGitClient(cc grpc.ClientConnInterface) GitClient
type GitServer ¶
type GitServer interface { AllRepos(context.Context, *AllReposRequest) (*AllReposResponse, error) ProjectOptions(context.Context, *ProjectOptionsRequest) (*ProjectOptionsResponse, error) BranchOptions(context.Context, *BranchOptionsRequest) (*BranchOptionsResponse, error) CommitOptions(context.Context, *CommitOptionsRequest) (*CommitOptionsResponse, error) Commit(context.Context, *CommitRequest) (*CommitResponse, error) PipelineInfo(context.Context, *PipelineInfoRequest) (*PipelineInfoResponse, error) GetChartValuesYaml(context.Context, *GetChartValuesYamlRequest) (*GetChartValuesYamlResponse, error) // contains filtered or unexported methods }
GitServer is the server API for Git service. All implementations must embed UnimplementedGitServer for forward compatibility
type Option ¶
type Option struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` IsLeaf bool `protobuf:"varint,4,opt,name=is_leaf,json=isLeaf,proto3" json:"is_leaf,omitempty"` GitProjectId int32 `protobuf:"varint,5,opt,name=git_project_id,json=gitProjectId,proto3" json:"git_project_id,omitempty"` Branch string `protobuf:"bytes,6,opt,name=branch,proto3" json:"branch,omitempty"` NeedGitRepo bool `protobuf:"varint,7,opt,name=need_git_repo,json=needGitRepo,proto3" json:"need_git_repo,omitempty"` Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*Option) Descriptor
deprecated
func (*Option) GetDescription ¶
func (*Option) GetGitProjectId ¶
func (*Option) GetNeedGitRepo ¶
func (*Option) ProtoMessage ¶
func (*Option) ProtoMessage()
func (*Option) ProtoReflect ¶
func (x *Option) ProtoReflect() protoreflect.Message
func (*Option) Validate ¶
Validate checks the field values on Option with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Option) ValidateAll ¶
ValidateAll checks the field values on Option with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in OptionMultiError, or nil if none found.
type OptionMultiError ¶
type OptionMultiError []error
OptionMultiError is an error wrapping multiple validation errors returned by Option.ValidateAll() if the designated constraints aren't met.
func (OptionMultiError) AllErrors ¶
func (m OptionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (OptionMultiError) Error ¶
func (m OptionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type OptionValidationError ¶
type OptionValidationError struct {
// contains filtered or unexported fields
}
OptionValidationError is the validation error returned by Option.Validate if the designated constraints aren't met.
func (OptionValidationError) Cause ¶
func (e OptionValidationError) Cause() error
Cause function returns cause value.
func (OptionValidationError) Error ¶
func (e OptionValidationError) Error() string
Error satisfies the builtin error interface
func (OptionValidationError) ErrorName ¶
func (e OptionValidationError) ErrorName() string
ErrorName returns error name.
func (OptionValidationError) Field ¶
func (e OptionValidationError) Field() string
Field function returns field value.
func (OptionValidationError) Key ¶
func (e OptionValidationError) Key() bool
Key function returns key value.
func (OptionValidationError) Reason ¶
func (e OptionValidationError) Reason() string
Reason function returns reason value.
type PipelineInfoRequest ¶
type PipelineInfoRequest struct { GitProjectId string `protobuf:"bytes,1,opt,name=git_project_id,json=gitProjectId,proto3" json:"git_project_id,omitempty"` Branch string `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"` Commit string `protobuf:"bytes,3,opt,name=commit,proto3" json:"commit,omitempty"` // contains filtered or unexported fields }
func (*PipelineInfoRequest) Descriptor
deprecated
func (*PipelineInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use PipelineInfoRequest.ProtoReflect.Descriptor instead.
func (*PipelineInfoRequest) GetBranch ¶
func (x *PipelineInfoRequest) GetBranch() string
func (*PipelineInfoRequest) GetCommit ¶
func (x *PipelineInfoRequest) GetCommit() string
func (*PipelineInfoRequest) GetGitProjectId ¶
func (x *PipelineInfoRequest) GetGitProjectId() string
func (*PipelineInfoRequest) ProtoMessage ¶
func (*PipelineInfoRequest) ProtoMessage()
func (*PipelineInfoRequest) ProtoReflect ¶
func (x *PipelineInfoRequest) ProtoReflect() protoreflect.Message
func (*PipelineInfoRequest) Reset ¶
func (x *PipelineInfoRequest) Reset()
func (*PipelineInfoRequest) String ¶
func (x *PipelineInfoRequest) String() string
func (*PipelineInfoRequest) Validate ¶
func (m *PipelineInfoRequest) Validate() error
Validate checks the field values on PipelineInfoRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PipelineInfoRequest) ValidateAll ¶
func (m *PipelineInfoRequest) ValidateAll() error
ValidateAll checks the field values on PipelineInfoRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PipelineInfoRequestMultiError, or nil if none found.
type PipelineInfoRequestMultiError ¶
type PipelineInfoRequestMultiError []error
PipelineInfoRequestMultiError is an error wrapping multiple validation errors returned by PipelineInfoRequest.ValidateAll() if the designated constraints aren't met.
func (PipelineInfoRequestMultiError) AllErrors ¶
func (m PipelineInfoRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PipelineInfoRequestMultiError) Error ¶
func (m PipelineInfoRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PipelineInfoRequestValidationError ¶
type PipelineInfoRequestValidationError struct {
// contains filtered or unexported fields
}
PipelineInfoRequestValidationError is the validation error returned by PipelineInfoRequest.Validate if the designated constraints aren't met.
func (PipelineInfoRequestValidationError) Cause ¶
func (e PipelineInfoRequestValidationError) Cause() error
Cause function returns cause value.
func (PipelineInfoRequestValidationError) Error ¶
func (e PipelineInfoRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PipelineInfoRequestValidationError) ErrorName ¶
func (e PipelineInfoRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PipelineInfoRequestValidationError) Field ¶
func (e PipelineInfoRequestValidationError) Field() string
Field function returns field value.
func (PipelineInfoRequestValidationError) Key ¶
func (e PipelineInfoRequestValidationError) Key() bool
Key function returns key value.
func (PipelineInfoRequestValidationError) Reason ¶
func (e PipelineInfoRequestValidationError) Reason() string
Reason function returns reason value.
type PipelineInfoResponse ¶
type PipelineInfoResponse struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` WebUrl string `protobuf:"bytes,2,opt,name=web_url,json=webUrl,proto3" json:"web_url,omitempty"` // contains filtered or unexported fields }
func (*PipelineInfoResponse) Descriptor
deprecated
func (*PipelineInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use PipelineInfoResponse.ProtoReflect.Descriptor instead.
func (*PipelineInfoResponse) GetStatus ¶
func (x *PipelineInfoResponse) GetStatus() string
func (*PipelineInfoResponse) GetWebUrl ¶
func (x *PipelineInfoResponse) GetWebUrl() string
func (*PipelineInfoResponse) ProtoMessage ¶
func (*PipelineInfoResponse) ProtoMessage()
func (*PipelineInfoResponse) ProtoReflect ¶
func (x *PipelineInfoResponse) ProtoReflect() protoreflect.Message
func (*PipelineInfoResponse) Reset ¶
func (x *PipelineInfoResponse) Reset()
func (*PipelineInfoResponse) String ¶
func (x *PipelineInfoResponse) String() string
func (*PipelineInfoResponse) Validate ¶
func (m *PipelineInfoResponse) Validate() error
Validate checks the field values on PipelineInfoResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PipelineInfoResponse) ValidateAll ¶
func (m *PipelineInfoResponse) ValidateAll() error
ValidateAll checks the field values on PipelineInfoResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PipelineInfoResponseMultiError, or nil if none found.
type PipelineInfoResponseMultiError ¶
type PipelineInfoResponseMultiError []error
PipelineInfoResponseMultiError is an error wrapping multiple validation errors returned by PipelineInfoResponse.ValidateAll() if the designated constraints aren't met.
func (PipelineInfoResponseMultiError) AllErrors ¶
func (m PipelineInfoResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PipelineInfoResponseMultiError) Error ¶
func (m PipelineInfoResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PipelineInfoResponseValidationError ¶
type PipelineInfoResponseValidationError struct {
// contains filtered or unexported fields
}
PipelineInfoResponseValidationError is the validation error returned by PipelineInfoResponse.Validate if the designated constraints aren't met.
func (PipelineInfoResponseValidationError) Cause ¶
func (e PipelineInfoResponseValidationError) Cause() error
Cause function returns cause value.
func (PipelineInfoResponseValidationError) Error ¶
func (e PipelineInfoResponseValidationError) Error() string
Error satisfies the builtin error interface
func (PipelineInfoResponseValidationError) ErrorName ¶
func (e PipelineInfoResponseValidationError) ErrorName() string
ErrorName returns error name.
func (PipelineInfoResponseValidationError) Field ¶
func (e PipelineInfoResponseValidationError) Field() string
Field function returns field value.
func (PipelineInfoResponseValidationError) Key ¶
func (e PipelineInfoResponseValidationError) Key() bool
Key function returns key value.
func (PipelineInfoResponseValidationError) Reason ¶
func (e PipelineInfoResponseValidationError) Reason() string
Reason function returns reason value.
type ProjectOptionsRequest ¶
type ProjectOptionsRequest struct {
// contains filtered or unexported fields
}
func (*ProjectOptionsRequest) Descriptor
deprecated
func (*ProjectOptionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProjectOptionsRequest.ProtoReflect.Descriptor instead.
func (*ProjectOptionsRequest) ProtoMessage ¶
func (*ProjectOptionsRequest) ProtoMessage()
func (*ProjectOptionsRequest) ProtoReflect ¶
func (x *ProjectOptionsRequest) ProtoReflect() protoreflect.Message
func (*ProjectOptionsRequest) Reset ¶
func (x *ProjectOptionsRequest) Reset()
func (*ProjectOptionsRequest) String ¶
func (x *ProjectOptionsRequest) String() string
func (*ProjectOptionsRequest) Validate ¶
func (m *ProjectOptionsRequest) Validate() error
Validate checks the field values on ProjectOptionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ProjectOptionsRequest) ValidateAll ¶
func (m *ProjectOptionsRequest) ValidateAll() error
ValidateAll checks the field values on ProjectOptionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ProjectOptionsRequestMultiError, or nil if none found.
type ProjectOptionsRequestMultiError ¶
type ProjectOptionsRequestMultiError []error
ProjectOptionsRequestMultiError is an error wrapping multiple validation errors returned by ProjectOptionsRequest.ValidateAll() if the designated constraints aren't met.
func (ProjectOptionsRequestMultiError) AllErrors ¶
func (m ProjectOptionsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProjectOptionsRequestMultiError) Error ¶
func (m ProjectOptionsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProjectOptionsRequestValidationError ¶
type ProjectOptionsRequestValidationError struct {
// contains filtered or unexported fields
}
ProjectOptionsRequestValidationError is the validation error returned by ProjectOptionsRequest.Validate if the designated constraints aren't met.
func (ProjectOptionsRequestValidationError) Cause ¶
func (e ProjectOptionsRequestValidationError) Cause() error
Cause function returns cause value.
func (ProjectOptionsRequestValidationError) Error ¶
func (e ProjectOptionsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectOptionsRequestValidationError) ErrorName ¶
func (e ProjectOptionsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectOptionsRequestValidationError) Field ¶
func (e ProjectOptionsRequestValidationError) Field() string
Field function returns field value.
func (ProjectOptionsRequestValidationError) Key ¶
func (e ProjectOptionsRequestValidationError) Key() bool
Key function returns key value.
func (ProjectOptionsRequestValidationError) Reason ¶
func (e ProjectOptionsRequestValidationError) Reason() string
Reason function returns reason value.
type ProjectOptionsResponse ¶
type ProjectOptionsResponse struct { Items []*Option `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ProjectOptionsResponse) Descriptor
deprecated
func (*ProjectOptionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProjectOptionsResponse.ProtoReflect.Descriptor instead.
func (*ProjectOptionsResponse) GetItems ¶
func (x *ProjectOptionsResponse) GetItems() []*Option
func (*ProjectOptionsResponse) ProtoMessage ¶
func (*ProjectOptionsResponse) ProtoMessage()
func (*ProjectOptionsResponse) ProtoReflect ¶
func (x *ProjectOptionsResponse) ProtoReflect() protoreflect.Message
func (*ProjectOptionsResponse) Reset ¶
func (x *ProjectOptionsResponse) Reset()
func (*ProjectOptionsResponse) String ¶
func (x *ProjectOptionsResponse) String() string
func (*ProjectOptionsResponse) Validate ¶
func (m *ProjectOptionsResponse) Validate() error
Validate checks the field values on ProjectOptionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ProjectOptionsResponse) ValidateAll ¶
func (m *ProjectOptionsResponse) ValidateAll() error
ValidateAll checks the field values on ProjectOptionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ProjectOptionsResponseMultiError, or nil if none found.
type ProjectOptionsResponseMultiError ¶
type ProjectOptionsResponseMultiError []error
ProjectOptionsResponseMultiError is an error wrapping multiple validation errors returned by ProjectOptionsResponse.ValidateAll() if the designated constraints aren't met.
func (ProjectOptionsResponseMultiError) AllErrors ¶
func (m ProjectOptionsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProjectOptionsResponseMultiError) Error ¶
func (m ProjectOptionsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProjectOptionsResponseValidationError ¶
type ProjectOptionsResponseValidationError struct {
// contains filtered or unexported fields
}
ProjectOptionsResponseValidationError is the validation error returned by ProjectOptionsResponse.Validate if the designated constraints aren't met.
func (ProjectOptionsResponseValidationError) Cause ¶
func (e ProjectOptionsResponseValidationError) Cause() error
Cause function returns cause value.
func (ProjectOptionsResponseValidationError) Error ¶
func (e ProjectOptionsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectOptionsResponseValidationError) ErrorName ¶
func (e ProjectOptionsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectOptionsResponseValidationError) Field ¶
func (e ProjectOptionsResponseValidationError) Field() string
Field function returns field value.
func (ProjectOptionsResponseValidationError) Key ¶
func (e ProjectOptionsResponseValidationError) Key() bool
Key function returns key value.
func (ProjectOptionsResponseValidationError) Reason ¶
func (e ProjectOptionsResponseValidationError) Reason() string
Reason function returns reason value.
type UnimplementedGitServer ¶
type UnimplementedGitServer struct { }
UnimplementedGitServer must be embedded to have forward compatible implementations.
func (UnimplementedGitServer) AllRepos ¶
func (UnimplementedGitServer) AllRepos(context.Context, *AllReposRequest) (*AllReposResponse, error)
func (UnimplementedGitServer) BranchOptions ¶
func (UnimplementedGitServer) BranchOptions(context.Context, *BranchOptionsRequest) (*BranchOptionsResponse, error)
func (UnimplementedGitServer) Commit ¶
func (UnimplementedGitServer) Commit(context.Context, *CommitRequest) (*CommitResponse, error)
func (UnimplementedGitServer) CommitOptions ¶
func (UnimplementedGitServer) CommitOptions(context.Context, *CommitOptionsRequest) (*CommitOptionsResponse, error)
func (UnimplementedGitServer) GetChartValuesYaml ¶
func (UnimplementedGitServer) GetChartValuesYaml(context.Context, *GetChartValuesYamlRequest) (*GetChartValuesYamlResponse, error)
func (UnimplementedGitServer) PipelineInfo ¶
func (UnimplementedGitServer) PipelineInfo(context.Context, *PipelineInfoRequest) (*PipelineInfoResponse, error)
func (UnimplementedGitServer) ProjectOptions ¶
func (UnimplementedGitServer) ProjectOptions(context.Context, *ProjectOptionsRequest) (*ProjectOptionsResponse, error)
type UnsafeGitServer ¶
type UnsafeGitServer interface {
// contains filtered or unexported methods
}
UnsafeGitServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GitServer will result in compilation errors.