Documentation ¶
Index ¶
- Constants
- func NewHelloWorldPlugin() gitsync.Plugin
- func NewOpenDesignResourcesPlugins() gitsync.Plugin
- func NewOpenEulerCommunityPlugin() gitsync.Plugin
- func NewOpenEulerMirrorsPlugin() gitsync.Plugin
- func NewOpenEulerMoocStudioMetaPlugins() gitsync.Plugin
- func NewOpenGaussMoocStudioMetaPlugins() gitsync.Plugin
- func NewPlaygoundMetaPlugin() gitsync.Plugin
- type HelloWorldPlugin
- type OpenDesignResourcesPlugins
- type OpenEulerCommunityPlugin
- type OpenEulerMirrorsPlugin
- type OpenEulerMoocStudioMetaPlugins
- func (h *OpenEulerMoocStudioMetaPlugins) GetMeta() *gitsync.PluginMeta
- func (h *OpenEulerMoocStudioMetaPlugins) Load(files map[string][]string) error
- func (h *OpenEulerMoocStudioMetaPlugins) ReadTemplates(c *gin.Context)
- func (h *OpenEulerMoocStudioMetaPlugins) RegisterEndpoints(group *gin.RouterGroup)
- type OpenGaussMoocStudioMetaPlugins
- func (h *OpenGaussMoocStudioMetaPlugins) GetMeta() *gitsync.PluginMeta
- func (h *OpenGaussMoocStudioMetaPlugins) Load(files map[string][]string) error
- func (h *OpenGaussMoocStudioMetaPlugins) ReadTemplates(c *gin.Context)
- func (h *OpenGaussMoocStudioMetaPlugins) RegisterEndpoints(group *gin.RouterGroup)
- type PlaygoundMetaPlugins
- func (h *PlaygoundMetaPlugins) GetMeta() *gitsync.PluginMeta
- func (h *PlaygoundMetaPlugins) Load(files map[string][]string) error
- func (h *PlaygoundMetaPlugins) ReadImages(c *gin.Context)
- func (h *PlaygoundMetaPlugins) ReadTemplates(c *gin.Context)
- func (h *PlaygoundMetaPlugins) RegisterEndpoints(group *gin.RouterGroup)
Constants ¶
View Source
const CommunityRepo = "https://gitee.com/openeuler/community"
View Source
const Dockerfiles = "Dockerfiles"
View Source
const InfrastructureRepo = "https://gitee.com/openeuler/infrastructure"
View Source
const OpenDesignResources = "https://gitee.com/openeuler/opendesign-resources"
View Source
const OpenEulerMoocStudioCourses = "https://github.com/opensourceways/playground-courses"
View Source
const OpenGaussMoocStudioCourses = "https://gitee.com/opengauss/playground-course"
View Source
const PlaygroundCourses = "https://github.com/opensourceways/playground-courses"
View Source
const PlaygroundImages = "https://github.com/opensourceways/playground-images"
View Source
const RepoFile = "README.md"
View Source
const RepoName = "https://github.com/TommyLike/SampleApp"
Variables ¶
This section is empty.
Functions ¶
func NewHelloWorldPlugin ¶
func NewPlaygoundMetaPlugin ¶
Types ¶
type HelloWorldPlugin ¶
func (*HelloWorldPlugin) GetMeta ¶
func (h *HelloWorldPlugin) GetMeta() *gitsync.PluginMeta
func (*HelloWorldPlugin) ReadmeContent ¶
func (h *HelloWorldPlugin) ReadmeContent(c *gin.Context)
func (*HelloWorldPlugin) RegisterEndpoints ¶
func (h *HelloWorldPlugin) RegisterEndpoints(group *gin.RouterGroup)
type OpenDesignResourcesPlugins ¶
type OpenDesignResourcesPlugins struct { Images atomic.Value Templates atomic.Value Group *gin.RouterGroup }
func (*OpenDesignResourcesPlugins) GetMeta ¶
func (h *OpenDesignResourcesPlugins) GetMeta() *gitsync.PluginMeta
func (*OpenDesignResourcesPlugins) Load ¶
func (h *OpenDesignResourcesPlugins) Load(files map[string][]string) error
func (*OpenDesignResourcesPlugins) RegisterEndpoints ¶
func (h *OpenDesignResourcesPlugins) RegisterEndpoints(group *gin.RouterGroup)
type OpenEulerCommunityPlugin ¶
func (*OpenEulerCommunityPlugin) GetMeta ¶
func (h *OpenEulerCommunityPlugin) GetMeta() *gitsync.PluginMeta
func (*OpenEulerCommunityPlugin) Load ¶
func (h *OpenEulerCommunityPlugin) Load(files map[string][]string) error
func (*OpenEulerCommunityPlugin) ReadSigsYaml ¶
func (h *OpenEulerCommunityPlugin) ReadSigsYaml(c *gin.Context)
func (*OpenEulerCommunityPlugin) RegisterEndpoints ¶
func (h *OpenEulerCommunityPlugin) RegisterEndpoints(group *gin.RouterGroup)
type OpenEulerMirrorsPlugin ¶
func (*OpenEulerMirrorsPlugin) GetMeta ¶
func (h *OpenEulerMirrorsPlugin) GetMeta() *gitsync.PluginMeta
func (*OpenEulerMirrorsPlugin) Load ¶
func (h *OpenEulerMirrorsPlugin) Load(files map[string][]string) error
func (*OpenEulerMirrorsPlugin) ReadMirrorYamls ¶
func (h *OpenEulerMirrorsPlugin) ReadMirrorYamls(c *gin.Context)
func (*OpenEulerMirrorsPlugin) RegisterEndpoints ¶
func (h *OpenEulerMirrorsPlugin) RegisterEndpoints(group *gin.RouterGroup)
type OpenEulerMoocStudioMetaPlugins ¶
type OpenEulerMoocStudioMetaPlugins struct { Images atomic.Value Templates atomic.Value Group *gin.RouterGroup }
func (*OpenEulerMoocStudioMetaPlugins) GetMeta ¶
func (h *OpenEulerMoocStudioMetaPlugins) GetMeta() *gitsync.PluginMeta
func (*OpenEulerMoocStudioMetaPlugins) Load ¶
func (h *OpenEulerMoocStudioMetaPlugins) Load(files map[string][]string) error
func (*OpenEulerMoocStudioMetaPlugins) ReadTemplates ¶
func (h *OpenEulerMoocStudioMetaPlugins) ReadTemplates(c *gin.Context)
func (*OpenEulerMoocStudioMetaPlugins) RegisterEndpoints ¶
func (h *OpenEulerMoocStudioMetaPlugins) RegisterEndpoints(group *gin.RouterGroup)
type OpenGaussMoocStudioMetaPlugins ¶
type OpenGaussMoocStudioMetaPlugins struct { Images atomic.Value Templates atomic.Value Group *gin.RouterGroup }
func (*OpenGaussMoocStudioMetaPlugins) GetMeta ¶
func (h *OpenGaussMoocStudioMetaPlugins) GetMeta() *gitsync.PluginMeta
func (*OpenGaussMoocStudioMetaPlugins) Load ¶
func (h *OpenGaussMoocStudioMetaPlugins) Load(files map[string][]string) error
func (*OpenGaussMoocStudioMetaPlugins) ReadTemplates ¶
func (h *OpenGaussMoocStudioMetaPlugins) ReadTemplates(c *gin.Context)
func (*OpenGaussMoocStudioMetaPlugins) RegisterEndpoints ¶
func (h *OpenGaussMoocStudioMetaPlugins) RegisterEndpoints(group *gin.RouterGroup)
type PlaygoundMetaPlugins ¶
type PlaygoundMetaPlugins struct { Images atomic.Value Templates atomic.Value Group *gin.RouterGroup }
func (*PlaygoundMetaPlugins) GetMeta ¶
func (h *PlaygoundMetaPlugins) GetMeta() *gitsync.PluginMeta
func (*PlaygoundMetaPlugins) Load ¶
func (h *PlaygoundMetaPlugins) Load(files map[string][]string) error
func (*PlaygoundMetaPlugins) ReadImages ¶
func (h *PlaygoundMetaPlugins) ReadImages(c *gin.Context)
func (*PlaygoundMetaPlugins) ReadTemplates ¶
func (h *PlaygoundMetaPlugins) ReadTemplates(c *gin.Context)
func (*PlaygoundMetaPlugins) RegisterEndpoints ¶
func (h *PlaygoundMetaPlugins) RegisterEndpoints(group *gin.RouterGroup)
Click to show internal directories.
Click to hide internal directories.