mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
* Application interface * Application describe * Application list * Fix --output/-o flag * Test Run() * Tests on application pkg * Unit tests on kclient relative to application * comment * Add ComponentList method to Application * Project interface * Project CLI tests * Dharmit review
13 lines
368 B
Go
13 lines
368 B
Go
package application
|
|
|
|
import "github.com/redhat-developer/odo/pkg/component"
|
|
|
|
type Client interface {
|
|
List() ([]string, error)
|
|
Exists(app string) (bool, error)
|
|
Delete(name string) error
|
|
ComponentList(name string) ([]component.Component, error)
|
|
GetMachineReadableFormat(appName string, projectName string) App
|
|
GetMachineReadableFormatForList(apps []App) AppList
|
|
}
|