dashboardsnapshot

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: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SnapshotsAPIBuilder

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

This is used just so wire has something unique to return

func NewSnapshotsAPIBuilder

func NewSnapshotsAPIBuilder(
	p dashboardsnapshots.Service,
	cfg *setting.Cfg,
	exporter *dashExporter,
) *SnapshotsAPIBuilder

func RegisterAPIService

func RegisterAPIService(
	service dashboardsnapshots.Service,
	apiregistration builder.APIRegistrar,
	cfg *setting.Cfg,
	features featuremgmt.FeatureToggles,
	sql db.DB,
) *SnapshotsAPIBuilder

func (*SnapshotsAPIBuilder) GetAPIGroupInfo

func (*SnapshotsAPIBuilder) GetAPIRoutes

func (b *SnapshotsAPIBuilder) GetAPIRoutes() *builder.APIRoutes

Register additional routes with the server

func (*SnapshotsAPIBuilder) GetAuthorizer

func (b *SnapshotsAPIBuilder) GetAuthorizer() authorizer.Authorizer

func (*SnapshotsAPIBuilder) GetDesiredDualWriterMode

func (b *SnapshotsAPIBuilder) GetDesiredDualWriterMode(dualWrite bool, modeMap map[string]grafanarest.DualWriterMode) grafanarest.DualWriterMode

func (*SnapshotsAPIBuilder) GetGroupVersion

func (b *SnapshotsAPIBuilder) GetGroupVersion() schema.GroupVersion

func (*SnapshotsAPIBuilder) GetOpenAPIDefinitions

func (b *SnapshotsAPIBuilder) GetOpenAPIDefinitions() common.GetOpenAPIDefinitions

func (*SnapshotsAPIBuilder) InstallSchema

func (b *SnapshotsAPIBuilder) InstallSchema(scheme *runtime.Scheme) error

func (*SnapshotsAPIBuilder) PostProcessOpenAPI

func (b *SnapshotsAPIBuilder) PostProcessOpenAPI(oas *spec3.OpenAPI) (*spec3.OpenAPI, error)

Jump to

Keyboard shortcuts

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