v1beta1

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2021 License: Apache-2.0 Imports: 10 Imported by: 3

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

Constants

This section is empty.

Variables

View Source
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
)

Functions

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:gen-csv:customresourcedefinitions.specDescriptors=true +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Final Artifact"

func (*Artifact) DeepCopy

func (in *Artifact) DeepCopy() *Artifact

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

func (*Artifact) DeepCopyInto

func (in *Artifact) DeepCopyInto(out *Artifact)

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

func (*Artifact) GetArtifactID

func (a *Artifact) GetArtifactID() string

GetArtifactID ...

func (*Artifact) GetGroupID

func (a *Artifact) GetGroupID() string

GetGroupID ...

func (*Artifact) GetVersion

func (a *Artifact) GetVersion() string

GetVersion ...

func (*Artifact) SetArtifactID

func (a *Artifact) SetArtifactID(artifactID string)

SetArtifactID ...

func (*Artifact) SetGroupID

func (a *Artifact) SetGroupID(groupID string)

SetGroupID ...

func (*Artifact) SetVersion

func (a *Artifact) SetVersion(version string)

SetVersion ...

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

func (in *Builds) DeepCopy() *Builds

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

func (*Builds) DeepCopyInto

func (in *Builds) DeepCopyInto(out *Builds)

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

func (*Builds) GetCancelled

func (b *Builds) GetCancelled() []string

GetCancelled ...

func (*Builds) GetComplete

func (b *Builds) GetComplete() []string

GetComplete ...

func (*Builds) GetError

func (b *Builds) GetError() []string

GetError ...

func (*Builds) GetFailed

func (b *Builds) GetFailed() []string

GetFailed ...

func (*Builds) GetNew

func (b *Builds) GetNew() []string

GetNew ...

func (*Builds) GetPending

func (b *Builds) GetPending() []string

GetPending ...

func (*Builds) GetRunning

func (b *Builds) GetRunning() []string

GetRunning ...

func (*Builds) SetCancelled

func (b *Builds) SetCancelled(cancelled []string)

SetCancelled ...

func (*Builds) SetComplete

func (b *Builds) SetComplete(completeBuilds []string)

SetComplete ...

func (*Builds) SetError

func (b *Builds) SetError(errorBuilds []string)

SetError ...

func (*Builds) SetFailed

func (b *Builds) SetFailed(failedBuilds []string)

SetFailed ...

func (*Builds) SetNew

func (b *Builds) SetNew(newBuilds []string)

SetNew ...

func (*Builds) SetPending

func (b *Builds) SetPending(pendingBuilds []string)

SetPending ...

func (*Builds) SetRunning

func (b *Builds) SetRunning(runningBuilds []string)

SetRunning ...

type ConfigVolume

type ConfigVolume struct {
	// ConfigVolumeSource represents the location and type of the mounted volume.
	ConfigVolumeSource `json:",inline" protobuf:"bytes,2,opt,name=volumeSource"`
	// Volume's name.
	// Must be a DNS_LABEL and unique within the pod.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
}

ConfigVolume is the Kubernetes Core `Volume` type that holds only configuration volume sources.

func (*ConfigVolume) DeepCopy

func (in *ConfigVolume) DeepCopy() *ConfigVolume

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

func (*ConfigVolume) DeepCopyInto

func (in *ConfigVolume) DeepCopyInto(out *ConfigVolume)

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

func (*ConfigVolume) GetName

func (c *ConfigVolume) GetName() string

GetName ...

func (*ConfigVolume) SetName

func (c *ConfigVolume) SetName(name string)

SetName ...

func (*ConfigVolume) ToKubeVolume

func (c *ConfigVolume) ToKubeVolume() v1.Volume

ToKubeVolume converts the current ConfigVolume instance to Kubernetes Core Volume type.

type ConfigVolumeSource

type ConfigVolumeSource struct {
	// Secret represents a secret that should populate this volume.
	// More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
	// +optional
	Secret *v1.SecretVolumeSource `json:"secret,omitempty" protobuf:"bytes,6,opt,name=secret"`
	// ConfigMap represents a configMap that should populate this volume
	// +optional
	ConfigMap *v1.ConfigMapVolumeSource `json:"configMap,omitempty" protobuf:"bytes,19,opt,name=configMap"`
}

ConfigVolumeSource is the Kubernetes Core `VolumeSource` type for ConfigMap and Secret only

func (*ConfigVolumeSource) DeepCopy

func (in *ConfigVolumeSource) DeepCopy() *ConfigVolumeSource

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

func (*ConfigVolumeSource) DeepCopyInto

func (in *ConfigVolumeSource) DeepCopyInto(out *ConfigVolumeSource)

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

func (*ConfigVolumeSource) GetConfigMap

func (c *ConfigVolumeSource) GetConfigMap() *v1.ConfigMapVolumeSource

GetConfigMap ...

func (*ConfigVolumeSource) GetSecret

func (c *ConfigVolumeSource) GetSecret() *v1.SecretVolumeSource

GetSecret ...

func (*ConfigVolumeSource) SetConfigMap

func (c *ConfigVolumeSource) SetConfigMap(configMap *v1.ConfigMapVolumeSource)

SetConfigMap ...

func (*ConfigVolumeSource) SetSecret

func (c *ConfigVolumeSource) SetSecret(secret *v1.SecretVolumeSource)

SetSecret ...

type GitSource

type GitSource struct {
	// Git URI for the s2i source.
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Git URI"
	URI string `json:"uri"`
	// Branch to use in the Git repository.
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Git Reference"
	Reference string `json:"reference,omitempty"`
	// Context/subdirectory where the code is located, relative to the repo root.
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Git Context"
	ContextDir string `json:"contextDir,omitempty"`
}

GitSource Git coordinates to locate the source code to build. +k8s:openapi-gen=true +operator-sdk:gen-csv:customresourcedefinitions.displayName="Kogito Git Source"

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.

func (*GitSource) GetContextDir

func (g *GitSource) GetContextDir() string

GetContextDir ...

func (*GitSource) GetReference

func (g *GitSource) GetReference() string

GetReference ...

func (*GitSource) GetURI

func (g *GitSource) GetURI() string

GetURI ...

func (*GitSource) SetContextDir

func (g *GitSource) SetContextDir(context string)

SetContextDir ...

func (*GitSource) SetReference

func (g *GitSource) SetReference(reference string)

SetReference ...

func (*GitSource) SetURI

func (g *GitSource) SetURI(uri string)

SetURI ...

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. +k8s:openapi-gen=true +kubebuilder:resource:path=kogitobuilds,scope=Namespaced +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Type",type="string",JSONPath=".spec.type",description="Type of this build instance" +kubebuilder:printcolumn:name="Runtime",type="string",JSONPath=".spec.runtime",description="Runtime used to build the service" +kubebuilder:printcolumn:name="Native",type="boolean",JSONPath=".spec.native",description="Indicates it's a native build" +kubebuilder:printcolumn:name="Maven URL",type="string",JSONPath=".spec.mavenMirrorURL",description="URL for the proxy Maven repository" +kubebuilder:printcolumn:name="Kogito Runtime",type="string",JSONPath=".spec.targetKogitoRuntime",description="Target KogitoRuntime for this build" +kubebuilder:printcolumn:name="Git Repository",type="string",JSONPath=".spec.gitSource.uri",description="Git repository URL (RemoteSource builds only)" +operator-sdk:gen-csv:customresourcedefinitions.resources="ImageStream,image.openshift.io/v1,\" A Openshift Image Stream\"" +operator-sdk:gen-csv:customresourcedefinitions.resources="BuildConfig,build.openshift.io/v1,\" A Openshift Build Config\"" +operator-sdk:gen-csv:customresourcedefinitions.displayName="Kogito Build"

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

GetSpec provide spec of Kogito Build

func (*KogitoBuild) GetStatus

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:gen-csv:customresourcedefinitions.specDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="DisableIncremental Builds"
	// +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:gen-csv:customresourcedefinitions.specDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="DisableIncremental Builds"
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:com.tectonic.ui:booleanSwitch"
	// +optional
	DisableIncremental bool `json:"disableIncremental,omitempty"`

	// Environment variables used during build time.
	// +listType=atomic
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.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:gen-csv:customresourcedefinitions.specDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Runtime"
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:com.tectonic.ui:label"
	// +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:gen-csv:customresourcedefinitions.specDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Native Build"
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:com.tectonic.ui:booleanSwitch"
	Native bool `json:"native,omitempty"`

	// Resources Requirements for builder pods.
	// +optional
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="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:gen-csv:customresourcedefinitions.specDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Maven Mirror URL"
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:com.tectonic.ui:label"
	MavenMirrorURL string `json:"mavenMirrorURL,omitempty"`

	// Image used to build the Kogito Service from source (Local and Remote).
	// The operator will use the one 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:gen-csv:customresourcedefinitions.specDescriptors.displayName="Build Image"
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	// +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.
	// The operator will use the one 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:gen-csv:customresourcedefinitions.specDescriptors.displayName="Base Image"
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	// +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:gen-csv:customresourcedefinitions.specDescriptors.displayName="Base Image"
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	// +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:gen-csv:customresourcedefinitions.specDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.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:gen-csv:customresourcedefinitions.specDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Enable Maven Download Output"
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="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) GetEnv

func (k *KogitoBuildSpec) GetEnv() []corev1.EnvVar

GetEnv ...

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) IsNative

func (k *KogitoBuildSpec) IsNative() bool

IsNative ...

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) SetEnv

func (k *KogitoBuildSpec) SetEnv(env []corev1.EnvVar)

SetEnv ...

func (*KogitoBuildSpec) SetGitSource

func (k *KogitoBuildSpec) SetGitSource(gitSource api.GitSourceInterface)

SetGitSource ...

func (*KogitoBuildSpec) SetMavenMirrorURL

func (k *KogitoBuildSpec) SetMavenMirrorURL(mavenMirrorURL string)

SetMavenMirrorURL ...

func (*KogitoBuildSpec) SetNative

func (k *KogitoBuildSpec) SetNative(native bool)

SetNative ...

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:gen-csv:customresourcedefinitions.statusDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors.x-descriptors="urn:alm:descriptor:io.kubernetes.conditions"
	Conditions *[]metav1.Condition `json:"conditions"`
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors.displayName="Latest Build"
	LatestBuild string `json:"latestBuild,omitempty"`
	// History of builds
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors.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:gen-csv:customresourcedefinitions.statusDescriptors=true
	Type string `json:"type"`
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
	Source string `json:"source,omitempty"`
}

KogitoCloudEventInfo describes the CloudEvent information based on the specification

func (*KogitoCloudEventInfo) DeepCopy

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 ...

func (KogitoCloudEventInfo) GetType

func (k KogitoCloudEventInfo) GetType() string

GetType ...

type KogitoCloudEventsStatus

type KogitoCloudEventsStatus struct {
	// +optional
	// +listType=atomic
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
	Consumes []KogitoCloudEventInfo `json:"consumes,omitempty"`
	// +optional
	// +listType=atomic
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
	Produces []KogitoCloudEventInfo `json:"produces,omitempty"`
}

KogitoCloudEventsStatus describes the CloudEvents that can be produced or consumed by this Kogito Service instance

func (*KogitoCloudEventsStatus) DeepCopy

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

GetConsumes ...

func (*KogitoCloudEventsStatus) GetProduces

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. +k8s:openapi-gen=true +kubebuilder:resource:path=kogitoinfras,scope=Namespaced +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Resource Name",type="string",JSONPath=".spec.resource.name",description="Third Party Infrastructure Resource" +kubebuilder:printcolumn:name="Kind",type="string",JSONPath=".spec.resource.kind",description="Kubernetes CR Kind" +kubebuilder:printcolumn:name="API Version",type="string",JSONPath=".spec.resource.apiVersion",description="Kubernetes CR API Version" +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.condition.status",description="General Status of this resource bind" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.condition.reason",description="Status reason" +operator-sdk:gen-csv:customresourcedefinitions.displayName="Kogito Infra" +operator-sdk:gen-csv:customresourcedefinitions.resources="Kafka,kafka.strimzi.io/v1beta2,\"A Kafka instance\"" +operator-sdk:gen-csv:customresourcedefinitions.resources="Infinispan,infinispan.org/v1,\"A Infinispan instance\"" +operator-sdk:gen-csv:customresourcedefinitions.resources="Keycloak,keycloak.org/v1alpha1,\"A Keycloak Instance\"" +operator-sdk:gen-csv:customresourcedefinitions.resources="Secret,v1,\"A Kubernetes Secret\""

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

