designer

package
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2025 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ClusterTypeVanilla   ClusterType = "Vanilla"
	ClusterTypeOpenShift ClusterType = "OpenShift"

	K

	KaotoAppName              string = "kaoto"
	KaotoComponentDesigner    string = "designer"
	KaotoOperatorFieldManager string = "kaoto-operator"
	KaotoPort                 int32  = 8080
	KaotoPortType             string = "http"
	KaotoLivenessProbePath    string = "/"
	KaotoReadinessProbePath   string = "/"

	KubernetesLabelAppName      = "app.kubernetes.io/name"
	KubernetesLabelAppInstance  = "app.kubernetes.io/instance"
	KubernetesLabelAppComponent = "app.kubernetes.io/component"
	KubernetesLabelAppPartOf    = "app.kubernetes.io/part-of"
	KubernetesLabelAppManagedBy = "app.kubernetes.io/managed-by"
)

Variables

View Source
var (
	KaotoStandaloneDefaultMemory = resource.MustParse("600Mi")
	KaotoStandaloneDefaultCPU    = resource.MustParse("500m")
)

Functions

func AppSelector

func AppSelector() (labels.Selector, error)

func Labels

func Labels(ref ctrl.Object) map[string]string

func LabelsForSelector

func LabelsForSelector(ref ctrl.Object) map[string]string

Types

type Action

func NewDeployAction

func NewDeployAction() Action

func NewIngressAction

func NewIngressAction() Action

func NewRouteAction

func NewRouteAction() Action

func NewServiceAction

func NewServiceAction() Action

type ClusterType

type ClusterType string

type KaotoReconciler

type KaotoReconciler struct {
	*client.Client

	Scheme      *runtime.Scheme
	ClusterType ClusterType
	// contains filtered or unexported fields
}

func NewKaotoReconciler

func NewKaotoReconciler(manager ctrl.Manager) (*KaotoReconciler, error)

func (*KaotoReconciler) Reconcile

func (r *KaotoReconciler) Reconcile(ctx context.Context, res *kaotoApi.Kaoto) (ctrl.Result, error)

func (*KaotoReconciler) SetupWithManager

func (r *KaotoReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type ReconciliationRequest

type ReconciliationRequest struct {
	*client.Client

	ClusterType ClusterType
	Kaoto       *kaotoiov1alpha1.Kaoto
}

func (*ReconciliationRequest) Key

func (*ReconciliationRequest) String

func (rr *ReconciliationRequest) String() string

Jump to

Keyboard shortcuts

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