Documentation
¶
Index ¶
- func AddWebContent(con *repl.Console, localFile, webPath, webPipe, typ string) (*clientpb.WebContent, error)
- func AddWebContentCmd(cmd *cobra.Command, con *repl.Console) error
- func Commands(con *repl.Console) []*cobra.Command
- func ListWebContentCmd(cmd *cobra.Command, con *repl.Console) error
- func ListWebsitesCmd(cmd *cobra.Command, con *repl.Console) error
- func NewWebsite(con *repl.Console, websiteName, root, host string, port uint32, ...) error
- func NewWebsiteCmd(cmd *cobra.Command, con *repl.Console) error
- func Register(con *repl.Console)
- func RemoveWebContent(con *repl.Console, contentId string) (bool, error)
- func RemoveWebContentCmd(cmd *cobra.Command, con *repl.Console) error
- func StartWebsite(con *repl.Console, websiteName, certName string) error
- func StartWebsitePipelineCmd(cmd *cobra.Command, con *repl.Console) error
- func StopWebsite(con *repl.Console, name string) error
- func StopWebsitePipelineCmd(cmd *cobra.Command, con *repl.Console) error
- func UpdateWebContent(con *repl.Console, contentId, localFile, webPipe, typ string) (*clientpb.WebContent, error)
- func UpdateWebContentCmd(cmd *cobra.Command, con *repl.Console) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddWebContent ¶ added in v0.1.0
func AddWebContentCmd ¶ added in v0.1.0
AddWebContentCmd - 添加网站内容
func ListWebContentCmd ¶ added in v0.1.0
ListWebContentCmd - 列出网站内容
func ListWebsitesCmd ¶ added in v0.1.0
func NewWebsite ¶ added in v0.1.0
func NewWebsite(con *repl.Console, websiteName, root, host string, port uint32, listenerId, certName string, tls *clientpb.TLS) error
NewWebsite
func NewWebsiteCmd ¶ added in v0.1.0
NewWebsiteCmd - 创建新的网站
func RemoveWebContent ¶ added in v0.1.0
func RemoveWebContentCmd ¶ added in v0.1.0
RemoveWebContentCmd - 删除网站内容
func StartWebsite ¶ added in v0.1.0
func StartWebsitePipelineCmd ¶ added in v0.1.0
StartWebsitePipelineCmd
func StopWebsite ¶ added in v0.1.0
StopWebsite
func StopWebsitePipelineCmd ¶ added in v0.1.0
func UpdateWebContent ¶ added in v0.1.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.