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