Documentation ¶
Index ¶
- Variables
- func ProtoToMap(m proto.Message) (map[string]any, error)
- type CIPDEnsureFile
- func (*CIPDEnsureFile) Descriptor() ([]byte, []int)deprecated
- func (x *CIPDEnsureFile) GetPath() string
- func (x *CIPDEnsureFile) GetRef() string
- func (*CIPDEnsureFile) ProtoMessage()
- func (x *CIPDEnsureFile) ProtoReflect() protoreflect.Message
- func (x *CIPDEnsureFile) Reset()
- func (c *CIPDEnsureFile) Resolve(ctx context.Context, params ResolveParams) (map[string]any, error)
- func (x *CIPDEnsureFile) String() string
- func (c *CIPDEnsureFile) Validate(ctx context.Context, repoRoot string) error
- type Config
- type GitSubmodule
- func (*GitSubmodule) Descriptor() ([]byte, []int)deprecated
- func (x *GitSubmodule) GetPath() string
- func (*GitSubmodule) ProtoMessage()
- func (x *GitSubmodule) ProtoReflect() protoreflect.Message
- func (x *GitSubmodule) Reset()
- func (s *GitSubmodule) Resolve(ctx context.Context, params ResolveParams) (map[string]any, error)
- func (x *GitSubmodule) String() string
- func (s *GitSubmodule) Validate(ctx context.Context, repoRoot string) error
- type JiriPackages
- func (*JiriPackages) Descriptor() ([]byte, []int)deprecated
- func (x *JiriPackages) GetManifests() []*JiriPackages_Manifest
- func (x *JiriPackages) GetRef() string
- func (*JiriPackages) ProtoMessage()
- func (x *JiriPackages) ProtoReflect() protoreflect.Message
- func (x *JiriPackages) Reset()
- func (p *JiriPackages) Resolve(ctx context.Context, params ResolveParams) (map[string]any, error)
- func (x *JiriPackages) String() string
- func (p *JiriPackages) Validate(ctx context.Context, repoRoot string) error
- type JiriPackages_Manifest
- func (*JiriPackages_Manifest) Descriptor() ([]byte, []int)deprecated
- func (x *JiriPackages_Manifest) GetPackages() []string
- func (x *JiriPackages_Manifest) GetPath() string
- func (*JiriPackages_Manifest) ProtoMessage()
- func (x *JiriPackages_Manifest) ProtoReflect() protoreflect.Message
- func (x *JiriPackages_Manifest) Reset()
- func (x *JiriPackages_Manifest) String() string
- type JiriProject
- func (*JiriProject) Descriptor() ([]byte, []int)deprecated
- func (x *JiriProject) GetManifest() string
- func (x *JiriProject) GetProject() string
- func (*JiriProject) ProtoMessage()
- func (x *JiriProject) ProtoReflect() protoreflect.Message
- func (x *JiriProject) Reset()
- func (p *JiriProject) Resolve(ctx context.Context, params ResolveParams) (map[string]any, error)
- func (x *JiriProject) String() string
- func (p *JiriProject) Validate(ctx context.Context, repoRoot string) error
- type ResolveParams
- type Roller
- func (*Roller) Descriptor() ([]byte, []int)deprecated
- func (x *Roller) GetCipdEnsureFile() *CIPDEnsureFile
- func (x *Roller) GetForceSubmit() bool
- func (x *Roller) GetJiriPackages() *JiriPackages
- func (x *Roller) GetJiriProject() *JiriProject
- func (x *Roller) GetNotifyEmails() []string
- func (x *Roller) GetOwnerEmail() string
- func (x *Roller) GetSchedule() string
- func (x *Roller) GetSubmodule() *GitSubmodule
- func (m *Roller) GetToRoll() isRoller_ToRoll
- func (*Roller) ProtoMessage()
- func (x *Roller) ProtoReflect() protoreflect.Message
- func (x *Roller) Reset()
- func (x *Roller) String() string
- type Roller_CipdEnsureFile
- type Roller_JiriPackages
- type Roller_JiriProject
- type Roller_Submodule
Constants ¶
This section is empty.
Variables ¶
View Source
var File_rollers_cfg_proto protoreflect.FileDescriptor
Functions ¶
Types ¶
type CIPDEnsureFile ¶
type CIPDEnsureFile struct { // Path to the CIPD ensure file. Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // CIPD ref to track. Default is "latest". Ref string `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // contains filtered or unexported fields }
A CIPD ensure file containing packages to roll.
func (*CIPDEnsureFile) Descriptor
deprecated
func (*CIPDEnsureFile) Descriptor() ([]byte, []int)
Deprecated: Use CIPDEnsureFile.ProtoReflect.Descriptor instead.
func (*CIPDEnsureFile) GetPath ¶
func (x *CIPDEnsureFile) GetPath() string
func (*CIPDEnsureFile) GetRef ¶
func (x *CIPDEnsureFile) GetRef() string
func (*CIPDEnsureFile) ProtoMessage ¶
func (*CIPDEnsureFile) ProtoMessage()
func (*CIPDEnsureFile) ProtoReflect ¶
func (x *CIPDEnsureFile) ProtoReflect() protoreflect.Message
func (*CIPDEnsureFile) Reset ¶
func (x *CIPDEnsureFile) Reset()
func (*CIPDEnsureFile) Resolve ¶
func (c *CIPDEnsureFile) Resolve(ctx context.Context, params ResolveParams) (map[string]any, error)
func (*CIPDEnsureFile) String ¶
func (x *CIPDEnsureFile) String() string
type Config ¶
type Config struct { Rollers []*Roller `protobuf:"bytes,1,rep,name=rollers,proto3" json:"rollers,omitempty"` // Path to the manifest that defines the checkout to use when rolling Jiri // projects/packages, since some Jiri roller operations require access to the // whole Jiri checkout and not just the repository containing the manifests. DefaultCheckoutJiriManifest string `` /* 146-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Config) Descriptor
deprecated
func (*Config) GetDefaultCheckoutJiriManifest ¶
func (*Config) GetRollers ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
type GitSubmodule ¶
type GitSubmodule struct { // Path to the submodule. Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
A Git submodule to roll.
func (*GitSubmodule) Descriptor
deprecated
func (*GitSubmodule) Descriptor() ([]byte, []int)
Deprecated: Use GitSubmodule.ProtoReflect.Descriptor instead.
func (*GitSubmodule) GetPath ¶
func (x *GitSubmodule) GetPath() string
func (*GitSubmodule) ProtoMessage ¶
func (*GitSubmodule) ProtoMessage()
func (*GitSubmodule) ProtoReflect ¶
func (x *GitSubmodule) ProtoReflect() protoreflect.Message
func (*GitSubmodule) Reset ¶
func (x *GitSubmodule) Reset()
func (*GitSubmodule) Resolve ¶
func (s *GitSubmodule) Resolve(ctx context.Context, params ResolveParams) (map[string]any, error)
func (*GitSubmodule) String ¶
func (x *GitSubmodule) String() string
type JiriPackages ¶
type JiriPackages struct { // Jiri manifests containing packages to roll. Manifests []*JiriPackages_Manifest `protobuf:"bytes,1,rep,name=manifests,proto3" json:"manifests,omitempty"` // CIPD ref to track. Default is "latest". Ref string `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // contains filtered or unexported fields }
CIPD packages pinned in a Jiri manifest to roll.
func (*JiriPackages) Descriptor
deprecated
func (*JiriPackages) Descriptor() ([]byte, []int)
Deprecated: Use JiriPackages.ProtoReflect.Descriptor instead.
func (*JiriPackages) GetManifests ¶
func (x *JiriPackages) GetManifests() []*JiriPackages_Manifest
func (*JiriPackages) GetRef ¶
func (x *JiriPackages) GetRef() string
func (*JiriPackages) ProtoMessage ¶
func (*JiriPackages) ProtoMessage()
func (*JiriPackages) ProtoReflect ¶
func (x *JiriPackages) ProtoReflect() protoreflect.Message
func (*JiriPackages) Reset ¶
func (x *JiriPackages) Reset()
func (*JiriPackages) Resolve ¶
func (p *JiriPackages) Resolve(ctx context.Context, params ResolveParams) (map[string]any, error)
func (*JiriPackages) String ¶
func (x *JiriPackages) String() string
type JiriPackages_Manifest ¶
type JiriPackages_Manifest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Packages []string `protobuf:"bytes,2,rep,name=packages,proto3" json:"packages,omitempty"` // contains filtered or unexported fields }
func (*JiriPackages_Manifest) Descriptor
deprecated
func (*JiriPackages_Manifest) Descriptor() ([]byte, []int)
Deprecated: Use JiriPackages_Manifest.ProtoReflect.Descriptor instead.
func (*JiriPackages_Manifest) GetPackages ¶
func (x *JiriPackages_Manifest) GetPackages() []string
func (*JiriPackages_Manifest) GetPath ¶
func (x *JiriPackages_Manifest) GetPath() string
func (*JiriPackages_Manifest) ProtoMessage ¶
func (*JiriPackages_Manifest) ProtoMessage()
func (*JiriPackages_Manifest) ProtoReflect ¶
func (x *JiriPackages_Manifest) ProtoReflect() protoreflect.Message
func (*JiriPackages_Manifest) Reset ¶
func (x *JiriPackages_Manifest) Reset()
func (*JiriPackages_Manifest) String ¶
func (x *JiriPackages_Manifest) String() string
type JiriProject ¶
type JiriProject struct { // Path to the XML Jiri manifest in which the project is pinned. Manifest string `protobuf:"bytes,1,opt,name=manifest,proto3" json:"manifest,omitempty"` // Name of the Jiri project to roll. Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` // contains filtered or unexported fields }
A Jiri project (git repository pinned in a manifest) to roll.
func (*JiriProject) Descriptor
deprecated
func (*JiriProject) Descriptor() ([]byte, []int)
Deprecated: Use JiriProject.ProtoReflect.Descriptor instead.
func (*JiriProject) GetManifest ¶
func (x *JiriProject) GetManifest() string
func (*JiriProject) GetProject ¶
func (x *JiriProject) GetProject() string
func (*JiriProject) ProtoMessage ¶
func (*JiriProject) ProtoMessage()
func (*JiriProject) ProtoReflect ¶
func (x *JiriProject) ProtoReflect() protoreflect.Message
func (*JiriProject) Reset ¶
func (x *JiriProject) Reset()
func (*JiriProject) Resolve ¶
func (p *JiriProject) Resolve(ctx context.Context, params ResolveParams) (map[string]any, error)
func (*JiriProject) String ¶
func (x *JiriProject) String() string
type ResolveParams ¶
ResolveParams represents additional parameters that get passed into each roller type's `Resolve` function.
type Roller ¶
type Roller struct { // Entity that should be rolled. // // Types that are assignable to ToRoll: // // *Roller_Submodule // *Roller_CipdEnsureFile // *Roller_JiriProject // *Roller_JiriPackages ToRoll isRoller_ToRoll `protobuf_oneof:"to_roll"` // Cron schedule or time interval at which to trigger the roller. All times // are UTC. // // If left unset, the roller will only be triggerable manually. // // For supported syntax see: // https://chromium.googlesource.com/infra/luci/luci-go/+/refs/heads/main/lucicfg/doc/README.md#schedules-doc Schedule string `protobuf:"bytes,5,opt,name=schedule,proto3" json:"schedule,omitempty"` // Email of the owner of the roller. OwnerEmail string `protobuf:"bytes,6,opt,name=owner_email,json=ownerEmail,proto3" json:"owner_email,omitempty"` // Emails to alert when the roller fails. NotifyEmails []string `protobuf:"bytes,7,rep,name=notify_emails,json=notifyEmails,proto3" json:"notify_emails,omitempty"` // Whether the roller should bypass presubmit checks. ForceSubmit bool `protobuf:"varint,8,opt,name=force_submit,json=forceSubmit,proto3" json:"force_submit,omitempty"` // contains filtered or unexported fields }
func (*Roller) Descriptor
deprecated
func (*Roller) GetCipdEnsureFile ¶
func (x *Roller) GetCipdEnsureFile() *CIPDEnsureFile
func (*Roller) GetForceSubmit ¶
func (*Roller) GetJiriPackages ¶
func (x *Roller) GetJiriPackages() *JiriPackages
func (*Roller) GetJiriProject ¶
func (x *Roller) GetJiriProject() *JiriProject
func (*Roller) GetNotifyEmails ¶
func (*Roller) GetOwnerEmail ¶
func (*Roller) GetSchedule ¶
func (*Roller) GetSubmodule ¶
func (x *Roller) GetSubmodule() *GitSubmodule
func (*Roller) ProtoMessage ¶
func (*Roller) ProtoMessage()
func (*Roller) ProtoReflect ¶
func (x *Roller) ProtoReflect() protoreflect.Message
type Roller_CipdEnsureFile ¶
type Roller_CipdEnsureFile struct {
CipdEnsureFile *CIPDEnsureFile `protobuf:"bytes,2,opt,name=cipd_ensure_file,json=cipdEnsureFile,proto3,oneof"`
}
type Roller_JiriPackages ¶
type Roller_JiriPackages struct {
JiriPackages *JiriPackages `protobuf:"bytes,4,opt,name=jiri_packages,json=jiriPackages,proto3,oneof"`
}
type Roller_JiriProject ¶
type Roller_JiriProject struct {
JiriProject *JiriProject `protobuf:"bytes,3,opt,name=jiri_project,json=jiriProject,proto3,oneof"`
}
type Roller_Submodule ¶
type Roller_Submodule struct {
Submodule *GitSubmodule `protobuf:"bytes,1,opt,name=submodule,proto3,oneof"`
}
Click to show internal directories.
Click to hide internal directories.