Documentation ¶
Index ¶
- Constants
- Variables
- type AppConfig
- type DtmReconciler
- func (r *DtmReconciler) GetDtmConfigMap(dtm *dtmappv1.Dtm) *corev1.ConfigMap
- func (r *DtmReconciler) GetDtmDeployment(dtm *dtmappv1.Dtm) *appv1.Deployment
- func (r *DtmReconciler) GetDtmService(dtm *dtmappv1.Dtm) *corev1.Service
- func (r *DtmReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *DtmReconciler) SetupWithManager(mgr ctrl.Manager) error
- type Store
Constants ¶
View Source
const ( AppName = "dtm" ConfigMapName = "dtm-conf" ServiceName = "dtm-svc" )
Variables ¶
View Source
var AppProtocolGRPC = "GRPC"
View Source
var AppProtocolHTTP = "HTTP"
Functions ¶
This section is empty.
Types ¶
type DtmReconciler ¶
DtmReconciler reconciles a Dtm object
func (*DtmReconciler) GetDtmConfigMap ¶
func (r *DtmReconciler) GetDtmConfigMap(dtm *dtmappv1.Dtm) *corev1.ConfigMap
func (*DtmReconciler) GetDtmDeployment ¶
func (r *DtmReconciler) GetDtmDeployment(dtm *dtmappv1.Dtm) *appv1.Deployment
func (*DtmReconciler) GetDtmService ¶
func (r *DtmReconciler) GetDtmService(dtm *dtmappv1.Dtm) *corev1.Service
func (*DtmReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. the Dtm object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.10.0/pkg/reconcile
func (*DtmReconciler) SetupWithManager ¶
func (r *DtmReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.