GetSpec provide spec of Kogito infra

func (*KogitoInfra) GetStatus

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.
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Resource Resource `json:"resource"`

	// +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:gen-csv:customresourcedefinitions.specDescriptors=true
	InfraProperties map[string]string `json:"infraProperties,omitempty"`
}

KogitoInfraSpec defines the desired state of KogitoInfra. +k8s:openapi-gen=true

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) GetInfraProperties

func (k *KogitoInfraSpec) GetInfraProperties() map[string]string

GetInfraProperties ...

func (*KogitoInfraSpec) GetResource

func (k *KogitoInfraSpec) GetResource() api.ResourceInterface

GetResource ...

type KogitoInfraStatus

type KogitoInfraStatus struct {
	// +listType=atomic
	// History of conditions for the resource
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors.x-descriptors="urn:alm:descriptor:io.kubernetes.conditions"
	Conditions *[]metav1.Condition `json:"conditions"`

	// +optional
	// Runtime variables extracted from the linked resource that will be added to the deployed Kogito service.
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	RuntimeProperties map[api.RuntimeType]RuntimeProperties `json:"runtimeProperties,omitempty"`

	// +optional
	// +listType=atomic
	// List of volumes that should be added to the services bound to this infra instance
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	Volumes []KogitoInfraVolume `json:"volumes,omitempty"`
}

KogitoInfraStatus defines the observed state of KogitoInfra. +k8s:openapi-gen=true

func (*KogitoInfraStatus) AddRuntimeProperties

func (k *KogitoInfraStatus) AddRuntimeProperties(runtimeType api.RuntimeType, runtimeProperties api.RuntimePropertiesInterface)

AddRuntimeProperties ...

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) GetRuntimeProperties

func (k *KogitoInfraStatus) GetRuntimeProperties() api.RuntimePropertiesMap

GetRuntimeProperties ...

func (*KogitoInfraStatus) GetVolumes

GetVolumes ...

func (*KogitoInfraStatus) SetConditions

func (k *KogitoInfraStatus) SetConditions(conditions *[]metav1.Condition)

SetConditions ...

func (*KogitoInfraStatus) SetVolumes

func (k *KogitoInfraStatus) SetVolumes(infraVolumes []api.KogitoInfraVolumeInterface)

SetVolumes ...

type KogitoInfraVolume

type KogitoInfraVolume struct {
	// Mount is the Kubernetes VolumeMount referenced by this instance
	Mount v1.VolumeMount `json:"mount"`
	// NamedVolume describes the pod Volume reference
	NamedVolume ConfigVolume `json:"volume"`
}

KogitoInfraVolume describes the data structure for volumes that should be mounted in the given service provided by this infra instance

func (*KogitoInfraVolume) DeepCopy

func (in *KogitoInfraVolume) DeepCopy() *KogitoInfraVolume

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

func (*KogitoInfraVolume) DeepCopyInto

func (in *KogitoInfraVolume) DeepCopyInto(out *KogitoInfraVolume)

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

func (KogitoInfraVolume) GetMount

func (k KogitoInfraVolume) GetMount() v1.VolumeMount

GetMount ...

func (KogitoInfraVolume) GetNamedVolume

func (k KogitoInfraVolume) GetNamedVolume() api.ConfigVolumeInterface

GetNamedVolume ...

type KogitoProbe

type KogitoProbe struct {
	// LivenessProbe describes how the Kogito container liveness probe should work
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=false
	// +optional
	LivenessProbe corev1.Probe `json:"livenessProbe,omitempty"`

	// ReadinessProbe describes how the Kogito container readiness probe should work
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=false
	// +optional
	ReadinessProbe corev1.Probe `json:"readinessProbe,omitempty"`

	// StartupProbe describes how the Kogito container startup probe should work
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=false
	// +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 added in v1.6.0

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 added in v1.6.0

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. +k8s:openapi-gen=true +kubebuilder:resource:path=kogitoruntimes,scope=Namespaced +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Replicas",type="integer",JSONPath=".spec.replicas",description="Number of replicas set for this service" +kubebuilder:printcolumn:name="Image",type="string",JSONPath=".status.image",description="Image of this service" +kubebuilder:printcolumn:name="Endpoint",type="string",JSONPath=".status.externalURI",description="External URI to access this service" +operator-sdk:gen-csv:customresourcedefinitions.displayName="Kogito service" +operator-sdk:gen-csv:customresourcedefinitions.resources="Deployment,apps/v1,\"A Kubernetes Deployment\"" +operator-sdk:gen-csv:customresourcedefinitions.resources="Route,route.openshift.io/v1,\"A Openshift Route\"" +operator-sdk:gen-csv:customresourcedefinitions.resources="ConfigMap,v1,\"A Kubernetes ConfigMap\"" +operator-sdk:gen-csv:customresourcedefinitions.resources="Service,v1,\"A Kubernetes 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

GetSpec ...

func (*KogitoRuntime) GetStatus

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

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:gen-csv:customresourcedefinitions.specDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Enable Istio"
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="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:gen-csv:customresourcedefinitions.specDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="runtime"
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:com.tectonic.ui:label"
	// +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:gen-csv:customresourcedefinitions.specDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Replicas"
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="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:gen-csv:customresourcedefinitions.specDescriptors=true
	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:gen-csv:customresourcedefinitions.specDescriptors=true
	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:gen-csv:customresourcedefinitions.specDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Insecure Image Registry"
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:com.tectonic.ui:booleanSwitch"
	InsecureImageRegistry bool `json:"insecureImageRegistry,omitempty"`

	// Defined compute resource requirements for the deployed service.
	// +optional
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="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:gen-csv:customresourcedefinitions.specDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Additional Deployment Labels"
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:com.tectonic.ui:text"
	DeploymentLabels map[string]string `json:"deploymentLabels,omitempty"`

	// Additional labels to be added to the Service managed by the operator.
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Additional Service Labels"
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:com.tectonic.ui:text"
	ServiceLabels map[string]string `json:"serviceLabels,omitempty"`

	// +optional
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="ConfigMap Properties"
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:com.tectonic.ui:text"
	// 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:gen-csv:customresourcedefinitions.specDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Configs"
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="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
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=false
	// +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.
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=false
	// +optional
	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) AddInfra

func (k *KogitoServiceSpec) AddInfra(name string)

AddInfra ...

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) GetImage

func (k *KogitoServiceSpec) GetImage() string

GetImage ...

func (*KogitoServiceSpec) GetInfra

func (k *KogitoServiceSpec) GetInfra() []string

GetInfra ...

func (*KogitoServiceSpec) GetMonitoring

func (k *KogitoServiceSpec) GetMonitoring() api.MonitoringInterface

GetMonitoring ...

func (*KogitoServiceSpec) GetProbes

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:gen-csv:customresourcedefinitions.statusDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors.x-descriptors="urn:alm:descriptor:io.kubernetes.conditions"
	Conditions *[]metav1.Condition `json:"conditions"`
	// General conditions for the Kogito Service deployment.
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Deployment Conditions"
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors.x-descriptors="urn:alm:descriptor:io.kubernetes.conditions"
	DeploymentConditions []appsv1.DeploymentCondition `json:"deploymentConditions,omitempty"`
	// Image is the resolved image for this service.
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
	Image string `json:"image,omitempty"`
	// URI is where the service is exposed.
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors.x-descriptors="urn:alm:descriptor:org.w3:link"
	ExternalURI string `json:"externalURI,omitempty"`
	// Describes the CloudEvents that this instance can consume or produce
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
	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

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) GetImage

func (k *KogitoServiceStatus) GetImage() string

GetImage ...

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. +k8s:openapi-gen=true +kubebuilder:resource:path=kogitosupportingservices,scope=Namespaced +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Replicas",type="integer",JSONPath=".spec.replicas",description="Number of replicas set for this service" +kubebuilder:printcolumn:name="Image",type="string",JSONPath=".status.image",description="Base image for this service" +kubebuilder:printcolumn:name="Endpoint",type="string",JSONPath=".status.externalURI",description="External URI to access this service" +kubebuilder:printcolumn:name="Service Type",type="string",JSONPath=".spec.serviceType",description="Supporting Service Type" +operator-sdk:gen-csv:customresourcedefinitions.displayName="Kogito Supporting Service" +operator-sdk:gen-csv:customresourcedefinitions.resources="Deployment,apps/v1,\"A Kubernetes Deployment\"" +operator-sdk:gen-csv:customresourcedefinitions.resources="Service,v1,\"A Kubernetes Service\"" +operator-sdk:gen-csv:customresourcedefinitions.resources="ImageStream,image.openshift.io/v1,\"A Openshift ImageStream\"" +operator-sdk:gen-csv:customresourcedefinitions.resources="Route,route.openshift.io/v1,\"A Openshift Route\""

