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 ¶
- func DeleteCert(cert core.CertBundle) error
- func DeleteRoute(route core.Route) error
- func DeleteServer(svcId, srvId string) error
- func DeleteService(svcId string) error
- func DeleteVip(vip core.Vip) error
- func GetCerts() ([]core.CertBundle, error)
- func GetRoutes() ([]core.Route, error)
- func GetServer(svcId, srvId string) (*core.Server, error)
- func GetService(id string) (*core.Service, error)
- func GetServices() ([]core.Service, error)
- func GetVips() ([]core.Vip, error)
- func SetCert(cert core.CertBundle) error
- func SetCerts(certs []core.CertBundle) error
- func SetRoute(route core.Route) error
- func SetRoutes(routes []core.Route) error
- func SetServer(svcId string, server *core.Server) error
- func SetServers(svcId string, servers []core.Server) error
- func SetService(service *core.Service) error
- func SetServices(services []core.Service) error
- func SetVip(vip core.Vip) error
- func SetVips(vips []core.Vip) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteCert ¶
func DeleteCert(cert core.CertBundle) error
func DeleteRoute ¶
func DeleteServer ¶
func DeleteService ¶
func GetCerts ¶
func GetCerts() ([]core.CertBundle, error)
func GetServices ¶
func SetCert ¶
func SetCert(cert core.CertBundle) error
func SetCerts ¶
func SetCerts(certs []core.CertBundle) error
func SetService ¶
func SetServices ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.