forked from cloudfoundry/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
v3_actor.go
15 lines (12 loc) · 822 Bytes
/
v3_actor.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package cfnetworkingaction
import "code.cloudfoundry.org/cli/actor/v3action"
//go:generate counterfeiter . V3Actor
type V3Actor interface {
GetApplicationByNameAndSpace(appName string, spaceGUID string) (v3action.Application, v3action.Warnings, error)
GetApplicationsBySpace(spaceGUID string) ([]v3action.Application, v3action.Warnings, error)
GetOrganizationByName(name string) (v3action.Organization, v3action.Warnings, error)
GetSpaceByNameAndOrganization(spaceName string, orgGUID string) (v3action.Space, v3action.Warnings, error)
GetApplicationsByGUIDs(appGUIDs ...string) ([]v3action.Application, v3action.Warnings, error)
GetSpacesByGUIDs(spaceGUIDs ...string) ([]v3action.Space, v3action.Warnings, error)
GetOrganizationsByGUIDs(orgGUIDs ...string) ([]v3action.Organization, v3action.Warnings, error)
}