Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageDetails ¶
type ImageDetails struct { Name string `json:"name"` FullName string `json:"fullName"` Tag string `json:"tag"` }
func ParseContainerImage ¶
func ParseContainerImage(image string) ImageDetails
func ParseContainers ¶
func ParseContainers(containers []corev1.Container) []ImageDetails
type MonitorConfig ¶
type MonitorReconciler ¶
type MonitorReconciler struct { client.Client Scheme *runtime.Scheme Config *MonitorConfig }
MonitorReconciler reconciles a Monitor object
func (*MonitorReconciler) 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.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.1/pkg/reconcile
func (*MonitorReconciler) SetupWithManager ¶
func (r *MonitorReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.