v1beta1

package
v0.0.0-...-c429953 Latest Latest
Warning

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

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

Documentation

Overview

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

	// SchemeGroupVersion is a alias for the generated clientset
	SchemeGroupVersion = GroupVersion
)

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource. Required for clientset

Types

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

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

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 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 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: "docker.io/apache/incubator-kie-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"`

	// A flag indicating that routes are disabled. Usable just on OpenShift.
	//
	// If not provided, defaults to 'false'.
	// +optional
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="DisableRoute"
	// +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors="urn:alm:descriptor:com.tectonic.ui:booleanSwitch"
	DisableRoute bool `json:"disableRoute,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) IsRouteDisabled

func (k *KogitoServiceSpec) IsRouteDisabled() bool

IsRouteDisabled ...

func (*KogitoServiceSpec) SetDeploymentLabels

func (k *KogitoServiceSpec) SetDeploymentLabels(labels map[string]string)

SetDeploymentLabels ...

func (*KogitoServiceSpec) SetDisableRoute

func (k *KogitoServiceSpec) SetDisableRoute(disableRoute bool)

SetDisableRoute ...

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"`
	// General conditions for the Kogito Service route.
	// +operator-sdk:csv:customresourcedefinitions:type=status
	// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Route Conditions"
	// +operator-sdk:csv:customresourcedefinitions:type=status,xDescriptors="urn:alm:descriptor:io.kubernetes.conditions"
	RouteConditions *[]metav1.Condition `json:"routeConditions,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

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

func (k *KogitoServiceStatus) GetRouteConditions() *[]metav1.Condition

GetRouteConditions gets the deployment conditions for the service.

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

func (*KogitoServiceStatus) SetRouteConditions

func (k *KogitoServiceStatus) SetRouteConditions(conditions *[]metav1.Condition)

SetRouteConditions sets the deployment conditions for the service.

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

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

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