v2

package
v0.0.0-...-23030c4 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package v2 contains API Schema definitions for the app v2 API group +kubebuilder:object:generate=true +groupName=app.kiegroup.org

Index

Constants

View Source
const (
	OpenshiftStartupStrategy  = "OpenShiftStartupStrategy"
	ControllerStartupStrategy = "ControllerBasedStartupStrategy"
)

StartupStrategies supported values

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "app.kiegroup.org", Version: "v2"}

	// 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 AppConstants

type AppConstants struct {
	Product      string `json:"name,omitempty"`
	Prefix       string `json:"prefix,omitempty"`
	ImageName    string `json:"imageName,omitempty"`
	ImageVar     string `json:"imageVar,omitempty"`
	MavenRepo    string `json:"mavenRepo,omitempty"`
	FriendlyName string `json:"friendlyName,omitempty"`
}

AppConstants data type to store application deployment constants

func (*AppConstants) DeepCopy

func (in *AppConstants) DeepCopy() *AppConstants

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

func (*AppConstants) DeepCopyInto

func (in *AppConstants) DeepCopyInto(out *AppConstants)

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

type AuthTemplate

type AuthTemplate struct {
	SSO        SSOAuthConfig      `json:"sso,omitempty"`
	LDAP       LDAPAuthConfig     `json:"ldap,omitempty"`
	RoleMapper RoleMapperTemplate `json:"roleMapper,omitempty"`
}

AuthTemplate Authentication definition used in the template

func (*AuthTemplate) DeepCopy

func (in *AuthTemplate) DeepCopy() *AuthTemplate

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

func (*AuthTemplate) DeepCopyInto

func (in *AuthTemplate) DeepCopyInto(out *AuthTemplate)

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

type BuildTemplate

type BuildTemplate struct {
	From                         ImageObjRef `json:"from,omitempty"`
	GitSource                    GitSource   `json:"gitSource,omitempty"`
	GitHubWebhookSecret          string      `json:"githubWebhookSecret,omitempty"`
	GenericWebhookSecret         string      `json:"genericWebhookSecret,omitempty"`
	KieServerContainerDeployment string      `json:"kieServerContainerDeployment,omitempty"`
	DisablePullDeps              bool        `json:"disablePullDeps,omitempty"`
	DisableKCVerification        bool        `json:"disableKCVerification,omitempty"`
	MavenMirrorURL               string      `json:"mavenMirrorURL,omitempty"`
	ArtifactDir                  string      `json:"artifactDir,omitempty"`
	// Extension image configuration which provides custom jdbc drivers to be used
	// by KieServer.
	ExtensionImageStreamTag          string `json:"extensionImageStreamTag,omitempty"`
	ExtensionImageStreamTagNamespace string `json:"extensionImageStreamTagNamespace,omitempty"`
	ExtensionImageInstallDir         string `json:"extensionImageInstallDir,omitempty"`
}

BuildTemplate build variables used in the templates

func (*BuildTemplate) DeepCopy

func (in *BuildTemplate) DeepCopy() *BuildTemplate

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

func (*BuildTemplate) DeepCopyInto

func (in *BuildTemplate) DeepCopyInto(out *BuildTemplate)

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

type CORSFiltersObject

type CORSFiltersObject struct {
	//Enable CORS setting with the default values, default is false
	Default bool `json:"default,omitempty"`
	//Access control Response Headers Filters separated by comma, default is: AC_ALLOW_ORIGIN,AC_ALLOW_METHODS,AC_ALLOW_HEADERS,AC_ALLOW_CREDENTIALS,AC_MAX_AGE
	Filters string `json:"filters,omitempty"`

	//Access Control Origin Response Header Filter Header Name, default is Access-Control-Allow-Origin
	AllowOriginName string `json:"allowOriginName,omitempty"`
	//Access Control Origin Response Header  Filter Header Value, default is: *
	AllowOriginValue string `json:"allowOriginValue,omitempty"`

	//Access Control Allow Methods Response Header Filter Header Name, default is: Access-Control-Allow-Methods
	AllowMethodsName string `json:"allowMethodsName,omitempty"`
	//Access Control Allow Methods Response Headers Filter Header Value, default is: GET, POST, OPTIONS, PUT
	AllowMethodsValue string `json:"allowMethodsValue,omitempty"`

	//Access Control Allow Headers Filter Header Name, default is: Access-Control-Allow-Headers
	AllowHeadersName string `json:"allowHeadersName,omitempty"`
	//Access Control Allow Headers Filter Header Value, default is: Accept, Authorization, Content-Type, X-Requested-With
	AllowHeadersValue string `json:"allowHeadersValue,omitempty"`

	//Access Control Allow Credentials Filter Header Name, default is: Access-Control-Allow-Credentials
	AllowCredentialsName string `json:"allowCredentialsName,omitempty"`
	//Access Control Allow Credentials Filter Header Value, default is: true
	AllowCredentialsValue *bool `json:"allowCredentialsValue,omitempty"`

	//Access Control Max Age Filter Header Name, default is: Access-Control-Max-Age
	MaxAgeName string `json:"maxAgeName,omitempty"`
	//Access Control Max Age Filter Header Value, default is: 1
	MaxAgeValue *int32 `json:"maxAgeValue,omitempty"`
}

CORSFiltersObject CORS Cross Origin Resource Sharing configuration to be used by the KieApp for the KIE Server, workbench and RHPAM Dashbuilder

func (*CORSFiltersObject) DeepCopy

func (in *CORSFiltersObject) DeepCopy() *CORSFiltersObject

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

func (*CORSFiltersObject) DeepCopyInto

func (in *CORSFiltersObject) DeepCopyInto(out *CORSFiltersObject)

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

type CommonConfig

type CommonConfig struct {
	// The name of the application deployment.
	ApplicationName string `json:"applicationName,omitempty"`
	// +kubebuilder:validation:Format:=password
	// The password to use for keystore generation.
	KeyStorePassword string `json:"keyStorePassword,omitempty"`
	// The user to use for the admin.
	AdminUser string `json:"adminUser,omitempty"`
	// +kubebuilder:validation:Format:=password
	// The password to use for the adminUser.
	AdminPassword string `json:"adminPassword,omitempty"`
	// +kubebuilder:validation:Format:=password
	// The password to use for databases.
	DBPassword string `json:"dbPassword,omitempty"`
	// +kubebuilder:validation:Format:=password
	// The password to use for amq user.
	AMQPassword string `json:"amqPassword,omitempty"`
	// +kubebuilder:validation:Format:=password
	// The password to use for amq cluster user.
	AMQClusterPassword string `json:"amqClusterPassword,omitempty"`
	// If set to true, plain text routes will be configured instead using SSL
	DisableSsl bool `json:"disableSsl,omitempty"`
	// Startup strategy for Console and Kieserver
	StartupStrategy *StartupStrategy `json:"startupStrategy,omitempty"`
}

CommonConfig variables used in the templates

func (*CommonConfig) DeepCopy

func (in *CommonConfig) DeepCopy() *CommonConfig

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

func (*CommonConfig) DeepCopyInto

func (in *CommonConfig) DeepCopyInto(out *CommonConfig)

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

type CommonExtDBObjectRequiredURL

type CommonExtDBObjectRequiredURL struct {
	// +kubebuilder:validation:Required
	// Database JDBC URL. For example, jdbc:mysql:mydb.example.com:3306/rhpam
	JdbcURL                      string `json:"jdbcURL"`
	CommonExternalDatabaseObject `json:",inline"`
}

CommonExtDBObjectRequiredURL common configuration definition of an external database

func (*CommonExtDBObjectRequiredURL) DeepCopy

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

func (*CommonExtDBObjectRequiredURL) DeepCopyInto

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

type CommonExtDBObjectURL

type CommonExtDBObjectURL struct {
	// Database JDBC URL. For example, jdbc:mysql:mydb.example.com:3306/rhpam
	JdbcURL                      string `json:"jdbcURL,omitempty"`
	CommonExternalDatabaseObject `json:",inline"`
}

CommonExtDBObjectURL common configuration definition of an external database

func (*CommonExtDBObjectURL) DeepCopy

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

func (*CommonExtDBObjectURL) DeepCopyInto

func (in *CommonExtDBObjectURL) DeepCopyInto(out *CommonExtDBObjectURL)

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

type CommonExternalDatabaseObject

type CommonExternalDatabaseObject struct {
	// +kubebuilder:validation:Required
	// Driver name to use. For example, mysql
	Driver string `json:"driver"`
	// +kubebuilder:validation:Required
	// External database username
	Username string `json:"username"`
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Format:=password
	// External database password
	Password string `json:"password"`
	// Sets xa-pool/min-pool-size for the configured datasource.
	MinPoolSize string `json:"minPoolSize,omitempty"`
	// Sets xa-pool/max-pool-size for the configured datasource.
	MaxPoolSize string `json:"maxPoolSize,omitempty"`
	// An org.jboss.jca.adapters.jdbc.ValidConnectionChecker that provides a SQLException isValidConnection(Connection e) method to validate if a connection is valid.
	ConnectionChecker string `json:"connectionChecker,omitempty"`
	// An org.jboss.jca.adapters.jdbc.ExceptionSorter that provides a boolean isExceptionFatal(SQLException e) method to validate if an exception should be broadcast to all javax.resource.spi.ConnectionEventListener as a connectionErrorOccurred.
	ExceptionSorter string `json:"exceptionSorter,omitempty"`
	// Sets the sql validation method to background-validation, if set to false the validate-on-match method will be used.
	BackgroundValidation string `json:"backgroundValidation,omitempty"`
	// Defines the interval for the background-validation check for the jdbc connections.
	BackgroundValidationMillis string `json:"backgroundValidationMillis,omitempty"`
}

CommonExternalDatabaseObject common configuration definition of an external database

func (*CommonExternalDatabaseObject) DeepCopy

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

func (*CommonExternalDatabaseObject) DeepCopyInto

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

type Condition

type Condition struct {
	Type               ConditionType          `json:"type"`
	Status             corev1.ConditionStatus `json:"status"`
	LastTransitionTime metav1.Time            `json:"lastTransitionTime,omitempty"`
	Reason             ReasonType             `json:"reason,omitempty"`
	Message            string                 `json:"message,omitempty"`
	Version            string                 `json:"version,omitempty"`
}

Condition - The condition for the kie-cloud-operator

func (*Condition) DeepCopy

func (in *Condition) DeepCopy() *Condition

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

func (*Condition) DeepCopyInto

func (in *Condition) DeepCopyInto(out *Condition)

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

type ConditionType

type ConditionType string

ConditionType - type of condition

const (
	// DeployedConditionType - the kieapp is deployed
	DeployedConditionType ConditionType = "Deployed"
	// ProvisioningConditionType - the kieapp is being provisioned
	ProvisioningConditionType ConditionType = "Provisioning"
	// FailedConditionType - the kieapp is in a failed state
	FailedConditionType ConditionType = "Failed"
)

type ConsoleObject

type ConsoleObject struct {
	KieAppObject `json:",inline"`
	SSOClient    *SSOAuthClient     `json:"ssoClient,omitempty"`
	GitHooks     *GitHooksVolume    `json:"gitHooks,omitempty"`
	Jvm          *JvmObject         `json:"jvm,omitempty"`
	PvSize       string             `json:"pvSize,omitempty"`
	Cors         *CORSFiltersObject `json:"cors,omitempty"`
	DataGridAuth *DataGridAuth      `json:"dataGridAuth,omitempty"`
}

ConsoleObject configuration of the RHPAM workbench

func (*ConsoleObject) DeepCopy

func (in *ConsoleObject) DeepCopy() *ConsoleObject

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

func (*ConsoleObject) DeepCopyInto

func (in *ConsoleObject) DeepCopyInto(out *ConsoleObject)

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

type ConsoleTemplate

type ConsoleTemplate struct {
	OmitImageStream     bool              `json:"omitImageStream"`
	SSOAuthClient       SSOAuthClient     `json:"ssoAuthClient,omitempty"`
	Name                string            `json:"name,omitempty"`
	Replicas            int32             `json:"replicas,omitempty"`
	ImageContext        string            `json:"imageContext,omitempty"`
	Image               string            `json:"image,omitempty"`
	ImageTag            string            `json:"imageTag,omitempty"`
	ImageURL            string            `json:"imageURL,omitempty"`
	KeystoreSecret      string            `json:"keystoreSecret,omitempty"`
	GitHooks            GitHooksVolume    `json:"gitHooks,omitempty"`
	Jvm                 JvmObject         `json:"jvm,omitempty"`
	StorageClassName    string            `json:"storageClassName,omitempty"`
	RouteHostname       string            `json:"routeHostname,omitempty"`
	PvSize              string            `json:"pvSize,omitempty"`
	Simplified          bool              `json:"simplifed"`
	DashbuilderLocation string            `json:"dashbuilderLocation,omitempty"`
	Cors                CORSFiltersObject `json:"cors,omitempty"`
	StartupStrategy     StartupStrategy   `json:"startupStrategy,omitempty"`
	DataGridAuth        DataGridAuth      `json:"dataGridAuth,omitempty"`
}

ConsoleTemplate contains all the variables used in the yaml templates

func (*ConsoleTemplate) DeepCopy

func (in *ConsoleTemplate) DeepCopy() *ConsoleTemplate

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

func (*ConsoleTemplate) DeepCopyInto

func (in *ConsoleTemplate) DeepCopyInto(out *ConsoleTemplate)

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

type CustomObject

type CustomObject struct {
	Omit                   bool                           `json:"omit,omitempty"`
	PersistentVolumeClaims []corev1.PersistentVolumeClaim `json:"persistentVolumeClaims,omitempty"`
	ServiceAccounts        []corev1.ServiceAccount        `json:"serviceAccounts,omitempty"`
	Secrets                []corev1.Secret                `json:"secrets,omitempty"`
	Roles                  []rbacv1.Role                  `json:"roles,omitempty"`
	RoleBindings           []rbacv1.RoleBinding           `json:"roleBindings,omitempty"`
	DeploymentConfigs      []oappsv1.DeploymentConfig     `json:"deploymentConfigs,omitempty"`
	StatefulSets           []appsv1.StatefulSet           `json:"statefulSets,omitempty"`
	BuildConfigs           []buildv1.BuildConfig          `json:"buildConfigs,omitempty"`
	ImageStreams           []oimagev1.ImageStream         `json:"imageStreams,omitempty"`
	Services               []corev1.Service               `json:"services,omitempty"`
	Routes                 []routev1.Route                `json:"routes,omitempty"`
	ConfigMaps             []corev1.ConfigMap             `json:"configMaps,omitempty"`
}

func (*CustomObject) DeepCopy

func (in *CustomObject) DeepCopy() *CustomObject

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

func (*CustomObject) DeepCopyInto

func (in *CustomObject) DeepCopyInto(out *CustomObject)

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

type DashbuilderConfig

type DashbuilderConfig struct {
	// Enables integration with Business Central
	// +optional
	EnableBusinessCentral bool `json:"enableBusinessCentral,omitempty"`
	// Enables integration with KIE Server
	// +optional
	EnableKieServer bool `json:"enableKieServer,omitempty"`
	// Allow download of external (remote) files into runtime. Default value is false
	// +optional
	AllowExternalFileRegister *bool `json:"allowExternalFileRegister,omitempty"`
	// Components will be partitioned by the Runtime Model ID. Default value is true
	// +optional
	ComponentPartition *bool `json:"componentPartition,omitempty"`
	// Datasets IDs will partitioned by the Runtime Model ID. Default value is true
	// +optional
	DataSetPartition *bool `json:"dataSetPartition,omitempty"`
	// Set a static dashboard to run with runtime. When this property is set no new imports are allowed.
	// +optional
	ImportFileLocation string `json:"importFileLocation,omitempty"`
	// Make Dashbuilder not ephemeral. If ImportFileLocation is set PersistentConfigs will be ignored.
	// Default value is true.
	// +optional
	PersistentConfigs *bool `json:"persistentConfigs,omitempty"`
	// Base Directory where dashboards ZIPs are stored. If PersistentConfigs is enabled and ImportsBaseDir is not
	// pointing to a already existing PV the /opt/kie/dashbuilder/imports directory will be used. If ImportFileLocation is set
	// ImportsBaseDir will be ignored.
	// +optional
	ImportsBaseDir string `json:"importsBaseDir,omitempty"`
	// Allows Runtime to check model last update in FS to update its content. Default value is true.
	// +optional
	ModelUpdate *bool `json:"modelUpdate,omitempty"`
	// When enabled will also remove actual model file from file system. Default value is false.
	// +optional
	ModelFileRemoval *bool `json:"modelFileRemoval,omitempty"`
	// Runtime will always allow use of new imports (multi tenancy). Default value is false.
	// +optional
	RuntimeMultipleImport *bool `json:"runtimeMultipleImport,omitempty"`
	// Limits the size of uploaded dashboards (in kb). Default value is 10485760 kb.
	// +optional
	UploadSize *int64 `json:"uploadSize,omitempty"`
	// When set to true enables external components.
	// +optional
	ComponentEnable *bool `json:"componentEnable,omitempty"`
	// Base Directory where dashboards ZIPs are stored. If PersistentConfigs is enabled and ExternalCompDir is not
	// pointing to a already existing PV the /opt/kie/dashbuilder/components directory will be used.
	// +optional
	ExternalCompDir string `json:"externalCompDir,omitempty"`
	// Properties file with Dashbuilder configurations, if set, uniq properties will be appended and, if a property
	// is set mode than once, the one from this property file will be used.
	// +optional
	ConfigMapProps string `json:"configMapProps,omitempty"`
	// Defines the KIE Server Datasets access configurations
	// +optional
	KieServerDataSets []KieServerDataSetOrTemplate `json:"kieServerDataSets,omitempty"`
	// Defines the KIE Server Templates access configurations
	// +optional
	KieServerTemplates []KieServerDataSetOrTemplate `json:"kieServerTemplates,omitempty"`
}

DashbuilderConfig holds all configurations that can be applied to the Dashbuilder env

func (*DashbuilderConfig) DeepCopy

func (in *DashbuilderConfig) DeepCopy() *DashbuilderConfig

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

func (*DashbuilderConfig) DeepCopyInto

func (in *DashbuilderConfig) DeepCopyInto(out *DashbuilderConfig)

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

type DashbuilderObject

type DashbuilderObject struct {
	KieAppObject `json:",inline"`
	SSOClient    *SSOAuthClient     `json:"ssoClient,omitempty"`
	Jvm          *JvmObject         `json:"jvm,omitempty"`
	Config       *DashbuilderConfig `json:"config,omitempty"`
	Cors         *CORSFiltersObject `json:"cors,omitempty"`
}

DashbuilderObject configuration of the RHPAM Dashbuilder

func (*DashbuilderObject) DeepCopy

func (in *DashbuilderObject) DeepCopy() *DashbuilderObject

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

func (*DashbuilderObject) DeepCopyInto

func (in *DashbuilderObject) DeepCopyInto(out *DashbuilderObject)

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

type DashbuilderTemplate

type DashbuilderTemplate struct {
	OmitImageStream  bool              `json:"omitImageStream"`
	Name             string            `json:"name,omitempty"`
	Replicas         int32             `json:"replicas,omitempty"`
	SSOAuthClient    SSOAuthClient     `json:"ssoAuthClient,omitempty"`
	ImageContext     string            `json:"imageContext,omitempty"`
	Image            string            `json:"image,omitempty"`
	ImageTag         string            `json:"imageTag,omitempty"`
	ImageURL         string            `json:"imageURL,omitempty"`
	KeystoreSecret   string            `json:"keystoreSecret,omitempty"`
	Database         DatabaseObject    `json:"database,omitempty"`
	Jvm              JvmObject         `json:"jvm,omitempty"`
	StorageClassName string            `json:"storageClassName,omitempty"`
	RouteHostname    string            `json:"routeHostname,omitempty"`
	Config           DashbuilderConfig `json:"config,omitempty"`
	Cors             CORSFiltersObject `json:"cors,omitempty"`
}

DashbuilderTemplate contains all the variables used in the yaml templates

func (*DashbuilderTemplate) DeepCopy

func (in *DashbuilderTemplate) DeepCopy() *DashbuilderTemplate

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

func (*DashbuilderTemplate) DeepCopyInto

func (in *DashbuilderTemplate) DeepCopyInto(out *DashbuilderTemplate)

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

type DataGridAuth

type DataGridAuth struct {
	// The user to use for datagrid
	Username string `json:"username,omitempty"`
	// +kubebuilder:validation:Format:=password
	// The password to use for datagrid user
	Password string `json:"password,omitempty"`
}

DataGridAuth ...

func (*DataGridAuth) DeepCopy

func (in *DataGridAuth) DeepCopy() *DataGridAuth

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

func (*DataGridAuth) DeepCopyInto

func (in *DataGridAuth) DeepCopyInto(out *DataGridAuth)

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

type DatabaseObject

type DatabaseObject struct {
	InternalDatabaseObject `json:",inline"`
	ExternalConfig         *ExternalDatabaseObject `json:"externalConfig,omitempty"`
}

DatabaseObject Defines how a KieServer will manage and create a new Database or connect to an existing one

func (*DatabaseObject) DeepCopy

func (in *DatabaseObject) DeepCopy() *DatabaseObject

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

func (*DatabaseObject) DeepCopyInto

func (in *DatabaseObject) DeepCopyInto(out *DatabaseObject)

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

type DatabaseTemplate

type DatabaseTemplate struct {
	InternalDatabaseObject `json:",inline"`
	ServerName             string `json:"serverName,omitempty"`
	Username               string `json:"username,omitempty"`
	DatabaseName           string `json:"databaseName,omitempty"`
}

DatabaseTemplate contains all the variables used in the yaml templates

func (*DatabaseTemplate) DeepCopy

func (in *DatabaseTemplate) DeepCopy() *DatabaseTemplate

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

func (*DatabaseTemplate) DeepCopyInto

func (in *DatabaseTemplate) DeepCopyInto(out *DatabaseTemplate)

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

type DatabaseType

type DatabaseType string

DatabaseType to define what kind of database will be used for the Kie Servers

const (
	// DatabaseH2 H2 Embedded Database deployment
	DatabaseH2 DatabaseType = "h2"
	// DatabaseMySQL MySQL Database deployment
	DatabaseMySQL DatabaseType = "mysql"
	// DatabasePostgreSQL PostgreSQL Database deployment
	DatabasePostgreSQL DatabaseType = "postgresql"
	// DatabaseExternal External Database
	DatabaseExternal DatabaseType = "external"
)

type EnvTemplate

type EnvTemplate struct {
	*CommonConfig     `json:",inline"`
	Console           ConsoleTemplate          `json:"console,omitempty"`
	Servers           []ServerTemplate         `json:"servers,omitempty"`
	SmartRouter       SmartRouterTemplate      `json:"smartRouter,omitempty"`
	Auth              AuthTemplate             `json:"auth,omitempty"`
	ProcessMigration  ProcessMigrationTemplate `json:"processMigration,omitempty"`
	Dashbuilder       DashbuilderTemplate      `json:"dashbuilder,omitempty"`
	Databases         []DatabaseTemplate       `json:"databases,omitempty"`
	Constants         TemplateConstants        `json:"constants,omitempty"`
	OpenshiftCaBundle bool                     `json:"openshiftCaBundle,omitempty"`
	RouteProtocol     string                   `json:"routeProtocol,omitempty"`
}

func (*EnvTemplate) DeepCopy

func (in *EnvTemplate) DeepCopy() *EnvTemplate

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

func (*EnvTemplate) DeepCopyInto

func (in *EnvTemplate) DeepCopyInto(out *EnvTemplate)

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

type Environment

type Environment struct {
	Console          CustomObject   `json:"console,omitempty"`
	SmartRouter      CustomObject   `json:"smartRouter,omitempty"`
	Servers          []CustomObject `json:"servers,omitempty"`
	ProcessMigration CustomObject   `json:"processMigration,omitempty"`
	Dashbuilder      CustomObject   `json:"dashbuilder,omitempty"`
	Databases        []CustomObject `json:"databases,omitempty"`
	Others           []CustomObject `json:"others,omitempty"`
}

func (*Environment) DeepCopy

func (in *Environment) DeepCopy() *Environment

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

func (*Environment) DeepCopyInto

func (in *Environment) DeepCopyInto(out *Environment)

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

type EnvironmentConstants

type EnvironmentConstants struct {
	App      AppConstants     `json:"app,omitempty"`
	Replica  ReplicaConstants `json:"replica,omitempty"`
	Database *DatabaseObject  `json:"database,omitempty"`
	Jms      *KieAppJmsObject `json:"jms,omitempty"`
}

EnvironmentConstants stores both the App and Replica Constants for a given environment

func (*EnvironmentConstants) DeepCopy

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

func (*EnvironmentConstants) DeepCopyInto

func (in *EnvironmentConstants) DeepCopyInto(out *EnvironmentConstants)

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

type EnvironmentType

type EnvironmentType string

EnvironmentType describes a possible application environment

const (
	// RhpamTrial RHPAM Trial environment
	RhpamTrial EnvironmentType = "rhpam-trial"
	// RhpamProduction RHPAM Production environment
	RhpamProduction EnvironmentType = "rhpam-production"
	// RhpamProductionImmutable RHPAM Production Immutable environment
	RhpamProductionImmutable EnvironmentType = "rhpam-production-immutable"
	// RhpamAuthoring RHPAM Authoring environment
	RhpamAuthoring EnvironmentType = "rhpam-authoring"
	// RhpamAuthoringHA RHPAM Authoring HA environment
	RhpamAuthoringHA EnvironmentType = "rhpam-authoring-ha"
	// RhpamStandaloneDashbuilder RHPAM Standalone Dashbuilder environment
	RhpamStandaloneDashbuilder EnvironmentType = "rhpam-standalone-dashbuilder"
	// RhdmTrial RHDM Trial environment
	RhdmTrial EnvironmentType = "rhdm-trial"
	// RhdmAuthoring RHDM Authoring environment
	RhdmAuthoring EnvironmentType = "rhdm-authoring"
	// RhdmAuthoringHA RHDM Authoring HA environment
	RhdmAuthoringHA EnvironmentType = "rhdm-authoring-ha"
	// RhdmProductionImmutable RHDM Production Immutable environment
	RhdmProductionImmutable EnvironmentType = "rhdm-production-immutable"
)

type ExternalDatabaseObject

type ExternalDatabaseObject struct {
	// +kubebuilder:validation:Required
	// Hibernate dialect class to use. For example, org.hibernate.dialect.MySQL8Dialect
	Dialect string `json:"dialect"`
	// Database Name. For example, rhpam
	Name string `json:"name,omitempty"`
	// Database Host. For example, mydb.example.com. Host is intended to be used with databases running on OCP
	// where the host will correspond to the kubernetes added env *_SERVICE_HOST, it is mostly likely used
	// with PostgreSQL and MySQL variants running on OCP. For Databases Running outside OCP use jdbcUrl instead.
	Host string `json:"host,omitempty"`
	// Database Port. For example, 3306. Port is intended to be used with databases running on OCP
	// where the post will correspond to the kubernetes added env *_SERVICE_PORT, these are mostly likely used
	// with PostgreSQL and MySQL variants running on OCP. For Databases Running outside OCP use jdbcUrl instead.
	Port string `json:"port,omitempty"`
	// Sets the datasources type. It can be XA or NONXA. For non XA set it to true. Default value is false.
	NonXA                string `json:"nonXA,omitempty"`
	CommonExtDBObjectURL `json:",inline"`
}

ExternalDatabaseObject configuration definition of an external database

func (*ExternalDatabaseObject) DeepCopy

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

func (*ExternalDatabaseObject) DeepCopyInto

func (in *ExternalDatabaseObject) DeepCopyInto(out *ExternalDatabaseObject)

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

type GitHooksVolume

type GitHooksVolume struct {
	// Absolute path where the gitHooks folder will be mounted.
	MountPath string  `json:"mountPath,omitempty"`
	From      *ObjRef `json:"from,omitempty"`
	// Secret to use for ssh key and known hosts file. The secret must contain two files: id_rsa and known_hosts.
	SSHSecret string `json:"sshSecret,omitempty"`
}

GitHooksVolume GitHooks volume configuration

func (*GitHooksVolume) DeepCopy

func (in *GitHooksVolume) DeepCopy() *GitHooksVolume

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

func (*GitHooksVolume) DeepCopyInto

func (in *GitHooksVolume) DeepCopyInto(out *GitHooksVolume)

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

type GitSource

type GitSource struct {
	// +kubebuilder:validation:Required
	// Git URI for the s2i source
	URI string `json:"uri"`
	// +kubebuilder:validation:Required
	// Branch to use in the git repository
	Reference string `json:"reference"`
	// Context/subdirectory where the code is located, relatively to repo root
	ContextDir string `json:"contextDir,omitempty"`
}

GitSource Git coordinates to locate the source code to build

func (*GitSource) DeepCopy

func (in *GitSource) DeepCopy() *GitSource

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

func (*GitSource) DeepCopyInto

func (in *GitSource) DeepCopyInto(out *GitSource)

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

type ImageObjRef

type ImageObjRef struct {
	// Kind of the referent.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Enum:=ImageStreamTag;DockerImage
	Kind            string `json:"kind" protobuf:"bytes,1,opt,name=kind"`
	ObjectReference `json:",inline"`
}

ImageObjRef contains enough information to let you inspect or modify the referred object.

func (*ImageObjRef) DeepCopy

