website

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddWebContent added in v0.1.0

func AddWebContent(con *repl.Console, localFile, webPath, webPipe, typ string) (*clientpb.WebContent, error)

func AddWebContentCmd added in v0.1.0

func AddWebContentCmd(cmd *cobra.Command, con *repl.Console) error

AddWebContentCmd - 添加网站内容

func Commands

func Commands(con *repl.Console) []*cobra.Command

func ListWebContentCmd added in v0.1.0

func ListWebContentCmd(cmd *cobra.Command, con *repl.Console) error

ListWebContentCmd - 列出网站内容

func ListWebsitesCmd added in v0.1.0

func ListWebsitesCmd(cmd *cobra.Command, con *repl.Console) error

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

func NewWebsiteCmd(cmd *cobra.Command, con *repl.Console) error

NewWebsiteCmd - 创建新的网站

func Register added in v0.1.0

func Register(con *repl.Console)

func RemoveWebContent added in v0.1.0

func RemoveWebContent(con *repl.Console, contentId string) (bool, error)

func RemoveWebContentCmd added in v0.1.0

func RemoveWebContentCmd(cmd *cobra.Command, con *repl.Console) error

RemoveWebContentCmd - 删除网站内容

func StartWebsite added in v0.1.0

func StartWebsite(con *repl.Console, websiteName, certName string) error

func StartWebsitePipelineCmd added in v0.1.0

func StartWebsitePipelineCmd(cmd *cobra.Command, con *repl.Console) error

StartWebsitePipelineCmd

func StopWebsite added in v0.1.0

func StopWebsite(con *repl.Console, name string) error

StopWebsite

func StopWebsitePipelineCmd added in v0.1.0

func StopWebsitePipelineCmd(cmd *cobra.Command, con *repl.Console) error

func UpdateWebContent added in v0.1.0

func UpdateWebContent(con *repl.Console, contentId, localFile, webPipe, typ string) (*clientpb.WebContent, error)

func UpdateWebContentCmd added in v0.1.0

func UpdateWebContentCmd(cmd *cobra.Command, con *repl.Console) error

UpdateWebContentCmd - 更新网站内容

Types

This section is empty.

Jump to

Keyboard shortcuts

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