Documentation
¶
Overview ¶
+k8s:deepcopy-gen=package +k8s:openapi-gen=true Package v1alpha1 is the v1alpha1 version of the API. +groupName=updatebot.jenkins-x.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Change ¶
type Change struct { // Go for go lang based dependency upgrades Go *GoChange `json:"go,omitempty"` // Regex a regex based modification Regex *Regex `json:"regex,omitempty"` // VersionStream updates the charts in a version stream repository VersionStream *VersionStreamChange `json:"versionStream,omitempty"` // VersionTemplate an optional template if the version is coming from a previous Pull Request SHA VersionTemplate string `json:"versionTemplate,omitempty"` }
Change the kind of change to make on a repository
type GoChange ¶ added in v0.0.23
type GoChange struct { // Owners the git owners to query Owners []string `json:"owner,omitempty"` // Repositories the repositories to match Repositories Pattern `json:"repositories,omitempty"` // Package the text in the go.mod to filter on to perform an upgrade Package string `json:"package,omitempty"` // UpgradePackages the packages to upgrade UpgradePackages Pattern `json:"upgradePackages,omitempty"` // NoPatch disables patch upgrades so we can import to new minor releases NoPatch bool `json:"noPatch,omitempty"` }
GoChange for upgrading go dependencies
type Pattern ¶ added in v0.0.23
type Pattern struct { // Name Name string `json:"name,omitempty"` // Includes patterns to include in changing Includes []string `json:"include,omitempty"` // Excludes patterns to exclude from upgrading Excludes []string `json:"exclude,omitempty"` }
Pattern for matching strings
type Regex ¶
type Regex struct { // Pattern the regex pattern to apply Pattern string `json:"pattern,omitempty"` // Globs the files to apply this to Globs []string `json:"files,omitempty"` }
Regex a regex based modification
type Rule ¶
type Rule struct { // URLs the git URLs of the repositories to create a Pull Request on URLs []string `json:"urls"` // Changes the changes to perform on the repositories Changes []Change `json:"changes"` }
Rule specifies a set of repositories and changes
type UpdateConfig ¶
type UpdateConfig struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ObjectMeta `json:"metadata"` // Spec holds the update rule specifications Spec UpdateConfigSpec `json:"spec"` }
UpdateConfig defines the update rules
+k8s:openapi-gen=true
type UpdateConfigSpec ¶
type UpdateConfigSpec struct { // Rules defines the change rules Rules []Rule `json:"rules,omitempty"` }
UpdateConfigSpec defines the rules to perform when updating.
type VersionStreamChange ¶ added in v0.0.21
type VersionStreamChange struct { Pattern // Kind the kind of resources to change (charts, git, package etc) Kind string `json:"kind,omitempty"` }
VersionStreamChange for upgrading versions in a version stream
Click to show internal directories.
Click to hide internal directories.