Documentation ¶
Index ¶
- type AccessREST
- func (r *AccessREST) Connect(ctx context.Context, name string, opts runtime.Object, ...) (http.Handler, error)
- func (r *AccessREST) ConnectMethods() []string
- func (r *AccessREST) Destroy()
- func (r *AccessREST) New() runtime.Object
- func (r *AccessREST) NewConnectOptions() (runtime.Object, bool, string)
- func (r *AccessREST) ProducesMIMETypes(verb string) []string
- func (r *AccessREST) ProducesObject(verb string) interface{}
- type DashboardsAPIBuilder
- func (b *DashboardsAPIBuilder) GetAPIGroupInfo(scheme *runtime.Scheme, codecs serializer.CodecFactory, ...) (*genericapiserver.APIGroupInfo, error)
- func (b *DashboardsAPIBuilder) GetAPIRoutes() *builder.APIRoutes
- func (b *DashboardsAPIBuilder) GetAuthorizer() authorizer.Authorizer
- func (b *DashboardsAPIBuilder) GetDesiredDualWriterMode(dualWrite bool, modeMap map[string]grafanarest.DualWriterMode) grafanarest.DualWriterMode
- func (b *DashboardsAPIBuilder) GetGroupVersion() schema.GroupVersion
- func (b *DashboardsAPIBuilder) GetOpenAPIDefinitions() common.GetOpenAPIDefinitions
- func (b *DashboardsAPIBuilder) InstallSchema(scheme *runtime.Scheme) error
- func (b *DashboardsAPIBuilder) PostProcessOpenAPI(oas *spec3.OpenAPI) (*spec3.OpenAPI, error)
- type VersionsREST
- func (r *VersionsREST) Connect(ctx context.Context, uid string, opts runtime.Object, responder rest.Responder) (http.Handler, error)
- func (r *VersionsREST) ConnectMethods() []string
- func (r *VersionsREST) Destroy()
- func (r *VersionsREST) New() runtime.Object
- func (r *VersionsREST) NewConnectOptions() (runtime.Object, bool, string)
- func (r *VersionsREST) ProducesMIMETypes(verb string) []string
- func (r *VersionsREST) ProducesObject(verb string) interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessREST ¶
type AccessREST struct {
// contains filtered or unexported fields
}
func (*AccessREST) ConnectMethods ¶
func (r *AccessREST) ConnectMethods() []string
func (*AccessREST) Destroy ¶
func (r *AccessREST) Destroy()
func (*AccessREST) New ¶
func (r *AccessREST) New() runtime.Object
func (*AccessREST) NewConnectOptions ¶
func (r *AccessREST) NewConnectOptions() (runtime.Object, bool, string)
func (*AccessREST) ProducesMIMETypes ¶
func (r *AccessREST) ProducesMIMETypes(verb string) []string
func (*AccessREST) ProducesObject ¶
func (r *AccessREST) ProducesObject(verb string) interface{}
type DashboardsAPIBuilder ¶
type DashboardsAPIBuilder struct {
// contains filtered or unexported fields
}
This is used just so wire has something unique to return
func RegisterAPIService ¶
func RegisterAPIService(cfg *setting.Cfg, features featuremgmt.FeatureToggles, apiregistration builder.APIRegistrar, dashboardService dashboards.DashboardService, dashboardVersionService dashver.Service, accessControl accesscontrol.AccessControl, provisioning provisioning.ProvisioningService, dashStore dashboards.Store, sql db.DB, ) *DashboardsAPIBuilder
func (*DashboardsAPIBuilder) GetAPIGroupInfo ¶
func (b *DashboardsAPIBuilder) GetAPIGroupInfo( scheme *runtime.Scheme, codecs serializer.CodecFactory, optsGetter generic.RESTOptionsGetter, desiredMode grafanarest.DualWriterMode, ) (*genericapiserver.APIGroupInfo, error)
func (*DashboardsAPIBuilder) GetAPIRoutes ¶
func (b *DashboardsAPIBuilder) GetAPIRoutes() *builder.APIRoutes
func (*DashboardsAPIBuilder) GetAuthorizer ¶
func (b *DashboardsAPIBuilder) GetAuthorizer() authorizer.Authorizer
func (*DashboardsAPIBuilder) GetDesiredDualWriterMode ¶
func (b *DashboardsAPIBuilder) GetDesiredDualWriterMode(dualWrite bool, modeMap map[string]grafanarest.DualWriterMode) grafanarest.DualWriterMode
func (*DashboardsAPIBuilder) GetGroupVersion ¶
func (b *DashboardsAPIBuilder) GetGroupVersion() schema.GroupVersion
func (*DashboardsAPIBuilder) GetOpenAPIDefinitions ¶
func (b *DashboardsAPIBuilder) GetOpenAPIDefinitions() common.GetOpenAPIDefinitions
func (*DashboardsAPIBuilder) InstallSchema ¶
func (b *DashboardsAPIBuilder) InstallSchema(scheme *runtime.Scheme) error
func (*DashboardsAPIBuilder) PostProcessOpenAPI ¶
type VersionsREST ¶
type VersionsREST struct {
// contains filtered or unexported fields
}
func (*VersionsREST) ConnectMethods ¶
func (r *VersionsREST) ConnectMethods() []string
func (*VersionsREST) Destroy ¶
func (r *VersionsREST) Destroy()
func (*VersionsREST) New ¶
func (r *VersionsREST) New() runtime.Object
func (*VersionsREST) NewConnectOptions ¶
func (r *VersionsREST) NewConnectOptions() (runtime.Object, bool, string)
func (*VersionsREST) ProducesMIMETypes ¶
func (r *VersionsREST) ProducesMIMETypes(verb string) []string
func (*VersionsREST) ProducesObject ¶
func (r *VersionsREST) ProducesObject(verb string) interface{}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.