package
0.23.1
Repository: https://github.com/grafana/grafana-app-sdk.git
Documentation: pkg.go.dev

# Functions

GetBackendPluginSecurePackageFiles returns go files for the `secure` package in the backend plugin, as a map of <filename> (without "secure" in path) => contents.
ToPackageName sanitizes an input into a deterministic allowed go package name.
No description provided by the author
WriteBackendPluginHandler executes the Backend Plugin Handler template, and writes out the generated go code to out.
WriteBackendPluginMain executes the Backend Plugin Main template, and writes out the generated go code to out.
WriteBackendPluginRouter executes the Backend Plugin Router template, and writes out the generated go code to out.
WriteCodec executes the Generic Resource Codec template, and writes out the generated go code to out.
WriteLineageGo executes the lineage go template, and writes out the generated go code to out.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WriteResourceObject executes the Resource Object template, and writes out the generated go code to out.
No description provided by the author
WriteSchema executes the Resource Schema template, and writes out the generated go code to out.
WriteThemaCodec executes the Thema-specific Codec template, and writes out the generated go code to out.
No description provided by the author
WriteWrappedType executes the wrappedtype go template, and writes out the generated go code to out.

# Variables

GoTypeInt is a CustomMetadataFieldGoType for "int" go types.
GoTypeString is a CustomMetadataFieldGoType for "string" go types.
GoTypeTime is a CustomMetadataFieldGoType for "time.Time" go types.

# Structs

No description provided by the author
No description provided by the author
BackendPluginHandlerTemplateMetadata is the metadata required by the Backend Plugin Handler template.
BackendPluginRouterTemplateMetadata is the metadata required by the Backend Plugin Router template.
CustomMetadataFieldGoType is a struct that contains information and codegen functions for a Go type which needs setters and getters in a resource.Object implementation TODO: do we need the approach to be this generic/is there a less-confusing way to implement this?.
LineageMetadata is the metadata required by the lineage go code template.
No description provided by the author
No description provided by the author
No description provided by the author
ResourceObjectTemplateMetadata is the metadata required by the Resource Object template.
No description provided by the author
SchemaMetadata is the metadata required by the Resource Schema template.
No description provided by the author
SubresourceMetadata is subresource information used in templates.
No description provided by the author
WrappedTypeMetadata is the metadata required by the wrappedtype go code template.