Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the app v1beta1 API group +kubebuilder:object:generate=true +groupName=app.kiegroup.org
Index ¶
- Variables
- func Resource(resource string) schema.GroupResource
- type KogitoCloudEventInfo
- type KogitoCloudEventsStatus
- func (in *KogitoCloudEventsStatus) DeepCopy() *KogitoCloudEventsStatus
- func (in *KogitoCloudEventsStatus) DeepCopyInto(out *KogitoCloudEventsStatus)
- func (k *KogitoCloudEventsStatus) GetConsumes() []api.KogitoCloudEventInfoInterface
- func (k *KogitoCloudEventsStatus) GetProduces() []api.KogitoCloudEventInfoInterface
- func (k *KogitoCloudEventsStatus) SetConsumes(consumes []api.KogitoCloudEventInfoInterface)
- func (k *KogitoCloudEventsStatus) SetProduces(produces []api.KogitoCloudEventInfoInterface)
- type KogitoProbe
- func (in *KogitoProbe) DeepCopy() *KogitoProbe
- func (in *KogitoProbe) DeepCopyInto(out *KogitoProbe)
- func (p *KogitoProbe) GetLivenessProbe() corev1.Probe
- func (p *KogitoProbe) GetReadinessProbe() corev1.Probe
- func (p *KogitoProbe) GetStartupProbe() corev1.Probe
- func (p *KogitoProbe) SetLivenessProbe(livenessProbe corev1.Probe)
- func (p *KogitoProbe) SetReadinessProbe(readinessProbe corev1.Probe)
- func (p *KogitoProbe) SetStartupProbe(startupProbe corev1.Probe)
- type KogitoServiceSpec
- func (k *KogitoServiceSpec) AddDeploymentLabel(name, value string)
- func (k *KogitoServiceSpec) AddEnvironmentVariable(name, value string)
- func (k *KogitoServiceSpec) AddEnvironmentVariableFromSecret(variableName, secretName, secretKey string)
- func (k *KogitoServiceSpec) AddInfra(name string)
- func (k *KogitoServiceSpec) AddResourceLimit(name, value string)
- func (k *KogitoServiceSpec) AddResourceRequest(name, value string)
- func (k *KogitoServiceSpec) AddServiceLabel(name, value string)
- func (in *KogitoServiceSpec) DeepCopy() *KogitoServiceSpec
- func (in *KogitoServiceSpec) DeepCopyInto(out *KogitoServiceSpec)
- func (k *KogitoServiceSpec) GetConfig() map[string]string
- func (k *KogitoServiceSpec) GetDeploymentLabels() map[string]string
- func (k *KogitoServiceSpec) GetEnvs() []corev1.EnvVar
- func (k *KogitoServiceSpec) GetImage() string
- func (k *KogitoServiceSpec) GetInfra() []string
- func (k *KogitoServiceSpec) GetMonitoring() api.MonitoringInterface
- func (k *KogitoServiceSpec) GetProbes() api.KogitoProbeInterface
- func (k *KogitoServiceSpec) GetPropertiesConfigMap() string
- func (k *KogitoServiceSpec) GetReplicas() *int32
- func (k *KogitoServiceSpec) GetResources() corev1.ResourceRequirements
- func (k *KogitoServiceSpec) GetServiceLabels() map[string]string
- func (k *KogitoServiceSpec) GetTrustStoreSecret() string
- func (k *KogitoServiceSpec) IsInsecureImageRegistry() bool
- func (k *KogitoServiceSpec) IsRouteDisabled() bool
- func (k *KogitoServiceSpec) SetDeploymentLabels(labels map[string]string)
- func (k *KogitoServiceSpec) SetDisableRoute(disableRoute bool)
- func (k *KogitoServiceSpec) SetEnvs(envs []corev1.EnvVar)
- func (k *KogitoServiceSpec) SetImage(image string)
- func (k *KogitoServiceSpec) SetMonitoring(monitoring api.MonitoringInterface)
- func (k *KogitoServiceSpec) SetProbes(probes api.KogitoProbeInterface)
- func (k *KogitoServiceSpec) SetReplicas(replicas int32)
- func (k *KogitoServiceSpec) SetResources(resources corev1.ResourceRequirements)
- func (k *KogitoServiceSpec) SetServiceLabels(labels map[string]string)
- func (k *KogitoServiceSpec) SetTrustStoreSecret(trustStoreSecret string)
- type KogitoServiceStatus
- func (in *KogitoServiceStatus) DeepCopy() *KogitoServiceStatus
- func (in *KogitoServiceStatus) DeepCopyInto(out *KogitoServiceStatus)
- func (k *KogitoServiceStatus) GetCloudEvents() api.KogitoCloudEventsStatusInterface
- func (k *KogitoServiceStatus) GetConditions() *[]metav1.Condition
- func (k *KogitoServiceStatus) GetDeploymentConditions() []appsv1.DeploymentCondition
- func (k *KogitoServiceStatus) GetExternalURI() string
- func (k *KogitoServiceStatus) GetImage() string
- func (k *KogitoServiceStatus) GetRouteConditions() *[]metav1.Condition
- func (k *KogitoServiceStatus) SetCloudEvents(cloudEvents api.KogitoCloudEventsStatusInterface)
- func (k *KogitoServiceStatus) SetConditions(conditions *[]metav1.Condition)
- func (k *KogitoServiceStatus) SetDeploymentConditions(deploymentConditions []appsv1.DeploymentCondition)
- func (k *KogitoServiceStatus) SetExternalURI(uri string)
- func (k *KogitoServiceStatus) SetImage(image string)
- func (k *KogitoServiceStatus) SetRouteConditions(conditions *[]metav1.Condition)
- type KogitoSupportingService
- func (in *KogitoSupportingService) DeepCopy() *KogitoSupportingService
- func (in *KogitoSupportingService) DeepCopyInto(out *KogitoSupportingService)
- func (in *KogitoSupportingService) DeepCopyObject() runtime.Object
- func (k *KogitoSupportingService) GetSpec() api.KogitoServiceSpecInterface
- func (k *KogitoSupportingService) GetStatus() api.KogitoServiceStatusInterface
- func (k *KogitoSupportingService) GetSupportingServiceSpec() api.KogitoSupportingServiceSpecInterface
- func (k *KogitoSupportingService) GetSupportingServiceStatus() api.KogitoSupportingServiceStatusInterface
- type KogitoSupportingServiceList
- func (in *KogitoSupportingServiceList) DeepCopy() *KogitoSupportingServiceList
- func (in *KogitoSupportingServiceList) DeepCopyInto(out *KogitoSupportingServiceList)
- func (in *KogitoSupportingServiceList) DeepCopyObject() runtime.Object
- func (k *KogitoSupportingServiceList) GetItems() []api.KogitoSupportingServiceInterface
- type KogitoSupportingServiceSpec
- func (in *KogitoSupportingServiceSpec) DeepCopy() *KogitoSupportingServiceSpec
- func (in *KogitoSupportingServiceSpec) DeepCopyInto(out *KogitoSupportingServiceSpec)
- func (k *KogitoSupportingServiceSpec) GetRuntime() api.RuntimeType
- func (k *KogitoSupportingServiceSpec) GetServiceType() api.ServiceType
- func (k *KogitoSupportingServiceSpec) SetServiceType(serviceType api.ServiceType)
- type KogitoSupportingServiceStatus
- type Monitoring
- type WebHookSecret
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "app.kiegroup.org", Version: "v1beta1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme // SchemeGroupVersion is a alias for the generated clientset SchemeGroupVersion = GroupVersion )
Functions ¶
func 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 ¶
func (in *KogitoCloudEventInfo) DeepCopy() *KogitoCloudEventInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KogitoCloudEventInfo.
func (*KogitoCloudEventInfo) DeepCopyInto ¶
func (in *KogitoCloudEventInfo) DeepCopyInto(out *KogitoCloudEventInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (KogitoCloudEventInfo) GetSource ¶
func (k KogitoCloudEventInfo) GetSource() string
GetSource ...
type KogitoCloudEventsStatus ¶
type KogitoCloudEventsStatus struct { // +optional // +listType=atomic // +operator-sdk:csv:customresourcedefinitions:type=status Consumes []KogitoCloudEventInfo `json:"consumes,omitempty"` // +optional // +listType=atomic // +operator-sdk:csv:customresourcedefinitions:type=status Produces []KogitoCloudEventInfo `json:"produces,omitempty"` }
KogitoCloudEventsStatus describes the CloudEvents that can be produced or consumed by this Kogito Service instance
func (*KogitoCloudEventsStatus) DeepCopy ¶
func (in *KogitoCloudEventsStatus) DeepCopy() *KogitoCloudEventsStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KogitoCloudEventsStatus.
func (*KogitoCloudEventsStatus) DeepCopyInto ¶
func (in *KogitoCloudEventsStatus) DeepCopyInto(out *KogitoCloudEventsStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KogitoCloudEventsStatus) GetConsumes ¶
func (k *KogitoCloudEventsStatus) GetConsumes() []api.KogitoCloudEventInfoInterface
GetConsumes ...
func (*KogitoCloudEventsStatus) GetProduces ¶
func (k *KogitoCloudEventsStatus) GetProduces() []api.KogitoCloudEventInfoInterface
GetProduces ...
func (*KogitoCloudEventsStatus) SetConsumes ¶
func (k *KogitoCloudEventsStatus) SetConsumes(consumes []api.KogitoCloudEventInfoInterface)
SetConsumes ...
func (*KogitoCloudEventsStatus) SetProduces ¶
func (k *KogitoCloudEventsStatus) SetProduces(produces []api.KogitoCloudEventInfoInterface)
SetProduces ...
type 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: "quay.io/kiegroup/kogito-service:latest". // // On OpenShift an ImageStream will be created in the current namespace pointing to the given image. // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors="urn:alm:descriptor:com.tectonic.ui:text" Image string `json:"image,omitempty"` // +optional // A flag indicating that image streams created by Kogito Operator should be configured to allow pulling from insecure registries. // Usable just on OpenShift. // // Defaults to 'false'. // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Insecure Image Registry" // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors="urn:alm:descriptor:com.tectonic.ui:booleanSwitch" InsecureImageRegistry bool `json:"insecureImageRegistry,omitempty"` // Defined compute resource requirements for the deployed service. // +optional // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors="urn:alm:descriptor:com.tectonic.ui:resourceRequirements" Resources corev1.ResourceRequirements `json:"resources,omitempty"` // Additional labels to be added to the Deployment and Pods managed by the operator. // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Additional Deployment Labels" DeploymentLabels map[string]string `json:"deploymentLabels,omitempty"` // Additional labels to be added to the Service managed by the operator. // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Additional Service Labels" ServiceLabels map[string]string `json:"serviceLabels,omitempty"` // +optional // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="ConfigMap Properties" // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors="urn:alm:descriptor:io.kubernetes:ConfigMap" // Custom ConfigMap with application.properties file to be mounted for the Kogito service. // // The ConfigMap must be created in the same namespace. // // Use this property if you need custom properties to be mounted before the application deployment. // // If left empty, one will be created for you. Later it can be updated to add any custom properties to apply to the service. PropertiesConfigMap string `json:"propertiesConfigMap,omitempty"` // Infra provides list of dependent KogitoInfra objects. // +optional Infra []string `json:"infra,omitempty"` // Create Service monitor instance to connect with Monitoring service // +optional Monitoring Monitoring `json:"monitoring,omitempty"` // +optional // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Configs" // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors="urn:alm:descriptor:com.tectonic.ui:text" // Application properties that will be set to the service. For example 'MY_VAR: my_value'. Config map[string]string `json:"config,omitempty"` // Configure liveness, readiness and startup probes for containers // +optional Probes KogitoProbe `json:"probes,omitempty"` // Custom JKS TrustStore that will be used by this service to make calls to TLS endpoints. // // It's expected that the secret has two keys: `keyStorePassword` containing the password for the KeyStore // and `cacerts` containing the binary data of the given KeyStore. // +optional // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors="urn:alm:descriptor:io.kubernetes:Secret" TrustStoreSecret string `json:"trustStoreSecret,omitempty"` // 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) AddResourceLimit ¶
func (k *KogitoServiceSpec) AddResourceLimit(name, value string)
AddResourceLimit adds new resource limit. Works also on uninitialized Limits field.
func (*KogitoServiceSpec) AddResourceRequest ¶
func (k *KogitoServiceSpec) AddResourceRequest(name, value string)
AddResourceRequest adds new resource request. Works also on uninitialized Requests field.
func (*KogitoServiceSpec) AddServiceLabel ¶
func (k *KogitoServiceSpec) AddServiceLabel(name, value string)
AddServiceLabel adds new service label. Works also on uninitialized ServiceLabels field.
func (*KogitoServiceSpec) DeepCopy ¶
func (in *KogitoServiceSpec) DeepCopy() *KogitoServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KogitoServiceSpec.
func (*KogitoServiceSpec) DeepCopyInto ¶
func (in *KogitoServiceSpec) DeepCopyInto(out *KogitoServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KogitoServiceSpec) GetConfig ¶
func (k *KogitoServiceSpec) GetConfig() map[string]string
GetConfig ...
func (*KogitoServiceSpec) GetDeploymentLabels ¶
func (k *KogitoServiceSpec) GetDeploymentLabels() map[string]string
GetDeploymentLabels ...
func (*KogitoServiceSpec) GetEnvs ¶
func (k *KogitoServiceSpec) GetEnvs() []corev1.EnvVar
GetEnvs ...
func (*KogitoServiceSpec) GetMonitoring ¶
func (k *KogitoServiceSpec) GetMonitoring() api.MonitoringInterface
GetMonitoring ...
func (*KogitoServiceSpec) GetProbes ¶
func (k *KogitoServiceSpec) GetProbes() api.KogitoProbeInterface
GetProbes ...
func (*KogitoServiceSpec) GetPropertiesConfigMap ¶
func (k *KogitoServiceSpec) GetPropertiesConfigMap() string
GetPropertiesConfigMap ...
func (*KogitoServiceSpec) GetReplicas ¶
func (k *KogitoServiceSpec) GetReplicas() *int32
GetReplicas ...
func (*KogitoServiceSpec) GetResources ¶
func (k *KogitoServiceSpec) GetResources() corev1.ResourceRequirements
GetResources ...
func (*KogitoServiceSpec) GetServiceLabels ¶
func (k *KogitoServiceSpec) GetServiceLabels() map[string]string
GetServiceLabels ...
func (*KogitoServiceSpec) GetTrustStoreSecret ¶
func (k *KogitoServiceSpec) GetTrustStoreSecret() string
GetTrustStoreSecret ...
func (*KogitoServiceSpec) IsInsecureImageRegistry ¶
func (k *KogitoServiceSpec) IsInsecureImageRegistry() bool
IsInsecureImageRegistry ...
func (*KogitoServiceSpec) 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 ¶
func (k *KogitoServiceStatus) GetCloudEvents() api.KogitoCloudEventsStatusInterface
GetCloudEvents ...
func (*KogitoServiceStatus) GetConditions ¶
func (k *KogitoServiceStatus) GetConditions() *[]metav1.Condition
GetConditions ...
func (*KogitoServiceStatus) GetDeploymentConditions ¶
func (k *KogitoServiceStatus) GetDeploymentConditions() []appsv1.DeploymentCondition
GetDeploymentConditions gets the deployment conditions for the service.
func (*KogitoServiceStatus) GetExternalURI ¶
func (k *KogitoServiceStatus) GetExternalURI() string
GetExternalURI ...
func (*KogitoServiceStatus) 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 ¶
func (in *KogitoSupportingService) DeepCopy() *KogitoSupportingService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KogitoSupportingService.
func (*KogitoSupportingService) DeepCopyInto ¶
func (in *KogitoSupportingService) DeepCopyInto(out *KogitoSupportingService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KogitoSupportingService) DeepCopyObject ¶
func (in *KogitoSupportingService) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*KogitoSupportingService) GetSpec ¶
func (k *KogitoSupportingService) GetSpec() api.KogitoServiceSpecInterface
GetSpec ...
func (*KogitoSupportingService) GetStatus ¶
func (k *KogitoSupportingService) GetStatus() api.KogitoServiceStatusInterface
GetStatus ...
func (*KogitoSupportingService) GetSupportingServiceSpec ¶
func (k *KogitoSupportingService) GetSupportingServiceSpec() api.KogitoSupportingServiceSpecInterface
GetSupportingServiceSpec ...
func (*KogitoSupportingService) GetSupportingServiceStatus ¶
func (k *KogitoSupportingService) GetSupportingServiceStatus() api.KogitoSupportingServiceStatusInterface
GetSupportingServiceStatus ...
type KogitoSupportingServiceList ¶
type KogitoSupportingServiceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []KogitoSupportingService `json:"items"` }
KogitoSupportingServiceList contains a list of KogitoSupportingService.
func (*KogitoSupportingServiceList) DeepCopy ¶
func (in *KogitoSupportingServiceList) DeepCopy() *KogitoSupportingServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KogitoSupportingServiceList.
func (*KogitoSupportingServiceList) DeepCopyInto ¶
func (in *KogitoSupportingServiceList) DeepCopyInto(out *KogitoSupportingServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KogitoSupportingServiceList) DeepCopyObject ¶
func (in *KogitoSupportingServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*KogitoSupportingServiceList) GetItems ¶
func (k *KogitoSupportingServiceList) GetItems() []api.KogitoSupportingServiceInterface
GetItems ...
type KogitoSupportingServiceSpec ¶
type KogitoSupportingServiceSpec struct { KogitoServiceSpec `json:",inline"` // Defines the type for the supporting service, eg: DataIndex, JobsService // Default value: JobsService // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Service Type" // +kubebuilder:validation:Required // +kubebuilder:validation:Enum=DataIndex;Explainability;JobsService;MgmtConsole;TaskConsole;TrustyAI;TrustyUI ServiceType api.ServiceType `json:"serviceType"` }
KogitoSupportingServiceSpec defines the desired state of KogitoSupportingService. +k8s:openapi-gen=true
func (*KogitoSupportingServiceSpec) DeepCopy ¶
func (in *KogitoSupportingServiceSpec) DeepCopy() *KogitoSupportingServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KogitoSupportingServiceSpec.
func (*KogitoSupportingServiceSpec) DeepCopyInto ¶
func (in *KogitoSupportingServiceSpec) DeepCopyInto(out *KogitoSupportingServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KogitoSupportingServiceSpec) GetRuntime ¶
func (k *KogitoSupportingServiceSpec) GetRuntime() api.RuntimeType
GetRuntime ...
func (*KogitoSupportingServiceSpec) GetServiceType ¶
func (k *KogitoSupportingServiceSpec) GetServiceType() api.ServiceType
GetServiceType ...
func (*KogitoSupportingServiceSpec) SetServiceType ¶
func (k *KogitoSupportingServiceSpec) SetServiceType(serviceType api.ServiceType)
SetServiceType ...
type KogitoSupportingServiceStatus ¶
type KogitoSupportingServiceStatus struct {
KogitoServiceStatus `json:",inline"`
}
KogitoSupportingServiceStatus defines the observed state of KogitoSupportingService. +k8s:openapi-gen=true
func (*KogitoSupportingServiceStatus) DeepCopy ¶
func (in *KogitoSupportingServiceStatus) DeepCopy() *KogitoSupportingServiceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KogitoSupportingServiceStatus.
func (*KogitoSupportingServiceStatus) DeepCopyInto ¶
func (in *KogitoSupportingServiceStatus) DeepCopyInto(out *KogitoSupportingServiceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Monitoring ¶
type Monitoring struct { // HTTP scheme to use for scraping. // +optional Scheme string `json:"scheme,omitempty"` // HTTP path to scrape for metrics. // +optional Path string `json:"path,omitempty"` }
Monitoring properties to connect with Monitoring service
func (*Monitoring) DeepCopy ¶
func (in *Monitoring) DeepCopy() *Monitoring
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Monitoring.
func (*Monitoring) DeepCopyInto ¶
func (in *Monitoring) DeepCopyInto(out *Monitoring)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type 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