v1alpha1

package
v0.0.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

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"`

	// 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 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 {
	// Kind the kind of resources to change (charts, git, package etc)
	Kind string `json:"kind,omitempty"`
	// 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"`
	// UpdateTektonImages if we should update the pipeline images too
	UpdateTektonImages bool `json:"updateTektonImages,omitempty"`
}

VersionStreamChange for upgrading versions in a version stream

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL