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 ¶
Types ¶
type Action ¶
type Action interface {
Configure(context.Context, *client.Client, *builder.Builder) (*builder.Builder, error)
Apply(context.Context, *ReconciliationRequest) error
Cleanup(context.Context, *ReconciliationRequest) error
}
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) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
type ReconciliationRequest ¶
type ReconciliationRequest struct {
*client.Client
ClusterType ClusterType
Kaoto *kaotoiov1alpha1.Kaoto
}
func (*ReconciliationRequest) Key ¶
func (rr *ReconciliationRequest) Key() types.NamespacedName
func (*ReconciliationRequest) String ¶
func (rr *ReconciliationRequest) String() string
Click to show internal directories.
Click to hide internal directories.