func unsetFrontend(etcd *store.Etcd, identifier string) error { if err := etcd.DeleteDir(fmt.Sprintf("%s/frontends/%s", vulcandKeyBase, identifier), true); err != nil { return err } return nil }
func unsetServer(etcd *store.Etcd, projectName string) error { key := fmt.Sprintf("%s/backends/%s/servers", vulcandKeyBase, projectName) if err := etcd.DeleteDir(key, true); err != nil { return err } return nil }