Documentation ¶
Index ¶
- Variables
- type AccountRules
- func (*AccountRules) Descriptor() ([]byte, []int)deprecated
- func (x *AccountRules) GetAccount() string
- func (x *AccountRules) GetNotifications() []*Notification
- func (x *AccountRules) GetRules() []*Rule
- func (*AccountRules) ProtoMessage()
- func (x *AccountRules) ProtoReflect() protoreflect.Message
- func (x *AccountRules) Reset()
- func (x *AccountRules) String() string
- type AcknowledgeMerge
- type AutoCommitsPerDay
- type AutoRevertsPerDay
- type ChangeReviewed
- func (*ChangeReviewed) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeReviewed) GetMessage() string
- func (x *ChangeReviewed) GetRobots() []string
- func (*ChangeReviewed) ProtoMessage()
- func (x *ChangeReviewed) ProtoReflect() protoreflect.Message
- func (x *ChangeReviewed) Reset()
- func (x *ChangeReviewed) String() string
- type CommentOnBugToAcknowledgeMerge
- func (*CommentOnBugToAcknowledgeMerge) Descriptor() ([]byte, []int)deprecated
- func (*CommentOnBugToAcknowledgeMerge) ProtoMessage()
- func (x *CommentOnBugToAcknowledgeMerge) ProtoReflect() protoreflect.Message
- func (x *CommentOnBugToAcknowledgeMerge) Reset()
- func (x *CommentOnBugToAcknowledgeMerge) String() string
- type CommentOrFileMonorailIssue
- func (*CommentOrFileMonorailIssue) Descriptor() ([]byte, []int)deprecated
- func (x *CommentOrFileMonorailIssue) GetComponents() []string
- func (x *CommentOrFileMonorailIssue) GetLabels() []string
- func (*CommentOrFileMonorailIssue) ProtoMessage()
- func (x *CommentOrFileMonorailIssue) ProtoReflect() protoreflect.Message
- func (x *CommentOrFileMonorailIssue) Reset()
- func (x *CommentOrFileMonorailIssue) String() string
- type Config
- type CulpritAge
- type CulpritInBuild
- type FailedBuildIsAppropriateFailure
- func (*FailedBuildIsAppropriateFailure) Descriptor() ([]byte, []int)deprecated
- func (*FailedBuildIsAppropriateFailure) ProtoMessage()
- func (x *FailedBuildIsAppropriateFailure) ProtoReflect() protoreflect.Message
- func (x *FailedBuildIsAppropriateFailure) Reset()
- func (x *FailedBuildIsAppropriateFailure) String() string
- type FileBugForMergeApprovalViolation
- func (*FileBugForMergeApprovalViolation) Descriptor() ([]byte, []int)deprecated
- func (x *FileBugForMergeApprovalViolation) GetComponents() []string
- func (x *FileBugForMergeApprovalViolation) GetLabels() []string
- func (*FileBugForMergeApprovalViolation) ProtoMessage()
- func (x *FileBugForMergeApprovalViolation) ProtoReflect() protoreflect.Message
- func (x *FileBugForMergeApprovalViolation) Reset()
- func (x *FileBugForMergeApprovalViolation) String() string
- type Notification
- func (*Notification) Descriptor() ([]byte, []int)deprecated
- func (x *Notification) GetCommentOnBugToAcknowledgeMerge() *CommentOnBugToAcknowledgeMerge
- func (x *Notification) GetCommentOrFileMonorailIssue() *CommentOrFileMonorailIssue
- func (x *Notification) GetFileBugForMergeApprovalViolation() *FileBugForMergeApprovalViolation
- func (m *Notification) GetNotification() isNotification_Notification
- func (*Notification) ProtoMessage()
- func (x *Notification) ProtoReflect() protoreflect.Message
- func (x *Notification) Reset()
- func (x *Notification) String() string
- type Notification_CommentOnBugToAcknowledgeMerge
- type Notification_CommentOrFileMonorailIssue
- type Notification_FileBugForMergeApprovalViolation
- type OnlyCommitsOwnChange
- type OnlyMergeApprovedChange
- func (*OnlyMergeApprovedChange) Descriptor() ([]byte, []int)deprecated
- func (x *OnlyMergeApprovedChange) GetAllowedRobots() []string
- func (x *OnlyMergeApprovedChange) GetAllowedUsers() []string
- func (*OnlyMergeApprovedChange) ProtoMessage()
- func (x *OnlyMergeApprovedChange) ProtoReflect() protoreflect.Message
- func (x *OnlyMergeApprovedChange) Reset()
- func (x *OnlyMergeApprovedChange) String() string
- type OnlyModifiesFilesAndDirsRule
- func (*OnlyModifiesFilesAndDirsRule) Descriptor() ([]byte, []int)deprecated
- func (x *OnlyModifiesFilesAndDirsRule) GetDirs() []string
- func (x *OnlyModifiesFilesAndDirsRule) GetFiles() []string
- func (x *OnlyModifiesFilesAndDirsRule) GetName() string
- func (*OnlyModifiesFilesAndDirsRule) ProtoMessage()
- func (x *OnlyModifiesFilesAndDirsRule) ProtoReflect() protoreflect.Message
- func (x *OnlyModifiesFilesAndDirsRule) Reset()
- func (x *OnlyModifiesFilesAndDirsRule) String() string
- type RefConfig
- func (*RefConfig) Descriptor() ([]byte, []int)deprecated
- func (x *RefConfig) GetGerritHost() string
- func (x *RefConfig) GetGerritRepo() string
- func (x *RefConfig) GetMonorailProject() string
- func (x *RefConfig) GetOverwriteLastKnownCommit() string
- func (x *RefConfig) GetRef() string
- func (x *RefConfig) GetRules() map[string]*AccountRules
- func (x *RefConfig) GetStartingCommit() string
- func (x *RefConfig) GetUseDynamicRefFunc() bool
- func (*RefConfig) ProtoMessage()
- func (x *RefConfig) ProtoReflect() protoreflect.Message
- func (x *RefConfig) Reset()
- func (x *RefConfig) String() string
- type RevertOfCulprit
- type Rule
- func (*Rule) Descriptor() ([]byte, []int)deprecated
- func (x *Rule) GetAcknowledgeMerge() *AcknowledgeMerge
- func (x *Rule) GetAutoCommitsPerDay() *AutoCommitsPerDay
- func (x *Rule) GetAutoRevertsPerDay() *AutoRevertsPerDay
- func (x *Rule) GetChangeReviewed() *ChangeReviewed
- func (x *Rule) GetCulpritAge() *CulpritAge
- func (x *Rule) GetCulpritInBuild() *CulpritInBuild
- func (x *Rule) GetFailedBuildIsAppropriateFailure() *FailedBuildIsAppropriateFailure
- func (x *Rule) GetOnlyCommitsOwnChange() *OnlyCommitsOwnChange
- func (x *Rule) GetOnlyMergeApprovedChange() *OnlyMergeApprovedChange
- func (x *Rule) GetOnlyModifiesFilesAndDirsRule() *OnlyModifiesFilesAndDirsRule
- func (x *Rule) GetRevertOfCulprit() *RevertOfCulprit
- func (m *Rule) GetRule() isRule_Rule
- func (*Rule) ProtoMessage()
- func (x *Rule) ProtoReflect() protoreflect.Message
- func (x *Rule) Reset()
- func (x *Rule) String() string
- type Rule_AcknowledgeMerge
- type Rule_AutoCommitsPerDay
- type Rule_AutoRevertsPerDay
- type Rule_ChangeReviewed
- type Rule_CulpritAge
- type Rule_CulpritInBuild
- type Rule_FailedBuildIsAppropriateFailure
- type Rule_OnlyCommitsOwnChange
- type Rule_OnlyMergeApprovedChange
- type Rule_OnlyModifiesFilesAndDirsRule
- type Rule_RevertOfCulprit
Constants ¶
This section is empty.
Variables ¶
var File_infra_appengine_cr_audit_commits_app_proto_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AccountRules ¶
type AccountRules struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` Rules []*Rule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"` Notifications []*Notification `protobuf:"bytes,3,rep,name=notifications,proto3" json:"notifications,omitempty"` // contains filtered or unexported fields }
func (*AccountRules) Descriptor
deprecated
func (*AccountRules) Descriptor() ([]byte, []int)
Deprecated: Use AccountRules.ProtoReflect.Descriptor instead.
func (*AccountRules) GetAccount ¶
func (x *AccountRules) GetAccount() string
func (*AccountRules) GetNotifications ¶
func (x *AccountRules) GetNotifications() []*Notification
func (*AccountRules) GetRules ¶
func (x *AccountRules) GetRules() []*Rule
func (*AccountRules) ProtoMessage ¶
func (*AccountRules) ProtoMessage()
func (*AccountRules) ProtoReflect ¶
func (x *AccountRules) ProtoReflect() protoreflect.Message
func (*AccountRules) Reset ¶
func (x *AccountRules) Reset()
func (*AccountRules) String ¶
func (x *AccountRules) String() string
type AcknowledgeMerge ¶
type AcknowledgeMerge struct {
// contains filtered or unexported fields
}
func (*AcknowledgeMerge) Descriptor
deprecated
func (*AcknowledgeMerge) Descriptor() ([]byte, []int)
Deprecated: Use AcknowledgeMerge.ProtoReflect.Descriptor instead.
func (*AcknowledgeMerge) ProtoMessage ¶
func (*AcknowledgeMerge) ProtoMessage()
func (*AcknowledgeMerge) ProtoReflect ¶
func (x *AcknowledgeMerge) ProtoReflect() protoreflect.Message
func (*AcknowledgeMerge) Reset ¶
func (x *AcknowledgeMerge) Reset()
func (*AcknowledgeMerge) String ¶
func (x *AcknowledgeMerge) String() string
type AutoCommitsPerDay ¶
type AutoCommitsPerDay struct {
// contains filtered or unexported fields
}
func (*AutoCommitsPerDay) Descriptor
deprecated
func (*AutoCommitsPerDay) Descriptor() ([]byte, []int)
Deprecated: Use AutoCommitsPerDay.ProtoReflect.Descriptor instead.
func (*AutoCommitsPerDay) ProtoMessage ¶
func (*AutoCommitsPerDay) ProtoMessage()
func (*AutoCommitsPerDay) ProtoReflect ¶
func (x *AutoCommitsPerDay) ProtoReflect() protoreflect.Message
func (*AutoCommitsPerDay) Reset ¶
func (x *AutoCommitsPerDay) Reset()
func (*AutoCommitsPerDay) String ¶
func (x *AutoCommitsPerDay) String() string
type AutoRevertsPerDay ¶
type AutoRevertsPerDay struct {
// contains filtered or unexported fields
}
func (*AutoRevertsPerDay) Descriptor
deprecated
func (*AutoRevertsPerDay) Descriptor() ([]byte, []int)
Deprecated: Use AutoRevertsPerDay.ProtoReflect.Descriptor instead.
func (*AutoRevertsPerDay) ProtoMessage ¶
func (*AutoRevertsPerDay) ProtoMessage()
func (*AutoRevertsPerDay) ProtoReflect ¶
func (x *AutoRevertsPerDay) ProtoReflect() protoreflect.Message
func (*AutoRevertsPerDay) Reset ¶
func (x *AutoRevertsPerDay) Reset()
func (*AutoRevertsPerDay) String ¶
func (x *AutoRevertsPerDay) String() string
type ChangeReviewed ¶
type ChangeReviewed struct { Robots []string `protobuf:"bytes,1,rep,name=robots,proto3" json:"robots,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*ChangeReviewed) Descriptor
deprecated
func (*ChangeReviewed) Descriptor() ([]byte, []int)
Deprecated: Use ChangeReviewed.ProtoReflect.Descriptor instead.
func (*ChangeReviewed) GetMessage ¶
func (x *ChangeReviewed) GetMessage() string
func (*ChangeReviewed) GetRobots ¶
func (x *ChangeReviewed) GetRobots() []string
func (*ChangeReviewed) ProtoMessage ¶
func (*ChangeReviewed) ProtoMessage()
func (*ChangeReviewed) ProtoReflect ¶
func (x *ChangeReviewed) ProtoReflect() protoreflect.Message
func (*ChangeReviewed) Reset ¶
func (x *ChangeReviewed) Reset()
func (*ChangeReviewed) String ¶
func (x *ChangeReviewed) String() string
type CommentOnBugToAcknowledgeMerge ¶
type CommentOnBugToAcknowledgeMerge struct {
// contains filtered or unexported fields
}
func (*CommentOnBugToAcknowledgeMerge) Descriptor
deprecated
func (*CommentOnBugToAcknowledgeMerge) Descriptor() ([]byte, []int)
Deprecated: Use CommentOnBugToAcknowledgeMerge.ProtoReflect.Descriptor instead.
func (*CommentOnBugToAcknowledgeMerge) ProtoMessage ¶
func (*CommentOnBugToAcknowledgeMerge) ProtoMessage()
func (*CommentOnBugToAcknowledgeMerge) ProtoReflect ¶
func (x *CommentOnBugToAcknowledgeMerge) ProtoReflect() protoreflect.Message
func (*CommentOnBugToAcknowledgeMerge) Reset ¶
func (x *CommentOnBugToAcknowledgeMerge) Reset()
func (*CommentOnBugToAcknowledgeMerge) String ¶
func (x *CommentOnBugToAcknowledgeMerge) String() string
type CommentOrFileMonorailIssue ¶
type CommentOrFileMonorailIssue struct { Components []string `protobuf:"bytes,1,rep,name=components,proto3" json:"components,omitempty"` Labels []string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty"` // contains filtered or unexported fields }
func (*CommentOrFileMonorailIssue) Descriptor
deprecated
func (*CommentOrFileMonorailIssue) Descriptor() ([]byte, []int)
Deprecated: Use CommentOrFileMonorailIssue.ProtoReflect.Descriptor instead.
func (*CommentOrFileMonorailIssue) GetComponents ¶
func (x *CommentOrFileMonorailIssue) GetComponents() []string
func (*CommentOrFileMonorailIssue) GetLabels ¶
func (x *CommentOrFileMonorailIssue) GetLabels() []string
func (*CommentOrFileMonorailIssue) ProtoMessage ¶
func (*CommentOrFileMonorailIssue) ProtoMessage()
func (*CommentOrFileMonorailIssue) ProtoReflect ¶
func (x *CommentOrFileMonorailIssue) ProtoReflect() protoreflect.Message
func (*CommentOrFileMonorailIssue) Reset ¶
func (x *CommentOrFileMonorailIssue) Reset()
func (*CommentOrFileMonorailIssue) String ¶
func (x *CommentOrFileMonorailIssue) String() string
type Config ¶
type Config struct { RefConfigs map[string]*RefConfig `` /* 179-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Config) Descriptor
deprecated
func (*Config) GetRefConfigs ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
type CulpritAge ¶
type CulpritAge struct {
// contains filtered or unexported fields
}
func (*CulpritAge) Descriptor
deprecated
func (*CulpritAge) Descriptor() ([]byte, []int)
Deprecated: Use CulpritAge.ProtoReflect.Descriptor instead.
func (*CulpritAge) ProtoMessage ¶
func (*CulpritAge) ProtoMessage()
func (*CulpritAge) ProtoReflect ¶
func (x *CulpritAge) ProtoReflect() protoreflect.Message
func (*CulpritAge) Reset ¶
func (x *CulpritAge) Reset()
func (*CulpritAge) String ¶
func (x *CulpritAge) String() string
type CulpritInBuild ¶
type CulpritInBuild struct {
// contains filtered or unexported fields
}
func (*CulpritInBuild) Descriptor
deprecated
func (*CulpritInBuild) Descriptor() ([]byte, []int)
Deprecated: Use CulpritInBuild.ProtoReflect.Descriptor instead.
func (*CulpritInBuild) ProtoMessage ¶
func (*CulpritInBuild) ProtoMessage()
func (*CulpritInBuild) ProtoReflect ¶
func (x *CulpritInBuild) ProtoReflect() protoreflect.Message
func (*CulpritInBuild) Reset ¶
func (x *CulpritInBuild) Reset()
func (*CulpritInBuild) String ¶
func (x *CulpritInBuild) String() string
type FailedBuildIsAppropriateFailure ¶
type FailedBuildIsAppropriateFailure struct {
// contains filtered or unexported fields
}
func (*FailedBuildIsAppropriateFailure) Descriptor
deprecated
func (*FailedBuildIsAppropriateFailure) Descriptor() ([]byte, []int)
Deprecated: Use FailedBuildIsAppropriateFailure.ProtoReflect.Descriptor instead.
func (*FailedBuildIsAppropriateFailure) ProtoMessage ¶
func (*FailedBuildIsAppropriateFailure) ProtoMessage()
func (*FailedBuildIsAppropriateFailure) ProtoReflect ¶
func (x *FailedBuildIsAppropriateFailure) ProtoReflect() protoreflect.Message
func (*FailedBuildIsAppropriateFailure) Reset ¶
func (x *FailedBuildIsAppropriateFailure) Reset()
func (*FailedBuildIsAppropriateFailure) String ¶
func (x *FailedBuildIsAppropriateFailure) String() string
type FileBugForMergeApprovalViolation ¶
type FileBugForMergeApprovalViolation struct { Components []string `protobuf:"bytes,1,rep,name=components,proto3" json:"components,omitempty"` Labels []string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty"` // contains filtered or unexported fields }
func (*FileBugForMergeApprovalViolation) Descriptor
deprecated
func (*FileBugForMergeApprovalViolation) Descriptor() ([]byte, []int)
Deprecated: Use FileBugForMergeApprovalViolation.ProtoReflect.Descriptor instead.
func (*FileBugForMergeApprovalViolation) GetComponents ¶
func (x *FileBugForMergeApprovalViolation) GetComponents() []string
func (*FileBugForMergeApprovalViolation) GetLabels ¶
func (x *FileBugForMergeApprovalViolation) GetLabels() []string
func (*FileBugForMergeApprovalViolation) ProtoMessage ¶
func (*FileBugForMergeApprovalViolation) ProtoMessage()
func (*FileBugForMergeApprovalViolation) ProtoReflect ¶
func (x *FileBugForMergeApprovalViolation) ProtoReflect() protoreflect.Message
func (*FileBugForMergeApprovalViolation) Reset ¶
func (x *FileBugForMergeApprovalViolation) Reset()
func (*FileBugForMergeApprovalViolation) String ¶
func (x *FileBugForMergeApprovalViolation) String() string
type Notification ¶
type Notification struct { // Types that are assignable to Notification: // *Notification_CommentOnBugToAcknowledgeMerge // *Notification_CommentOrFileMonorailIssue // *Notification_FileBugForMergeApprovalViolation Notification isNotification_Notification `protobuf_oneof:"notification"` // contains filtered or unexported fields }
func (*Notification) Descriptor
deprecated
func (*Notification) Descriptor() ([]byte, []int)
Deprecated: Use Notification.ProtoReflect.Descriptor instead.
func (*Notification) GetCommentOnBugToAcknowledgeMerge ¶
func (x *Notification) GetCommentOnBugToAcknowledgeMerge() *CommentOnBugToAcknowledgeMerge
func (*Notification) GetCommentOrFileMonorailIssue ¶
func (x *Notification) GetCommentOrFileMonorailIssue() *CommentOrFileMonorailIssue
func (*Notification) GetFileBugForMergeApprovalViolation ¶
func (x *Notification) GetFileBugForMergeApprovalViolation() *FileBugForMergeApprovalViolation
func (*Notification) GetNotification ¶
func (m *Notification) GetNotification() isNotification_Notification
func (*Notification) ProtoMessage ¶
func (*Notification) ProtoMessage()
func (*Notification) ProtoReflect ¶
func (x *Notification) ProtoReflect() protoreflect.Message
func (*Notification) Reset ¶
func (x *Notification) Reset()
func (*Notification) String ¶
func (x *Notification) String() string
type Notification_CommentOnBugToAcknowledgeMerge ¶
type Notification_CommentOnBugToAcknowledgeMerge struct {
CommentOnBugToAcknowledgeMerge *CommentOnBugToAcknowledgeMerge `protobuf:"bytes,1,opt,name=comment_on_bug_to_acknowledge_merge,json=commentOnBugToAcknowledgeMerge,proto3,oneof"`
}
type Notification_CommentOrFileMonorailIssue ¶
type Notification_CommentOrFileMonorailIssue struct {
CommentOrFileMonorailIssue *CommentOrFileMonorailIssue `protobuf:"bytes,2,opt,name=comment_or_file_monorail_issue,json=commentOrFileMonorailIssue,proto3,oneof"`
}
type Notification_FileBugForMergeApprovalViolation ¶
type Notification_FileBugForMergeApprovalViolation struct {
FileBugForMergeApprovalViolation *FileBugForMergeApprovalViolation `protobuf:"bytes,3,opt,name=file_bug_for_merge_approval_violation,json=fileBugForMergeApprovalViolation,proto3,oneof"`
}
type OnlyCommitsOwnChange ¶
type OnlyCommitsOwnChange struct {
// contains filtered or unexported fields
}
func (*OnlyCommitsOwnChange) Descriptor
deprecated
func (*OnlyCommitsOwnChange) Descriptor() ([]byte, []int)
Deprecated: Use OnlyCommitsOwnChange.ProtoReflect.Descriptor instead.
func (*OnlyCommitsOwnChange) ProtoMessage ¶
func (*OnlyCommitsOwnChange) ProtoMessage()
func (*OnlyCommitsOwnChange) ProtoReflect ¶
func (x *OnlyCommitsOwnChange) ProtoReflect() protoreflect.Message
func (*OnlyCommitsOwnChange) Reset ¶
func (x *OnlyCommitsOwnChange) Reset()
func (*OnlyCommitsOwnChange) String ¶
func (x *OnlyCommitsOwnChange) String() string
type OnlyMergeApprovedChange ¶
type OnlyMergeApprovedChange struct { // AllowedUsers is the list of users who are allowed to author and commit // merges. AllowedUsers []string `protobuf:"bytes,1,rep,name=allowed_users,json=allowedUsers,proto3" json:"allowed_users,omitempty"` // AllowedRobots is the list of robot accounts who are allowed to author // merges. AllowedRobots []string `protobuf:"bytes,2,rep,name=allowed_robots,json=allowedRobots,proto3" json:"allowed_robots,omitempty"` // contains filtered or unexported fields }
func (*OnlyMergeApprovedChange) Descriptor
deprecated
func (*OnlyMergeApprovedChange) Descriptor() ([]byte, []int)
Deprecated: Use OnlyMergeApprovedChange.ProtoReflect.Descriptor instead.
func (*OnlyMergeApprovedChange) GetAllowedRobots ¶
func (x *OnlyMergeApprovedChange) GetAllowedRobots() []string
func (*OnlyMergeApprovedChange) GetAllowedUsers ¶
func (x *OnlyMergeApprovedChange) GetAllowedUsers() []string
func (*OnlyMergeApprovedChange) ProtoMessage ¶
func (*OnlyMergeApprovedChange) ProtoMessage()
func (*OnlyMergeApprovedChange) ProtoReflect ¶
func (x *OnlyMergeApprovedChange) ProtoReflect() protoreflect.Message
func (*OnlyMergeApprovedChange) Reset ¶
func (x *OnlyMergeApprovedChange) Reset()
func (*OnlyMergeApprovedChange) String ¶
func (x *OnlyMergeApprovedChange) String() string
type OnlyModifiesFilesAndDirsRule ¶
type OnlyModifiesFilesAndDirsRule struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Files []string `protobuf:"bytes,2,rep,name=files,proto3" json:"files,omitempty"` Dirs []string `protobuf:"bytes,3,rep,name=dirs,proto3" json:"dirs,omitempty"` // contains filtered or unexported fields }
func (*OnlyModifiesFilesAndDirsRule) Descriptor
deprecated
func (*OnlyModifiesFilesAndDirsRule) Descriptor() ([]byte, []int)
Deprecated: Use OnlyModifiesFilesAndDirsRule.ProtoReflect.Descriptor instead.
func (*OnlyModifiesFilesAndDirsRule) GetDirs ¶
func (x *OnlyModifiesFilesAndDirsRule) GetDirs() []string
func (*OnlyModifiesFilesAndDirsRule) GetFiles ¶
func (x *OnlyModifiesFilesAndDirsRule) GetFiles() []string
func (*OnlyModifiesFilesAndDirsRule) GetName ¶
func (x *OnlyModifiesFilesAndDirsRule) GetName() string
func (*OnlyModifiesFilesAndDirsRule) ProtoMessage ¶
func (*OnlyModifiesFilesAndDirsRule) ProtoMessage()
func (*OnlyModifiesFilesAndDirsRule) ProtoReflect ¶
func (x *OnlyModifiesFilesAndDirsRule) ProtoReflect() protoreflect.Message
func (*OnlyModifiesFilesAndDirsRule) Reset ¶
func (x *OnlyModifiesFilesAndDirsRule) Reset()
func (*OnlyModifiesFilesAndDirsRule) String ¶
func (x *OnlyModifiesFilesAndDirsRule) String() string
type RefConfig ¶
type RefConfig struct { GerritHost string `protobuf:"bytes,1,opt,name=gerrit_host,json=gerritHost,proto3" json:"gerrit_host,omitempty"` GerritRepo string `protobuf:"bytes,2,opt,name=gerrit_repo,json=gerritRepo,proto3" json:"gerrit_repo,omitempty"` Ref string `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"` StartingCommit string `protobuf:"bytes,4,opt,name=starting_commit,json=startingCommit,proto3" json:"starting_commit,omitempty"` MonorailProject string `protobuf:"bytes,5,opt,name=monorail_project,json=monorailProject,proto3" json:"monorail_project,omitempty"` UseDynamicRefFunc bool `protobuf:"varint,6,opt,name=use_dynamic_ref_func,json=useDynamicRefFunc,proto3" json:"use_dynamic_ref_func,omitempty"` // Used for unpausing a ref. Oncall should modify this configuration // to help resume the scanning. OverwriteLastKnownCommit string `` /* 137-byte string literal not displayed */ Rules map[string]*AccountRules `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RefConfig) Descriptor
deprecated
func (*RefConfig) GetGerritHost ¶
func (*RefConfig) GetGerritRepo ¶
func (*RefConfig) GetMonorailProject ¶
func (*RefConfig) GetOverwriteLastKnownCommit ¶
func (*RefConfig) GetRules ¶
func (x *RefConfig) GetRules() map[string]*AccountRules
func (*RefConfig) GetStartingCommit ¶
func (*RefConfig) GetUseDynamicRefFunc ¶
func (*RefConfig) ProtoMessage ¶
func (*RefConfig) ProtoMessage()
func (*RefConfig) ProtoReflect ¶
func (x *RefConfig) ProtoReflect() protoreflect.Message
type RevertOfCulprit ¶
type RevertOfCulprit struct {
// contains filtered or unexported fields
}
func (*RevertOfCulprit) Descriptor
deprecated
func (*RevertOfCulprit) Descriptor() ([]byte, []int)
Deprecated: Use RevertOfCulprit.ProtoReflect.Descriptor instead.
func (*RevertOfCulprit) ProtoMessage ¶
func (*RevertOfCulprit) ProtoMessage()
func (*RevertOfCulprit) ProtoReflect ¶
func (x *RevertOfCulprit) ProtoReflect() protoreflect.Message
func (*RevertOfCulprit) Reset ¶
func (x *RevertOfCulprit) Reset()
func (*RevertOfCulprit) String ¶
func (x *RevertOfCulprit) String() string
type Rule ¶
type Rule struct { // Types that are assignable to Rule: // *Rule_AcknowledgeMerge // *Rule_AutoCommitsPerDay // *Rule_AutoRevertsPerDay // *Rule_ChangeReviewed // *Rule_CulpritAge // *Rule_CulpritInBuild // *Rule_FailedBuildIsAppropriateFailure // *Rule_OnlyCommitsOwnChange // *Rule_OnlyMergeApprovedChange // *Rule_OnlyModifiesFilesAndDirsRule // *Rule_RevertOfCulprit Rule isRule_Rule `protobuf_oneof:"rule"` // contains filtered or unexported fields }
func (*Rule) Descriptor
deprecated
func (*Rule) GetAcknowledgeMerge ¶
func (x *Rule) GetAcknowledgeMerge() *AcknowledgeMerge
func (*Rule) GetAutoCommitsPerDay ¶
func (x *Rule) GetAutoCommitsPerDay() *AutoCommitsPerDay
func (*Rule) GetAutoRevertsPerDay ¶
func (x *Rule) GetAutoRevertsPerDay() *AutoRevertsPerDay
func (*Rule) GetChangeReviewed ¶
func (x *Rule) GetChangeReviewed() *ChangeReviewed
func (*Rule) GetCulpritAge ¶
func (x *Rule) GetCulpritAge() *CulpritAge
func (*Rule) GetCulpritInBuild ¶
func (x *Rule) GetCulpritInBuild() *CulpritInBuild
func (*Rule) GetFailedBuildIsAppropriateFailure ¶
func (x *Rule) GetFailedBuildIsAppropriateFailure() *FailedBuildIsAppropriateFailure
func (*Rule) GetOnlyCommitsOwnChange ¶
func (x *Rule) GetOnlyCommitsOwnChange() *OnlyCommitsOwnChange
func (*Rule) GetOnlyMergeApprovedChange ¶
func (x *Rule) GetOnlyMergeApprovedChange() *OnlyMergeApprovedChange
func (*Rule) GetOnlyModifiesFilesAndDirsRule ¶
func (x *Rule) GetOnlyModifiesFilesAndDirsRule() *OnlyModifiesFilesAndDirsRule
func (*Rule) GetRevertOfCulprit ¶
func (x *Rule) GetRevertOfCulprit() *RevertOfCulprit
func (*Rule) ProtoMessage ¶
func (*Rule) ProtoMessage()
func (*Rule) ProtoReflect ¶
func (x *Rule) ProtoReflect() protoreflect.Message
type Rule_AcknowledgeMerge ¶
type Rule_AcknowledgeMerge struct {
AcknowledgeMerge *AcknowledgeMerge `protobuf:"bytes,1,opt,name=acknowledge_merge,json=acknowledgeMerge,proto3,oneof"`
}
type Rule_AutoCommitsPerDay ¶
type Rule_AutoCommitsPerDay struct {
AutoCommitsPerDay *AutoCommitsPerDay `protobuf:"bytes,2,opt,name=auto_commits_per_day,json=autoCommitsPerDay,proto3,oneof"`
}
type Rule_AutoRevertsPerDay ¶
type Rule_AutoRevertsPerDay struct {
AutoRevertsPerDay *AutoRevertsPerDay `protobuf:"bytes,3,opt,name=auto_reverts_per_day,json=autoRevertsPerDay,proto3,oneof"`
}
type Rule_ChangeReviewed ¶
type Rule_ChangeReviewed struct {
ChangeReviewed *ChangeReviewed `protobuf:"bytes,4,opt,name=change_reviewed,json=changeReviewed,proto3,oneof"`
}
type Rule_CulpritAge ¶
type Rule_CulpritAge struct {
CulpritAge *CulpritAge `protobuf:"bytes,5,opt,name=culprit_age,json=culpritAge,proto3,oneof"`
}
type Rule_CulpritInBuild ¶
type Rule_CulpritInBuild struct {
CulpritInBuild *CulpritInBuild `protobuf:"bytes,6,opt,name=culprit_in_build,json=culpritInBuild,proto3,oneof"`
}
type Rule_FailedBuildIsAppropriateFailure ¶
type Rule_FailedBuildIsAppropriateFailure struct {
FailedBuildIsAppropriateFailure *FailedBuildIsAppropriateFailure `protobuf:"bytes,7,opt,name=failed_build_is_appropriate_failure,json=failedBuildIsAppropriateFailure,proto3,oneof"`
}
type Rule_OnlyCommitsOwnChange ¶
type Rule_OnlyCommitsOwnChange struct {
OnlyCommitsOwnChange *OnlyCommitsOwnChange `protobuf:"bytes,8,opt,name=only_commits_own_change,json=onlyCommitsOwnChange,proto3,oneof"`
}
type Rule_OnlyMergeApprovedChange ¶
type Rule_OnlyMergeApprovedChange struct {
OnlyMergeApprovedChange *OnlyMergeApprovedChange `protobuf:"bytes,9,opt,name=only_merge_approved_change,json=onlyMergeApprovedChange,proto3,oneof"`
}
type Rule_OnlyModifiesFilesAndDirsRule ¶
type Rule_OnlyModifiesFilesAndDirsRule struct {
OnlyModifiesFilesAndDirsRule *OnlyModifiesFilesAndDirsRule `protobuf:"bytes,10,opt,name=only_modifies_files_and_dirs_rule,json=onlyModifiesFilesAndDirsRule,proto3,oneof"`
}
type Rule_RevertOfCulprit ¶
type Rule_RevertOfCulprit struct {
RevertOfCulprit *RevertOfCulprit `protobuf:"bytes,11,opt,name=revert_of_culprit,json=revertOfCulprit,proto3,oneof"`
}