Documentation ¶
Index ¶
Constants ¶
View Source
const (
BuFileName = "bundle.yml"
)
Variables ¶
View Source
var BuFile string
Functions ¶
func Initialize ¶
func IsBundleInitialized ¶
func WritePluginsToBundleFtp ¶
func WritePluginsToBundleFtp(conn *ftp.ServerConn, plugins map[string]string) error
Types ¶
type BundleFile ¶
func GetBundle ¶
func GetBundle(path string) (*BundleFile, error)
func GetBundleFtp ¶
func GetBundleFtp(conn *ftp.ServerConn) (BundleFile, error)
type PluginYml ¶
type PluginYml struct { Name string `yaml:"name"` Version string `yaml:"version"` Description string `yaml:"description,omitempty"` Category int32 `yaml:"category,omitempty"` Conflicts []string `yaml:"conflicts,omitempty"` }
func GetPluginYml ¶
func GetPluginYml(pluginName string, conn *ftp.ServerConn) (PluginYml, error)
Click to show internal directories.
Click to hide internal directories.