func (in *ImageObjRef) DeepCopy() *ImageObjRef

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

func (*ImageObjRef) DeepCopyInto

func (in *ImageObjRef) DeepCopyInto(out *ImageObjRef)

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

type InternalDatabaseObject

type InternalDatabaseObject struct {
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Enum:=mysql;postgresql;external;h2
	// Database type to use
	Type DatabaseType `json:"type"`
	// Size of the PersistentVolumeClaim to create. For example, 100Gi
	Size string `json:"size,omitempty"`
	// The storageClassName to use for database pvc's.
	StorageClassName string `json:"storageClassName,omitempty"`
}

InternalDatabaseObject Defines how a deployment will manage and create a new Database

func (*InternalDatabaseObject) DeepCopy

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

func (*InternalDatabaseObject) DeepCopyInto

func (in *InternalDatabaseObject) DeepCopyInto(out *InternalDatabaseObject)

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

type JvmObject

type JvmObject struct {
	// User specified Java options to be appended to generated options in JAVA_OPTS. e.g. '-Dsome.property=foo'
	JavaOptsAppend string `json:"javaOptsAppend,omitempty"`
	// Is used when no '-Xmx' option is given in JAVA_OPTS. This is used to calculate a default maximal heap memory based on a containers restriction. If used in a container without any memory constraints for the container then this option has no effect. If there is a memory constraint then '-Xmx' is set to a ratio of the container available memory as set here. The default is '50' which means 50% of the available memory is used as an upper boundary. You can skip this mechanism by setting this value to '0' in which case no '-Xmx' option is added.
	JavaMaxMemRatio *int32 `json:"javaMaxMemRatio,omitempty"`
	// Is used when no '-Xms' option is given in JAVA_OPTS. This is used to calculate a default initial heap memory based on the maximum heap memory. If used in a container without any memory constraints for the container then this option has no effect. If there is a memory constraint then '-Xms' is set to a ratio of the '-Xmx' memory as set here. The default is '25' which means 25% of the '-Xmx' is used as the initial heap size. You can skip this mechanism by setting this value to '0' in which case no '-Xms' option is added. e.g. '25'
	JavaInitialMemRatio *int32 `json:"javaInitialMemRatio,omitempty"`
	// Is used when no '-Xms' option is given in JAVA_OPTS. This is used to calculate the maximum value of the initial heap memory. If used in a container without any memory constraints for the container then this option has no effect. If there is a memory constraint then '-Xms' is limited to the value set here. The default is 4096Mb which means the calculated value of '-Xms' never will be greater than 4096Mb. The value of this variable is expressed in MB. e.g. '4096'
	JavaMaxInitialMem *int32 `json:"javaMaxInitialMem,omitempty"`
	// Set this to get some diagnostics information to standard output when things are happening. Disabled by default. e.g. 'true'
	JavaDiagnostics *bool `json:"javaDiagnostics,omitempty"`
	// If set remote debugging will be switched on. Disabled by default. e.g. 'true'
	JavaDebug *bool `json:"javaDebug,omitempty"`
	// Port used for remote debugging. Defaults to 5005. e.g. '8787'
	JavaDebugPort *int32 `json:"javaDebugPort,omitempty"`
	// Minimum percentage of heap free after GC to avoid expansion. e.g. '20'
	GcMinHeapFreeRatio *int32 `json:"gcMinHeapFreeRatio,omitempty"`
	// Maximum percentage of heap free after GC to avoid shrinking. e.g. '40'
	GcMaxHeapFreeRatio *int32 `json:"gcMaxHeapFreeRatio,omitempty"`
	// Specifies the ratio of the time spent outside the garbage collection (for example, the time spent for application execution) to the time spent in the garbage collection, it's desirable that not more than 1 / (1 + n) e.g. 99 and means 1% spent on gc, 4 means spent 20% on gc.
	GcTimeRatio *int32 `json:"gcTimeRatio,omitempty"`
	// The weighting given to the current GC time versus previous GC times  when determining the new heap size. e.g. '90'
	GcAdaptiveSizePolicyWeight *int32 `json:"gcAdaptiveSizePolicyWeight,omitempty"`
	// The maximum metaspace size in Mega bytes unit e.g. 400
	GcMaxMetaspaceSize *int32 `json:"gcMaxMetaspaceSize,omitempty"`
	// Specify Java GC to use. The value of this variable should contain the necessary JRE command-line options to specify the required GC, which will override the default of '-XX:+UseParallelOldGC'. e.g. '-XX:+UseG1GC'
	GcContainerOptions string `json:"gcContainerOptions,omitempty"`
}

JvmObject JVM specification to be used by the KieApp +k8s:openapi-gen=true +operator-sdk:csv:customresourcedefinitions:displayName="JVM specification"

func (*JvmObject) DeepCopy

func (in *JvmObject) DeepCopy() *JvmObject

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

func (*JvmObject) DeepCopyInto

func (in *JvmObject) DeepCopyInto(out *JvmObject)

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

type KafkaExtObject

type KafkaExtObject struct {
	// Contains the mapping message/signal=topicName for every topic that needs to be mapped globally
	Topics []string `json:"topics,omitempty"`
	// A comma separated list of host/port pairs to use for establishing the initial connection to the Kafka cluster
	BootstrapServers string `json:"bootstrapServers,omitempty"`
	// Identifier to pass to the server when making requests
	ClientID string `json:"clientID,omitempty"`
	// Allow automatic topic creation.
	AutocreateTopics *bool `json:"autocreateTopics,omitempty"`
	// Group identifier the group this consumer belongs
	GroupID string `json:"groupID,omitempty"`
	// The number of acknowledgments the producer requires the leader to have received before considering a request complete.
	Acks *int `json:"acks,omitempty"`
	// Number of milliseconds that indicates how long publish method will bloc
	MaxBlockMs *int32 `json:"maxBlockMs,omitempty"`
}

KafkaExtObject kafka configuration to be used by the KieApp

func (*KafkaExtObject) DeepCopy

func (in *KafkaExtObject) DeepCopy() *KafkaExtObject

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

func (*KafkaExtObject) DeepCopyInto

func (in *KafkaExtObject) DeepCopyInto(out *KafkaExtObject)

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

type KafkaJBPMEventEmittersObject

type KafkaJBPMEventEmittersObject struct {
	// Comma separated list of host/port pairs to use for establishing the initial connection to the Kafka cluster.
	BootstrapServers string `json:"bootstrapServers,omitempty"`
	// This configuration allows users to set an ID to provide a logical application name for logging purposes, not set by default.
	ClientID string `json:"clientID,omitempty"`
	// The number of acknowledgments that the emitter requires the leader to have received before considering a request to be complete, not set by default.
	Acks *int `json:"acks,omitempty"`
	// Value in milliseconds that indicates how long the 'publish' method will block the operation. Default 2000 milliseconds (2 seconds).
	MaxBlockMs *int32 `json:"maxBlockMs,omitempty"`
	// Date and time format to be sent to Kafka. Default format is yyyy-MM-dd'T'HH:mm:ss.SSSZ
	DateFormat string `json:"dateFormat,omitempty"`
	// The topic name for processes event messages. Set up to override the default value jbpm-processes-events.
	ProcessesTopicName string `json:"processesTopicName,omitempty"`
	// The topic name for tasks event messages. Set up to override the default value jbpm-tasks-events.
	TasksTopicName string `json:"tasksTopicName,omitempty"`
	// The topic name for cases event messages. Set up to override the default value jbpm-cases-events.
	CasesTopicName string `json:"casesTopicName,omitempty"`
}

KafkaJBPMEventEmittersObject kafka configuration to be used by the KieApp for jBPM Emitter

func (*KafkaJBPMEventEmittersObject) DeepCopy

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

func (*KafkaJBPMEventEmittersObject) DeepCopyInto

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

type KieApp

type KieApp struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// +kubebuilder:validation:Required
	Spec   KieAppSpec   `json:"spec"`
	Status KieAppStatus `json:"status,omitempty"`
}

KieApp is the Schema for the kieapps API +k8s:openapi-gen=true +kubebuilder:resource:path=kieapps,scope=Namespaced +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Version",type=string,JSONPath=`.status.version`,description="The version of the application deployment" +kubebuilder:printcolumn:name="Environment",type=string,JSONPath=`.spec.environment`,description="The name of the environment used as a baseline" +kubebuilder:printcolumn:name="Status",type=string,JSONPath=`.status.phase`,description="The status of the KieApp deployment" +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp`

func (*KieApp) DeepCopy

func (in *KieApp) DeepCopy() *KieApp

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

func (*KieApp) DeepCopyInto

func (in *KieApp) DeepCopyInto(out *KieApp)

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

func (*KieApp) DeepCopyObject

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

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

type KieAppAuthObject

type KieAppAuthObject struct {
	SSO  *SSOAuthConfig  `json:"sso,omitempty"`
	LDAP *LDAPAuthConfig `json:"ldap,omitempty"`
	// When present, the RoleMapping Login Module will be configured.
	RoleMapper *RoleMapperAuthConfig `json:"roleMapper,omitempty"`
}

KieAppAuthObject Authentication specification to be used by the KieApp

func (*KieAppAuthObject) DeepCopy

func (in *KieAppAuthObject) DeepCopy() *KieAppAuthObject

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

func (*KieAppAuthObject) DeepCopyInto

func (in *KieAppAuthObject) DeepCopyInto(out *KieAppAuthObject)

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

type KieAppBuildObject

type KieAppBuildObject struct {
	// Env set environment variables for BuildConfigs
	Env []corev1.EnvVar `json:"env,omitempty"`
	// The Maven GAV to deploy, e.g., rhpam-kieserver-library=org.openshift.quickstarts:rhpam-kieserver-library:1.5.0-SNAPSHOT
	KieServerContainerDeployment string `json:"kieServerContainerDeployment,omitempty"`
	// Disable Maven pull dependencies for immutable KIE Server configurations for S2I and pre built kjars. Useful for pre-compiled kjar.
	DisablePullDeps bool `json:"disablePullDeps,omitempty"`
	// Disable Maven KIE Jar verification. It is recommended to test the kjar manually before disabling this verification.
	DisableKCVerification bool      `json:"disableKCVerification,omitempty"`
	GitSource             GitSource `json:"gitSource,omitempty"`
	// Maven mirror to use for S2I builds
	MavenMirrorURL string `json:"mavenMirrorURL,omitempty"`
	// List of directories from which archives will be copied into the deployment folder. If unspecified, all archives in /target will be copied.
	ArtifactDir string `json:"artifactDir,omitempty"`
	// +kubebuilder:validation:MinItems:=1
	Webhooks []WebhookSecret `json:"webhooks,omitempty"`
	From     *ImageObjRef    `json:"from,omitempty"`
	// ImageStreamTag definition for the image containing the drivers and configuration. For example, custom-driver-image:7.7.0.
	ExtensionImageStreamTag string `json:"extensionImageStreamTag,omitempty"`
	// Namespace within which the ImageStream definition for the image containing the drivers and configuration is located. Defaults to openshift namespace.
	ExtensionImageStreamTagNamespace string `json:"extensionImageStreamTagNamespace,omitempty"`
	// Full path to the directory within the extensions image where the extensions are located (e.g. install.sh, modules/, etc.).  Defaults to '/extension'. Do not change it unless it is necessary.
	ExtensionImageInstallDir string `json:"extensionImageInstallDir,omitempty"`
}

KieAppBuildObject Data to define how to build an application from source

func (*KieAppBuildObject) DeepCopy

func (in *KieAppBuildObject) DeepCopy() *KieAppBuildObject

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

func (*KieAppBuildObject) DeepCopyInto

func (in *KieAppBuildObject) DeepCopyInto(out *KieAppBuildObject)

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

type KieAppJmsObject

type KieAppJmsObject struct {
	// +kubebuilder:validation:Required
	// When set to true will configure the KIE Server with JMS integration, if no configuration is added, the default will be used.
	EnableIntegration bool `json:"enableIntegration"`
	// Set false to disable the JMS executor, it is enabled by default.
	Executor *bool `json:"executor,omitempty"`
	// Enable transactions for JMS executor, disabled by default.
	ExecutorTransacted bool `json:"executorTransacted,omitempty"`
	// JNDI name of request queue for JMS, example queue/CUSTOM.KIE.SERVER.REQUEST, default is queue/KIE.SERVER.REQUEST.
	QueueRequest string `json:"queueRequest,omitempty"`
	// JNDI name of response queue for JMS, example queue/CUSTOM.KIE.SERVER.RESPONSE, default is queue/KIE.SERVER.RESPONSE.
	QueueResponse string `json:"queueResponse,omitempty"`
	// JNDI name of executor queue for JMS, example queue/CUSTOM.KIE.SERVER.EXECUTOR, default is queue/KIE.SERVER.EXECUTOR.
	QueueExecutor string `json:"queueExecutor,omitempty"`
	// Enable the Signal configuration through JMS. Default is false.
	EnableSignal bool `json:"enableSignal,omitempty"`
	// JNDI name of signal queue for JMS, example queue/CUSTOM.KIE.SERVER.SIGNAL, default is queue/KIE.SERVER.SIGNAL.
	QueueSignal string `json:"queueSignal,omitempty"`
	// Enable the Audit logging through JMS. Default is false.
	EnableAudit bool `json:"enableAudit,omitempty"`
	// JNDI name of audit logging queue for JMS, example queue/CUSTOM.KIE.SERVER.AUDIT, default is queue/KIE.SERVER.AUDIT.
	QueueAudit string `json:"queueAudit,omitempty"`
	// Determines if JMS session is transacted or not - default true.
	AuditTransacted *bool `json:"auditTransacted,omitempty"`
	// AMQ broker username to connect do the AMQ, generated if empty.
	Username string `json:"username,omitempty"`
	// +kubebuilder:validation:Format:=password
	// AMQ broker password to connect do the AMQ, generated if empty.
	Password string `json:"password,omitempty"`
	// AMQ broker broker comma separated queues, if empty the values from default queues will be used.
	AMQQueues string `json:"amqQueues,omitempty"` // It will receive the default value for the Executor, Request, Response, Signal and Audit queues.
	// The name of a secret containing AMQ SSL related files.
	AMQSecretName string `json:"amqSecretName,omitempty"` // AMQ SSL parameters
	// The name of the AMQ SSL Trust Store file.
	AMQTruststoreName string `json:"amqTruststoreName,omitempty"`
	// +kubebuilder:validation:Format:=password
	// The password for the AMQ Trust Store.
	AMQTruststorePassword string `json:"amqTruststorePassword,omitempty"`
	// The name of the AMQ keystore file.
	AMQKeystoreName string `json:"amqKeystoreName,omitempty"`
	// +kubebuilder:validation:Format:=password
	// The password for the AMQ keystore and certificate.
	AMQKeystorePassword string `json:"amqKeystorePassword,omitempty"`
	// Not intended to be set by the user, if will be set to true if all required SSL parameters are set.
	AMQEnableSSL bool `json:"amqEnableSSL,omitempty"` // flag will be set to true if all AMQ SSL parameters are correctly set.
}

KieAppJmsObject messaging specification to be used by the KieApp

func (*KieAppJmsObject) DeepCopy

func (in *KieAppJmsObject) DeepCopy() *KieAppJmsObject

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

func (*KieAppJmsObject) DeepCopyInto

func (in *KieAppJmsObject) DeepCopyInto(out *KieAppJmsObject)

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

type KieAppList

type KieAppList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []KieApp `json:"items"`
}

KieAppList contains a list of KieApp

func (*KieAppList) DeepCopy

func (in *KieAppList) DeepCopy() *KieAppList

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

func (*KieAppList) DeepCopyInto

func (in *KieAppList) DeepCopyInto(out *KieAppList)

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

func (*KieAppList) DeepCopyObject

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

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

type KieAppObject

type KieAppObject struct {
	Env []corev1.EnvVar `json:"env,omitempty"`
	// Replicas to set for the DeploymentConfig
	Replicas  *int32                       `json:"replicas,omitempty"`
	Resources *corev1.ResourceRequirements `json:"resources,omitempty"`
	// KeystoreSecret secret name
	KeystoreSecret string `json:"keystoreSecret,omitempty"`
	// ImageContext The image context to use  e.g. rhpam-7, this param is optional for custom image.
	ImageContext string `json:"imageContext,omitempty"`
	// Image The image to use e.g. rhpam-<app>-rhel8, this param is optional for custom image.
	Image string `json:"image,omitempty"`
	// ImageTag The image tag to use e.g. 7.13.0, this param is optional for custom image.
	ImageTag string `json:"imageTag,omitempty"`
	// StorageClassName The storageClassName to use for kie pvc's.
	StorageClassName string `json:"storageClassName,omitempty"`
	// RouteHostname will define the route.spec.host value
	RouteHostname string `json:"routeHostname,omitempty"`
}

KieAppObject generic object definition

func (*KieAppObject) DeepCopy

func (in *KieAppObject) DeepCopy() *KieAppObject

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

func (*KieAppObject) DeepCopyInto

func (in *KieAppObject) DeepCopyInto(out *KieAppObject)

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

type KieAppObjects

type KieAppObjects struct {
	Console *ConsoleObject `json:"console,omitempty"`
	// Configuration of the each individual KIE server
	Servers          []KieServerSet          `json:"servers,omitempty"`
	SmartRouter      *SmartRouterObject      `json:"smartRouter,omitempty"`
	ProcessMigration *ProcessMigrationObject `json:"processMigration,omitempty"`
	Dashbuilder      *DashbuilderObject      `json:"dashbuilder,omitempty"`
}

KieAppObjects KIE App deployment objects

func (*KieAppObjects) DeepCopy

func (in *KieAppObjects) DeepCopy() *KieAppObjects

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

func (*KieAppObjects) DeepCopyInto

func (in *KieAppObjects) DeepCopyInto(out *KieAppObjects)

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

type KieAppRegistry

type KieAppRegistry struct {
	// Image registry's base 'url:port'. e.g. registry.example.com:5000. Defaults to 'registry.redhat.io'.
	Registry string `json:"registry,omitempty"`
	// A flag used to indicate the specified registry is insecure. Defaults to 'false'.
	Insecure bool `json:"insecure,omitempty"`
}

KieAppRegistry defines the registry that should be used for rhpam images

func (*KieAppRegistry) DeepCopy

func (in *KieAppRegistry) DeepCopy() *KieAppRegistry

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

func (*KieAppRegistry) DeepCopyInto

func (in *KieAppRegistry) DeepCopyInto(out *KieAppRegistry)

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

type KieAppSpec

type KieAppSpec struct {
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Enum:=rhdm-authoring-ha;rhdm-authoring;rhdm-production-immutable;rhdm-trial;rhpam-authoring-ha;rhpam-authoring;rhpam-production-immutable;rhpam-production;rhpam-standalone-dashbuilder;rhpam-trial
	// The name of the environment used as a baseline
	Environment EnvironmentType `json:"environment"`
	// If required imagestreams are missing in both the 'openshift' and local namespaces, the operator will create said imagestreams locally using the registry specified here.
	ImageRegistry *KieAppRegistry `json:"imageRegistry,omitempty"`
	// Configuration of the RHPAM components
	Objects KieAppObjects `json:"objects,omitempty"`
	// Specify the level of product upgrade that should be allowed when an older product version is detected
	Upgrades KieAppUpgrades `json:"upgrades,omitempty"`
	// Set true to enable image tags, disabled by default. This will leverage image tags instead of the image digests.
	UseImageTags bool `json:"useImageTags,omitempty"`
	// Defines which truststore is used by the console, kieservers, smartrouter, and dashbuilder
	Truststore *KieAppTruststore `json:"truststore,omitempty"`
	// The version of the application deployment.
	Version      string            `json:"version,omitempty"`
	CommonConfig CommonConfig      `json:"commonConfig,omitempty"`
	Auth         *KieAppAuthObject `json:"auth,omitempty"`
}

KieAppSpec defines the desired state of KieApp

func (*KieAppSpec) DeepCopy

func (in *KieAppSpec) DeepCopy() *KieAppSpec

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

func (*KieAppSpec) DeepCopyInto

func (in *KieAppSpec) DeepCopyInto(out *KieAppSpec)

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

type KieAppStatus

type KieAppStatus struct {
	Conditions  []Condition          `json:"conditions"`
	ConsoleHost string               `json:"consoleHost,omitempty"`
	Deployments olm.DeploymentStatus `json:"deployments"`
	Phase       ConditionType        `json:"phase,omitempty"`
	Applied     KieAppSpec           `json:"applied,omitempty"`
	Version     string               `json:"version,omitempty"`
}

KieAppStatus - The status for custom resources managed by the operator-sdk. +operator-sdk:csv:customresourcedefinitions:displayName="JVM specification"

func (*KieAppStatus) DeepCopy

func (in *KieAppStatus) DeepCopy() *KieAppStatus

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

func (*KieAppStatus) DeepCopyInto

func (in *KieAppStatus) DeepCopyInto(out *KieAppStatus)

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

type KieAppTruststore

type KieAppTruststore struct {
	// Set true to use Openshift's CA Bundle as a truststore, instead of java's cacert.
	OpenshiftCaBundle bool `json:"openshiftCaBundle,omitempty"`
}

KieAppTruststore defines which truststore is used by the console, kieservers, smartrouter, and dashbuilder

func (*KieAppTruststore) DeepCopy

func (in *KieAppTruststore) DeepCopy() *KieAppTruststore

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

func (*KieAppTruststore) DeepCopyInto

func (in *KieAppTruststore) DeepCopyInto(out *KieAppTruststore)

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

type KieAppUpgrades

type KieAppUpgrades struct {
	// Set true to enable automatic micro version product upgrades, it is disabled by default.
	Enabled bool `json:"enabled,omitempty"`
	// Set true to enable automatic minor product version upgrades, it is disabled by default. Requires spec.upgrades.enabled to be true.
	Minor bool `json:"minor,omitempty"`
}

KieAppUpgrades KIE App product upgrade flags

func (*KieAppUpgrades) DeepCopy

func (in *KieAppUpgrades) DeepCopy() *KieAppUpgrades

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

func (*KieAppUpgrades) DeepCopyInto

func (in *KieAppUpgrades) DeepCopyInto(out *KieAppUpgrades)

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

type KieServerClient

type KieServerClient struct {
	Host     string `json:"host,omitempty"`
	Username string `json:"username,omitempty"`
	Password string `json:"password,omitempty"`
}

KieServerClient ...

func (*KieServerClient) DeepCopy

func (in *KieServerClient) DeepCopy() *KieServerClient

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

func (*KieServerClient) DeepCopyInto

func (in *KieServerClient) DeepCopyInto(out *KieServerClient)

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

type KieServerDataSetOrTemplate

type KieServerDataSetOrTemplate struct {
	Name         string `json:"name,omitempty"`
	Location     string `json:"location,omitempty"`
	User         string `json:"user,omitempty"`
	Password     string `json:"password,omitempty"`
	Token        string `json:"token,omitempty"`
	ReplaceQuery string `json:"replaceQuery,omitempty"`
}

func (*KieServerDataSetOrTemplate) DeepCopy

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

func (*KieServerDataSetOrTemplate) DeepCopyInto

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

type KieServerSet

type KieServerSet struct {
	// +kubebuilder:validation:Format:=int
	// Number of Server sets that will be deployed
	Deployments *int `json:"deployments,omitempty"` // Number of KieServer DeploymentConfigs (defaults to 1)
	// Server name
	Name string `json:"name,omitempty"`
	// Server ID
	ID           string             `json:"id,omitempty"`
	From         *ImageObjRef       `json:"from,omitempty"`
	Build        *KieAppBuildObject `json:"build,omitempty"` // S2I Build configuration
	SSOClient    *SSOAuthClient     `json:"ssoClient,omitempty"`
	KieAppObject `json:",inline"`
	Database     *DatabaseObject  `json:"database,omitempty"`
	Jms          *KieAppJmsObject `json:"jms,omitempty"`
	Jvm          *JvmObject       `json:"jvm,omitempty"`
	// PersistRepos enables persistent volumes for KIE Server's kie and maven repositories
	PersistRepos bool `json:"persistRepos,omitempty"`
	// ServersM2PvSize the desired size of the Maven persistent volume, the size of the files on this directory
	//can grow fast as all dependencies for KIE Containers will be stored there. Defaults to 1Gi
	ServersM2PvSize string `json:"serversM2PvSize,omitempty"`
	// ServersKiePvSize the desired size of the KIE local repository persistent volume. Defaults to 10Mi
	ServersKiePvSize string `json:"serversKiePvSize,omitempty"`
	// JbpmCluster Enable the KIE Server Jbpm clustering for processes fail-over, it could increase the number of kieservers
	JbpmCluster            bool                          `json:"jbpmCluster,omitempty"`
	Kafka                  *KafkaExtObject               `json:"kafka,omitempty"`
	KafkaJbpmEventEmitters *KafkaJBPMEventEmittersObject `json:"kafkaJbpmEventEmitters,omitempty"`
	Cors                   *CORSFiltersObject            `json:"cors,omitempty"`
	// MDBMaxSession number of KIE Executor sessions
	MDBMaxSession *int `json:"MDBMaxSession,omitempty"`
}

KieServerSet KIE Server configuration for a single set, or for multiple sets if deployments is set to >1

func (*KieServerSet) DeepCopy

func (in *KieServerSet) DeepCopy() *KieServerSet

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

func (*KieServerSet) DeepCopyInto

func (in *KieServerSet) DeepCopyInto(out *KieServerSet)

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

type LDAPAuthConfig

type LDAPAuthConfig struct {
	// +kubebuilder:validation:Format:=password
	// LDAP Credentials used for authentication
	BindCredential string `json:"bindCredential,omitempty"`
	// +kubebuilder:validation:Required
	// LDAP endpoint to connect for authentication. For failover set two or more LDAP endpoints separated by space
	URL string `json:"url"`
	// +kubebuilder:validation:Enum:=optional
	// LDAP login module flag, adds backward compatibility with the legacy security subsystem on elytron.
	// 'optional' is the only supported value, if set will create a distributed realm with ldap and filesystem realm
	// with the user added using the KIE_ADMIN_USER.
	LoginModule LoginModuleType `json:"loginModule,omitempty"`
	// Enable failover, if Ldap Url is unreachable, it will fail over to the KieFsRealm.
	LoginFailover bool `json:"loginFailover,omitempty"`
	// Bind DN used for authentication
	BindDN string `json:"bindDN,omitempty"`
	// LDAP Base DN of the top-level context to begin the user search.
	BaseCtxDN string `json:"baseCtxDN,omitempty"`
	// DAP search filter used to locate the context of the user to authenticate. The input username or userDN obtained from the login module callback is substituted into the filter anywhere a {0} expression is used. A common example for the search filter is (uid={0}).
	BaseFilter string `json:"baseFilter,omitempty"`
	// Indicates if the user queries are recursive.
	RecursiveSearch bool `json:"recursiveSearch,omitempty"`
	// The timeout in milliseconds for user or role searches.
	SearchTimeLimit int32 `json:"searchTimeLimit,omitempty"`
	// Name of the attribute containing the user roles.
	RoleAttributeID string `json:"roleAttributeID,omitempty"`
	// The fixed DN of the context to search for user roles. This is not the DN where the actual roles are, but the DN where the objects containing the user roles are. For example, in a Microsoft Active Directory server, this is the DN where the user account is.
	RolesCtxDN string `json:"rolesCtxDN,omitempty"`
	// A search filter used to locate the roles associated with the authenticated user. The input username or userDN obtained from the login module callback is substituted into the filter anywhere a {0} expression is used. The authenticated userDN is substituted into the filter anywhere a {1} is used. An example search filter that matches on the input username is (member={0}). An alternative that matches on the authenticated userDN is (member={1}).
	RoleFilter string `json:"roleFilter,omitempty"`
	// +kubebuilder:validation:Format:=int16
	// The number of levels of recursion the role search will go below a matching context. Disable recursion by setting this to 0.
	RoleRecursion int16 `json:"roleRecursion,omitempty"`
	// A role included for all authenticated users
	DefaultRole string `json:"defaultRole,omitempty"`
	// Provide new identities for Ldap  identity mapping, the pattern to be used with this env is 'attribute_name=attribute_value;another_attribute_name=value'
	NewIdentityAttributes string `json:"newIdentityAttributes,omitempty"`
	// +kubebuilder:validation:Enum:=FOLLOW;IGNORE;THROW
	// If LDAP referrals should be followed.
	ReferralMode ReferralModeType `json:"referralMode,omitempty"`
}

LDAPAuthConfig Authentication configuration for LDAP

func (*LDAPAuthConfig) DeepCopy

func (in *LDAPAuthConfig) DeepCopy() *LDAPAuthConfig

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

func (*LDAPAuthConfig) DeepCopyInto

func (in *LDAPAuthConfig) DeepCopyInto(out *LDAPAuthConfig)

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

type LoginModuleType

type LoginModuleType string

LoginModuleType A flag to set login module to optional.

const (
	//OptionalLoginModule optional login module
	OptionalLoginModule LoginModuleType = "optional"
)

type ObjRef

type ObjRef struct {
	// Kind of the referent.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Enum:=ConfigMap;Secret;PersistentVolumeClaim
	Kind            string `json:"kind" protobuf:"bytes,1,opt,name=kind"`
	ObjectReference `json:",inline"`
}

ObjRef contains enough information to let you inspect or modify the referred object.

func (*ObjRef) DeepCopy

