Documentation
¶
Index ¶
- func SetupCollectorWebhook(mgr ctrl.Manager, cfg config.Config, reviewer *rbac.Reviewer, ...) error
- func SetupInstrumentationWebhook(mgr ctrl.Manager, cfg config.Config) error
- func SetupOpAMPBridgeWebhook(mgr ctrl.Manager, cfg config.Config) error
- func SetupTargetAllocatorWebhook(mgr ctrl.Manager, cfg config.Config, reviewer *rbac.Reviewer) error
- func ValidatePorts(ports []v1beta1.PortsSpec) error
- type BuildValidator
- type CollectorWebhook
- func (c CollectorWebhook) Default(_ context.Context, obj runtime.Object) error
- func (c CollectorWebhook) Validate(ctx context.Context, r *v1beta1.OpenTelemetryCollector) (admission.Warnings, error)
- func (c CollectorWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (c CollectorWebhook) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (c CollectorWebhook) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
- type InstrumentationWebhook
- func (w InstrumentationWebhook) Default(_ context.Context, obj runtime.Object) error
- func (w InstrumentationWebhook) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (w InstrumentationWebhook) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (w InstrumentationWebhook) ValidateUpdate(_ context.Context, _, newObj runtime.Object) (admission.Warnings, error)
- type OpAMPBridgeWebhook
- func (o *OpAMPBridgeWebhook) Default(_ context.Context, obj runtime.Object) error
- func (o *OpAMPBridgeWebhook) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (o *OpAMPBridgeWebhook) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (o *OpAMPBridgeWebhook) ValidateUpdate(_ context.Context, _, newObj runtime.Object) (admission.Warnings, error)
- type TargetAllocatorWebhook
- func (w TargetAllocatorWebhook) Default(_ context.Context, obj runtime.Object) error
- func (w TargetAllocatorWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (w TargetAllocatorWebhook) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (w TargetAllocatorWebhook) ValidateUpdate(ctx context.Context, _, newObj runtime.Object) (admission.Warnings, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupCollectorWebhook ¶
func SetupOpAMPBridgeWebhook ¶
func ValidatePorts ¶
Types ¶
type BuildValidator ¶
BuildValidator enables running the manifest generators for the collector reconciler +kubebuilder:object:generate=false
type CollectorWebhook ¶
type CollectorWebhook struct {
// contains filtered or unexported fields
}
func NewCollectorWebhook ¶
func (CollectorWebhook) Validate ¶
func (c CollectorWebhook) Validate(ctx context.Context, r *v1beta1.OpenTelemetryCollector) (admission.Warnings, error)
func (CollectorWebhook) ValidateCreate ¶
func (CollectorWebhook) ValidateDelete ¶
func (CollectorWebhook) ValidateUpdate ¶
type InstrumentationWebhook ¶
type InstrumentationWebhook struct {
// contains filtered or unexported fields
}
func (InstrumentationWebhook) ValidateCreate ¶
func (InstrumentationWebhook) ValidateDelete ¶
func (InstrumentationWebhook) ValidateUpdate ¶
type OpAMPBridgeWebhook ¶
type OpAMPBridgeWebhook struct {
// contains filtered or unexported fields
}
func (*OpAMPBridgeWebhook) ValidateCreate ¶
func (*OpAMPBridgeWebhook) ValidateDelete ¶
func (*OpAMPBridgeWebhook) ValidateUpdate ¶
type TargetAllocatorWebhook ¶
type TargetAllocatorWebhook struct {
// contains filtered or unexported fields
}
func (TargetAllocatorWebhook) ValidateCreate ¶
func (TargetAllocatorWebhook) ValidateDelete ¶
func (TargetAllocatorWebhook) ValidateUpdate ¶
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package podmutation contains the webhook that injects sidecars into pods.
|
Package podmutation contains the webhook that injects sidecars into pods. |
Click to show internal directories.
Click to hide internal directories.