Skip to content
This repository has been archived by the owner on Jul 16, 2020. It is now read-only.

Commit

Permalink
Networking: Rename docker_database.go to database.go
Browse files Browse the repository at this point in the history
The database implementation is now generic and works with
any table. Hence rename docker_database.go to database.go

Signed-off-by: Manohar Castelino <[email protected]>
  • Loading branch information
mcastelino committed Oct 17, 2016
1 parent 740707c commit fc0f78b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ type DbTable interface {
Add(k string, v interface{}) error
}

// A TableDBProvider represents a persistent data base provider
// A TableDBProvider represents a persistent database provider
// that can be used to store map, arrays or any other type of
// tables into a database
type TableDBProvider interface {
//Initializes the Database
DbInit(dir string, file string) error
//Populates the DockerPlugin cache from the database
//Populates the in-memory table from the database
DbTableRebuild(table DbTable) error
//Closes the database
DbClose() error
Expand Down

0 comments on commit fc0f78b

Please sign in to comment.