Documentation
¶
Overview ¶
Package v1beta1 contains API Schema definitions for the app v1beta1 API group +k8s:deepcopy-gen=package,register +groupName=app.kiegroup.org
Package v1beta1 contains API Schema definitions for the app v1beta1 API group +kubebuilder:object:generate=true +groupName=app.kiegroup.org
Index ¶
- Variables
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- func Resource(resource string) schema.GroupResource
- type Artifact
- func (in *Artifact) DeepCopy() *Artifact
- func (in *Artifact) DeepCopyInto(out *Artifact)
- func (a *Artifact) GetArtifactID() string
- func (a *Artifact) GetGroupID() string
- func (a *Artifact) GetVersion() string
- func (a *Artifact) SetArtifactID(artifactID string)
- func (a *Artifact) SetGroupID(groupID string)
- func (a *Artifact) SetVersion(version string)
- type Builds
- func (in *Builds) DeepCopy() *Builds
- func (in *Builds) DeepCopyInto(out *Builds)
- func (b *Builds) GetCancelled() []string
- func (b *Builds) GetComplete() []string
- func (b *Builds) GetError() []string
- func (b *Builds) GetFailed() []string
- func (b *Builds) GetNew() []string
- func (b *Builds) GetPending() []string
- func (b *Builds) GetRunning() []string
- func (b *Builds) SetCancelled(cancelled []string)
- func (b *Builds) SetComplete(completeBuilds []string)
- func (b *Builds) SetError(errorBuilds []string)
- func (b *Builds) SetFailed(failedBuilds []string)
- func (b *Builds) SetNew(newBuilds []string)
- func (b *Builds) SetPending(pendingBuilds []string)
- func (b *Builds) SetRunning(runningBuilds []string)
- type GitSource
- func (in *GitSource) DeepCopy() *GitSource
- func (in *GitSource) DeepCopyInto(out *GitSource)
- func (g *GitSource) GetContextDir() string
- func (g *GitSource) GetReference() string
- func (g *GitSource) GetURI() string
- func (g *GitSource) SetContextDir(context string)
- func (g *GitSource) SetReference(reference string)
- func (g *GitSource) SetURI(uri string)
- type InfraResource
- func (in *InfraResource) DeepCopy() *InfraResource
- func (in *InfraResource) DeepCopyInto(out *InfraResource)
- func (r *InfraResource) GetAPIVersion() string
- func (r *InfraResource) GetKind() string
- func (r *InfraResource) GetName() string
- func (r *InfraResource) GetNamespace() string
- func (r *InfraResource) SetAPIVersion(apiVersion string)
- func (r *InfraResource) SetKind(kind string)
- func (r *InfraResource) SetName(name string)
- func (r *InfraResource) SetNamespace(namespace string)
- type KogitoBuild
- type KogitoBuildList
- type KogitoBuildSpec
- func (k *KogitoBuildSpec) AddResourceLimit(name, value string)
- func (k *KogitoBuildSpec) AddResourceRequest(name, value string)
- func (in *KogitoBuildSpec) DeepCopy() *KogitoBuildSpec
- func (in *KogitoBuildSpec) DeepCopyInto(out *KogitoBuildSpec)
- func (k *KogitoBuildSpec) GetArtifact() api.ArtifactInterface
- func (k *KogitoBuildSpec) GetBuildImage() string
- func (k *KogitoBuildSpec) GetEnv() []corev1.EnvVar
- func (k *KogitoBuildSpec) GetGitSource() api.GitSourceInterface
- func (k *KogitoBuildSpec) GetMavenMirrorURL() string
- func (k *KogitoBuildSpec) GetResources() corev1.ResourceRequirements
- func (k *KogitoBuildSpec) GetRuntime() api.RuntimeType
- func (k *KogitoBuildSpec) GetRuntimeImage() string
- func (k *KogitoBuildSpec) GetTargetKogitoRuntime() string
- func (k *KogitoBuildSpec) GetType() api.KogitoBuildType
- func (k *KogitoBuildSpec) GetWebHooks() []api.WebHookSecretInterface
- func (k *KogitoBuildSpec) IsDisableIncremental() bool
- func (k *KogitoBuildSpec) IsEnableMavenDownloadOutput() bool
- func (k *KogitoBuildSpec) IsNative() bool
- func (k *KogitoBuildSpec) SetArtifact(artifact api.ArtifactInterface)
- func (k *KogitoBuildSpec) SetBuildImage(buildImage string)
- func (k *KogitoBuildSpec) SetDisableIncremental(disableIncremental bool)
- func (k *KogitoBuildSpec) SetEnableMavenDownloadOutput(enableMavenDownloadOutput bool)
- func (k *KogitoBuildSpec) SetEnv(env []corev1.EnvVar)
- func (k *KogitoBuildSpec) SetGitSource(gitSource api.GitSourceInterface)
- func (k *KogitoBuildSpec) SetMavenMirrorURL(mavenMirrorURL string)
- func (k *KogitoBuildSpec) SetNative(native bool)
- func (k *KogitoBuildSpec) SetResources(resources corev1.ResourceRequirements)
- func (k *KogitoBuildSpec) SetRuntime(runtime api.RuntimeType)
- func (k *KogitoBuildSpec) SetRuntimeImage(runtime string)
- func (k *KogitoBuildSpec) SetTargetKogitoRuntime(targetRuntime string)
- func (k *KogitoBuildSpec) SetType(buildType api.KogitoBuildType)
- func (k *KogitoBuildSpec) SetWebHooks(webhooks []api.WebHookSecretInterface)
- type KogitoBuildStatus
- func (in *KogitoBuildStatus) DeepCopy() *KogitoBuildStatus
- func (in *KogitoBuildStatus) DeepCopyInto(out *KogitoBuildStatus)
- func (k *KogitoBuildStatus) GetBuilds() api.BuildsInterface
- func (k *KogitoBuildStatus) GetConditions() *[]metav1.Condition
- func (k *KogitoBuildStatus) GetLatestBuild() string
- func (k *KogitoBuildStatus) SetBuilds(builds api.BuildsInterface)
- func (k *KogitoBuildStatus) SetConditions(conditions *[]metav1.Condition)
- func (k *KogitoBuildStatus) SetLatestBuild(latestBuild string)
- type KogitoCloudEventInfo
- type KogitoCloudEventsStatus
- func (in *KogitoCloudEventsStatus) DeepCopy() *KogitoCloudEventsStatus
- func (in *KogitoCloudEventsStatus) DeepCopyInto(out *KogitoCloudEventsStatus)
- func (k *KogitoCloudEventsStatus) GetConsumes() []api.KogitoCloudEventInfoInterface
- func (k *KogitoCloudEventsStatus) GetProduces() []api.KogitoCloudEventInfoInterface
- func (k *KogitoCloudEventsStatus) SetConsumes(consumes []api.KogitoCloudEventInfoInterface)
- func (k *KogitoCloudEventsStatus) SetProduces(produces []api.KogitoCloudEventInfoInterface)
- type KogitoInfra
- type KogitoInfraList
- type KogitoInfraSpec
- func (k *KogitoInfraSpec) AddInfraProperties(infraProperties map[string]string)
- func (in *KogitoInfraSpec) DeepCopy() *KogitoInfraSpec
- func (in *KogitoInfraSpec) DeepCopyInto(out *KogitoInfraSpec)
- func (k *KogitoInfraSpec) GetConfigMapEnvFromReferences() []string
- func (k *KogitoInfraSpec) GetConfigMapVolumeReferences() []api.VolumeReferenceInterface
- func (k *KogitoInfraSpec) GetEnvs() []corev1.EnvVar
- func (k *KogitoInfraSpec) GetInfraProperties() map[string]string
- func (k *KogitoInfraSpec) GetResource() api.ResourceInterface
- func (k *KogitoInfraSpec) GetSecretEnvFromReferences() []string
- func (k *KogitoInfraSpec) GetSecretVolumeReferences() []api.VolumeReferenceInterface
- func (k *KogitoInfraSpec) IsResourceEmpty() bool
- type KogitoInfraStatus
- func (k *KogitoInfraStatus) AddConfigMapEnvFromReferences(cmName string)
- func (k *KogitoInfraStatus) AddConfigMapVolumeReference(name string, mountPath string, fileMode *int32, optional *bool)
- func (k *KogitoInfraStatus) AddEnvs(envs []corev1.EnvVar)
- func (k *KogitoInfraStatus) AddSecretEnvFromReferences(cmName string)
- func (k *KogitoInfraStatus) AddSecretVolumeReference(name string, mountPath string, fileMode *int32, optional *bool)
- func (in *KogitoInfraStatus) DeepCopy() *KogitoInfraStatus
- func (in *KogitoInfraStatus) DeepCopyInto(out *KogitoInfraStatus)
- func (k *KogitoInfraStatus) GetConditions() *[]metav1.Condition
- func (k *KogitoInfraStatus) GetConfigMapEnvFromReferences() []string
- func (k *KogitoInfraStatus) GetConfigMapVolumeReferences() []api.VolumeReferenceInterface
- func (k *KogitoInfraStatus) GetEnvs() []corev1.EnvVar
- func (k *KogitoInfraStatus) GetSecretEnvFromReferences() []string
- func (k *KogitoInfraStatus) GetSecretVolumeReferences() []api.VolumeReferenceInterface
- func (k *KogitoInfraStatus) SetConditions(conditions *[]metav1.Condition)
- func (k *KogitoInfraStatus) SetConfigMapEnvFromReferences(configMapEnvFromReferences []string)
- func (k *KogitoInfraStatus) SetConfigMapVolumeReferences(configMapVolumeReferences []api.VolumeReferenceInterface)
- func (k *KogitoInfraStatus) SetEnvs(envs []corev1.EnvVar)
- func (k *KogitoInfraStatus) SetSecretEnvFromReferences(secretEnvFromReferences []string)
- func (k *KogitoInfraStatus) SetSecretVolumeReferences(secretVolumeReferences []api.VolumeReferenceInterface)
- type KogitoProbe
- func (in *KogitoProbe) DeepCopy() *KogitoProbe
- func (in *KogitoProbe) DeepCopyInto(out *KogitoProbe)
- func (p *KogitoProbe) GetLivenessProbe() corev1.Probe
- func (p *KogitoProbe) GetReadinessProbe() corev1.Probe
- func (p *KogitoProbe) GetStartupProbe() corev1.Probe
- func (p *KogitoProbe) SetLivenessProbe(livenessProbe corev1.Probe)
- func (p *KogitoProbe) SetReadinessProbe(readinessProbe corev1.Probe)
- func (p *KogitoProbe) SetStartupProbe(startupProbe corev1.Probe)
- type KogitoRuntime
- func (in *KogitoRuntime) DeepCopy() *KogitoRuntime
- func (in *KogitoRuntime) DeepCopyInto(out *KogitoRuntime)
- func (in *KogitoRuntime) DeepCopyObject() runtime.Object
- func (k *KogitoRuntime) GetRuntimeSpec() api.KogitoRuntimeSpecInterface
- func (k *KogitoRuntime) GetRuntimeStatus() api.KogitoRuntimeStatusInterface
- func (k *KogitoRuntime) GetSpec() api.KogitoServiceSpecInterface
- func (k *KogitoRuntime) GetStatus() api.KogitoServiceStatusInterface
- type KogitoRuntimeList
- type KogitoRuntimeSpec
- type KogitoRuntimeStatus
- type KogitoServiceSpec
- func (k *KogitoServiceSpec) AddDeploymentLabel(name, value string)
- func (k *KogitoServiceSpec) AddEnvironmentVariable(name, value string)
- func (k *KogitoServiceSpec) AddEnvironmentVariableFromSecret(variableName, secretName, secretKey string)
- func (k *KogitoServiceSpec) AddInfra(name string)
- func (k *KogitoServiceSpec) AddResourceLimit(name, value string)
- func (k *KogitoServiceSpec) AddResourceRequest(name, value string)
- func (k *KogitoServiceSpec) AddServiceLabel(name, value string)
- func (in *KogitoServiceSpec) DeepCopy() *KogitoServiceSpec
- func (in *KogitoServiceSpec) DeepCopyInto(out *KogitoServiceSpec)
- func (k *KogitoServiceSpec) GetConfig() map[string]string
- func (k *KogitoServiceSpec) GetDeploymentLabels() map[string]string
- func (k *KogitoServiceSpec) GetEnvs() []corev1.EnvVar
- func (k *KogitoServiceSpec) GetImage() string
- func (k *KogitoServiceSpec) GetInfra() []string
- func (k *KogitoServiceSpec) GetMonitoring() api.MonitoringInterface
- func (k *KogitoServiceSpec) GetProbes() api.KogitoProbeInterface
- func (k *KogitoServiceSpec) GetPropertiesConfigMap() string
- func (k *KogitoServiceSpec) GetReplicas() *int32
- func (k *KogitoServiceSpec) GetResources() corev1.ResourceRequirements
- func (k *KogitoServiceSpec) GetServiceLabels() map[string]string
- func (k *KogitoServiceSpec) GetTrustStoreSecret() string
- func (k *KogitoServiceSpec) IsInsecureImageRegistry() bool
- func (k *KogitoServiceSpec) SetDeploymentLabels(labels map[string]string)
- func (k *KogitoServiceSpec) SetEnvs(envs []corev1.EnvVar)
- func (k *KogitoServiceSpec) SetImage(image string)
- func (k *KogitoServiceSpec) SetMonitoring(monitoring api.MonitoringInterface)
- func (k *KogitoServiceSpec) SetProbes(probes api.KogitoProbeInterface)
- func (k *KogitoServiceSpec) SetReplicas(replicas int32)
- func (k *KogitoServiceSpec) SetResources(resources corev1.ResourceRequirements)
- func (k *KogitoServiceSpec) SetServiceLabels(labels map[string]string)
- func (k *KogitoServiceSpec) SetTrustStoreSecret(trustStoreSecret string)
- type KogitoServiceStatus
- func (in *KogitoServiceStatus) DeepCopy() *KogitoServiceStatus
- func (in *KogitoServiceStatus) DeepCopyInto(out *KogitoServiceStatus)
- func (k *KogitoServiceStatus) GetCloudEvents() api.KogitoCloudEventsStatusInterface
- func (k *KogitoServiceStatus) GetConditions() *[]metav1.Condition
- func (k *KogitoServiceStatus) GetDeploymentConditions() []appsv1.DeploymentCondition
- func (k *KogitoServiceStatus) GetExternalURI() string
- func (k *KogitoServiceStatus) GetImage() string
- func (k *KogitoServiceStatus) SetCloudEvents(cloudEvents api.KogitoCloudEventsStatusInterface)
- func (k *KogitoServiceStatus) SetConditions(conditions *[]metav1.Condition)
- func (k *KogitoServiceStatus) SetDeploymentConditions(deploymentConditions []appsv1.DeploymentCondition)
- func (k *KogitoServiceStatus) SetExternalURI(uri string)
- func (k *KogitoServiceStatus) SetImage(image string)
- type KogitoSupportingService
- func (in *KogitoSupportingService) DeepCopy() *KogitoSupportingService
- func (in *KogitoSupportingService) DeepCopyInto(out *KogitoSupportingService)
- func (in *KogitoSupportingService) DeepCopyObject() runtime.Object
- func (k *KogitoSupportingService) GetSpec() api.KogitoServiceSpecInterface
- func (k *KogitoSupportingService) GetStatus() api.KogitoServiceStatusInterface
- func (k *KogitoSupportingService) GetSupportingServiceSpec() api.KogitoSupportingServiceSpecInterface
- func (k *KogitoSupportingService) GetSupportingServiceStatus() api.KogitoSupportingServiceStatusInterface
- type KogitoSupportingServiceList
- func (in *KogitoSupportingServiceList) DeepCopy() *KogitoSupportingServiceList
- func (in *KogitoSupportingServiceList) DeepCopyInto(out *KogitoSupportingServiceList)
- func (in *KogitoSupportingServiceList) DeepCopyObject() runtime.Object
- func (k *KogitoSupportingServiceList) GetItems() []api.KogitoSupportingServiceInterface
- type KogitoSupportingServiceSpec
- func (in *KogitoSupportingServiceSpec) DeepCopy() *KogitoSupportingServiceSpec
- func (in *KogitoSupportingServiceSpec) DeepCopyInto(out *KogitoSupportingServiceSpec)
- func (k *KogitoSupportingServiceSpec) GetRuntime() api.RuntimeType
- func (k *KogitoSupportingServiceSpec) GetServiceType() api.ServiceType
- func (k *KogitoSupportingServiceSpec) SetServiceType(serviceType api.ServiceType)
- type KogitoSupportingServiceStatus
- type Monitoring
- type VolumeReference
- func (in *VolumeReference) DeepCopy() *VolumeReference
- func (in *VolumeReference) DeepCopyInto(out *VolumeReference)
- func (c *VolumeReference) GetFileMode() *int32
- func (c *VolumeReference) GetMountPath() string
- func (c *VolumeReference) GetName() string
- func (c *VolumeReference) IsOptional() *bool
- func (c *VolumeReference) SetFileMode(fileMode *int32)
- func (c *VolumeReference) SetMountPath(mountPath string)
- func (c *VolumeReference) SetName(name string)
- func (c *VolumeReference) SetOptional(optional *bool)
- type WebHookSecret
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "app.kiegroup.org", Version: "v1beta1"} // 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 // SchemeGroupVersion is a alias for the generated clientset SchemeGroupVersion = GroupVersion )
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource. Required for clientset
Types ¶
type Artifact ¶
type Artifact struct { //Indicates the unique identifier of the organization or group that created the project. // + optional GroupID string `json:"groupId,omitempty"` //Indicates the unique base name of the primary artifact being generated. // + optional ArtifactID string `json:"artifactId,omitempty"` //Indicates the version of the artifact generated by the project. // + optional Version string `json:"version,omitempty"` }
Artifact contains override information for building the Maven artifact. + optional +operator-sdk:csv:customresourcedefinitions:displayName="Final Artifact"
func (*Artifact) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Artifact.
func (*Artifact) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Artifact) SetArtifactID ¶
SetArtifactID ...
type Builds ¶
type Builds struct { // Builds are being created. // +listType=set New []string `json:"new,omitempty"` // Builds are about to start running. // +listType=set Pending []string `json:"pending,omitempty"` // Builds are running. // +listType=set Running []string `json:"running,omitempty"` // Builds have executed and succeeded. // +listType=set Complete []string `json:"complete,omitempty"` // Builds have executed and failed. // +listType=set Failed []string `json:"failed,omitempty"` // Builds have been prevented from executing by an error. // +listType=set Error []string `json:"error,omitempty"` // Builds have been stopped from executing. // +listType=set Cancelled []string `json:"cancelled,omitempty"` }
Builds ... +k8s:openapi-gen=true
func (*Builds) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Builds.
func (*Builds) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitSource ¶
type GitSource struct { // Git URI for the s2i source. // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Git URI" URI string `json:"uri"` // Branch to use in the Git repository. // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Git Reference" Reference string `json:"reference,omitempty"` // Context/subdirectory where the code is located, relative to the repo root. // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Git Context" ContextDir string `json:"contextDir,omitempty"` }
GitSource Git coordinates to locate the source code to build. +k8s:openapi-gen=true +operator-sdk:csv:customresourcedefinitions:displayName="Kogito Git Source"
func (*GitSource) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitSource.
func (*GitSource) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GitSource) SetContextDir ¶
SetContextDir ...
func (*GitSource) SetReference ¶
SetReference ...
type InfraResource ¶
type InfraResource struct { // APIVersion describes the API Version of referred Kubernetes resource for example, infinispan.org/v1 // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="APIVersion" APIVersion string `json:"apiVersion"` // Kind describes the kind of referred Kubernetes resource for example, Infinispan // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Kind" Kind string `json:"kind"` // +optional // Namespace where referred resource exists. // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Namespace" Namespace string `json:"namespace,omitempty"` // Name of referred resource. // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Name" Name string `json:"name"` }
InfraResource provide reference infra resource
func (*InfraResource) DeepCopy ¶
func (in *InfraResource) DeepCopy() *InfraResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfraResource.
func (*InfraResource) DeepCopyInto ¶
func (in *InfraResource) DeepCopyInto(out *InfraResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InfraResource) GetAPIVersion ¶
func (r *InfraResource) GetAPIVersion() string
GetAPIVersion ...
func (*InfraResource) SetAPIVersion ¶
func (r *InfraResource) SetAPIVersion(apiVersion string)
SetAPIVersion ...
func (*InfraResource) SetNamespace ¶
func (r *InfraResource) SetNamespace(namespace string)
SetNamespace ...
type KogitoBuild ¶
type KogitoBuild struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec KogitoBuildSpec `json:"spec,omitempty"` Status KogitoBuildStatus `json:"status,omitempty"` }
KogitoBuild handles how to build a custom Kogito service in a Kubernetes/OpenShift cluster.
func (*KogitoBuild) DeepCopy ¶
func (in *KogitoBuild) DeepCopy() *KogitoBuild
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KogitoBuild.
func (*KogitoBuild) DeepCopyInto ¶
func (in *KogitoBuild) DeepCopyInto(out *KogitoBuild)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KogitoBuild) DeepCopyObject ¶
func (in *KogitoBuild) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*KogitoBuild) GetSpec ¶
func (k *KogitoBuild) GetSpec() api.KogitoBuildSpecInterface
GetSpec provide spec of Kogito Build
func (*KogitoBuild) GetStatus ¶
func (k *KogitoBuild) GetStatus() api.KogitoBuildStatusInterface
GetStatus provide status of Kogito Build
type KogitoBuildList ¶
type KogitoBuildList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // +listType=atomic Items []KogitoBuild `json:"items"` }
KogitoBuildList contains a list of KogitoBuild.
func (*KogitoBuildList) DeepCopy ¶
func (in *KogitoBuildList) DeepCopy() *KogitoBuildList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KogitoBuildList.
func (*KogitoBuildList) DeepCopyInto ¶
func (in *KogitoBuildList) DeepCopyInto(out *KogitoBuildList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KogitoBuildList) DeepCopyObject ¶
func (in *KogitoBuildList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KogitoBuildSpec ¶
type KogitoBuildSpec struct { // Sets the type of build that this instance will handle: // // Binary - takes an uploaded binary file already compiled and creates a Kogito service image from it. // // RemoteSource - pulls the source code from a Git repository, builds the binary and then the final Kogito service image. // // LocalSource - takes an uploaded resource file such as DRL (rules), DMN (decision) or BPMN (process), builds the binary and the final Kogito service image. // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Build Type" // +kubebuilder:validation:Enum=Binary;RemoteSource;LocalSource Type api.KogitoBuildType `json:"type"` // DisableIncremental indicates that source to image builds should NOT be incremental. Defaults to false. // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Disable Incremental Builds" // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors="urn:alm:descriptor:com.tectonic.ui:booleanSwitch" // +optional DisableIncremental bool `json:"disableIncremental,omitempty"` // Environment variables used during build time. // +listType=atomic // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Build Env Variables" // +optional Env []corev1.EnvVar `json:"env,omitempty"` // Information about the git repository where the Kogito Service source code resides. // // Ignored for binary builds. // +optional GitSource GitSource `json:"gitSource,omitempty"` // Which runtime Kogito service base image to use when building the Kogito service. // If "BuildImage" is set, this value is ignored by the operator. // Default value: quarkus. // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Runtime" // +optional // +kubebuilder:validation:Enum=quarkus;springboot Runtime api.RuntimeType `json:"runtime,omitempty"` // WebHooks secrets for source to image builds based on Git repositories (Remote Sources). // +listType=atomic // +optional WebHooks []WebHookSecret `json:"webHooks,omitempty"` // Native indicates if the Kogito Service built should be compiled to run on native mode when Runtime is Quarkus (Source to Image build only). // // For more information, see https://www.graalvm.org/docs/reference-manual/aot-compilation/. // +optional // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Native Build" // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors="urn:alm:descriptor:com.tectonic.ui:booleanSwitch" Native bool `json:"native,omitempty"` // Resources Requirements for builder pods. // +optional // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors="urn:alm:descriptor:com.tectonic.ui:resourceRequirements" Resources corev1.ResourceRequirements `json:"resources,omitempty"` // Maven Mirror URL to be used during source-to-image builds (Local and Remote) to considerably increase build speed. // +optional // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Maven Mirror URL" // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors="urn:alm:descriptor:com.tectonic.ui:text" MavenMirrorURL string `json:"mavenMirrorURL,omitempty"` // Image used to build the Kogito Service from source (Local and Remote). // // If not defined the operator will use image provided by the Kogito Team based on the "Runtime" field. // // Example: "quay.io/kiegroup/kogito-jvm-builder:latest". // // On OpenShift an ImageStream will be created in the current namespace pointing to the given image. // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Build Image" // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors="urn:alm:descriptor:com.tectonic.ui:text" // +optional BuildImage string `json:"buildImage,omitempty"` // Image used as the base image for the final Kogito service. This image only has the required packages to run the application. // // For example: quarkus based services will have only JVM installed, native services only the packages required by the OS. // // If not defined the operator will use image provided by the Kogito Team based on the "Runtime" field. // // Example: "quay.io/kiegroup/kogito-jvm-builder:latest". // // On OpenShift an ImageStream will be created in the current namespace pointing to the given image. // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Base Image" // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors="urn:alm:descriptor:com.tectonic.ui:text" // +optional RuntimeImage string `json:"runtimeImage,omitempty"` // Set this field targeting the desired KogitoRuntime when this KogitoBuild instance has a different name than the KogitoRuntime. // // By default this KogitoBuild instance will generate a final image named after its own name (.metadata.name). // // On OpenShift, an ImageStream will be created causing a redeployment on any KogitoRuntime with the same name. // On Kubernetes, the final image will be pushed to the KogitoRuntime deployment. // // If you have multiple KogitoBuild instances (let's say BinaryBuildType and Remote Source), you might need that both target the same KogitoRuntime. // Both KogitoBuilds will update the same ImageStream or generate a final image to the same KogitoRuntime deployment. // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Target kogito Runtime" // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional TargetKogitoRuntime string `json:"targetKogitoRuntime,omitempty"` // Artifact contains override information for building the Maven artifact (used for Local Source builds). // // You might want to override this information when building from decisions, rules or process files. // In this scenario the Kogito Images will generate a new Java project for you underneath. // This information will be used to generate this project. // +optional // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Final Artifact" Artifact Artifact `json:"artifact,omitempty"` // If set to true will print the logs for downloading/uploading of maven dependencies. Defaults to false. // +optional // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Enable Maven Download Output" // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors="urn:alm:descriptor:com.tectonic.ui:booleanSwitch" EnableMavenDownloadOutput bool `json:"enableMavenDownloadOutput,omitempty"` }
KogitoBuildSpec defines the desired state of KogitoBuild.
func (*KogitoBuildSpec) AddResourceLimit ¶
func (k *KogitoBuildSpec) AddResourceLimit(name, value string)
AddResourceLimit adds new resource limit. Works also on an uninitialized Limits field.
func (*KogitoBuildSpec) AddResourceRequest ¶
func (k *KogitoBuildSpec) AddResourceRequest(name, value string)
AddResourceRequest adds new resource request. Works also on an uninitialized Requests field.
func (*KogitoBuildSpec) DeepCopy ¶
func (in *KogitoBuildSpec) DeepCopy() *KogitoBuildSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KogitoBuildSpec.
func (*KogitoBuildSpec) DeepCopyInto ¶
func (in *KogitoBuildSpec) DeepCopyInto(out *KogitoBuildSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KogitoBuildSpec) GetArtifact ¶
func (k *KogitoBuildSpec) GetArtifact() api.ArtifactInterface
GetArtifact ...
func (*KogitoBuildSpec) GetBuildImage ¶
func (k *KogitoBuildSpec) GetBuildImage() string
GetBuildImage ...
func (*KogitoBuildSpec) GetGitSource ¶
func (k *KogitoBuildSpec) GetGitSource() api.GitSourceInterface
GetGitSource ...
func (*KogitoBuildSpec) GetMavenMirrorURL ¶
func (k *KogitoBuildSpec) GetMavenMirrorURL() string
GetMavenMirrorURL ...
func (*KogitoBuildSpec) GetResources ¶
func (k *KogitoBuildSpec) GetResources() corev1.ResourceRequirements
GetResources ...
func (*KogitoBuildSpec) GetRuntime ¶
func (k *KogitoBuildSpec) GetRuntime() api.RuntimeType
GetRuntime ...
func (*KogitoBuildSpec) GetRuntimeImage ¶
func (k *KogitoBuildSpec) GetRuntimeImage() string
GetRuntimeImage ...
func (*KogitoBuildSpec) GetTargetKogitoRuntime ¶
func (k *KogitoBuildSpec) GetTargetKogitoRuntime() string
GetTargetKogitoRuntime ...
func (*KogitoBuildSpec) GetType ¶
func (k *KogitoBuildSpec) GetType() api.KogitoBuildType
GetType ...
func (*KogitoBuildSpec) GetWebHooks ¶
func (k *KogitoBuildSpec) GetWebHooks() []api.WebHookSecretInterface
GetWebHooks ...
func (*KogitoBuildSpec) IsDisableIncremental ¶
func (k *KogitoBuildSpec) IsDisableIncremental() bool
IsDisableIncremental ...
func (*KogitoBuildSpec) IsEnableMavenDownloadOutput ¶
func (k *KogitoBuildSpec) IsEnableMavenDownloadOutput() bool
IsEnableMavenDownloadOutput ...
func (*KogitoBuildSpec) SetArtifact ¶
func (k *KogitoBuildSpec) SetArtifact(artifact api.ArtifactInterface)
SetArtifact ...
func (*KogitoBuildSpec) SetBuildImage ¶
func (k *KogitoBuildSpec) SetBuildImage(buildImage string)
SetBuildImage ...
func (*KogitoBuildSpec) SetDisableIncremental ¶
func (k *KogitoBuildSpec) SetDisableIncremental(disableIncremental bool)
SetDisableIncremental ...
func (*KogitoBuildSpec) SetEnableMavenDownloadOutput ¶
func (k *KogitoBuildSpec) SetEnableMavenDownloadOutput(enableMavenDownloadOutput bool)
SetEnableMavenDownloadOutput ...
func (*KogitoBuildSpec) SetGitSource ¶
func (k *KogitoBuildSpec) SetGitSource(gitSource api.GitSourceInterface)
SetGitSource ...
func (*KogitoBuildSpec) SetMavenMirrorURL ¶
func (k *KogitoBuildSpec) SetMavenMirrorURL(mavenMirrorURL string)
SetMavenMirrorURL ...
func (*KogitoBuildSpec) SetResources ¶
func (k *KogitoBuildSpec) SetResources(resources corev1.ResourceRequirements)
SetResources ...
func (*KogitoBuildSpec) SetRuntime ¶
func (k *KogitoBuildSpec) SetRuntime(runtime api.RuntimeType)
SetRuntime ...
func (*KogitoBuildSpec) SetRuntimeImage ¶
func (k *KogitoBuildSpec) SetRuntimeImage(runtime string)
SetRuntimeImage ...
func (*KogitoBuildSpec) SetTargetKogitoRuntime ¶
func (k *KogitoBuildSpec) SetTargetKogitoRuntime(targetRuntime string)
SetTargetKogitoRuntime ....
func (*KogitoBuildSpec) SetType ¶
func (k *KogitoBuildSpec) SetType(buildType api.KogitoBuildType)
SetType ...
func (*KogitoBuildSpec) SetWebHooks ¶
func (k *KogitoBuildSpec) SetWebHooks(webhooks []api.WebHookSecretInterface)
SetWebHooks ...
type KogitoBuildStatus ¶
type KogitoBuildStatus struct { // +listType=atomic // History of conditions for the resource // +operator-sdk:csv:customresourcedefinitions:type=status // +operator-sdk:csv:customresourcedefinitions:type=status,xDescriptors="urn:alm:descriptor:io.kubernetes.conditions" Conditions *[]metav1.Condition `json:"conditions"` // +operator-sdk:csv:customresourcedefinitions:type=status // +operator-sdk:csv:customresourcedefinitions:type=status,displayName="Latest Build" LatestBuild string `json:"latestBuild,omitempty"` // History of builds // +operator-sdk:csv:customresourcedefinitions:type=status // +operator-sdk:csv:customresourcedefinitions:type=status,displayName="Builds" Builds Builds `json:"builds"` }
KogitoBuildStatus defines the observed state of KogitoBuild. +k8s:openapi-gen=true
func (*KogitoBuildStatus) DeepCopy ¶
func (in *KogitoBuildStatus) DeepCopy() *KogitoBuildStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KogitoBuildStatus.
func (*KogitoBuildStatus) DeepCopyInto ¶
func (in *KogitoBuildStatus) DeepCopyInto(out *KogitoBuildStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KogitoBuildStatus) GetBuilds ¶
func (k *KogitoBuildStatus) GetBuilds() api.BuildsInterface
GetBuilds ...
func (*KogitoBuildStatus) GetConditions ¶
func (k *KogitoBuildStatus) GetConditions() *[]metav1.Condition
GetConditions ...
func (*KogitoBuildStatus) GetLatestBuild ¶
func (k *KogitoBuildStatus) GetLatestBuild() string
GetLatestBuild ...
func (*KogitoBuildStatus) SetBuilds ¶
func (k *KogitoBuildStatus) SetBuilds(builds api.BuildsInterface)
SetBuilds ...
func (*KogitoBuildStatus) SetConditions ¶
func (k *KogitoBuildStatus) SetConditions(conditions *[]metav1.Condition)
SetConditions ...
func (*KogitoBuildStatus) SetLatestBuild ¶
func (k *KogitoBuildStatus) SetLatestBuild(latestBuild string)
SetLatestBuild ...
type KogitoCloudEventInfo ¶
type KogitoCloudEventInfo struct { // +operator-sdk:csv:customresourcedefinitions:type=status Type string `json:"type"` // +operator-sdk:csv:customresourcedefinitions:type=status Source string `json:"source,omitempty"` }
KogitoCloudEventInfo describes the CloudEvent information based on the specification
func (*KogitoCloudEventInfo) DeepCopy ¶
func (in *KogitoCloudEventInfo) DeepCopy() *KogitoCloudEventInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KogitoCloudEventInfo.
func (*KogitoCloudEventInfo) DeepCopyInto ¶
func (in *KogitoCloudEventInfo) DeepCopyInto(out *KogitoCloudEventInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (KogitoCloudEventInfo) GetSource ¶
func (k KogitoCloudEventInfo) GetSource() string
GetSource ...
type KogitoCloudEventsStatus ¶
type KogitoCloudEventsStatus struct { // +optional // +listType=atomic // +operator-sdk:csv:customresourcedefinitions:type=status Consumes []KogitoCloudEventInfo `json:"consumes,omitempty"` // +optional // +listType=atomic // +operator-sdk:csv:customresourcedefinitions:type=status Produces []KogitoCloudEventInfo `json:"produces,omitempty"` }
KogitoCloudEventsStatus describes the CloudEvents that can be produced or consumed by this Kogito Service instance
func (*KogitoCloudEventsStatus) DeepCopy ¶
func (in *KogitoCloudEventsStatus) DeepCopy() *KogitoCloudEventsStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KogitoCloudEventsStatus.
func (*KogitoCloudEventsStatus) DeepCopyInto ¶
func (in *KogitoCloudEventsStatus) DeepCopyInto(out *KogitoCloudEventsStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KogitoCloudEventsStatus) GetConsumes ¶
func (k *KogitoCloudEventsStatus) GetConsumes() []api.KogitoCloudEventInfoInterface
GetConsumes ...
func (*KogitoCloudEventsStatus) GetProduces ¶
func (k *KogitoCloudEventsStatus) GetProduces() []api.KogitoCloudEventInfoInterface
GetProduces ...
func (*KogitoCloudEventsStatus) SetConsumes ¶
func (k *KogitoCloudEventsStatus) SetConsumes(consumes []api.KogitoCloudEventInfoInterface)
SetConsumes ...
func (*KogitoCloudEventsStatus) SetProduces ¶
func (k *KogitoCloudEventsStatus) SetProduces(produces []api.KogitoCloudEventInfoInterface)
SetProduces ...
type KogitoInfra ¶
type KogitoInfra struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec KogitoInfraSpec `json:"spec,omitempty"` Status KogitoInfraStatus `json:"status,omitempty"` }
KogitoInfra is the resource to bind a Custom Resource (CR) not managed by Kogito Operator to a given deployed Kogito service.
It holds the reference of a CR managed by another operator such as Strimzi. For example: one can create a Kafka CR via Strimzi and link this resource using KogitoInfra to a given Kogito service (custom or supporting, such as Data Index).
Please refer to the Kogito Operator documentation (https://docs.jboss.org/kogito/release/latest/html_single/) for more information.
func (*KogitoInfra) DeepCopy ¶
func (in *KogitoInfra) DeepCopy() *KogitoInfra
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KogitoInfra.
func (*KogitoInfra) DeepCopyInto ¶
func (in *KogitoInfra) DeepCopyInto(out *KogitoInfra)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KogitoInfra) DeepCopyObject ¶
func (in *KogitoInfra) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*KogitoInfra) GetSpec ¶
func (k *KogitoInfra) GetSpec() api.KogitoInfraSpecInterface
GetSpec provide spec of Kogito infra
func (*KogitoInfra) GetStatus ¶
func (k *KogitoInfra) GetStatus() api.KogitoInfraStatusInterface
GetStatus provide status of Kogito infra
type KogitoInfraList ¶
type KogitoInfraList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []KogitoInfra `json:"items"` }
KogitoInfraList contains a list of KogitoInfra.
func (*KogitoInfraList) DeepCopy ¶
func (in *KogitoInfraList) DeepCopy() *KogitoInfraList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KogitoInfraList.
func (*KogitoInfraList) DeepCopyInto ¶
func (in *KogitoInfraList) DeepCopyInto(out *KogitoInfraList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KogitoInfraList) DeepCopyObject ¶
func (in *KogitoInfraList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KogitoInfraSpec ¶
type KogitoInfraSpec struct { // Resource for the service. Example: Infinispan/Kafka/Keycloak. // +optional // +operator-sdk:csv:customresourcedefinitions:type=spec Resource *InfraResource `json:"resource,omitempty"` // +optional // +mapType=atomic // Optional properties which would be needed to setup correct runtime/service configuration, based on the resource type. // // For example, MongoDB will require `username` and `database` as properties for a correct setup, else it will fail // +operator-sdk:csv:customresourcedefinitions:type=spec InfraProperties map[string]string `json:"infraProperties,omitempty"` // +optional // +listType=atomic // Environment variables to be added to the runtime container. Keys must be a C_IDENTIFIER. // +operator-sdk:csv:customresourcedefinitions:type=spec Envs []corev1.EnvVar `json:"envs,omitempty"` // +optional // +listType=atomic // List of secret that should be mounted to the services as envs // +operator-sdk:csv:customresourcedefinitions:type=spec ConfigMapEnvFromReferences []string `json:"configMapEnvFromReferences,omitempty"` // +optional // +listType=atomic // List of configmap that should be added to the services bound to this infra instance // +operator-sdk:csv:customresourcedefinitions:type=spec ConfigMapVolumeReferences []VolumeReference `json:"configMapVolumeReferences,omitempty"` // +optional // +listType=atomic // List of secret that should be mounted to the services as envs // +operator-sdk:csv:customresourcedefinitions:type=spec SecretEnvFromReferences []string `json:"secretEnvFromReferences,omitempty"` // +optional // +listType=atomic // List of secret that should be munted to the services bound to this infra instance // +operator-sdk:csv:customresourcedefinitions:type=spec SecretVolumeReferences []VolumeReference `json:"secretVolumeReferences,omitempty"` }
KogitoInfraSpec defines the desired state of KogitoInfra. +k8s:openapi-gen=true
func (*KogitoInfraSpec) AddInfraProperties ¶
func (k *KogitoInfraSpec) AddInfraProperties(infraProperties map[string]string)
AddInfraProperties ...
func (*KogitoInfraSpec) DeepCopy ¶
func (in *KogitoInfraSpec) DeepCopy() *KogitoInfraSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KogitoInfraSpec.
func (*KogitoInfraSpec) DeepCopyInto ¶
func (in *KogitoInfraSpec) DeepCopyInto(out *KogitoInfraSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KogitoInfraSpec) GetConfigMapEnvFromReferences ¶
func (k *KogitoInfraSpec) GetConfigMapEnvFromReferences() []string
GetConfigMapEnvFromReferences ...
func (*KogitoInfraSpec) GetConfigMapVolumeReferences ¶
func (k *KogitoInfraSpec) GetConfigMapVolumeReferences() []api.VolumeReferenceInterface
GetConfigMapVolumeReferences ...
func (*KogitoInfraSpec) GetInfraProperties ¶
func (k *KogitoInfraSpec) GetInfraProperties() map[string]string
GetInfraProperties ...
func (*KogitoInfraSpec) GetResource ¶
func (k *KogitoInfraSpec) GetResource() api.ResourceInterface
GetResource ...
func (*KogitoInfraSpec) GetSecretEnvFromReferences ¶
func (k *KogitoInfraSpec) GetSecretEnvFromReferences() []string
GetSecretEnvFromReferences ...
func (*KogitoInfraSpec) GetSecretVolumeReferences ¶
func (k *KogitoInfraSpec) GetSecretVolumeReferences() []api.VolumeReferenceInterface
GetSecretVolumeReferences ...
func (*KogitoInfraSpec) IsResourceEmpty ¶
func (k *KogitoInfraSpec) IsResourceEmpty() bool
IsResourceEmpty ...
type KogitoInfraStatus ¶
type KogitoInfraStatus struct { // +listType=atomic // History of conditions for the resource // +operator-sdk:csv:customresourcedefinitions:type=status // +operator-sdk:csv:customresourcedefinitions:type=status,xDescriptors="urn:alm:descriptor:io.kubernetes.conditions" Conditions *[]metav1.Condition `json:"conditions"` // +optional // +listType=atomic // Environment variables to be added to the runtime container. Keys must be a C_IDENTIFIER. // +operator-sdk:csv:customresourcedefinitions:type=status Envs []corev1.EnvVar `json:"env,omitempty"` // +optional // +listType=atomic // List of Configmap that should be mounted to the services as envs // +operator-sdk:csv:customresourcedefinitions:type=status ConfigMapEnvFromReferences []string `json:"configMapEnvFromReferences,omitempty"` // +optional // +listType=atomic // List of configmap that should be added as volume mount to this infra instance // +operator-sdk:csv:customresourcedefinitions:type=status ConfigMapVolumeReferences []VolumeReference `json:"configMapVolumeReferences,omitempty"` // +optional // +listType=atomic // List of secret that should be mounted to the services as envs // +operator-sdk:csv:customresourcedefinitions:type=status SecretEnvFromReferences []string `json:"secretEnvFromReferences,omitempty"` // +optional // +listType=atomic // List of secret that should be added as volume mount to this infra instance // +operator-sdk:csv:customresourcedefinitions:type=status SecretVolumeReferences []VolumeReference `json:"secretVolumeReferences,omitempty"` }
KogitoInfraStatus defines the observed state of KogitoInfra. +k8s:openapi-gen=true
func (*KogitoInfraStatus) AddConfigMapEnvFromReferences ¶
func (k *KogitoInfraStatus) AddConfigMapEnvFromReferences(cmName string)
AddConfigMapEnvFromReferences ...
func (*KogitoInfraStatus) AddConfigMapVolumeReference ¶
func (k *KogitoInfraStatus) AddConfigMapVolumeReference(name string, mountPath string, fileMode *int32, optional *bool)
AddConfigMapVolumeReference ...
func (*KogitoInfraStatus) AddEnvs ¶
func (k *KogitoInfraStatus) AddEnvs(envs []corev1.EnvVar)
AddEnvs ...
func (*KogitoInfraStatus) AddSecretEnvFromReferences ¶
func (k *KogitoInfraStatus) AddSecretEnvFromReferences(cmName string)
AddSecretEnvFromReferences ...
func (*KogitoInfraStatus) AddSecretVolumeReference ¶
func (k *KogitoInfraStatus) AddSecretVolumeReference(name string, mountPath string, fileMode *int32, optional *bool)
AddSecretVolumeReference ...
func (*KogitoInfraStatus) DeepCopy ¶
func (in *KogitoInfraStatus) DeepCopy() *KogitoInfraStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KogitoInfraStatus.
func (*KogitoInfraStatus) DeepCopyInto ¶
func (in *KogitoInfraStatus) DeepCopyInto(out *KogitoInfraStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KogitoInfraStatus) GetConditions ¶
func (k *KogitoInfraStatus) GetConditions() *[]metav1.Condition
GetConditions ...
func (*KogitoInfraStatus) GetConfigMapEnvFromReferences ¶
func (k *KogitoInfraStatus) GetConfigMapEnvFromReferences() []string
GetConfigMapEnvFromReferences ...
func (*KogitoInfraStatus) GetConfigMapVolumeReferences ¶
func (k *KogitoInfraStatus) GetConfigMapVolumeReferences() []api.VolumeReferenceInterface
GetConfigMapVolumeReferences ...
func (*KogitoInfraStatus) GetEnvs ¶
func (k *KogitoInfraStatus) GetEnvs() []corev1.EnvVar
GetEnvs ...
func (*KogitoInfraStatus) GetSecretEnvFromReferences ¶
func (k *KogitoInfraStatus) GetSecretEnvFromReferences() []string
GetSecretEnvFromReferences ...
func (*KogitoInfraStatus) GetSecretVolumeReferences ¶
func (k *KogitoInfraStatus) GetSecretVolumeReferences() []api.VolumeReferenceInterface
GetSecretVolumeReferences ...
func (*KogitoInfraStatus) SetConditions ¶
func (k *KogitoInfraStatus) SetConditions(conditions *[]metav1.Condition)
SetConditions ...
func (*KogitoInfraStatus) SetConfigMapEnvFromReferences ¶
func (k *KogitoInfraStatus) SetConfigMapEnvFromReferences(configMapEnvFromReferences []string)
SetConfigMapEnvFromReferences ...
func (*KogitoInfraStatus) SetConfigMapVolumeReferences ¶
func (k *KogitoInfraStatus) SetConfigMapVolumeReferences(configMapVolumeReferences []api.VolumeReferenceInterface)
SetConfigMapVolumeReferences ...
func (*KogitoInfraStatus) SetEnvs ¶
func (k *KogitoInfraStatus) SetEnvs(envs []corev1.EnvVar)
SetEnvs ...
func (*KogitoInfraStatus) SetSecretEnvFromReferences ¶
func (k *KogitoInfraStatus) SetSecretEnvFromReferences(secretEnvFromReferences []string)
SetSecretEnvFromReferences ...
func (*KogitoInfraStatus) SetSecretVolumeReferences ¶
func (k *KogitoInfraStatus) SetSecretVolumeReferences(secretVolumeReferences []api.VolumeReferenceInterface)
SetSecretVolumeReferences ...
type KogitoProbe ¶
type KogitoProbe struct { // LivenessProbe describes how the Kogito container liveness probe should work // + // +optional LivenessProbe corev1.Probe `json:"livenessProbe,omitempty"` // ReadinessProbe describes how the Kogito container readiness probe should work // + // +optional ReadinessProbe corev1.Probe `json:"readinessProbe,omitempty"` // StartupProbe describes how the Kogito container startup probe should work // + // +optional StartupProbe corev1.Probe `json:"startupProbe,omitempty"` }
KogitoProbe configure liveness, readiness and startup probes for containers
func (*KogitoProbe) DeepCopy ¶
func (in *KogitoProbe) DeepCopy() *KogitoProbe
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KogitoProbe.
func (*KogitoProbe) DeepCopyInto ¶
func (in *KogitoProbe) DeepCopyInto(out *KogitoProbe)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KogitoProbe) GetLivenessProbe ¶
func (p *KogitoProbe) GetLivenessProbe() corev1.Probe
GetLivenessProbe ...
func (*KogitoProbe) GetReadinessProbe ¶
func (p *KogitoProbe) GetReadinessProbe() corev1.Probe
GetReadinessProbe ...
func (*KogitoProbe) GetStartupProbe ¶
func (p *KogitoProbe) GetStartupProbe() corev1.Probe
GetStartupProbe ...
func (*KogitoProbe) SetLivenessProbe ¶
func (p *KogitoProbe) SetLivenessProbe(livenessProbe corev1.Probe)
SetLivenessProbe ...
func (*KogitoProbe) SetReadinessProbe ¶
func (p *KogitoProbe) SetReadinessProbe(readinessProbe corev1.Probe)
SetReadinessProbe ...
func (*KogitoProbe) SetStartupProbe ¶
func (p *KogitoProbe) SetStartupProbe(startupProbe corev1.Probe)
SetStartupProbe ...
type KogitoRuntime ¶
type KogitoRuntime struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec KogitoRuntimeSpec `json:"spec,omitempty"` Status KogitoRuntimeStatus `json:"status,omitempty"` }
KogitoRuntime is a custom Kogito service.
func (*KogitoRuntime) DeepCopy ¶
func (in *KogitoRuntime) DeepCopy() *KogitoRuntime
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KogitoRuntime.
func (*KogitoRuntime) DeepCopyInto ¶
func (in *KogitoRuntime) DeepCopyInto(out *KogitoRuntime)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KogitoRuntime) DeepCopyObject ¶
func (in *KogitoRuntime) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*KogitoRuntime) GetRuntimeSpec ¶
func (k *KogitoRuntime) GetRuntimeSpec() api.KogitoRuntimeSpecInterface
GetRuntimeSpec ...
func (*KogitoRuntime) GetRuntimeStatus ¶
func (k *KogitoRuntime) GetRuntimeStatus() api.KogitoRuntimeStatusInterface
GetRuntimeStatus ...
func (*KogitoRuntime) GetSpec ¶
func (k *KogitoRuntime) GetSpec() api.KogitoServiceSpecInterface
GetSpec ...
func (*KogitoRuntime) GetStatus ¶
func (k *KogitoRuntime) GetStatus() api.KogitoServiceStatusInterface
GetStatus ...
type KogitoRuntimeList ¶
type KogitoRuntimeList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []KogitoRuntime `json:"items"` }
KogitoRuntimeList contains a list of KogitoRuntime.
func (*KogitoRuntimeList) DeepCopy ¶
func (in *KogitoRuntimeList) DeepCopy() *KogitoRuntimeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KogitoRuntimeList.
func (*KogitoRuntimeList) DeepCopyInto ¶
func (in *KogitoRuntimeList) DeepCopyInto(out *KogitoRuntimeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KogitoRuntimeList) DeepCopyObject ¶
func (in *KogitoRuntimeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*KogitoRuntimeList) GetItems ¶
func (k *KogitoRuntimeList) GetItems() []api.KogitoRuntimeInterface
GetItems ...
type KogitoRuntimeSpec ¶
type KogitoRuntimeSpec struct { KogitoServiceSpec `json:",inline"` // Annotates the pods managed by the operator with the required metadata for Istio to setup its sidecars, enabling the mesh. Defaults to false. // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Enable Istio" // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors="urn:alm:descriptor:com.tectonic.ui:booleanSwitch" EnableIstio bool `json:"enableIstio,omitempty"` // The name of the runtime used, either Quarkus or SpringBoot. // // Default value: quarkus // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Runtime" // +kubebuilder:validation:Enum=quarkus;springboot Runtime api.RuntimeType `json:"runtime,omitempty"` }
KogitoRuntimeSpec defines the desired state of KogitoRuntime.
func (*KogitoRuntimeSpec) DeepCopy ¶
func (in *KogitoRuntimeSpec) DeepCopy() *KogitoRuntimeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KogitoRuntimeSpec.
func (*KogitoRuntimeSpec) DeepCopyInto ¶
func (in *KogitoRuntimeSpec) DeepCopyInto(out *KogitoRuntimeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KogitoRuntimeSpec) GetRuntime ¶
func (k *KogitoRuntimeSpec) GetRuntime() api.RuntimeType
GetRuntime ...
func (*KogitoRuntimeSpec) IsEnableIstio ¶
func (k *KogitoRuntimeSpec) IsEnableIstio() bool
IsEnableIstio ...
func (*KogitoRuntimeSpec) SetEnableIstio ¶
func (k *KogitoRuntimeSpec) SetEnableIstio(enableIstio bool)
SetEnableIstio ...
type KogitoRuntimeStatus ¶
type KogitoRuntimeStatus struct {
KogitoServiceStatus `json:",inline"`
}
KogitoRuntimeStatus defines the observed state of KogitoRuntime.
func (*KogitoRuntimeStatus) DeepCopy ¶
func (in *KogitoRuntimeStatus) DeepCopy() *KogitoRuntimeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KogitoRuntimeStatus.
func (*KogitoRuntimeStatus) DeepCopyInto ¶
func (in *KogitoRuntimeStatus) DeepCopyInto(out *KogitoRuntimeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KogitoServiceSpec ¶
type KogitoServiceSpec struct { // Number of replicas that the service will have deployed in the cluster. // // Default value: 1. // +optional // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Replicas" // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors="urn:alm:descriptor:com.tectonic.ui:podCount" // +kubebuilder:validation:Minimum=0 Replicas *int32 `json:"replicas,omitempty"` // +optional // +listType=atomic // Environment variables to be added to the runtime container. Keys must be a C_IDENTIFIER. // +operator-sdk:csv:customresourcedefinitions:type=spec Env []corev1.EnvVar `json:"env,omitempty"` // +optional // Image definition for the service. Example: "quay.io/kiegroup/kogito-service:latest". // // On OpenShift an ImageStream will be created in the current namespace pointing to the given image. // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors="urn:alm:descriptor:com.tectonic.ui:text" Image string `json:"image,omitempty"` // +optional // A flag indicating that image streams created by Kogito Operator should be configured to allow pulling from insecure registries. // Usable just on OpenShift. // // Defaults to 'false'. // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Insecure Image Registry" // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors="urn:alm:descriptor:com.tectonic.ui:booleanSwitch" InsecureImageRegistry bool `json:"insecureImageRegistry,omitempty"` // Defined compute resource requirements for the deployed service. // +optional // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors="urn:alm:descriptor:com.tectonic.ui:resourceRequirements" Resources corev1.ResourceRequirements `json:"resources,omitempty"` // Additional labels to be added to the Deployment and Pods managed by the operator. // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Additional Deployment Labels" DeploymentLabels map[string]string `json:"deploymentLabels,omitempty"` // Additional labels to be added to the Service managed by the operator. // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Additional Service Labels" ServiceLabels map[string]string `json:"serviceLabels,omitempty"` // +optional // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="ConfigMap Properties" // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors="urn:alm:descriptor:io.kubernetes:ConfigMap" // Custom ConfigMap with application.properties file to be mounted for the Kogito service. // // The ConfigMap must be created in the same namespace. // // Use this property if you need custom properties to be mounted before the application deployment. // // If left empty, one will be created for you. Later it can be updated to add any custom properties to apply to the service. PropertiesConfigMap string `json:"propertiesConfigMap,omitempty"` // Infra provides list of dependent KogitoInfra objects. // +optional Infra []string `json:"infra,omitempty"` // Create Service monitor instance to connect with Monitoring service // +optional Monitoring Monitoring `json:"monitoring,omitempty"` // +optional // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Configs" // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors="urn:alm:descriptor:com.tectonic.ui:text" // Application properties that will be set to the service. For example 'MY_VAR: my_value'. Config map[string]string `json:"config,omitempty"` // Configure liveness, readiness and startup probes for containers // +optional Probes KogitoProbe `json:"probes,omitempty"` // Custom JKS TrustStore that will be used by this service to make calls to TLS endpoints. // // It's expected that the secret has two keys: `keyStorePassword` containing the password for the KeyStore // and `cacerts` containing the binary data of the given KeyStore. // +optional // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors="urn:alm:descriptor:io.kubernetes:Secret" TrustStoreSecret string `json:"trustStoreSecret,omitempty"` }
KogitoServiceSpec is the basic structure for the Kogito Service specification.
func (*KogitoServiceSpec) AddDeploymentLabel ¶
func (k *KogitoServiceSpec) AddDeploymentLabel(name, value string)
AddDeploymentLabel adds new deployment label. Works also on uninitialized DeploymentLabels field.
func (*KogitoServiceSpec) AddEnvironmentVariable ¶
func (k *KogitoServiceSpec) AddEnvironmentVariable(name, value string)
AddEnvironmentVariable adds new environment variable to service environment variables.
func (*KogitoServiceSpec) AddEnvironmentVariableFromSecret ¶
func (k *KogitoServiceSpec) AddEnvironmentVariableFromSecret(variableName, secretName, secretKey string)
AddEnvironmentVariableFromSecret adds a new environment variable from the secret under the key.
func (*KogitoServiceSpec) AddResourceLimit ¶
func (k *KogitoServiceSpec) AddResourceLimit(name, value string)
AddResourceLimit adds new resource limit. Works also on uninitialized Limits field.
func (*KogitoServiceSpec) AddResourceRequest ¶
func (k *KogitoServiceSpec) AddResourceRequest(name, value string)
AddResourceRequest adds new resource request. Works also on uninitialized Requests field.
func (*KogitoServiceSpec) AddServiceLabel ¶
func (k *KogitoServiceSpec) AddServiceLabel(name, value string)
AddServiceLabel adds new service label. Works also on uninitialized ServiceLabels field.
func (*KogitoServiceSpec) DeepCopy ¶
func (in *KogitoServiceSpec) DeepCopy() *KogitoServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KogitoServiceSpec.
func (*KogitoServiceSpec) DeepCopyInto ¶
func (in *KogitoServiceSpec) DeepCopyInto(out *KogitoServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KogitoServiceSpec) GetConfig ¶
func (k *KogitoServiceSpec) GetConfig() map[string]string
GetConfig ...
func (*KogitoServiceSpec) GetDeploymentLabels ¶
func (k *KogitoServiceSpec) GetDeploymentLabels() map[string]string
GetDeploymentLabels ...
func (*KogitoServiceSpec) GetEnvs ¶
func (k *KogitoServiceSpec) GetEnvs() []corev1.EnvVar
GetEnvs ...
func (*KogitoServiceSpec) GetMonitoring ¶
func (k *KogitoServiceSpec) GetMonitoring() api.MonitoringInterface
GetMonitoring ...
func (*KogitoServiceSpec) GetProbes ¶
func (k *KogitoServiceSpec) GetProbes() api.KogitoProbeInterface
GetProbes ...
func (*KogitoServiceSpec) GetPropertiesConfigMap ¶
func (k *KogitoServiceSpec) GetPropertiesConfigMap() string
GetPropertiesConfigMap ...
func (*KogitoServiceSpec) GetReplicas ¶
func (k *KogitoServiceSpec) GetReplicas() *int32
GetReplicas ...
func (*KogitoServiceSpec) GetResources ¶
func (k *KogitoServiceSpec) GetResources() corev1.ResourceRequirements
GetResources ...
func (*KogitoServiceSpec) GetServiceLabels ¶
func (k *KogitoServiceSpec) GetServiceLabels() map[string]string
GetServiceLabels ...
func (*KogitoServiceSpec) GetTrustStoreSecret ¶
func (k *KogitoServiceSpec) GetTrustStoreSecret() string
GetTrustStoreSecret ...
func (*KogitoServiceSpec) IsInsecureImageRegistry ¶
func (k *KogitoServiceSpec) IsInsecureImageRegistry() bool
IsInsecureImageRegistry ...
func (*KogitoServiceSpec) SetDeploymentLabels ¶
func (k *KogitoServiceSpec) SetDeploymentLabels(labels map[string]string)
SetDeploymentLabels ...
func (*KogitoServiceSpec) SetEnvs ¶
func (k *KogitoServiceSpec) SetEnvs(envs []corev1.EnvVar)
SetEnvs ...
func (*KogitoServiceSpec) SetImage ¶
func (k *KogitoServiceSpec) SetImage(image string)
SetImage ...
func (*KogitoServiceSpec) SetMonitoring ¶
func (k *KogitoServiceSpec) SetMonitoring(monitoring api.MonitoringInterface)
SetMonitoring ...
func (*KogitoServiceSpec) SetProbes ¶
func (k *KogitoServiceSpec) SetProbes(probes api.KogitoProbeInterface)
SetProbes ...
func (*KogitoServiceSpec) SetReplicas ¶
func (k *KogitoServiceSpec) SetReplicas(replicas int32)
SetReplicas ...
func (*KogitoServiceSpec) SetResources ¶
func (k *KogitoServiceSpec) SetResources(resources corev1.ResourceRequirements)
SetResources ...
func (*KogitoServiceSpec) SetServiceLabels ¶
func (k *KogitoServiceSpec) SetServiceLabels(labels map[string]string)
SetServiceLabels ...
func (*KogitoServiceSpec) SetTrustStoreSecret ¶
func (k *KogitoServiceSpec) SetTrustStoreSecret(trustStoreSecret string)
SetTrustStoreSecret ...
type KogitoServiceStatus ¶
type KogitoServiceStatus struct { // +listType=atomic // History of conditions for the resource // +operator-sdk:csv:customresourcedefinitions:type=status // +operator-sdk:csv:customresourcedefinitions:type=status,xDescriptors="urn:alm:descriptor:io.kubernetes.conditions" Conditions *[]metav1.Condition `json:"conditions"` // General conditions for the Kogito Service deployment. // +operator-sdk:csv:customresourcedefinitions:type=status // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Deployment Conditions" // +operator-sdk:csv:customresourcedefinitions:type=status,xDescriptors="urn:alm:descriptor:io.kubernetes.conditions" DeploymentConditions []appsv1.DeploymentCondition `json:"deploymentConditions,omitempty"` // Image is the resolved image for this service. // +operator-sdk:csv:customresourcedefinitions:type=status Image string `json:"image,omitempty"` // URI is where the service is exposed. // +operator-sdk:csv:customresourcedefinitions:type=status // +operator-sdk:csv:customresourcedefinitions:type=status,xDescriptors="urn:alm:descriptor:org.w3:link" ExternalURI string `json:"externalURI,omitempty"` // Describes the CloudEvents that this instance can consume or produce // +operator-sdk:csv:customresourcedefinitions:type=status CloudEvents KogitoCloudEventsStatus `json:"cloudEvents,omitempty"` }
KogitoServiceStatus is the basic structure for any Kogito Service status.
func (*KogitoServiceStatus) DeepCopy ¶
func (in *KogitoServiceStatus) DeepCopy() *KogitoServiceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KogitoServiceStatus.
func (*KogitoServiceStatus) DeepCopyInto ¶
func (in *KogitoServiceStatus) DeepCopyInto(out *KogitoServiceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KogitoServiceStatus) GetCloudEvents ¶
func (k *KogitoServiceStatus) GetCloudEvents() api.KogitoCloudEventsStatusInterface
GetCloudEvents ...
func (*KogitoServiceStatus) GetConditions ¶
func (k *KogitoServiceStatus) GetConditions() *[]metav1.Condition
GetConditions ...
func (*KogitoServiceStatus) GetDeploymentConditions ¶
func (k *KogitoServiceStatus) GetDeploymentConditions() []appsv1.DeploymentCondition
GetDeploymentConditions gets the deployment conditions for the service.
func (*KogitoServiceStatus) GetExternalURI ¶
func (k *KogitoServiceStatus) GetExternalURI() string
GetExternalURI ...
func (*KogitoServiceStatus) SetCloudEvents ¶
func (k *KogitoServiceStatus) SetCloudEvents(cloudEvents api.KogitoCloudEventsStatusInterface)
SetCloudEvents ...
func (*KogitoServiceStatus) SetConditions ¶
func (k *KogitoServiceStatus) SetConditions(conditions *[]metav1.Condition)
SetConditions ...
func (*KogitoServiceStatus) SetDeploymentConditions ¶
func (k *KogitoServiceStatus) SetDeploymentConditions(deploymentConditions []appsv1.DeploymentCondition)
SetDeploymentConditions sets the deployment conditions for the service.
func (*KogitoServiceStatus) SetExternalURI ¶
func (k *KogitoServiceStatus) SetExternalURI(uri string)
SetExternalURI ...
func (*KogitoServiceStatus) SetImage ¶
func (k *KogitoServiceStatus) SetImage(image string)
SetImage ...
type KogitoSupportingService ¶
type KogitoSupportingService struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec KogitoSupportingServiceSpec `json:"spec,omitempty"` Status KogitoSupportingServiceStatus `json:"status,omitempty"` }
KogitoSupportingService deploys the Supporting service in the given namespace.
func (*KogitoSupportingService) DeepCopy ¶
func (in *KogitoSupportingService) DeepCopy() *KogitoSupportingService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KogitoSupportingService.
func (*KogitoSupportingService) DeepCopyInto ¶
func (in *KogitoSupportingService) DeepCopyInto(out *KogitoSupportingService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KogitoSupportingService) DeepCopyObject ¶
func (in *KogitoSupportingService) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*KogitoSupportingService) GetSpec ¶
func (k *KogitoSupportingService) GetSpec() api.KogitoServiceSpecInterface
GetSpec ...
func (*KogitoSupportingService) GetStatus ¶
func (k *KogitoSupportingService) GetStatus() api.KogitoServiceStatusInterface
GetStatus ...
func (*KogitoSupportingService) GetSupportingServiceSpec ¶
func (k *KogitoSupportingService) GetSupportingServiceSpec() api.KogitoSupportingServiceSpecInterface
GetSupportingServiceSpec ...
func (*KogitoSupportingService) GetSupportingServiceStatus ¶
func (k *KogitoSupportingService) GetSupportingServiceStatus() api.KogitoSupportingServiceStatusInterface
GetSupportingServiceStatus ...
type KogitoSupportingServiceList ¶
type KogitoSupportingServiceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []KogitoSupportingService `json:"items"` }
KogitoSupportingServiceList contains a list of KogitoSupportingService.
func (*KogitoSupportingServiceList) DeepCopy ¶
func (in *KogitoSupportingServiceList) DeepCopy() *KogitoSupportingServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KogitoSupportingServiceList.
func (*KogitoSupportingServiceList) DeepCopyInto ¶
func (in *KogitoSupportingServiceList) DeepCopyInto(out *KogitoSupportingServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KogitoSupportingServiceList) DeepCopyObject ¶
func (in *KogitoSupportingServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*KogitoSupportingServiceList) GetItems ¶
func (k *KogitoSupportingServiceList) GetItems() []api.KogitoSupportingServiceInterface
GetItems ...
type KogitoSupportingServiceSpec ¶
type KogitoSupportingServiceSpec struct { KogitoServiceSpec `json:",inline"` // Defines the type for the supporting service, eg: DataIndex, JobsService // Default value: JobsService // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Service Type" // +kubebuilder:validation:Required // +kubebuilder:validation:Enum=DataIndex;Explainability;JobsService;MgmtConsole;TaskConsole;TrustyAI;TrustyUI ServiceType api.ServiceType `json:"serviceType"` }
KogitoSupportingServiceSpec defines the desired state of KogitoSupportingService. +k8s:openapi-gen=true
func (*KogitoSupportingServiceSpec) DeepCopy ¶
func (in *KogitoSupportingServiceSpec) DeepCopy() *KogitoSupportingServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KogitoSupportingServiceSpec.
func (*KogitoSupportingServiceSpec) DeepCopyInto ¶
func (in *KogitoSupportingServiceSpec) DeepCopyInto(out *KogitoSupportingServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KogitoSupportingServiceSpec) GetRuntime ¶
func (k *KogitoSupportingServiceSpec) GetRuntime() api.RuntimeType
GetRuntime ...
func (*KogitoSupportingServiceSpec) GetServiceType ¶
func (k *KogitoSupportingServiceSpec) GetServiceType() api.ServiceType
GetServiceType ...
func (*KogitoSupportingServiceSpec) SetServiceType ¶
func (k *KogitoSupportingServiceSpec) SetServiceType(serviceType api.ServiceType)
SetServiceType ...
type KogitoSupportingServiceStatus ¶
type KogitoSupportingServiceStatus struct {
KogitoServiceStatus `json:",inline"`
}
KogitoSupportingServiceStatus defines the observed state of KogitoSupportingService. +k8s:openapi-gen=true
func (*KogitoSupportingServiceStatus) DeepCopy ¶
func (in *KogitoSupportingServiceStatus) DeepCopy() *KogitoSupportingServiceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KogitoSupportingServiceStatus.
func (*KogitoSupportingServiceStatus) DeepCopyInto ¶
func (in *KogitoSupportingServiceStatus) DeepCopyInto(out *KogitoSupportingServiceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Monitoring ¶
type Monitoring struct { // HTTP scheme to use for scraping. // +optional Scheme string `json:"scheme,omitempty"` // HTTP path to scrape for metrics. // +optional Path string `json:"path,omitempty"` }
Monitoring properties to connect with Monitoring service
func (*Monitoring) DeepCopy ¶
func (in *Monitoring) DeepCopy() *Monitoring
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Monitoring.
func (*Monitoring) DeepCopyInto ¶
func (in *Monitoring) DeepCopyInto(out *Monitoring)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeReference ¶
type VolumeReference struct { // This must match the Name of a ConfigMap. Name string `json:"name" protobuf:"bytes,1,opt,name=name"` // Path within the container at which the volume should be mounted. Must // not contain ':'. Default mount path is /home/kogito/config // +optional MountPath string `json:"mountPath,omitempty" protobuf:"bytes,3,opt,name=mountPath"` // Permission on the file mounted as volume on deployment. // Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. // YAML accepts both octal and decimal values, JSON requires decimal values // for mode bits. Defaults to 0644. // +optional FileMode *int32 `json:"fileMode,omitempty" protobuf:"bytes,4,opt,name=fileMode"` // Specify whether the Secret or its keys must be defined // +optional Optional *bool `json:"optional,omitempty" protobuf:"varint,5,opt,name=optional"` }
VolumeReference represents the source of a volume to mount.
func (*VolumeReference) DeepCopy ¶
func (in *VolumeReference) DeepCopy() *VolumeReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeReference.
func (*VolumeReference) DeepCopyInto ¶
func (in *VolumeReference) DeepCopyInto(out *VolumeReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VolumeReference) GetFileMode ¶
func (c *VolumeReference) GetFileMode() *int32
GetFileMode ...
func (*VolumeReference) GetMountPath ¶
func (c *VolumeReference) GetMountPath() string
GetMountPath ...
func (*VolumeReference) SetFileMode ¶
func (c *VolumeReference) SetFileMode(fileMode *int32)
SetFileMode ...
func (*VolumeReference) SetMountPath ¶
func (c *VolumeReference) SetMountPath(mountPath string)
SetMountPath ...
func (*VolumeReference) SetOptional ¶
func (c *VolumeReference) SetOptional(optional *bool)
SetOptional ....
type WebHookSecret ¶
type WebHookSecret struct { // WebHook type, either GitHub or Generic. // +kubebuilder:validation:Enum=GitHub;Generic Type api.WebHookType `json:"type,omitempty"` // Secret value for webHook Secret string `json:"secret,omitempty"` }
WebHookSecret Secret to use for a given webHook. +k8s:openapi-gen=true
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.