MCPcopy
hub / github.com/spacecloud-io/space-cloud / projects

Method projects

gateway/modules/modules.go:208–217  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

206}
207
208func (m *Modules) projects() *config.Config {
209 m.lock.RLock()
210 defer m.lock.RUnlock()
211
212 projects := make(config.Projects)
213 for id := range m.blocks {
214 projects[id] = &config.Project{ProjectConfig: &config.ProjectConfig{ID: id}}
215 }
216 return &config.Config{Projects: projects}
217}
218
219// Delete the project
220func (m *Modules) Delete(projectID string) {

Callers 1

newModuleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected