Skip to content

refactor local admin service#9300

Open
k-anshul wants to merge 5 commits intomainfrom
refactor_local_admin
Open

refactor local admin service#9300
k-anshul wants to merge 5 commits intomainfrom
refactor_local_admin

Conversation

@k-anshul
Copy link
Copy Markdown
Member

No description provided.

@k-anshul k-anshul self-assigned this Apr 24, 2026
@k-anshul k-anshul requested a review from a team as a code owner April 24, 2026 13:01
Comment thread runtime/drivers/drivers.go Outdated
AsNotifier(properties map[string]any) (Notifier, error)
}

// embeddedDriver is a driver that serves a single, pre-opened Handle.
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not create this in cli/pkg/local to not pull runtime related pkgs like storage, activity in cli.

Comment thread runtime/drivers/admin.go
var (
ErrNotAuthenticated = errors.New("not authenticated")

ErrReportsNotSupported = errors.New("reports not supported by admin service")
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe acting on drivers.ErrNotImplemented is sufficient instead of creating separate errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant