Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var RunningK8sVersion *version.Version
RunningK8sVersion contains the version of k8s
Functions ¶
func GetK8sVersion ¶
func GetK8sVersion(client kubernetes.Interface) (v *version.Version, err error)
GetK8sVersion returns the running version of k8s
func VerifySCCAPIExists ¶
Types ¶
type NginxIngressControllerReconciler ¶
type NginxIngressControllerReconciler struct { client.Client Scheme *runtime.Scheme SccAPIExists bool Mgr ctrl.Manager }
NginxIngressControllerReconciler reconciles a NginxIngressController object
func (*NginxIngressControllerReconciler) Reconcile ¶
func (r *NginxIngressControllerReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the NginxIngressController 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.9.2/pkg/reconcile
func (*NginxIngressControllerReconciler) SetupWithManager ¶
func (r *NginxIngressControllerReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.