func (*KogitoSupportingService) DeepCopy

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

GetSpec ...

func (*KogitoSupportingService) GetStatus

GetStatus ...

func (*KogitoSupportingService) GetSupportingServiceSpec

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

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

func (*KogitoSupportingServiceList) DeepCopyInto

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

GetItems ...

type KogitoSupportingServiceSpec

type KogitoSupportingServiceSpec struct {
	KogitoServiceSpec `json:",inline"`

	// Defines the type for the supporting service, eg: DataIndex, JobsService
	// Default value: JobsService
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Resource Type"
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:com.tectonic.ui:label"
	// +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

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

func (*KogitoSupportingServiceSpec) DeepCopyInto

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

func (*KogitoSupportingServiceSpec) GetRuntime

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

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

func (*KogitoSupportingServiceStatus) DeepCopyInto

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.

func (*Monitoring) GetPath

func (m *Monitoring) GetPath() string

GetPath ...

func (*Monitoring) GetScheme

func (m *Monitoring) GetScheme() string

GetScheme ...

func (*Monitoring) SetPath

func (m *Monitoring) SetPath(path string)

SetPath ...

func (*Monitoring) SetScheme

func (m *Monitoring) SetScheme(scheme string)

SetScheme ...

type Resource

type Resource struct {

	// APIVersion describes the API Version of referred Kubernetes resource for example, infinispan.org/v1
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="APIVersion"
	APIVersion string `json:"apiVersion"`

	// Kind describes the kind of referred Kubernetes resource for example, Infinispan
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Kind"
	Kind string `json:"kind"`

	// Namespace where referred resource exists.
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Namespace"
	Namespace string `json:"namespace,omitempty"`

	// Name of referred resource.
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Name"
	Name string `json:"name"`
}

Resource provide reference infra resource

func (*Resource) DeepCopy

func (in *Resource) DeepCopy() *Resource

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

func (*Resource) DeepCopyInto

func (in *Resource) DeepCopyInto(out *Resource)

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

func (*Resource) GetAPIVersion

func (r *Resource) GetAPIVersion() string

GetAPIVersion ...

func (*Resource) GetKind

func (r *Resource) GetKind() string

GetKind ...

func (*Resource) GetName

func (r *Resource) GetName() string

GetName ...

func (*Resource) GetNamespace

func (r *Resource) GetNamespace() string

GetNamespace ...

func (*Resource) SetAPIVersion

func (r *Resource) SetAPIVersion(apiVersion string)

SetAPIVersion ...

func (*Resource) SetKind

func (r *Resource) SetKind(kind string)

SetKind ...

func (*Resource) SetName

func (r *Resource) SetName(name string)

SetName ...

func (*Resource) SetNamespace

func (r *Resource) SetNamespace(namespace string)

SetNamespace ...

type RuntimeProperties

type RuntimeProperties struct {
	AppProps map[string]string `json:"appProps,omitempty"`
	Env      []v1.EnvVar       `json:"env,omitempty"`
}

RuntimeProperties defines the variables that will be extracted from the linked resource and added to the deployed Kogito service.

func (*RuntimeProperties) DeepCopy

func (in *RuntimeProperties) DeepCopy() *RuntimeProperties

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

func (*RuntimeProperties) DeepCopyInto

func (in *RuntimeProperties) DeepCopyInto(out *RuntimeProperties)

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

func (RuntimeProperties) GetAppProps

func (r RuntimeProperties) GetAppProps() map[string]string

GetAppProps ...

func (RuntimeProperties) GetEnv

func (r RuntimeProperties) GetEnv() []v1.EnvVar

GetEnv ...

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.

func (WebHookSecret) GetSecret

func (w WebHookSecret) GetSecret() string

GetSecret ...

func (WebHookSecret) GetType

func (w WebHookSecret) GetType() api.WebHookType

GetType ...

Jump to

Keyboard shortcuts

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