Documentation ¶
Index ¶
- func DefaultH(c *gin.Context) gin.H
- func GetProviderResources(provider string) []string
- func GetTemplates() *template.Template
- func GetTemplatesDir() string
- func HomeGet(c *gin.Context)
- func LoadTemplates(p []*types.Provider)
- func ProviderEnabled(s string) bool
- func StringIn(s string, arr []string) bool
- func StyleClass(s resource.Status) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetProviderResources ¶
GetProviderResources returns the resource names supported by the provider
func LoadTemplates ¶
LoadTemplates loads templates from views directory
func ProviderEnabled ¶
ProviderEnabled returns whether a provider is enabled or not
func StyleClass ¶
StyleClass : The css class to represent the state with
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.