plugins

package
v0.0.0-...-ae73b0a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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 NewHelloWorldPlugin() gitsync.Plugin

func NewOpenDesignResourcesPlugins

func NewOpenDesignResourcesPlugins() gitsync.Plugin

func NewOpenEulerCommunityPlugin

func NewOpenEulerCommunityPlugin() gitsync.Plugin

func NewOpenEulerMirrorsPlugin

func NewOpenEulerMirrorsPlugin() gitsync.Plugin

func NewOpenEulerMoocStudioMetaPlugins

func NewOpenEulerMoocStudioMetaPlugins() gitsync.Plugin

func NewOpenGaussMoocStudioMetaPlugins

func NewOpenGaussMoocStudioMetaPlugins() gitsync.Plugin

func NewPlaygoundMetaPlugin

func NewPlaygoundMetaPlugin() gitsync.Plugin

Types

type HelloWorldPlugin

type HelloWorldPlugin struct {
	Content atomic.Value
}

func (*HelloWorldPlugin) GetMeta

func (h *HelloWorldPlugin) GetMeta() *gitsync.PluginMeta

func (*HelloWorldPlugin) Load

func (h *HelloWorldPlugin) Load(files map[string][]string) error

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 (*OpenDesignResourcesPlugins) Load

func (h *OpenDesignResourcesPlugins) Load(files map[string][]string) error

func (*OpenDesignResourcesPlugins) RegisterEndpoints

func (h *OpenDesignResourcesPlugins) RegisterEndpoints(group *gin.RouterGroup)

type OpenEulerCommunityPlugin

type OpenEulerCommunityPlugin struct {
	Sigs atomic.Value
}

func (*OpenEulerCommunityPlugin) GetMeta

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

type OpenEulerMirrorsPlugin struct {
	Repos atomic.Value
}

func (*OpenEulerMirrorsPlugin) GetMeta

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 (*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 (*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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL