database

package
v11.1.4-modfix Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DashboardSnapshotStore

type DashboardSnapshotStore struct {
	// contains filtered or unexported fields
}

func NewStore

func NewStore(db db.DB, skipDeleteExpired bool) *DashboardSnapshotStore

func ProvideStore

func ProvideStore(db db.DB, cfg *setting.Cfg) *DashboardSnapshotStore

func (*DashboardSnapshotStore) DeleteDashboardSnapshot

func (*DashboardSnapshotStore) DeleteExpiredSnapshots

DeleteExpiredSnapshots removes snapshots with old expiry dates. SnapShotRemoveExpired is deprecated and should be removed in the future. Snapshot expiry is decided by the user when they share the snapshot.

func (*DashboardSnapshotStore) SearchDashboardSnapshots

SearchDashboardSnapshots returns a list of all snapshots for admins for other roles, it returns snapshots created by the user

Jump to

Keyboard shortcuts

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