admin

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2026 License: AGPL-3.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LRDBStore added in v1.8.0

type LRDBStore interface {
	workqueue.EnqueueDB
	WorkQueueStatus(ctx context.Context) ([]lrdb.WorkQueueStatusRow, error)
	ListLogSegsForRecompact(ctx context.Context, arg lrdb.ListLogSegsForRecompactParams) ([]lrdb.LogSeg, error)
}

LRDBStore defines the lrdb operations needed by the admin service.

type Service

type Service struct {
	adminproto.UnimplementedAdminServiceServer
	// contains filtered or unexported fields
}

func NewService

func NewService(addr string, configDB configdb.StoreFull, lrDB LRDBStore) (*Service, error)

func (*Service) AddOrganizationBucket added in v1.4.0

AddOrganizationBucket adds a bucket to an organization

func (*Service) CreateBucketConfiguration added in v1.4.0

CreateBucketConfiguration creates a new bucket configuration

func (*Service) CreateBucketPrefixMapping added in v1.4.0

CreateBucketPrefixMapping creates a new bucket prefix mapping

func (*Service) CreateOrganizationAPIKey added in v1.4.0

CreateOrganizationAPIKey creates a new API key for an organization

func (*Service) DeleteBucketConfiguration added in v1.4.0

DeleteBucketConfiguration deletes a bucket configuration

func (*Service) DeleteBucketPrefixMapping added in v1.4.0

DeleteBucketPrefixMapping deletes a bucket prefix mapping

func (*Service) DeleteLogStreamConfig added in v1.7.0

DeleteLogStreamConfig deletes the org-specific log stream configuration. After deletion, the org will use the system default.

func (*Service) DeleteOrganizationAPIKey added in v1.4.0

DeleteOrganizationAPIKey deletes an API key

func (*Service) DeleteOrganizationBucket added in v1.4.0

DeleteOrganizationBucket removes a bucket from an organization

func (*Service) GetConsumerLag added in v1.3.6

func (*Service) GetLogStreamConfig added in v1.7.0

GetLogStreamConfig gets the log stream configuration for an organization. If no org-specific config exists, returns the system default or hardcoded fallback.

func (*Service) GetWorkQueueStatus added in v1.7.0

func (*Service) ListBucketConfigurations added in v1.4.0

ListBucketConfigurations lists all bucket configurations

func (*Service) ListBucketPrefixMappings added in v1.4.0

ListBucketPrefixMappings lists bucket prefix mappings

func (*Service) ListOrganizationAPIKeys added in v1.4.0

ListOrganizationAPIKeys lists all API keys for an organization

func (*Service) ListOrganizationBuckets added in v1.4.0

ListOrganizationBuckets lists all buckets for an organization

func (*Service) Ping

func (*Service) QueueLogRecompact added in v1.8.0

func (*Service) Run

func (s *Service) Run(ctx context.Context) error

func (*Service) SetLogStreamConfig added in v1.7.0

SetLogStreamConfig sets or updates the log stream configuration for an organization.

Jump to

Keyboard shortcuts

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