Documentation ¶
Index ¶
- type ServiceAPIBuilder
- func (b *ServiceAPIBuilder) GetAPIGroupInfo(scheme *runtime.Scheme, codecs serializer.CodecFactory, ...) (*genericapiserver.APIGroupInfo, error)
- func (b *ServiceAPIBuilder) GetAPIRoutes() *builder.APIRoutes
- func (b *ServiceAPIBuilder) GetAuthorizer() authorizer.Authorizer
- func (b *ServiceAPIBuilder) GetDesiredDualWriterMode(dualWrite bool, modeMap map[string]grafanarest.DualWriterMode) grafanarest.DualWriterMode
- func (b *ServiceAPIBuilder) GetGroupVersion() schema.GroupVersion
- func (b *ServiceAPIBuilder) GetOpenAPIDefinitions() common.GetOpenAPIDefinitions
- func (b *ServiceAPIBuilder) InstallSchema(scheme *runtime.Scheme) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceAPIBuilder ¶
type ServiceAPIBuilder struct{}
This is used just so wire has something unique to return
func NewServiceAPIBuilder ¶
func NewServiceAPIBuilder() *ServiceAPIBuilder
func RegisterAPIService ¶
func RegisterAPIService(features featuremgmt.FeatureToggles, apiregistration builder.APIRegistrar) *ServiceAPIBuilder
func (*ServiceAPIBuilder) GetAPIGroupInfo ¶
func (b *ServiceAPIBuilder) GetAPIGroupInfo( scheme *runtime.Scheme, codecs serializer.CodecFactory, optsGetter generic.RESTOptionsGetter, _ grafanarest.DualWriterMode, ) (*genericapiserver.APIGroupInfo, error)
func (*ServiceAPIBuilder) GetAPIRoutes ¶
func (b *ServiceAPIBuilder) GetAPIRoutes() *builder.APIRoutes
Register additional routes with the server
func (*ServiceAPIBuilder) GetAuthorizer ¶
func (b *ServiceAPIBuilder) GetAuthorizer() authorizer.Authorizer
func (*ServiceAPIBuilder) GetDesiredDualWriterMode ¶
func (b *ServiceAPIBuilder) GetDesiredDualWriterMode(dualWrite bool, modeMap map[string]grafanarest.DualWriterMode) grafanarest.DualWriterMode
func (*ServiceAPIBuilder) GetGroupVersion ¶
func (b *ServiceAPIBuilder) GetGroupVersion() schema.GroupVersion
func (*ServiceAPIBuilder) GetOpenAPIDefinitions ¶
func (b *ServiceAPIBuilder) GetOpenAPIDefinitions() common.GetOpenAPIDefinitions
func (*ServiceAPIBuilder) InstallSchema ¶
func (b *ServiceAPIBuilder) InstallSchema(scheme *runtime.Scheme) error
Click to show internal directories.
Click to hide internal directories.