Documentation ¶
Index ¶
- func GetServerVersion(config *rest.Config) (string, error)
- type ApplicationReconciler
- type ClusterReconciler
- func (r *ClusterReconciler) EnqueueClusterOfMns(obj handler.MapObject) []ctrl.Request
- func (r *ClusterReconciler) HandleReconcile(ctx context.Context, req ctrl.Request, cluster *managerv1alpha1.Cluster, ...) (ctrl.Result, error)
- func (r *ClusterReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)
- func (r *ClusterReconciler) SetupWithManager(mgr ctrl.Manager) error
- type ManagedNamespaceReconciler
- func (r *ManagedNamespaceReconciler) FinalNSTemplate(ctx context.Context, ns *managerv1alpha1.ManagedNamespace) error
- func (r *ManagedNamespaceReconciler) HandleNSResources(ctx context.Context, ns *managerv1alpha1.ManagedNamespace, ...) (ctrl.Result, error)
- func (r *ManagedNamespaceReconciler) ManagedClusterClient(ctx context.Context, ns *managerv1alpha1.ManagedNamespace) (*k8s.Client, error)
- func (r *ManagedNamespaceReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)
- func (r *ManagedNamespaceReconciler) SetupWithManager(mgr ctrl.Manager) error
- type ResourceStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ApplicationReconciler ¶
type ApplicationReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme K8sSelfClient *k8s.Client Recorder record.EventRecorder }
ApplicationReconciler reconciles a Application object
func (*ApplicationReconciler) HandleReconcile ¶
func (r *ApplicationReconciler) HandleReconcile(ctx context.Context, app *managerv1alpha1.Application) (ctrl.Result, error)
func (*ApplicationReconciler) Reconcile ¶
+kubebuilder:rbac:groups=manager.keikoproj.io,resources=applications,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=manager.keikoproj.io,resources=applications/status,verbs=get;update;patch
func (*ApplicationReconciler) SetupWithManager ¶
func (r *ApplicationReconciler) SetupWithManager(mgr ctrl.Manager) error
type ClusterReconciler ¶
type ClusterReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme K8sSelfClient *k8s.Client Recorder record.EventRecorder }
ClusterReconciler reconciles a Cluster object
func (*ClusterReconciler) EnqueueClusterOfMns ¶
func (r *ClusterReconciler) EnqueueClusterOfMns(obj handler.MapObject) []ctrl.Request
EnqueueClusterOfMns will returns the cluster object for a given mns resource to be enqueued
func (*ClusterReconciler) HandleReconcile ¶
func (*ClusterReconciler) SetupWithManager ¶
func (r *ClusterReconciler) SetupWithManager(mgr ctrl.Manager) error
type ManagedNamespaceReconciler ¶
type ManagedNamespaceReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme Recorder record.EventRecorder K8sSelfClient *k8s.Client }
ManagedNamespaceReconciler reconciles a ManagedNamespace object
func (*ManagedNamespaceReconciler) FinalNSTemplate ¶
func (r *ManagedNamespaceReconciler) FinalNSTemplate(ctx context.Context, ns *managerv1alpha1.ManagedNamespace) error
func (*ManagedNamespaceReconciler) HandleNSResources ¶
func (r *ManagedNamespaceReconciler) HandleNSResources(ctx context.Context, ns *managerv1alpha1.ManagedNamespace, k8sManagedClient *k8s.Client, firstTime bool) (ctrl.Result, error)
HandleNSResources manages namespaces resources
func (*ManagedNamespaceReconciler) ManagedClusterClient ¶
func (r *ManagedNamespaceReconciler) ManagedClusterClient(ctx context.Context, ns *managerv1alpha1.ManagedNamespace) (*k8s.Client, error)
func (*ManagedNamespaceReconciler) SetupWithManager ¶
func (r *ManagedNamespaceReconciler) SetupWithManager(mgr ctrl.Manager) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.