repo

package
v0.3.42 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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) Descriptor deprecated

func (*Commit) Descriptor() ([]byte, []int)

Deprecated: Use Commit.ProtoReflect.Descriptor instead.

func (*Commit) GetAuthor

func (x *Commit) GetAuthor() *User

func (*Commit) GetCommitId

func (x *Commit) GetCommitId() string

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 (x *Commit) GetMessage() string

func (*Commit) GetUrl

func (x *Commit) GetUrl() string

func (*Commit) ProtoMessage

func (*Commit) ProtoMessage()

func (*Commit) ProtoReflect

func (x *Commit) ProtoReflect() protoreflect.Message

func (*Commit) Reset

func (x *Commit) Reset()

func (*Commit) String

func (x *Commit) String() string

func (*Commit) Validate

func (m *Commit) Validate() error

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

func (m *Commit) ValidateAll() error

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) Descriptor deprecated

func (*FuzzyCommit) Descriptor() ([]byte, []int)

Deprecated: Use FuzzyCommit.ProtoReflect.Descriptor instead.

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) 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

Cause function returns cause value.

func (FuzzyCommitValidationError) Error

Error satisfies the builtin error interface

func (FuzzyCommitValidationError) ErrorName

func (e FuzzyCommitValidationError) ErrorName() string

ErrorName returns error name.

func (FuzzyCommitValidationError) Field

Field function returns field value.

func (FuzzyCommitValidationError) Key

Key function returns key value.

func (FuzzyCommitValidationError) Reason

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) Descriptor deprecated

func (*User) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetEmail

func (x *User) GetEmail() string

func (*User) GetName

func (x *User) GetName() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

func (x *User) ProtoReflect() protoreflect.Message

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

func (*User) Validate

func (m *User) Validate() error

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

func (m *User) ValidateAll() error

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL