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 { // Regex a regex based modification Regex *Regex `json:"regex,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 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.
Click to show internal directories.
Click to hide internal directories.