func (in *ObjRef) DeepCopy() *ObjRef

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

func (*ObjRef) DeepCopyInto

func (in *ObjRef) DeepCopyInto(out *ObjRef)

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

type ObjectReference

type ObjectReference struct {
	// Namespace of the referent.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
	// +optional
	Namespace string `json:"namespace,omitempty" protobuf:"bytes,2,opt,name=namespace"`
	// Name of the referent.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	// +kubebuilder:validation:Required
	Name string `json:"name" protobuf:"bytes,3,opt,name=name"`
	// UID of the referent.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
	// +optional
	UID types.UID `json:"uid,omitempty" protobuf:"bytes,4,opt,name=uid,casttype=k8s.io/apimachinery/pkg/types.UID"`
	// API version of the referent.
	// +optional
	APIVersion string `json:"apiVersion,omitempty" protobuf:"bytes,5,opt,name=apiVersion"`
	// Specific resourceVersion to which this reference is made, if any.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
	// +optional
	ResourceVersion string `json:"resourceVersion,omitempty" protobuf:"bytes,6,opt,name=resourceVersion"`

	// If referring to a piece of an object instead of an entire object, this string
	// should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
	// For example, if the object reference is to a container within a pod, this would take on a value like:
	// "spec.containers{name}" (where "name" refers to the name of the container that triggered
	// the event) or if no container name is specified "spec.containers[2]" (container with
	// index 2 in this pod). This syntax is chosen only to have some well-defined way of
	// referencing a part of an object.
	// TODO: this design is not final and this field is subject to change in the future.
	// +optional
	FieldPath string `json:"fieldPath,omitempty" protobuf:"bytes,7,opt,name=fieldPath"`
}

ObjectReference contains enough information to let you inspect or modify the referred object.

func (*ObjectReference) DeepCopy

func (in *ObjectReference) DeepCopy() *ObjectReference

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

func (*ObjectReference) DeepCopyInto

func (in *ObjectReference) DeepCopyInto(out *ObjectReference)

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

type OpenShiftObject

type OpenShiftObject interface {
	client.Object
}

+k8s:deepcopy-gen=false

type ProcessMigrationDatabaseObject

type ProcessMigrationDatabaseObject struct {
	InternalDatabaseObject `json:",inline"`
	ExternalConfig         *CommonExtDBObjectRequiredURL `json:"externalConfig,omitempty"`
}

ProcessMigrationDatabaseObject Defines how a Process Migration server will manage and create a new Database or connect to an existing one

func (*ProcessMigrationDatabaseObject) DeepCopy

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

func (*ProcessMigrationDatabaseObject) DeepCopyInto

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

type ProcessMigrationObject

type ProcessMigrationObject struct {
	KieAppObject  `json:",inline"`
	Jvm           *JvmObject                     `json:"jvm,omitempty"`
	Database      ProcessMigrationDatabaseObject `json:"database,omitempty"`
	RouteHostname string                         `json:"routeHostname,omitempty"`
	// If empty the CommonConfig.AdminUser will be used
	Username string `json:"username,omitempty"`
	// If empty the CommonConfig.AdminPassword will be used
	Password string `json:"password,omitempty"`
	// ExtraClassPath Allows to add extra jars to the application classpath separated by colon. Needs to be mounted
	// on the image before.
	ExtraClassPath string `json:"extraClassPath,omitempty"`
}

ProcessMigrationObject configuration of the RHPAM PIM

func (*ProcessMigrationObject) DeepCopy

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

func (*ProcessMigrationObject) DeepCopyInto

func (in *ProcessMigrationObject) DeepCopyInto(out *ProcessMigrationObject)

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

type ProcessMigrationTemplate

type ProcessMigrationTemplate struct {
	KieAppObject     `json:",inline"`
	OmitImageStream  bool                           `json:"omitImageStream"`
	ImageURL         string                         `json:"imageURL,omitempty"`
	KieServerClients []KieServerClient              `json:"kieServerClients,omitempty"`
	Jvm              JvmObject                      `json:"jvm,omitempty"`
	Database         ProcessMigrationDatabaseObject `json:"database,omitempty"`
	RouteHostname    string                         `json:"routeHostname,omitempty"`
	// PIM Admin username. If empty the CommonConfig.AdminUser will be used
	Username string `json:"username,omitempty"`
	// PIM Admin password. If empty the CommonConfig.AdminPassword will be used
	Password string `json:"password,omitempty"`
	// ExtraClassPath Allows to add extra jars to the application classpath separated by colon. Needs to be mounted
	// on the image before.
	ExtraClassPath string `json:"extraClassPath,omitempty"`
}

ProcessMigrationTemplate ...

func (*ProcessMigrationTemplate) DeepCopy

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

func (*ProcessMigrationTemplate) DeepCopyInto

func (in *ProcessMigrationTemplate) DeepCopyInto(out *ProcessMigrationTemplate)

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

type ReasonType

type ReasonType string

ReasonType - type of reason

const (
	// DeploymentFailedReason - Unable to deploy the application
	DeploymentFailedReason ReasonType = "DeploymentFailed"
	// ConfigurationErrorReason - An invalid configuration caused an error
	ConfigurationErrorReason ReasonType = "ConfigurationError"
	// MissingDependenciesReason - Dependencies does not exist or cannot be found
	MissingDependenciesReason ReasonType = "MissingDependencies"
	// UnknownReason - Unable to determine the error
	UnknownReason ReasonType = "Unknown"
)

type ReferralModeType

type ReferralModeType string

ReferralModeType Type used to define how the LDAP will follow referrals

const (
	Follow ReferralModeType = "FOLLOW"
	Ignore ReferralModeType = "IGNORE"
	Throw  ReferralModeType = "THROW"
)

type ReplicaConstants

type ReplicaConstants struct {
	Console     Replicas `json:"console,omitempty"`
	Dashbuilder Replicas `json:"dashbuilder,omitempty"`
	Server      Replicas `json:"server,omitempty"`
	SmartRouter Replicas `json:"smartRouter,omitempty"`
}

ReplicaConstants contains the default replica amounts for a component in a given environment type

func (*ReplicaConstants) DeepCopy

func (in *ReplicaConstants) DeepCopy() *ReplicaConstants

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

func (*ReplicaConstants) DeepCopyInto

func (in *ReplicaConstants) DeepCopyInto(out *ReplicaConstants)

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

type Replicas

type Replicas struct {
	Replicas  int32 `json:"replicas,omitempty"`
	DenyScale bool  `json:"denyScale,omitempty"`
}

Replicas contains replica settings

func (*Replicas) DeepCopy

func (in *Replicas) DeepCopy() *Replicas

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

func (*Replicas) DeepCopyInto

func (in *Replicas) DeepCopyInto(out *Replicas)

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

type RoleMapperAuthConfig

type RoleMapperAuthConfig struct {
	// +kubebuilder:validation:Required
	// When present, the RoleMapping will be configured to use the provided properties file or roles. This parameter
	// defines the fully-qualified file path and name of a properties file or a set of roles with the following pattern
	// 'role=role1;another-role=role2'. The format of every entry in the file is original_role=role1,role2,role3
	// expects eiter a .properties file or a content with the patter above.
	RolesProperties string `json:"rolesProperties"`
	// When set to 'true' the mapped roles will retain all roles, that have defined mappings. Defaults to false.
	RolesKeepMapped bool `json:"rolesKeepMapped,omitempty"`
	// When set to 'true' the mapped roles will retain all roles, that have no defined mappings. Defaults to false.
	RolesKeepNonMapped bool    `json:"rolesKeepNonMapped,omitempty"`
	From               *ObjRef `json:"from,omitempty"`
}

RoleMapperAuthConfig Configuration for RoleMapper Authentication

func (*RoleMapperAuthConfig) DeepCopy

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

func (*RoleMapperAuthConfig) DeepCopyInto

func (in *RoleMapperAuthConfig) DeepCopyInto(out *RoleMapperAuthConfig)

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

type RoleMapperTemplate

type RoleMapperTemplate struct {
	MountPath            string `json:"mountPath,omitempty"`
	RoleMapperAuthConfig `json:",inline"`
}

RoleMapperTemplate RoleMapper definition used in the template

func (*RoleMapperTemplate) DeepCopy

func (in *RoleMapperTemplate) DeepCopy() *RoleMapperTemplate

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

func (*RoleMapperTemplate) DeepCopyInto

func (in *RoleMapperTemplate) DeepCopyInto(out *RoleMapperTemplate)

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

type SSOAuthClient

type SSOAuthClient struct {
	// +kubebuilder:validation:Format:=password
	// Client secret
	Secret string `json:"secret,omitempty"`
	// Client name
	Name string `json:"name,omitempty"`
	// Hostname to set as redirect URL
	HostnameHTTP string `json:"hostnameHTTP,omitempty"`
	// Secure hostname to set as redirect URL
	HostnameHTTPS string `json:"hostnameHTTPS,omitempty"`
}

SSOAuthClient Auth client to use for the SSO integration

func (*SSOAuthClient) DeepCopy

func (in *SSOAuthClient) DeepCopy() *SSOAuthClient

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

func (*SSOAuthClient) DeepCopyInto

func (in *SSOAuthClient) DeepCopyInto(out *SSOAuthClient)

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

type SSOAuthConfig

type SSOAuthConfig struct {
	// +kubebuilder:validation:Format:=password
	// RH-SSO Realm Admin Password used to create the Client
	AdminPassword string `json:"adminPassword,omitempty"`
	// RH-SSO Realm Admin Username used to create the Client if it doesn't exist
	AdminUser string `json:"adminUser,omitempty"`
	// +kubebuilder:validation:Required
	// RH-SSO URL
	URL string `json:"url"`
	// +kubebuilder:validation:Required
	// RH-SSO Realm name
	Realm string `json:"realm"`
	// RH-SSO Disable SSL Certificate Validation
	DisableSSLCertValidation bool `json:"disableSSLCertValidation,omitempty"`
	// RH-SSO Principal Attribute to use as username
	PrincipalAttribute string `json:"principalAttribute,omitempty"`
}

