services

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All() (services []*service.Service, err error)

All returns all deployed services

func Delete

func Delete(hash string) (err error)

Delete a service based on its hash

func Get

func Get(hash string) (service service.Service, err error)

Get a service based on it's hash

func Save

func Save(service *service.Service) (hash string, err error)

Save a service in the database and return the hash or the error if something wrong happened

Types

This section is empty.

Jump to

Keyboard shortcuts

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