Files
odo/pkg/application/application.go
Philippe Martin b20103c9f3 Separate layers - Application + Project (#5293)
* 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
2022-01-05 16:08:40 +01:00

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
}