forked from cloudfoundry/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
v2_actor.go
16 lines (13 loc) · 889 Bytes
/
v2_actor.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package v2v3action
import "code.cloudfoundry.org/cli/actor/v2action"
//go:generate counterfeiter . V2Actor
type V2Actor interface {
ManifestV2Actor
GetApplicationInstancesWithStatsByApplication(guid string) ([]v2action.ApplicationInstanceWithStats, v2action.Warnings, error)
GetApplicationRoutes(appGUID string) (v2action.Routes, v2action.Warnings, error)
GetFeatureFlags() ([]v2action.FeatureFlag, v2action.Warnings, error)
GetService(serviceGUID string) (v2action.Service, v2action.Warnings, error)
GetServiceInstanceByNameAndSpace(serviceInstanceName string, spaceGUID string) (v2action.ServiceInstance, v2action.Warnings, error)
GetServiceInstanceSharedTosByServiceInstance(serviceInstanceGUID string) ([]v2action.ServiceInstanceSharedTo, v2action.Warnings, error)
GetSpaceByOrganizationAndName(orgGUID string, spaceName string) (v2action.Space, v2action.Warnings, error)
}