Documentation
¶
Overview ¶
Package v1beta1 contains API Schema definitions for the renovate v1beta1 API group +kubebuilder:object:generate=true +groupName=renovate.renovatebot.com
Index ¶
- Constants
- Variables
- type LogLevel
- type LoggingSettings
- type Platform
- type PlatformTypes
- type Renovate
- type RenovateAppConfig
- type RenovateDiscoveryConfig
- type RenovateList
- type RenovateSpec
- type RenovateStatus
- type RepositoryPath
- type ScalingSpec
- type ScalingStrategy
- type SharedCache
- type SharedCacheRedisConfig
- type SharedCacheTypes
Constants ¶
const ( //ScalingStrategy_NONE A single batch be created and no parallelization will take place ScalingStrategy_NONE = "none" //ScalingStrategy_SIZE Create batches based on number of repositories. If 30 repositories have been found and size //is defined as 10, then 3 batches will be created. ScalingStrategy_SIZE = "size" )
const ( PlatformType_GITHUB = "github" PlatformType_GITLAB = "gitlab" )
const ( LogLevel_TRACE = "trace" LogLevel_DEBUG = "debug" LogLevel_INFO = "info" LogLevel_WARN = "warn" LogLevel_ERROR = "error" LogLevel_FATAL = "fatal" )
const (
)
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "renovate.renovatebot.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type LoggingSettings ¶
type LoggingSettings struct {
//+kubebuilder:default=info
Level LogLevel `json:"level"`
}
func (*LoggingSettings) DeepCopy ¶
func (in *LoggingSettings) DeepCopy() *LoggingSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingSettings.
func (*LoggingSettings) DeepCopyInto ¶
func (in *LoggingSettings) DeepCopyInto(out *LoggingSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Platform ¶
type Platform struct {
PlatformType PlatformTypes `json:"type"`
Endpoint string `json:"endpoint"`
Token v1.EnvVarSource `json:"token"`
}
func (*Platform) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Platform.
func (*Platform) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Renovate ¶
type Renovate struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec RenovateSpec `json:"spec,omitempty"`
Status RenovateStatus `json:"status,omitempty"`
}
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:shortName=ren +kubebuilder:printcolumn:name="Suspended",type=boolean,JSONPath=`.spec.suspend` +kubebuilder:printcolumn:name="DryRun",type=boolean,JSONPath=`.spec.renovate.dryRun` +kubebuilder:printcolumn:name="Version",type=string,JSONPath=`.spec.renovate.version` Renovate crd object
func (*Renovate) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Renovate.
func (*Renovate) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Renovate) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RenovateAppConfig ¶
type RenovateAppConfig struct {
Platform Platform `json:"platform"`
//+kubebuilder:default:="27.15.0"
RenovateVersion string `json:"version,omitempty"`
//+kubebuilder:default:=false
DryRun *bool `json:"dryRun,omitempty"`
//+kubebuilder:default:=true
OnBoarding *bool `json:"onBoarding,omitempty"`
//+kubebuilder:default:=10
PrHourlyLimit int `json:"prHourlyLimit,omitempty"`
AddLabels []string `json:"addLabels,omitempty"`
GithubTokenSelector v1.EnvVarSource `json:"githubToken,omitempty"`
}
func (*RenovateAppConfig) DeepCopy ¶
func (in *RenovateAppConfig) DeepCopy() *RenovateAppConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RenovateAppConfig.
func (*RenovateAppConfig) DeepCopyInto ¶
func (in *RenovateAppConfig) DeepCopyInto(out *RenovateAppConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RenovateDiscoveryConfig ¶
type RenovateDiscoveryConfig struct {
//+kubebuilder:validation:Optional
//+kubebuilder:default:="0 */2 * * *"
Schedule string `json:"schedule"`
}
func (*RenovateDiscoveryConfig) DeepCopy ¶
func (in *RenovateDiscoveryConfig) DeepCopy() *RenovateDiscoveryConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RenovateDiscoveryConfig.
func (*RenovateDiscoveryConfig) DeepCopyInto ¶
func (in *RenovateDiscoveryConfig) DeepCopyInto(out *RenovateDiscoveryConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RenovateList ¶
type RenovateList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Renovate `json:"items"`
}
RenovateList contains a list of Renovate
func (*RenovateList) DeepCopy ¶
func (in *RenovateList) DeepCopy() *RenovateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RenovateList.
func (*RenovateList) DeepCopyInto ¶
func (in *RenovateList) DeepCopyInto(out *RenovateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RenovateList) DeepCopyObject ¶
func (in *RenovateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RenovateSpec ¶
type RenovateSpec struct {
RenovateAppConfig RenovateAppConfig `json:"renovate"`
RenovateDiscoveryConfig RenovateDiscoveryConfig `json:"discovery,omitempty"`
//+kubebuilder:validation:Optional
//+kubebuilder:default:=false
Suspend *bool `json:"suspend"`
Schedule string `json:"schedule"`
//+kubebuilder:validation:Optional
Logging LoggingSettings `json:"logging"`
SharedCache SharedCache `json:"sharedCache"`
//+kubebuilder:validation:Optional
ScalingSpec ScalingSpec `json:"scaling"`
}
RenovateSpec defines the desired state of Renovate
func (*RenovateSpec) DeepCopy ¶
func (in *RenovateSpec) DeepCopy() *RenovateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RenovateSpec.
func (*RenovateSpec) DeepCopyInto ¶
func (in *RenovateSpec) DeepCopyInto(out *RenovateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RenovateStatus ¶
type RenovateStatus struct {
DiscoveredRepositories []RepositoryPath `json:"discoveredDepositories"`
}
RenovateStatus defines the observed state of Renovate
func (*RenovateStatus) DeepCopy ¶
func (in *RenovateStatus) DeepCopy() *RenovateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RenovateStatus.
func (*RenovateStatus) DeepCopyInto ¶
func (in *RenovateStatus) DeepCopyInto(out *RenovateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositoryPath ¶
type RepositoryPath string
type ScalingSpec ¶
type ScalingSpec struct {
//+kubebuilder:validation:Enum=none;size
//+kubebuilder:default:="none"
ScalingStrategy ScalingStrategy `json:"strategy,omitempty"`
//MaxWorkers Maximum number of parallel workers to start. A single worker will only process a single batch at maximum
//+kubebuilder:default:=1
MaxWorkers int32 `json:"maxWorkers"`
//Size if ScalingStrategy
Size int `json:"size,omitempty"`
}
func (*ScalingSpec) DeepCopy ¶
func (in *ScalingSpec) DeepCopy() *ScalingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScalingSpec.
func (*ScalingSpec) DeepCopyInto ¶
func (in *ScalingSpec) DeepCopyInto(out *ScalingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScalingStrategy ¶
type ScalingStrategy string
type SharedCache ¶
type SharedCache struct {
}
func (*SharedCache) DeepCopy ¶
func (in *SharedCache) DeepCopy() *SharedCache
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SharedCache.
func (*SharedCache) DeepCopyInto ¶
func (in *SharedCache) DeepCopyInto(out *SharedCache)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SharedCacheRedisConfig ¶
type SharedCacheRedisConfig struct {
}
func (*SharedCacheRedisConfig) DeepCopy ¶
func (in *SharedCacheRedisConfig) DeepCopy() *SharedCacheRedisConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SharedCacheRedisConfig.
func (*SharedCacheRedisConfig) DeepCopyInto ¶
func (in *SharedCacheRedisConfig) DeepCopyInto(out *SharedCacheRedisConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.