Documentation
¶
Index ¶
- func LegacyUpdateCommandToUnstructured(cmd playlistsvc.UpdatePlaylistCommand) unstructured.Unstructured
- func UnstructuredToLegacyPlaylist(item unstructured.Unstructured) *playlistsvc.Playlist
- func UnstructuredToLegacyPlaylistDTO(item unstructured.Unstructured) *playlistsvc.PlaylistDTO
- type PlaylistAPIBuilder
- func (b *PlaylistAPIBuilder) GetAPIGroupInfo(scheme *runtime.Scheme, codecs serializer.CodecFactory, ...) (*genericapiserver.APIGroupInfo, error)
- func (b *PlaylistAPIBuilder) GetAPIRoutes() *builder.APIRoutes
- func (b *PlaylistAPIBuilder) GetAuthorizer() authorizer.Authorizer
- func (b *PlaylistAPIBuilder) GetDesiredDualWriterMode(dualWrite bool, modeMap map[string]grafanarest.DualWriterMode) grafanarest.DualWriterMode
- func (b *PlaylistAPIBuilder) GetGroupVersion() schema.GroupVersion
- func (b *PlaylistAPIBuilder) GetOpenAPIDefinitions() common.GetOpenAPIDefinitions
- func (b *PlaylistAPIBuilder) InstallSchema(scheme *runtime.Scheme) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LegacyUpdateCommandToUnstructured ¶
func LegacyUpdateCommandToUnstructured(cmd playlistsvc.UpdatePlaylistCommand) unstructured.Unstructured
func UnstructuredToLegacyPlaylist ¶
func UnstructuredToLegacyPlaylist(item unstructured.Unstructured) *playlistsvc.Playlist
func UnstructuredToLegacyPlaylistDTO ¶
func UnstructuredToLegacyPlaylistDTO(item unstructured.Unstructured) *playlistsvc.PlaylistDTO
Types ¶
type PlaylistAPIBuilder ¶
type PlaylistAPIBuilder struct {
// contains filtered or unexported fields
}
This is used just so wire has something unique to return
func RegisterAPIService ¶
func RegisterAPIService(p playlistsvc.Service, apiregistration builder.APIRegistrar, cfg *setting.Cfg, kvStore kvstore.KVStore, ) *PlaylistAPIBuilder
func (*PlaylistAPIBuilder) GetAPIGroupInfo ¶
func (b *PlaylistAPIBuilder) GetAPIGroupInfo( scheme *runtime.Scheme, codecs serializer.CodecFactory, optsGetter generic.RESTOptionsGetter, desiredMode grafanarest.DualWriterMode, ) (*genericapiserver.APIGroupInfo, error)
func (*PlaylistAPIBuilder) GetAPIRoutes ¶
func (b *PlaylistAPIBuilder) GetAPIRoutes() *builder.APIRoutes
func (*PlaylistAPIBuilder) GetAuthorizer ¶
func (b *PlaylistAPIBuilder) GetAuthorizer() authorizer.Authorizer
func (*PlaylistAPIBuilder) GetDesiredDualWriterMode ¶
func (b *PlaylistAPIBuilder) GetDesiredDualWriterMode(dualWrite bool, modeMap map[string]grafanarest.DualWriterMode) grafanarest.DualWriterMode
func (*PlaylistAPIBuilder) GetGroupVersion ¶
func (b *PlaylistAPIBuilder) GetGroupVersion() schema.GroupVersion
func (*PlaylistAPIBuilder) GetOpenAPIDefinitions ¶
func (b *PlaylistAPIBuilder) GetOpenAPIDefinitions() common.GetOpenAPIDefinitions
func (*PlaylistAPIBuilder) InstallSchema ¶
func (b *PlaylistAPIBuilder) InstallSchema(scheme *runtime.Scheme) error
Click to show internal directories.
Click to hide internal directories.