Files
kubevela/pkg/appfile/api/driver.go
Jianbo Sun 97f45ae859 code refactor (#935)
* code refactor

* update boilerplate.go.txt
2021-01-26 10:26:41 +08:00

16 lines
389 B
Go

package api
// Driver is mutli implement interface
type Driver interface {
// List applications
List(envName string) ([]*Application, error)
// Save application
Save(app *Application, envName string) error
// Delete application
Delete(envName, appName string) error
// Get application
Get(envName, appName string) (*Application, error)
// Name of storage driver
Name() string
}