services

package
v0.0.0-...-c28cba7 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrServicesCreateName retrieves an error message when name argument is not found.
	ErrServicesCreateName = errors.New(`The command requires the "name" argument`)

	// ErrServicesCreate retrieves an error message when client api fails.
	ErrServicesCreate = "Unable to create service"
)
View Source
var (
	// ErrServicesRemoveName retrieves an error message when name argument is not found.
	ErrServicesRemoveName = errors.New(`The command requires at least one argument`)

	// ErrServicesRemoveStatus retrieves an error message when one of deletions failed.
	ErrServicesRemoveStatus = errors.New(`One of deletions failed`)

	// ErrServicesRemove retrieves an error message when client api fails.
	ErrServicesRemove = "Unable to remove service"
)
View Source
var (
	// ErrServicesUpdateID retrieves an error message when id argument is not found.
	ErrServicesUpdateID = errors.New(`The command requires the "id" or "name" argument`)

	// ErrServicesUpdate retrieves an error message when client api fails.
	ErrServicesUpdate = "Unable to update service"
)
View Source
var (

	// ErrServicesList retrieves an error message when client api fails.
	ErrServicesList = "Unable to retrieve services"
)

Functions

func Create

func Create(c *cli.Context) error

Create creates a new service

func List

func List(c *cli.Context) error

List retrieves a list of registred services

func Remove

func Remove(c *cli.Context) error

Remove deletes registred service by ID or Name

func Update

func Update(c *cli.Context) error

Update creates a new service

Types

This section is empty.

Jump to

Keyboard shortcuts

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