cli

package
v0.9.12 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthCommand

func AuthCommand(c *cli.Context) error

AuthCommand logs into the PodOps service and validates the token

func BuildCommand

func BuildCommand(c *cli.Context) error

BuildCommand starts a new build of the feed

func CreateCommand

func CreateCommand(c *cli.Context) error

CreateCommand creates a resource from a file, directory or URL

func DeleteResourcesCommand added in v0.9.10

func DeleteResourcesCommand(c *cli.Context) error

DeleteResourcesCommand deletes a resource

func GetResourcesCommand added in v0.9.10

func GetResourcesCommand(c *cli.Context) error

GetResourcesCommand list all resource associated with a show

func ListProductionsCommand added in v0.9.10

func ListProductionsCommand(c *cli.Context) error

ListProductionsCommand retrieves all productions or sets the default production

func LoadResource added in v0.9.10

func LoadResource(data []byte) (interface{}, string, string, error)

LoadResource takes a byte array and determines its kind before unmarshalling it into its struct form

func LoadResourceMetadata added in v0.9.10

func LoadResourceMetadata(data []byte) (*podops.ResourceMetadata, error)

LoadResourceMetadata reads only the metadata of a resource

func LoginCommand added in v0.9.10

func LoginCommand(c *cli.Context) error

LoginCommand logs into the service

func LogoutCommand

func LogoutCommand(c *cli.Context) error

LogoutCommand clears all session information

func NewProductionCommand

func NewProductionCommand(c *cli.Context) error

NewProductionCommand creates a new podcast

func NoOpCommand

func NoOpCommand(c *cli.Context) error

NoOpCommand is just a placeholder

func SetProductionCommand

func SetProductionCommand(c *cli.Context) error

SetProductionCommand retrieves all productions or sets the default production

func TemplateCommand

func TemplateCommand(c *cli.Context) error

TemplateCommand creates a resource template with all default values

func UpdateCommand

func UpdateCommand(c *cli.Context) error

UpdateCommand updates a resource from a file, directory or URL

func UploadCommand added in v0.9.10

func UploadCommand(c *cli.Context) error

UploadCommand uploads an asset from a file

Types

type ResourceLoaderFunc

type ResourceLoaderFunc func(data []byte) (interface{}, string, error)

ResourceLoaderFunc implements loading of resources

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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