Documentation ¶
Index ¶
- Variables
- type GitPushEvent
- func (*GitPushEvent) Descriptor() ([]byte, []int)deprecated
- func (x *GitPushEvent) GetProject() *Project
- func (*GitPushEvent) ProtoMessage()
- func (x *GitPushEvent) ProtoReflect() protoreflect.Message
- func (x *GitPushEvent) Reset()
- func (x *GitPushEvent) String() string
- func (m *GitPushEvent) Validate() error
- func (m *GitPushEvent) ValidateAll() error
- type GitPushEventMultiError
- type GitPushEventValidationError
- func (e GitPushEventValidationError) Cause() error
- func (e GitPushEventValidationError) Error() string
- func (e GitPushEventValidationError) ErrorName() string
- func (e GitPushEventValidationError) Field() string
- func (e GitPushEventValidationError) Key() bool
- func (e GitPushEventValidationError) Reason() string
- type Project
- func (*Project) Descriptor() ([]byte, []int)deprecated
- func (x *Project) GetFullPath() string
- func (x *Project) GetId() int64
- func (*Project) ProtoMessage()
- func (x *Project) ProtoReflect() protoreflect.Message
- func (x *Project) Reset()
- func (x *Project) String() string
- func (m *Project) Validate() error
- func (m *Project) ValidateAll() error
- type ProjectMultiError
- type ProjectValidationError
Constants ¶
This section is empty.
Variables ¶
var File_pkg_event_event_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type GitPushEvent ¶
type GitPushEvent struct { Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // contains filtered or unexported fields }
func (*GitPushEvent) Descriptor
deprecated
func (*GitPushEvent) Descriptor() ([]byte, []int)
Deprecated: Use GitPushEvent.ProtoReflect.Descriptor instead.
func (*GitPushEvent) GetProject ¶
func (x *GitPushEvent) GetProject() *Project
func (*GitPushEvent) ProtoMessage ¶
func (*GitPushEvent) ProtoMessage()
func (*GitPushEvent) ProtoReflect ¶
func (x *GitPushEvent) ProtoReflect() protoreflect.Message
func (*GitPushEvent) Reset ¶
func (x *GitPushEvent) Reset()
func (*GitPushEvent) String ¶
func (x *GitPushEvent) String() string
func (*GitPushEvent) Validate ¶
func (m *GitPushEvent) Validate() error
Validate checks the field values on GitPushEvent 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 (*GitPushEvent) ValidateAll ¶
func (m *GitPushEvent) ValidateAll() error
ValidateAll checks the field values on GitPushEvent 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 GitPushEventMultiError, or nil if none found.
type GitPushEventMultiError ¶
type GitPushEventMultiError []error
GitPushEventMultiError is an error wrapping multiple validation errors returned by GitPushEvent.ValidateAll() if the designated constraints aren't met.
func (GitPushEventMultiError) AllErrors ¶
func (m GitPushEventMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GitPushEventMultiError) Error ¶
func (m GitPushEventMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GitPushEventValidationError ¶
type GitPushEventValidationError struct {
// contains filtered or unexported fields
}
GitPushEventValidationError is the validation error returned by GitPushEvent.Validate if the designated constraints aren't met.
func (GitPushEventValidationError) Cause ¶
func (e GitPushEventValidationError) Cause() error
Cause function returns cause value.
func (GitPushEventValidationError) Error ¶
func (e GitPushEventValidationError) Error() string
Error satisfies the builtin error interface
func (GitPushEventValidationError) ErrorName ¶
func (e GitPushEventValidationError) ErrorName() string
ErrorName returns error name.
func (GitPushEventValidationError) Field ¶
func (e GitPushEventValidationError) Field() string
Field function returns field value.
func (GitPushEventValidationError) Key ¶
func (e GitPushEventValidationError) Key() bool
Key function returns key value.
func (GitPushEventValidationError) Reason ¶
func (e GitPushEventValidationError) Reason() string
Reason function returns reason value.
type Project ¶
type Project struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` FullPath string `protobuf:"bytes,2,opt,name=full_path,json=fullPath,proto3" json:"full_path,omitempty"` // contains filtered or unexported fields }
func (*Project) Descriptor
deprecated
func (*Project) GetFullPath ¶
func (*Project) ProtoMessage ¶
func (*Project) ProtoMessage()
func (*Project) ProtoReflect ¶
func (x *Project) ProtoReflect() protoreflect.Message
func (*Project) Validate ¶
Validate checks the field values on Project 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 (*Project) ValidateAll ¶
ValidateAll checks the field values on Project 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 ProjectMultiError, or nil if none found.
type ProjectMultiError ¶
type ProjectMultiError []error
ProjectMultiError is an error wrapping multiple validation errors returned by Project.ValidateAll() if the designated constraints aren't met.
func (ProjectMultiError) AllErrors ¶
func (m ProjectMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProjectMultiError) Error ¶
func (m ProjectMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProjectValidationError ¶
type ProjectValidationError struct {
// contains filtered or unexported fields
}
ProjectValidationError is the validation error returned by Project.Validate if the designated constraints aren't met.
func (ProjectValidationError) Cause ¶
func (e ProjectValidationError) Cause() error
Cause function returns cause value.
func (ProjectValidationError) Error ¶
func (e ProjectValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectValidationError) ErrorName ¶
func (e ProjectValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectValidationError) Field ¶
func (e ProjectValidationError) Field() string
Field function returns field value.
func (ProjectValidationError) Key ¶
func (e ProjectValidationError) Key() bool
Key function returns key value.
func (ProjectValidationError) Reason ¶
func (e ProjectValidationError) Reason() string
Reason function returns reason value.