Documentation ¶
Index ¶
- Variables
- type FalconContainerReconciler
- func (r *FalconContainerReconciler) Create(ctx context.Context, falconContainer *v1alpha1.FalconContainer, ...) error
- func (r *FalconContainerReconciler) Delete(ctx context.Context, falconContainer *v1alpha1.FalconContainer, ...) error
- func (r *FalconContainerReconciler) Error(ctx context.Context, req ctrl.Request, ...)
- func (r *FalconContainerReconciler) Namespace() string
- func (r *FalconContainerReconciler) NamespaceLabels() map[string]string
- func (r *FalconContainerReconciler) PushImage(ctx context.Context, falconContainer *v1alpha1.FalconContainer) error
- func (r *FalconContainerReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *FalconContainerReconciler) SetupWithManager(mgr ctrl.Manager) error
- func (r *FalconContainerReconciler) Update(ctx context.Context, falconContainer *v1alpha1.FalconContainer, ...) error
- func (r *FalconContainerReconciler) UpdateStatus(ctx context.Context, req ctrl.Request, ...)
- func (r *FalconContainerReconciler) UpsertECRRepo(ctx context.Context) (*types.Repository, error)
- type ImageRefresher
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FcLabels = map[string]string{ common.FalconInstanceNameKey: injectorName, common.FalconInstanceKey: "container_sensor", common.FalconComponentKey: "container_sensor", common.FalconManagedByKey: injectorName, common.FalconProviderKey: common.FalconProviderValue, common.FalconPartOfKey: "Falcon", common.FalconControllerKey: "controller-manager", } )
Functions ¶
This section is empty.
Types ¶
type FalconContainerReconciler ¶
type FalconContainerReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme RestConfig *rest.Config }
FalconContainerReconciler reconciles a FalconContainer object
func (*FalconContainerReconciler) Create ¶
func (r *FalconContainerReconciler) Create(ctx context.Context, falconContainer *v1alpha1.FalconContainer, obj runtime.Object) error
func (*FalconContainerReconciler) Delete ¶
func (r *FalconContainerReconciler) Delete(ctx context.Context, falconContainer *v1alpha1.FalconContainer, obj runtime.Object) error
func (*FalconContainerReconciler) Error ¶
func (r *FalconContainerReconciler) Error(ctx context.Context, req ctrl.Request, falconContainer *v1alpha1.FalconContainer, message string)
func (*FalconContainerReconciler) Namespace ¶
func (r *FalconContainerReconciler) Namespace() string
func (*FalconContainerReconciler) NamespaceLabels ¶
func (r *FalconContainerReconciler) NamespaceLabels() map[string]string
func (*FalconContainerReconciler) PushImage ¶
func (r *FalconContainerReconciler) PushImage(ctx context.Context, falconContainer *v1alpha1.FalconContainer) error
func (*FalconContainerReconciler) Reconcile ¶
func (r *FalconContainerReconciler) 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.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.7.2/pkg/reconcile
func (*FalconContainerReconciler) SetupWithManager ¶
func (r *FalconContainerReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
func (*FalconContainerReconciler) Update ¶
func (r *FalconContainerReconciler) Update(ctx context.Context, falconContainer *v1alpha1.FalconContainer, obj runtime.Object) error
func (*FalconContainerReconciler) UpdateStatus ¶
func (r *FalconContainerReconciler) UpdateStatus(ctx context.Context, req ctrl.Request, falconContainer *v1alpha1.FalconContainer, phase v1alpha1.FalconContainerStatusPhase)
func (*FalconContainerReconciler) UpsertECRRepo ¶
func (r *FalconContainerReconciler) UpsertECRRepo(ctx context.Context) (*types.Repository, error)
type ImageRefresher ¶
type ImageRefresher struct {
// contains filtered or unexported fields
}
func NewImageRefresher ¶
func NewImageRefresher(ctx context.Context, log logr.Logger, falconConfig *falcon.ApiConfig, pushAuth auth.Credentials, insecureSkipTLSVerify bool) *ImageRefresher
Click to show internal directories.
Click to hide internal directories.