Documentation
¶
Index ¶
- Constants
- func AuthCommand(c *cli.Context) error
- func BuildCommand(c *cli.Context) error
- func CreateCommand(c *cli.Context) error
- func Hack(c *cli.Context) error
- func ListProductionCommand(c *cli.Context) error
- func LogoutCommand(c *cli.Context) error
- func NewProductionCommand(c *cli.Context) error
- func NoOpCommand(c *cli.Context) error
- func PrintError(c *cli.Context, err error)
- func SetProductionCommand(c *cli.Context) error
- func TemplateCommand(c *cli.Context) error
- func UpdateCommand(c *cli.Context) error
- type ResourceLoaderFunc
Constants ¶
View Source
const ( // BasicCmdGroup groups basic commands BasicCmdGroup = "\nBasic Commands" // SettingsCmdGroup groups settings SettingsCmdGroup = "\nSettings Commands" // ShowCmdGroup groups basic show commands ShowCmdGroup = "\nContent Creation Commands" // ShowMgmtCmdGroup groups advanced show commands ShowMgmtCmdGroup = "\nContent Management Commands" )
Variables ¶
This section is empty.
Functions ¶
func AuthCommand ¶
AuthCommand logs into the PodOps service and validates the token
func BuildCommand ¶
BuildCommand starts a new build of the feed
func CreateCommand ¶
CreateCommand creates a resource from a file, directory or URL
func ListProductionCommand ¶
ListProductionCommand requests a new show
func LogoutCommand ¶
LogoutCommand clears all session information
func NewProductionCommand ¶
NewProductionCommand requests a new show
func PrintError ¶
PrintError formats a CLI error and prints it
func SetProductionCommand ¶
SetProductionCommand lists the current show/production, switch to another show/production
func TemplateCommand ¶
TemplateCommand creates a resource template with all default values
func UpdateCommand ¶
UpdateCommand updates a resource from a file, directory or URL
Types ¶
type ResourceLoaderFunc ¶
ResourceLoaderFunc implements loading of resources
Click to show internal directories.
Click to hide internal directories.