example

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestingAPIBuilder

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

This is used just so wire has something unique to return

func NewTestingAPIBuilder

func NewTestingAPIBuilder() *TestingAPIBuilder

func RegisterAPIService

func RegisterAPIService(features featuremgmt.FeatureToggles, apiregistration builder.APIRegistrar) *TestingAPIBuilder

func (*TestingAPIBuilder) GetAPIRoutes

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

Register additional routes with the server

func (*TestingAPIBuilder) GetAuthorizer

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

func (*TestingAPIBuilder) GetDesiredDualWriterMode

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

func (*TestingAPIBuilder) GetGroupVersion

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

func (*TestingAPIBuilder) GetOpenAPIDefinitions

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

func (*TestingAPIBuilder) InstallSchema

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