mirror of
https://github.com/kubevela/kubevela.git
synced 2026-03-06 11:41:41 +00:00
16 lines
389 B
Go
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
|
|
}
|