common

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2017 License: MPL-2.0 Imports: 7 Imported by: 2

Documentation

Overview

common contains all the logic to perform an action, as well as roll back other "systems" upon failure, effectively "undoing" the action.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteCert

func DeleteCert(cert core.CertBundle) error

func DeleteRoute

func DeleteRoute(route core.Route) error

func DeleteServer

func DeleteServer(svcId, srvId string) error

func DeleteService

func DeleteService(svcId string) error

func DeleteVip

func DeleteVip(vip core.Vip) error

func GetCerts

func GetCerts() ([]core.CertBundle, error)

func GetRoutes

func GetRoutes() ([]core.Route, error)

func GetServer

func GetServer(svcId, srvId string) (*core.Server, error)

func GetService

func GetService(id string) (*core.Service, error)

func GetServices

func GetServices() ([]core.Service, error)

func GetVips

func GetVips() ([]core.Vip, error)

func SetCert

func SetCert(cert core.CertBundle) error

func SetCerts

func SetCerts(certs []core.CertBundle) error

func SetRoute

func SetRoute(route core.Route) error

func SetRoutes

func SetRoutes(routes []core.Route) error

func SetServer

func SetServer(svcId string, server *core.Server) error

func SetServers

func SetServers(svcId string, servers []core.Server) error

func SetService

func SetService(service *core.Service) error

func SetServices

func SetServices(services []core.Service) error

func SetVip

func SetVip(vip core.Vip) error

func SetVips

func SetVips(vips []core.Vip) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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