Documentation ¶
Index ¶
Constants ¶
const ( //define type Int and String Int intstr.Type = iota String )
define type const
Variables ¶
This section is empty.
Functions ¶
func Add ¶
Add creates a new Integration Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.
func CheckIngressRulesExist ¶
func CheckIngressRulesExist(m *integrationv1alpha1.Integration, eic *EIController, currentIngress *v1beta1.Ingress) ([]v1beta1.IngressRule, bool)
CheckIngressRulesExist checks the ingress rules are exist in current ingress
func GenerateIngressPaths ¶
func GenerateIngressPaths(m *integrationv1alpha1.Integration) []v1beta1.HTTPIngressPath
GenerateIngressPaths generates the ingress paths
Types ¶
type EIController ¶
EIController control all deployments of the ei-ingress
type ReconcileIntegration ¶
type ReconcileIntegration struct {
// contains filtered or unexported fields
}
ReconcileIntegration reconciles a Integration object
func (*ReconcileIntegration) Reconcile ¶
Reconcile reads that state of the cluster for a Integration object and makes changes based on the state read and what is in the Integration.Spec Controller logic written for creates an Integration Deployment for each Integration CR Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result. Requeue is true, otherwise upon completion it will remove the work from the queue.
func (*ReconcileIntegration) UpdateDefaultConfigs ¶
func (r *ReconcileIntegration) UpdateDefaultConfigs(integration *integrationv1alpha1.Integration) EIController
UpdateDefaultConfigs updates the default configs of Host, TLS, and ingress creation