Documentation
¶
Index ¶
- Variables
- func CheckRunningPodLabels(r client.Reader, ctx context.Context, namespace string, ...) (bool, error)
- func ConditionsUpdate(r client.Client, ctx context.Context, req ctrl.Request, log logr.Logger, ...) error
- func Create(r client.Client, sch *runtime.Scheme, ctx context.Context, req ctrl.Request, ...) error
- func Delete(r client.Client, ctx context.Context, req ctrl.Request, log logr.Logger, ...) error
- func GetDeployment(r client.Client, ctx context.Context, namespace string, ...) (*appsv1.Deployment, error)
- func GetOpenShiftNamespaceNamesSort(ctx context.Context, cli client.Reader) ([]string, error)
- func GetReadyPod(r client.Reader, ctx context.Context, namespace string, ...) (*corev1.Pod, error)
- func GetRunningFalconNS(r client.Reader, ctx context.Context) ([]string, error)
- func InjectFalconSecretData[T FalconReconciler[T], U FalconCRD](ctx context.Context, reconciler T, falconCrd U) error
- func IsInitPodCrashLooping(pod *corev1.Pod) bool
- func NewReconcileTrigger(c controller.Controller) (func(client.Object), error)
- func Update(r client.Client, ctx context.Context, req ctrl.Request, log logr.Logger, ...) error
- type FalconCRD
- type FalconReconciler
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoWebhookServicePodReady = errors.New("no webhook service pod found in a Ready state")
Functions ¶
func CheckRunningPodLabels ¶ added in v1.0.0
func ConditionsUpdate ¶
func ConditionsUpdate(r client.Client, ctx context.Context, req ctrl.Request, log logr.Logger, falconObject client.Object, falconStatus *falconv1alpha1.FalconCRStatus, falconCondition metav1.Condition) error
ConditionsUpdate updates the Falcon Object CR conditions
func GetDeployment ¶
func GetDeployment(r client.Client, ctx context.Context, namespace string, matchingLabels client.MatchingLabels) (*appsv1.Deployment, error)
func GetOpenShiftNamespaceNamesSort ¶ added in v1.0.0
func GetReadyPod ¶
func GetRunningFalconNS ¶ added in v1.0.0
func InjectFalconSecretData ¶ added in v1.7.0
func InjectFalconSecretData[T FalconReconciler[T], U FalconCRD]( ctx context.Context, reconciler T, falconCrd U, ) error
func IsInitPodCrashLooping ¶ added in v1.7.0
func NewReconcileTrigger ¶ added in v1.2.0
func NewReconcileTrigger(c controller.Controller) (func(client.Object), error)
Types ¶
type FalconCRD ¶ added in v1.7.0
type FalconCRD interface { *v1alpha1.FalconNodeSensor | *v1alpha1.FalconContainer | *v1alpha1.FalconAdmission | *v1alpha1.FalconImageAnalyzer GetFalconSecretSpec() v1alpha1.FalconSecret GetFalconAPISpec() *v1alpha1.FalconAPI SetFalconAPISpec(*v1alpha1.FalconAPI) GetFalconSpec() v1alpha1.FalconSensor SetFalconSpec(v1alpha1.FalconSensor) }
Click to show internal directories.
Click to hide internal directories.