v1beta1

package
v0.0.0-...-a605f52 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package v1beta1 is a version of the API. +groupName=config.testmachinery.gardener.cloud

Package v1beta1 is the v1beta1 version of the API. +k8s:deepcopy-gen=package,register +k8s:openapi-gen=true +k8s:defaulter-gen=TypeMeta +groupName=config.testmachinery.gardener.cloud

Index

Constants

This section is empty.

Variables

View Source
var (
	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: config.GroupName, Version: "v1beta1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_config_BotConfiguration_To_v1beta1_BotConfiguration

func Convert_config_BotConfiguration_To_v1beta1_BotConfiguration(in *config.BotConfiguration, out *BotConfiguration, s conversion.Scope) error

Convert_config_BotConfiguration_To_v1beta1_BotConfiguration is an autogenerated conversion function.

func Convert_config_Certificate_To_v1beta1_Certificate

func Convert_config_Certificate_To_v1beta1_Certificate(in *config.Certificate, out *Certificate, s conversion.Scope) error

Convert_config_Certificate_To_v1beta1_Certificate is an autogenerated conversion function.

func Convert_config_Configuration_To_v1beta1_Configuration

func Convert_config_Configuration_To_v1beta1_Configuration(in *config.Configuration, out *Configuration, s conversion.Scope) error

Convert_config_Configuration_To_v1beta1_Configuration is an autogenerated conversion function.

func Convert_config_Controller_To_v1beta1_Controller

func Convert_config_Controller_To_v1beta1_Controller(in *config.Controller, out *Controller, s conversion.Scope) error

Convert_config_Controller_To_v1beta1_Controller is an autogenerated conversion function.

func Convert_config_DashboardAuthentication_To_v1beta1_DashboardAuthentication

func Convert_config_DashboardAuthentication_To_v1beta1_DashboardAuthentication(in *config.DashboardAuthentication, out *DashboardAuthentication, s conversion.Scope) error

Convert_config_DashboardAuthentication_To_v1beta1_DashboardAuthentication is an autogenerated conversion function.

func Convert_config_Dashboard_To_v1beta1_Dashboard

func Convert_config_Dashboard_To_v1beta1_Dashboard(in *config.Dashboard, out *Dashboard, s conversion.Scope) error

Convert_config_Dashboard_To_v1beta1_Dashboard is an autogenerated conversion function.

func Convert_config_ElasticSearch_To_v1beta1_ElasticSearch

func Convert_config_ElasticSearch_To_v1beta1_ElasticSearch(in *config.ElasticSearch, out *ElasticSearch, s conversion.Scope) error

Convert_config_ElasticSearch_To_v1beta1_ElasticSearch is an autogenerated conversion function.

func Convert_config_GitHubAuthentication_To_v1beta1_GitHubAuthentication

func Convert_config_GitHubAuthentication_To_v1beta1_GitHubAuthentication(in *config.GitHubAuthentication, out *GitHubAuthentication, s conversion.Scope) error

Convert_config_GitHubAuthentication_To_v1beta1_GitHubAuthentication is an autogenerated conversion function.

func Convert_config_GitHubBot_To_v1beta1_GitHubBot

func Convert_config_GitHubBot_To_v1beta1_GitHubBot(in *config.GitHubBot, out *GitHubBot, s conversion.Scope) error

Convert_config_GitHubBot_To_v1beta1_GitHubBot is an autogenerated conversion function.

func Convert_config_GitHubCache_To_v1beta1_GitHubCache

func Convert_config_GitHubCache_To_v1beta1_GitHubCache(in *config.GitHubCache, out *GitHubCache, s conversion.Scope) error

Convert_config_GitHubCache_To_v1beta1_GitHubCache is an autogenerated conversion function.

func Convert_config_GitHub_To_v1beta1_GitHub

func Convert_config_GitHub_To_v1beta1_GitHub(in *config.GitHub, out *GitHub, s conversion.Scope) error

Convert_config_GitHub_To_v1beta1_GitHub is an autogenerated conversion function.

func Convert_config_HealthCheckTarget_To_v1beta1_HealthCheckTarget

func Convert_config_HealthCheckTarget_To_v1beta1_HealthCheckTarget(in *config.HealthCheckTarget, out *HealthCheckTarget, s conversion.Scope) error

Convert_config_HealthCheckTarget_To_v1beta1_HealthCheckTarget is an autogenerated conversion function.

func Convert_config_LandscapeMapping_To_v1beta1_LandscapeMapping

func Convert_config_LandscapeMapping_To_v1beta1_LandscapeMapping(in *config.LandscapeMapping, out *LandscapeMapping, s conversion.Scope) error

Convert_config_LandscapeMapping_To_v1beta1_LandscapeMapping is an autogenerated conversion function.

func Convert_config_Locations_To_v1beta1_Locations

func Convert_config_Locations_To_v1beta1_Locations(in *config.Locations, out *Locations, s conversion.Scope) error

Convert_config_Locations_To_v1beta1_Locations is an autogenerated conversion function.

func Convert_config_OAuth_To_v1beta1_OAuth

func Convert_config_OAuth_To_v1beta1_OAuth(in *config.OAuth, out *OAuth, s conversion.Scope) error

Convert_config_OAuth_To_v1beta1_OAuth is an autogenerated conversion function.

func Convert_config_S3Server_To_v1beta1_S3Server

func Convert_config_S3Server_To_v1beta1_S3Server(in *config.S3Server, out *S3Server, s conversion.Scope) error

Convert_config_S3Server_To_v1beta1_S3Server is an autogenerated conversion function.

func Convert_config_S3_To_v1beta1_S3

func Convert_config_S3_To_v1beta1_S3(in *config.S3, out *S3, s conversion.Scope) error

Convert_config_S3_To_v1beta1_S3 is an autogenerated conversion function.

func Convert_config_TTLController_To_v1beta1_TTLController

func Convert_config_TTLController_To_v1beta1_TTLController(in *config.TTLController, out *TTLController, s conversion.Scope) error

Convert_config_TTLController_To_v1beta1_TTLController is an autogenerated conversion function.

func Convert_config_TestMachinery_To_v1beta1_TestMachinery

func Convert_config_TestMachinery_To_v1beta1_TestMachinery(in *config.TestMachinery, out *TestMachinery, s conversion.Scope) error

Convert_config_TestMachinery_To_v1beta1_TestMachinery is an autogenerated conversion function.

func Convert_config_WebhookConfig_To_v1beta1_WebhookConfig

func Convert_config_WebhookConfig_To_v1beta1_WebhookConfig(in *config.WebhookConfig, out *WebhookConfig, s conversion.Scope) error

Convert_config_WebhookConfig_To_v1beta1_WebhookConfig is an autogenerated conversion function.

func Convert_config_Webserver_To_v1beta1_Webserver

func Convert_config_Webserver_To_v1beta1_Webserver(in *config.Webserver, out *Webserver, s conversion.Scope) error

Convert_config_Webserver_To_v1beta1_Webserver is an autogenerated conversion function.

func Convert_v1beta1_BotConfiguration_To_config_BotConfiguration

func Convert_v1beta1_BotConfiguration_To_config_BotConfiguration(in *BotConfiguration, out *config.BotConfiguration, s conversion.Scope) error

Convert_v1beta1_BotConfiguration_To_config_BotConfiguration is an autogenerated conversion function.

func Convert_v1beta1_Certificate_To_config_Certificate

func Convert_v1beta1_Certificate_To_config_Certificate(in *Certificate, out *config.Certificate, s conversion.Scope) error

Convert_v1beta1_Certificate_To_config_Certificate is an autogenerated conversion function.

func Convert_v1beta1_Configuration_To_config_Configuration

func Convert_v1beta1_Configuration_To_config_Configuration(in *Configuration, out *config.Configuration, s conversion.Scope) error

Convert_v1beta1_Configuration_To_config_Configuration is an autogenerated conversion function.

func Convert_v1beta1_Controller_To_config_Controller

func Convert_v1beta1_Controller_To_config_Controller(in *Controller, out *config.Controller, s conversion.Scope) error

Convert_v1beta1_Controller_To_config_Controller is an autogenerated conversion function.

func Convert_v1beta1_DashboardAuthentication_To_config_DashboardAuthentication

func Convert_v1beta1_DashboardAuthentication_To_config_DashboardAuthentication(in *DashboardAuthentication, out *config.DashboardAuthentication, s conversion.Scope) error

Convert_v1beta1_DashboardAuthentication_To_config_DashboardAuthentication is an autogenerated conversion function.

func Convert_v1beta1_Dashboard_To_config_Dashboard

func Convert_v1beta1_Dashboard_To_config_Dashboard(in *Dashboard, out *config.Dashboard, s conversion.Scope) error

Convert_v1beta1_Dashboard_To_config_Dashboard is an autogenerated conversion function.

func Convert_v1beta1_ElasticSearch_To_config_ElasticSearch

func Convert_v1beta1_ElasticSearch_To_config_ElasticSearch(in *ElasticSearch, out *config.ElasticSearch, s conversion.Scope) error

Convert_v1beta1_ElasticSearch_To_config_ElasticSearch is an autogenerated conversion function.

func Convert_v1beta1_GitHubAuthentication_To_config_GitHubAuthentication

func Convert_v1beta1_GitHubAuthentication_To_config_GitHubAuthentication(in *GitHubAuthentication, out *config.GitHubAuthentication, s conversion.Scope) error

Convert_v1beta1_GitHubAuthentication_To_config_GitHubAuthentication is an autogenerated conversion function.

func Convert_v1beta1_GitHubBot_To_config_GitHubBot

func Convert_v1beta1_GitHubBot_To_config_GitHubBot(in *GitHubBot, out *config.GitHubBot, s conversion.Scope) error

Convert_v1beta1_GitHubBot_To_config_GitHubBot is an autogenerated conversion function.

func Convert_v1beta1_GitHubCache_To_config_GitHubCache

func Convert_v1beta1_GitHubCache_To_config_GitHubCache(in *GitHubCache, out *config.GitHubCache, s conversion.Scope) error

Convert_v1beta1_GitHubCache_To_config_GitHubCache is an autogenerated conversion function.

func Convert_v1beta1_GitHub_To_config_GitHub

func Convert_v1beta1_GitHub_To_config_GitHub(in *GitHub, out *config.GitHub, s conversion.Scope) error

Convert_v1beta1_GitHub_To_config_GitHub is an autogenerated conversion function.

func Convert_v1beta1_HealthCheckTarget_To_config_HealthCheckTarget

func Convert_v1beta1_HealthCheckTarget_To_config_HealthCheckTarget(in *HealthCheckTarget, out *config.HealthCheckTarget, s conversion.Scope) error

Convert_v1beta1_HealthCheckTarget_To_config_HealthCheckTarget is an autogenerated conversion function.

func Convert_v1beta1_LandscapeMapping_To_config_LandscapeMapping

func Convert_v1beta1_LandscapeMapping_To_config_LandscapeMapping(in *LandscapeMapping, out *config.LandscapeMapping, s conversion.Scope) error

Convert_v1beta1_LandscapeMapping_To_config_LandscapeMapping is an autogenerated conversion function.

func Convert_v1beta1_Locations_To_config_Locations

func Convert_v1beta1_Locations_To_config_Locations(in *Locations, out *config.Locations, s conversion.Scope) error

Convert_v1beta1_Locations_To_config_Locations is an autogenerated conversion function.

func Convert_v1beta1_OAuth_To_config_OAuth

func Convert_v1beta1_OAuth_To_config_OAuth(in *OAuth, out *config.OAuth, s conversion.Scope) error

Convert_v1beta1_OAuth_To_config_OAuth is an autogenerated conversion function.

func Convert_v1beta1_S3Server_To_config_S3Server

func Convert_v1beta1_S3Server_To_config_S3Server(in *S3Server, out *config.S3Server, s conversion.Scope) error

Convert_v1beta1_S3Server_To_config_S3Server is an autogenerated conversion function.

func Convert_v1beta1_S3_To_config_S3

func Convert_v1beta1_S3_To_config_S3(in *S3, out *config.S3, s conversion.Scope) error

Convert_v1beta1_S3_To_config_S3 is an autogenerated conversion function.

func Convert_v1beta1_TTLController_To_config_TTLController

func Convert_v1beta1_TTLController_To_config_TTLController(in *TTLController, out *config.TTLController, s conversion.Scope) error

Convert_v1beta1_TTLController_To_config_TTLController is an autogenerated conversion function.

func Convert_v1beta1_TestMachinery_To_config_TestMachinery

func Convert_v1beta1_TestMachinery_To_config_TestMachinery(in *TestMachinery, out *config.TestMachinery, s conversion.Scope) error

Convert_v1beta1_TestMachinery_To_config_TestMachinery is an autogenerated conversion function.

func Convert_v1beta1_WebhookConfig_To_config_WebhookConfig

func Convert_v1beta1_WebhookConfig_To_config_WebhookConfig(in *WebhookConfig, out *config.WebhookConfig, s conversion.Scope) error

Convert_v1beta1_WebhookConfig_To_config_WebhookConfig is an autogenerated conversion function.

func Convert_v1beta1_Webserver_To_config_Webserver

func Convert_v1beta1_Webserver_To_config_Webserver(in *Webserver, out *config.Webserver, s conversion.Scope) error

Convert_v1beta1_Webserver_To_config_Webserver is an autogenerated conversion function.

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

func SetDefaults_Configuration

func SetDefaults_Configuration(obj *Configuration)

SetDefaults_Configuration sets default values for the Configuration objects

func SetDefaults_ControllerConfig

func SetDefaults_ControllerConfig(obj *Controller)

SetDefaults_ControllerConfig sets default values for the Controller objects

func SetDefaults_Dashboard

func SetDefaults_Dashboard(obj *Dashboard)

SetDefaults_Dashboard sets default values for the Dashboard objects

func SetDefaults_GitHubAuthentication

func SetDefaults_GitHubAuthentication(obj *GitHubAuthentication)

SetDefaults_GitHubAuthentication sets default values for the GitHubAuthentication objects

func SetDefaults_GitHubBot

func SetDefaults_GitHubBot(obj *GitHubBot)

SetDefaults_GitHubBot sets default values for the GitHubBot objects

func SetDefaults_TestMachineryConfiguration

func SetDefaults_TestMachineryConfiguration(obj *TestMachinery)

SetDefaults_TestMachineryConfiguration sets default values for the TestMachinery objects

func SetDefaults_Webserver

func SetDefaults_Webserver(obj *Webserver)

SetDefaults_Webserver sets default values for the Webserver objects

func SetObjectDefaults_BotConfiguration

func SetObjectDefaults_BotConfiguration(in *BotConfiguration)

func SetObjectDefaults_Configuration

func SetObjectDefaults_Configuration(in *Configuration)

Types

type BotConfiguration

type BotConfiguration struct {
	metav1.TypeMeta `json:",inline"`
	Webserver       Webserver `json:"webserver"`
	Dashboard       Dashboard `json:"dashboard"`
	GitHubBot       GitHubBot `json:"githubBot"`
}

Configuration contains the testmachinery configuration values

func (*BotConfiguration) DeepCopy

func (in *BotConfiguration) DeepCopy() *BotConfiguration

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BotConfiguration.

func (*BotConfiguration) DeepCopyInto

func (in *BotConfiguration) DeepCopyInto(out *BotConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BotConfiguration) DeepCopyObject

func (in *BotConfiguration) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type Certificate

type Certificate struct {
	// Cert specifies the path to the certificate file
	Cert string `json:"cert"`

	// PrivateKey specifies the path to the private key file
	PrivateKey string `json:"privateKey"`
}

Certificate holds the certificate and its the private key

func (*Certificate) DeepCopy

func (in *Certificate) DeepCopy() *Certificate

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Certificate.

func (*Certificate) DeepCopyInto

func (in *Certificate) DeepCopyInto(out *Certificate)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Configuration

type Configuration struct {
	metav1.TypeMeta      `json:",inline"`
	Controller           Controller     `json:"controller"`
	TestMachinery        TestMachinery  `json:"testmachinery"`
	GitHub               GitHub         `json:"github,omitempty"`
	S3                   *S3            `json:"s3Configuration,omitempty"`
	ElasticSearch        *ElasticSearch `json:"esConfiguration,omitempty"`
	ImagePullSecretNames []string       `json:"imagePullSecretNames,omitempty"`
}

Configuration contains the testmachinery configuration values

func (*Configuration) DeepCopy

func (in *Configuration) DeepCopy() *Configuration

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Configuration.

func (*Configuration) DeepCopyInto

func (in *Configuration) DeepCopyInto(out *Configuration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Configuration) DeepCopyObject

func (in *Configuration) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type Controller

type Controller struct {
	// HealthAddr is the address of the healtcheck endpoint.
	HealthAddr string `json:"healthAddr,omitempty"`

	// MetricsAddr is the address of the metrics endpoint.
	MetricsAddr string `json:"metricsAddr,omitempty"`

	// EnableLeaderElection enables leader election for the controller.
	EnableLeaderElection bool `json:"enableLeaderElection,omitempty"`

	// MaxConcurrentSyncs is the max concurrent reconciles the controller does.
	MaxConcurrentSyncs int `json:"maxConcurrentSyncs,omitempty"`

	// TTLController contains the ttl controller configuration.
	TTLController TTLController `json:"ttlController,omitempty"`

	// WebhookConfig holds the validating webhook configuration.
	WebhookConfig WebhookConfig `json:"webhook,omitempty"`

	// DependencyHealthCheck specifies a deployment whose health is relevant for the controller.
	DependencyHealthCheck HealthCheckTarget `json:"dependencyHealthCheck,omitempty"`
}

Controller holds information about the testmachinery controller

func (*Controller) DeepCopy

func (in *Controller) DeepCopy() *Controller

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Controller.

func (*Controller) DeepCopyInto

func (in *Controller) DeepCopyInto(out *Controller)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Dashboard

type Dashboard struct {
	// UIBasePath specifies the base path for static files and templates
	UIBasePath string `json:"UIBasePath"`

	// Authentication to restrict access to specific parts in the dashboard
	Authentication DashboardAuthentication `json:"authentication"`
}

Dashboard contains configuration values for the TestMachinery Dashboard

func (*Dashboard) DeepCopy

func (in *Dashboard) DeepCopy() *Dashboard

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Dashboard.

func (*Dashboard) DeepCopyInto

func (in *Dashboard) DeepCopyInto(out *Dashboard)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardAuthentication

type DashboardAuthentication struct {
	// Provider defines the authentication provider that should be used to authenticate and authorize users
	// to view testruns.
	Provider DashboardAuthenticationProvider `json:"provider"`

	// CookieSecret is the secret for the cookie store
	// +optional
	CookieSecret string `json:"cookieSecret"`

	// GitHub holds the GitHub provider specific configuration
	// +optional
	GitHub *GitHubAuthentication `json:"githubConfig"`
}

DashboardAuthentication to restrict access to specific parts in the dashboard

func (*DashboardAuthentication) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardAuthentication.

func (*DashboardAuthentication) DeepCopyInto

func (in *DashboardAuthentication) DeepCopyInto(out *DashboardAuthentication)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DashboardAuthenticationProvider

type DashboardAuthenticationProvider string

DashboardAuthenticationProvider is a enum to specify a dashboard authentication method

const (
	GitHubAuthProvider DashboardAuthenticationProvider = "github"
	NoAuthProvider     DashboardAuthenticationProvider = "noauth"
	DummyAuthProvider  DashboardAuthenticationProvider = "dummy"
)

type ElasticSearch

type ElasticSearch struct {
	Endpoint string `json:"endpoint,omitempty"`
	Username string `json:"username,omitempty"`
	Password string `json:"password,omitempty"`
}

ElasticSearch holds information about the elastic instance to write data to.

func (*ElasticSearch) DeepCopy

func (in *ElasticSearch) DeepCopy() *ElasticSearch

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticSearch.

func (*ElasticSearch) DeepCopyInto

func (in *ElasticSearch) DeepCopyInto(out *ElasticSearch)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GitHub

type GitHub struct {
	Cache *GitHubCache `json:"cache,omitempty"`

	// SecretsPath is the path to the github secrets file
	SecretsPath string `json:"secretsPath,omitempty"`
}

GitHub holds all github related information needed in the testmachinery.

func (*GitHub) DeepCopy

func (in *GitHub) DeepCopy() *GitHub

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitHub.

func (*GitHub) DeepCopyInto

func (in *GitHub) DeepCopyInto(out *GitHub)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GitHubAuthentication

type GitHubAuthentication struct {
	// OAuth GitHub configuration that is used to protect parts of the dashboard
	// +optional
	OAuth *OAuth `json:"oAuth"`

	// Organization is the GitHub organization to restrict access to the bot
	// +optional
	Organization string `json:"organization"`

	// Hostname points to the GitHub instance used for the authentication flow
	// +optional
	Hostname string `json:"hostname"`
}

func (*GitHubAuthentication) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitHubAuthentication.

func (*GitHubAuthentication) DeepCopyInto

func (in *GitHubAuthentication) DeepCopyInto(out *GitHubAuthentication)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GitHubBot

type GitHubBot struct {
	// Enabled defines if the GitHub Bot integration should be enabled
	Enabled bool `json:"enabled"`

	// ConfigurationFilePath specifies the path to the configuration inside a repository that is watched by the bot
	ConfigurationFilePath string `json:"configurationFilePath"`

	// DefaultTeam is the slug name of the default team to grant permissions to perform bot commands
	DefaultTeam string `json:"defaultTeam"`

	// ApiUrl specifies the github api endpoint
	ApiUrl string `json:"apiUrl"`

	// AppID holds the ID of the GitHub App.
	AppID int `json:"appId"`

	// AppPrivateKeyPath is the path to the private key for the GitHub app.
	AppPrivateKeyPath string `json:"appPrivateKeyPath"`

	// GitHub webhook secret to verify payload
	WebhookSecret string `json:"webhookSecret"`

	// GitHubCache configures the cache for the github api
	GitHubCache GitHubCache `json:"cache"`
}

GitHubBot contains the configuration for the github integration

func (*GitHubBot) DeepCopy

func (in *GitHubBot) DeepCopy() *GitHubBot

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitHubBot.

func (*GitHubBot) DeepCopyInto

func (in *GitHubBot) DeepCopyInto(out *GitHubBot)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GitHubCache

type GitHubCache struct {
	CacheDir        string `json:"cacheDir,omitempty"`
	CacheDiskSizeGB int    `json:"cacheDiskSizeGB,omitempty"`
	MaxAgeSeconds   int    `json:"maxAgeSeconds,omitempty"`
}

GitHubCache is the github cache configuration

func (*GitHubCache) DeepCopy

func (in *GitHubCache) DeepCopy() *GitHubCache

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitHubCache.

func (*GitHubCache) DeepCopyInto

func (in *GitHubCache) DeepCopyInto(out *GitHubCache)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type HealthCheckTarget

type HealthCheckTarget struct {
	//Namespace specifies the namespace where resources relevant for a health check exist in.
	Namespace string `json:"namespace,omitempty"`
	// DeploymentName is the name of a deployment whose health will be checked.
	DeploymentName string `json:"deploymentName,omitempty"`
	//Interval specifies the frequency of the health check
	Interval metav1.Duration `json:"interval,omitempty"`
}

HealthCheckTarget specifies a deployment whose health should be checked.

func (*HealthCheckTarget) DeepCopy

func (in *HealthCheckTarget) DeepCopy() *HealthCheckTarget

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthCheckTarget.

func (*HealthCheckTarget) DeepCopyInto

func (in *HealthCheckTarget) DeepCopyInto(out *HealthCheckTarget)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LandscapeMapping

type LandscapeMapping struct {
	// Namespace indicates the namespace where TestRuns for a specific landscape should run
	Namespace string `json:"namespace,omitempty"`

	// ApiServerUrl discloses the allowed target APi server
	ApiServerUrl string `json:"apiServerUrl,omitempty"`

	// Audience is the audience/client ID, which has to be used for requests to this landscape
	Audience string `json:"audience"`

	//ExpirationSeconds specifies the lifetime of issued tokens
	ExpirationSeconds int64 `json:"expirationSeconds"`

	//AllowUntrustedUsage defines, if a token is allowed to be used in untrusted steps
	AllowUntrustedUsage bool `json:"allowUntrustedUsage"`
}

LandscapeMapping defines how to connect to a landscape using an OpenIDConnect IDP

func (*LandscapeMapping) DeepCopy

func (in *LandscapeMapping) DeepCopy() *LandscapeMapping

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LandscapeMapping.

func (*LandscapeMapping) DeepCopyInto

func (in *LandscapeMapping) DeepCopyInto(out *LandscapeMapping)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Locations

type Locations struct {
	// ExcludeDomains is a list of domains that should be excluded and no test definition fetched from.
	// Note that the domain and all its subdomains are ignored.
	ExcludeDomains []string `json:"excludeDomains,omitempty"`
}

Locations defines test location configurations.

func (*Locations) DeepCopy

func (in *Locations) DeepCopy() *Locations

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Locations.

func (*Locations) DeepCopyInto

func (in *Locations) DeepCopyInto(out *Locations)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OAuth

type OAuth struct {
	ClientID     string `json:"clientId"`
	ClientSecret string `json:"clientSecret"`
	RedirectURL  string `json:"redirectUrl"`
}

func (*OAuth) DeepCopy

func (in *OAuth) DeepCopy() *OAuth

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuth.

func (*OAuth) DeepCopyInto

func (in *OAuth) DeepCopyInto(out *OAuth)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type S3

type S3 struct {
	Server     S3Server `json:"server"`
	BucketName string   `json:"bucketName,omitempty"`
	AccessKey  string   `json:"accessKey,omitempty"`
	SecretKey  string   `json:"secretKey,omitempty"`
}

S3 holds information about the s3 endpoint

func (*S3) DeepCopy

func (in *S3) DeepCopy() *S3

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3.

func (*S3) DeepCopyInto

func (in *S3) DeepCopyInto(out *S3)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type S3Server

type S3Server struct {
	Endpoint string `json:"endpoint,omitempty"`
	SSL      bool   `json:"ssl,omitempty"`
}

S3Server defines the used s3 server The endpoint and ssl is not needed if minio should be deployed. Minio is deployed when the struct is defined

func (*S3Server) DeepCopy

func (in *S3Server) DeepCopy() *S3Server

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3Server.

func (*S3Server) DeepCopyInto

func (in *S3Server) DeepCopyInto(out *S3Server)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TTLController

type TTLController struct {
	// Disable disables the ttl controller.
	Disable bool `json:"disable,omitempty"`
	// MaxConcurrentSyncs is the max concurrent reconciles the controller does.
	MaxConcurrentSyncs int `json:"maxConcurrentSyncs,omitempty"`
}

TTLController contains the ttl controller configuration.

func (*TTLController) DeepCopy

func (in *TTLController) DeepCopy() *TTLController

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TTLController.

func (*TTLController) DeepCopyInto

func (in *TTLController) DeepCopyInto(out *TTLController)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TestMachinery

type TestMachinery struct {
	// Namespace is the namespace the testmachinery is deployed to.
	Namespace string `json:"namespace,omitempty"`

	// TestDefPath is the repository path where the Test Machinery should search for testdefinitions.
	TestDefPath string `json:"testdefPath"`

	// Locations contains all testlocation configurations
	Locations Locations `json:"locations,omitempty"`

	// PrepareImage is the prepare image that is used in the prepare and postprepare step.
	PrepareImage string `json:"prepareImage"`

	// PrepareImage is the base image that is used as the default image if a TestDefinition does not define an image.
	BaseImage string `json:"baseImage"`

	// Local indicates if the controller is run locally.
	Local bool `json:"local,omitempty"`

	// Insecure indicates that the testmachinery runs insecure.
	Insecure bool `json:"insecure,omitempty"`

	// RetryTimeout defines the timeout when a testrun is not retried anymore and goes into failed state.
	// The string is expected to be passed as golang duration parsable format.
	RetryTimeout string `json:"retryTimeout,omitempty"`

	// RetryTimeoutDuration is the parsed value of the RetryTimeout.
	RetryTimeoutDuration *time.Duration `json:"-"`

	// DisableCollector disables the collection of test results and their ingestion into elasticsearch.
	DisableCollector bool `json:"disableCollector"`

	// CleanWorkflowPods indicates if workflow pods should be directly cleaned up by the testmachinery.
	CleanWorkflowPods bool `json:"cleanWorkflowPods,omitempty"`

	//LandscapeMappings defines how to connect to landscapes using the respective OpenIDConnect IDP
	LandscapeMappings []LandscapeMapping `json:"landscapeMappings,omitempty"`
}

TestMachinery holds information about the testmachinery

func (*TestMachinery) DeepCopy

func (in *TestMachinery) DeepCopy() *TestMachinery

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestMachinery.

func (*TestMachinery) DeepCopyInto

func (in *TestMachinery) DeepCopyInto(out *TestMachinery)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WebhookConfig

type WebhookConfig struct {
	// Port is the port to serve validating webhooks
	Port int `json:"port,omitempty"`

	// CertDir is the directory that contains the certificates that is used by the webhook
	CertDir string `json:"certDir,omitempty"`
}

WebhookConfig holds the validating webhook configuration

func (*WebhookConfig) DeepCopy

func (in *WebhookConfig) DeepCopy() *WebhookConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookConfig.

func (*WebhookConfig) DeepCopyInto

func (in *WebhookConfig) DeepCopyInto(out *WebhookConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Webserver

type Webserver struct {
	// HTTPPort specifies the port to listen for http traffic
	HTTPPort int `json:"httpPort"`

	// HTTPSPort specifies the port to listen for https traffic
	HTTPSPort int `json:"httpsPort"`

	// Certificate holds the certificate the should be used to server the https traffic
	// +optional
	Certificate Certificate `json:"certificate"`
}

Webserver configures the webserver that servres the bot and the dashboard

func (*Webserver) DeepCopy

func (in *Webserver) DeepCopy() *Webserver

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Webserver.

func (*Webserver) DeepCopyInto

func (in *Webserver) DeepCopyInto(out *Webserver)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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