Documentation ¶
Index ¶
- type SnapshotsAPIBuilder
- func (b *SnapshotsAPIBuilder) GetAPIGroupInfo(scheme *runtime.Scheme, codecs serializer.CodecFactory, ...) (*genericapiserver.APIGroupInfo, error)
- func (b *SnapshotsAPIBuilder) GetAPIRoutes() *builder.APIRoutes
- func (b *SnapshotsAPIBuilder) GetAuthorizer() authorizer.Authorizer
- func (b *SnapshotsAPIBuilder) GetDesiredDualWriterMode(dualWrite bool, modeMap map[string]grafanarest.DualWriterMode) grafanarest.DualWriterMode
- func (b *SnapshotsAPIBuilder) GetGroupVersion() schema.GroupVersion
- func (b *SnapshotsAPIBuilder) GetOpenAPIDefinitions() common.GetOpenAPIDefinitions
- func (b *SnapshotsAPIBuilder) InstallSchema(scheme *runtime.Scheme) error
- func (b *SnapshotsAPIBuilder) PostProcessOpenAPI(oas *spec3.OpenAPI) (*spec3.OpenAPI, error)
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 (b *SnapshotsAPIBuilder) GetAPIGroupInfo( scheme *runtime.Scheme, codecs serializer.CodecFactory, optsGetter generic.RESTOptionsGetter, _ grafanarest.DualWriterMode, ) (*genericapiserver.APIGroupInfo, error)
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 ¶
Click to show internal directories.
Click to hide internal directories.