SSOAuthConfig Authentication configuration for SSO

func (*SSOAuthConfig) DeepCopy

func (in *SSOAuthConfig) DeepCopy() *SSOAuthConfig

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

func (*SSOAuthConfig) DeepCopyInto

func (in *SSOAuthConfig) DeepCopyInto(out *SSOAuthConfig)

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

type ServerTemplate

type ServerTemplate struct {
	OmitImageStream  bool              `json:"omitImageStream"`
	OmitConsole      bool              `json:"omitConsole"`
	KieName          string            `json:"kieName,omitempty"`
	KieServerID      string            `json:"kieServerID,omitempty"`
	Replicas         int32             `json:"replicas,omitempty"`
	SSOAuthClient    SSOAuthClient     `json:"ssoAuthClient,omitempty"`
	From             ImageObjRef       `json:"from,omitempty"`
	ImageURL         string            `json:"imageURL,omitempty"`
	Build            BuildTemplate     `json:"build,omitempty"`
	KeystoreSecret   string            `json:"keystoreSecret,omitempty"`
	Database         DatabaseObject    `json:"database,omitempty"`
	Jms              KieAppJmsObject   `json:"jms,omitempty"`
	SmartRouter      SmartRouterObject `json:"smartRouter,omitempty"`
	Jvm              JvmObject         `json:"jvm,omitempty"`
	StorageClassName string            `json:"storageClassName,omitempty"`
	RouteHostname    string            `json:"routeHostname,omitempty"`
	PersistRepos     bool              `json:"persistRepos,omitempty"`
	ServersM2PvSize  string            `json:"serversM2PvSize,omitempty"`
	ServersKiePvSize string            `json:"serversKiePvSize,omitempty"`
	// JbpmCluster Enable the KIE Server Jbpm clustering for processes fail-over, it could increase the number of kieservers
	JbpmCluster            bool                          `json:"jbpmCluster,omitempty"`
	Kafka                  *KafkaExtObject               `json:"kafka,omitempty"`
	KafkaJbpmEventEmitters *KafkaJBPMEventEmittersObject `json:"kafkaJbpmEventEmitters,omitempty"`
	Cors                   *CORSFiltersObject            `json:"cors,omitempty"`
	StartupStrategy        *StartupStrategy              `json:"startupStrategy,omitempty"`
	// MDBMaxSession number of KIE Executor sessions
	MDBMaxSession *int `json:"MDBMaxSession,omitempty"`
}

ServerTemplate contains all the variables used in the yaml templates

func (*ServerTemplate) DeepCopy

func (in *ServerTemplate) DeepCopy() *ServerTemplate

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

func (*ServerTemplate) DeepCopyInto

func (in *ServerTemplate) DeepCopyInto(out *ServerTemplate)

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

type SmartRouterObject

type SmartRouterObject struct {
	KieAppObject `json:",inline"`
	// +kubebuilder:validation:Enum:=http;https
	// Smart Router protocol, if no value is provided, http is the default protocol.
	Protocol string `json:"protocol,omitempty"`
	// If enabled, Business Central will use the external smartrouter route to communicate with it. Note that, valid SSL certificates should be used.
	UseExternalRoute bool       `json:"useExternalRoute,omitempty"`
	Jvm              *JvmObject `json:"jvm,omitempty"`
}

SmartRouterObject configuration of the RHPAM smart router

func (*SmartRouterObject) DeepCopy

func (in *SmartRouterObject) DeepCopy() *SmartRouterObject

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

func (*SmartRouterObject) DeepCopyInto

func (in *SmartRouterObject) DeepCopyInto(out *SmartRouterObject)

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

type SmartRouterTemplate

type SmartRouterTemplate struct {
	OmitImageStream  bool      `json:"omitImageStream"`
	Replicas         int32     `json:"replicas,omitempty"`
	KeystoreSecret   string    `json:"keystoreSecret,omitempty"`
	Protocol         string    `json:"protocol,omitempty"`
	UseExternalRoute bool      `json:"useExternalRoute,omitempty"`
	ImageContext     string    `json:"imageContext,omitempty"`
	Image            string    `json:"image,omitempty"`
	ImageTag         string    `json:"imageTag,omitempty"`
	ImageURL         string    `json:"imageURL,omitempty"`
	StorageClassName string    `json:"storageClassName,omitempty"`
	RouteHostname    string    `json:"routeHostname,omitempty"`
	Jvm              JvmObject `json:"jvm,omitempty"`
}

SmartRouterTemplate contains all the variables used in the yaml templates

func (*SmartRouterTemplate) DeepCopy

func (in *SmartRouterTemplate) DeepCopy() *SmartRouterTemplate

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

func (*SmartRouterTemplate) DeepCopyInto

func (in *SmartRouterTemplate) DeepCopyInto(out *SmartRouterTemplate)

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

type StartupStrategy

type StartupStrategy struct {
	// StartupStrategy to use. When set to OpenShiftStartupStrategy, allows KIE server to start up independently used shared state from OpenShift API service, option is ControllerBasedStartupStrategy, default is OpenShiftStartupStrategy
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Enum:=OpenShiftStartupStrategy;ControllerBasedStartupStrategy
	// +kubebuilder:validation:default:OpenShiftStartupStrategy
	StrategyName string `json:"strategyName,omitempty"`
	// Controller Template Cache TTL to use when the OpenShiftStartupStrategy is choosed and Business Central is deployed, default is 5000
	ControllerTemplateCacheTTL *int `json:"controllerTemplateCacheTTL,omitempty"`
}

StartupStrategy ...

func (*StartupStrategy) DeepCopy

func (in *StartupStrategy) DeepCopy() *StartupStrategy

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

func (*StartupStrategy) DeepCopyInto

func (in *StartupStrategy) DeepCopyInto(out *StartupStrategy)

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

type TemplateConstants

type TemplateConstants struct {
	Product              string `json:"product,omitempty"`
	Major                string `json:"major,omitempty"`
	Minor                string `json:"minor,omitempty"`
	Micro                string `json:"micro,omitempty"`
	MavenRepo            string `json:"mavenRepo,omitempty"`
	KeystoreVolumeSuffix string `json:"keystoreVolumeSuffix"`
	DatabaseVolumeSuffix string `json:"databaseVolumeSuffix"`
	OseCliImageURL       string `json:"oseCliImageURL,omitempty"`
	BrokerImageContext   string `json:"brokerImageContext"`
	BrokerImage          string `json:"brokerImage"`
	BrokerImageTag       string `json:"brokerImageTag"`
	DatagridImageContext string `json:"datagridImageContext"`
	DatagridImage        string `json:"datagridImage"`
	DatagridImageTag     string `json:"datagridImageTag"`
	MySQLImageURL        string `json:"mySQLImageURL"`
	PostgreSQLImageURL   string `json:"postgreSQLImageURL"`
	BrokerImageURL       string `json:"brokerImageURL,omitempty"`
	DatagridImageURL     string `json:"datagridImageURL,omitempty"`
	RoleMapperVolume     string `json:"roleMapperVolume"`
	GitHooksVolume       string `json:"gitHooksVolume,omitempty"`
	GitHooksSSHSecret    string `json:"gitHooksSSHSecret,omitempty"`
}

TemplateConstants constant values that are used within the different configuration templates

func (*TemplateConstants) DeepCopy

func (in *TemplateConstants) DeepCopy() *TemplateConstants

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

func (*TemplateConstants) DeepCopyInto

func (in *TemplateConstants) DeepCopyInto(out *TemplateConstants)

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

type VersionConfigs

type VersionConfigs struct {
	APIVersion           string `json:"apiVersion,omitempty"`
	OseCliImageURL       string `json:"oseCliImageURL,omitempty"`
	OseCliComponent      string `json:"oseCliComponent,omitempty"`
	BrokerImageContext   string `json:"brokerImageContext,omitempty"`
	BrokerImage          string `json:"brokerImage,omitempty"`
	BrokerImageTag       string `json:"brokerImageTag,omitempty"`
	BrokerImageURL       string `json:"brokerImageURL,omitempty"`
	BrokerComponent      string `json:"brokerComponent,omitempty"`
	DatagridImageContext string `json:"datagridImageContext,omitempty"`
	DatagridImage        string `json:"datagridImage,omitempty"`
	DatagridImageTag     string `json:"datagridImageTag,omitempty"`
	DatagridImageURL     string `json:"datagridImageURL,omitempty"`
	DatagridComponent    string `json:"datagridComponent,omitempty"`
	MySQLImageURL        string `json:"mySQLImageURL,omitempty"`
	MySQLComponent       string `json:"mySQLComponent,omitempty"`
	PostgreSQLImageURL   string `json:"postgreSQLImageURL,omitempty"`
	PostgreSQLComponent  string `json:"postgreSQLComponent,omitempty"`
}

VersionConfigs ...

func (*VersionConfigs) DeepCopy

func (in *VersionConfigs) DeepCopy() *VersionConfigs

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

func (*VersionConfigs) DeepCopyInto

func (in *VersionConfigs) DeepCopyInto(out *VersionConfigs)

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

type WebhookSecret

type WebhookSecret struct {
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Enum:=GitHub;Generic
	Type WebhookType `json:"type"`
	// +kubebuilder:validation:Required
	Secret string `json:"secret"`
}

WebhookSecret Secret to use for a given webhook

func (*WebhookSecret) DeepCopy

func (in *WebhookSecret) DeepCopy() *WebhookSecret

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

func (*WebhookSecret) DeepCopyInto

func (in *WebhookSecret) DeepCopyInto(out *WebhookSecret)

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

type WebhookType

type WebhookType string

WebhookType literal type to distinguish between different types of Webhooks

const (
	// GitHubWebhook GitHub webhook
	GitHubWebhook WebhookType = "GitHub"
	// GenericWebhook Generic webhook
	GenericWebhook WebhookType = "Generic"
)

Jump to

Keyboard shortcuts

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