Documentation ¶
Index ¶
- Variables
- type Commit
- func (m *Commit) CloneMessageVT() proto.Message
- func (m *Commit) CloneVT() *Commit
- func (*Commit) Descriptor() ([]byte, []int)deprecated
- func (this *Commit) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Commit) EqualVT(that *Commit) bool
- func (x *Commit) GetAuthor() *User
- func (x *Commit) GetCommitId() string
- func (x *Commit) GetCommitTimestamp() *timestamppb.Timestamp
- func (x *Commit) GetImpactAnalysis() *impact_analysis.ImpactAnalysisResult
- func (x *Commit) GetMessage() string
- func (x *Commit) GetUrl() string
- func (*Commit) ProtoMessage()
- func (x *Commit) ProtoReflect() protoreflect.Message
- func (x *Commit) Reset()
- func (this *Commit) StableEqualMessageVT(thatMsg proto.Message) bool
- func (this *Commit) StableEqualVT(that *Commit) bool
- func (x *Commit) String() string
- func (m *Commit) Validate() error
- func (m *Commit) ValidateAll() error
- type CommitMultiError
- type CommitValidationError
- type FuzzyCommit
- func (m *FuzzyCommit) CloneMessageVT() proto.Message
- func (m *FuzzyCommit) CloneVT() *FuzzyCommit
- func (*FuzzyCommit) Descriptor() ([]byte, []int)deprecated
- func (this *FuzzyCommit) EqualMessageVT(thatMsg proto.Message) bool
- func (this *FuzzyCommit) EqualVT(that *FuzzyCommit) bool
- func (x *FuzzyCommit) GetCommitIsh() string
- func (x *FuzzyCommit) GetSource() string
- func (*FuzzyCommit) ProtoMessage()
- func (x *FuzzyCommit) ProtoReflect() protoreflect.Message
- func (x *FuzzyCommit) Reset()
- func (this *FuzzyCommit) StableEqualMessageVT(thatMsg proto.Message) bool
- func (this *FuzzyCommit) StableEqualVT(that *FuzzyCommit) bool
- func (x *FuzzyCommit) String() string
- func (m *FuzzyCommit) Validate() error
- func (m *FuzzyCommit) ValidateAll() error
- type FuzzyCommitMultiError
- type FuzzyCommitValidationError
- func (e FuzzyCommitValidationError) Cause() error
- func (e FuzzyCommitValidationError) Error() string
- func (e FuzzyCommitValidationError) ErrorName() string
- func (e FuzzyCommitValidationError) Field() string
- func (e FuzzyCommitValidationError) Key() bool
- func (e FuzzyCommitValidationError) Reason() string
- type User
- func (m *User) CloneMessageVT() proto.Message
- func (m *User) CloneVT() *User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (this *User) EqualMessageVT(thatMsg proto.Message) bool
- func (this *User) EqualVT(that *User) bool
- func (x *User) GetEmail() string
- func (x *User) GetName() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (this *User) StableEqualMessageVT(thatMsg proto.Message) bool
- func (this *User) StableEqualVT(that *User) bool
- func (x *User) String() string
- func (m *User) Validate() error
- func (m *User) ValidateAll() error
- type UserMultiError
- type UserValidationError
Constants ¶
This section is empty.
Variables ¶
var File_prodvana_repo_repo_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Commit ¶
type Commit struct { CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` Author *User `protobuf:"bytes,4,opt,name=author,proto3" json:"author,omitempty"` ImpactAnalysis *impact_analysis.ImpactAnalysisResult `protobuf:"bytes,5,opt,name=impact_analysis,json=impactAnalysis,proto3" json:"impact_analysis,omitempty"` CommitTimestamp *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=commit_timestamp,json=commitTimestamp,proto3" json:"commit_timestamp,omitempty"` // contains filtered or unexported fields }
func (*Commit) CloneMessageVT ¶ added in v0.3.34
func (*Commit) Descriptor
deprecated
func (*Commit) EqualMessageVT ¶ added in v0.3.34
func (*Commit) GetCommitId ¶
func (*Commit) GetCommitTimestamp ¶ added in v0.3.15
func (x *Commit) GetCommitTimestamp() *timestamppb.Timestamp
func (*Commit) GetImpactAnalysis ¶ added in v0.2.18
func (x *Commit) GetImpactAnalysis() *impact_analysis.ImpactAnalysisResult
func (*Commit) GetMessage ¶
func (*Commit) ProtoMessage ¶
func (*Commit) ProtoMessage()
func (*Commit) ProtoReflect ¶
func (x *Commit) ProtoReflect() protoreflect.Message
func (*Commit) StableEqualMessageVT ¶ added in v0.3.34
func (*Commit) StableEqualVT ¶ added in v0.3.34
func (*Commit) Validate ¶
Validate checks the field values on Commit 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 (*Commit) ValidateAll ¶
ValidateAll checks the field values on Commit 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 CommitMultiError, or nil if none found.
type CommitMultiError ¶
type CommitMultiError []error
CommitMultiError is an error wrapping multiple validation errors returned by Commit.ValidateAll() if the designated constraints aren't met.
func (CommitMultiError) AllErrors ¶
func (m CommitMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CommitMultiError) Error ¶
func (m CommitMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CommitValidationError ¶
type CommitValidationError struct {
// contains filtered or unexported fields
}
CommitValidationError is the validation error returned by Commit.Validate if the designated constraints aren't met.
func (CommitValidationError) Cause ¶
func (e CommitValidationError) Cause() error
Cause function returns cause value.
func (CommitValidationError) Error ¶
func (e CommitValidationError) Error() string
Error satisfies the builtin error interface
func (CommitValidationError) ErrorName ¶
func (e CommitValidationError) ErrorName() string
ErrorName returns error name.
func (CommitValidationError) Field ¶
func (e CommitValidationError) Field() string
Field function returns field value.
func (CommitValidationError) Key ¶
func (e CommitValidationError) Key() bool
Key function returns key value.
func (CommitValidationError) Reason ¶
func (e CommitValidationError) Reason() string
Reason function returns reason value.
type FuzzyCommit ¶
type FuzzyCommit struct { CommitIsh string `protobuf:"bytes,1,opt,name=commit_ish,json=commitIsh,proto3" json:"commit_ish,omitempty"` Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` // contains filtered or unexported fields }
func (*FuzzyCommit) CloneMessageVT ¶ added in v0.3.34
func (m *FuzzyCommit) CloneMessageVT() proto.Message
func (*FuzzyCommit) CloneVT ¶ added in v0.3.34
func (m *FuzzyCommit) CloneVT() *FuzzyCommit
func (*FuzzyCommit) Descriptor
deprecated
func (*FuzzyCommit) Descriptor() ([]byte, []int)
Deprecated: Use FuzzyCommit.ProtoReflect.Descriptor instead.
func (*FuzzyCommit) EqualMessageVT ¶ added in v0.3.34
func (this *FuzzyCommit) EqualMessageVT(thatMsg proto.Message) bool
func (*FuzzyCommit) EqualVT ¶ added in v0.3.34
func (this *FuzzyCommit) EqualVT(that *FuzzyCommit) bool
func (*FuzzyCommit) GetCommitIsh ¶
func (x *FuzzyCommit) GetCommitIsh() string
func (*FuzzyCommit) GetSource ¶
func (x *FuzzyCommit) GetSource() string
func (*FuzzyCommit) ProtoMessage ¶
func (*FuzzyCommit) ProtoMessage()
func (*FuzzyCommit) ProtoReflect ¶
func (x *FuzzyCommit) ProtoReflect() protoreflect.Message
func (*FuzzyCommit) Reset ¶
func (x *FuzzyCommit) Reset()
func (*FuzzyCommit) StableEqualMessageVT ¶ added in v0.3.34
func (this *FuzzyCommit) StableEqualMessageVT(thatMsg proto.Message) bool
func (*FuzzyCommit) StableEqualVT ¶ added in v0.3.34
func (this *FuzzyCommit) StableEqualVT(that *FuzzyCommit) bool
func (*FuzzyCommit) String ¶
func (x *FuzzyCommit) String() string
func (*FuzzyCommit) Validate ¶
func (m *FuzzyCommit) Validate() error
Validate checks the field values on FuzzyCommit 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 (*FuzzyCommit) ValidateAll ¶
func (m *FuzzyCommit) ValidateAll() error
ValidateAll checks the field values on FuzzyCommit 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 FuzzyCommitMultiError, or nil if none found.
type FuzzyCommitMultiError ¶
type FuzzyCommitMultiError []error
FuzzyCommitMultiError is an error wrapping multiple validation errors returned by FuzzyCommit.ValidateAll() if the designated constraints aren't met.
func (FuzzyCommitMultiError) AllErrors ¶
func (m FuzzyCommitMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FuzzyCommitMultiError) Error ¶
func (m FuzzyCommitMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FuzzyCommitValidationError ¶
type FuzzyCommitValidationError struct {
// contains filtered or unexported fields
}
FuzzyCommitValidationError is the validation error returned by FuzzyCommit.Validate if the designated constraints aren't met.
func (FuzzyCommitValidationError) Cause ¶
func (e FuzzyCommitValidationError) Cause() error
Cause function returns cause value.
func (FuzzyCommitValidationError) Error ¶
func (e FuzzyCommitValidationError) Error() string
Error satisfies the builtin error interface
func (FuzzyCommitValidationError) ErrorName ¶
func (e FuzzyCommitValidationError) ErrorName() string
ErrorName returns error name.
func (FuzzyCommitValidationError) Field ¶
func (e FuzzyCommitValidationError) Field() string
Field function returns field value.
func (FuzzyCommitValidationError) Key ¶
func (e FuzzyCommitValidationError) Key() bool
Key function returns key value.
func (FuzzyCommitValidationError) Reason ¶
func (e FuzzyCommitValidationError) Reason() string
Reason function returns reason value.
type User ¶
type User struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*User) CloneMessageVT ¶ added in v0.3.34
func (*User) Descriptor
deprecated
func (*User) EqualMessageVT ¶ added in v0.3.34
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
func (*User) StableEqualMessageVT ¶ added in v0.3.34
func (*User) StableEqualVT ¶ added in v0.3.34
func (*User) Validate ¶
Validate checks the field values on User 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 (*User) ValidateAll ¶
ValidateAll checks the field values on User 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 UserMultiError, or nil if none found.
type UserMultiError ¶
type UserMultiError []error
UserMultiError is an error wrapping multiple validation errors returned by User.ValidateAll() if the designated constraints aren't met.
func (UserMultiError) AllErrors ¶
func (m UserMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserMultiError) Error ¶
func (m UserMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserValidationError ¶
type UserValidationError struct {
// contains filtered or unexported fields
}
UserValidationError is the validation error returned by User.Validate if the designated constraints aren't met.
func (UserValidationError) Cause ¶
func (e UserValidationError) Cause() error
Cause function returns cause value.
func (UserValidationError) Error ¶
func (e UserValidationError) Error() string
Error satisfies the builtin error interface
func (UserValidationError) ErrorName ¶
func (e UserValidationError) ErrorName() string
ErrorName returns error name.
func (UserValidationError) Field ¶
func (e UserValidationError) Field() string
Field function returns field value.
func (UserValidationError) Key ¶
func (e UserValidationError) Key() bool
Key function returns key value.
func (UserValidationError) Reason ¶
func (e UserValidationError) Reason() string
Reason function returns reason value.