events

package
v3.2.273 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package events provides event types and publishing interfaces for filesystem mount operations.

This package defines a common event system for tracking and responding to mount-related events such as authentication failures. Events implement the MountEvent interface and can be published through an EventPublisher implementation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthenticationFailedEvent

type AuthenticationFailedEvent struct {
	Reason string
}

AuthenticationFailedEvent represents an authentication failure during mount operations.

type EventPublisher

type EventPublisher interface {
	Publish(MountEvent)
}

EventPublisher defines the interface for publishing mount events.

type MountEvent

type MountEvent interface {
	// contains filtered or unexported methods
}

MountEvent is the marker interface that all mount events implement.

type NoOpEventPublisher

type NoOpEventPublisher struct{}

NoOpEventPublisher is an EventPublisher that does nothing.

func (*NoOpEventPublisher) Publish

func (p *NoOpEventPublisher) Publish(ev MountEvent)

Publish implements the EventPublisher interface but performs no action.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL