Documentation ¶
Overview ¶
Package v2v3action contains business logic that involves both v2action and v3action
Index ¶
- type Actor
- func (actor Actor) CloudControllerV3APIVersion() string
- func (actor *Actor) CreateApplicationManifestByNameAndSpace(appName string, appSpace string) (manifest.Application, Warnings, error)
- func (actor Actor) GetApplicationSummaryByNameAndSpace(appName string, spaceGUID string, withObfuscatedValues bool) (ApplicationSummary, Warnings, error)
- func (actor Actor) ShareServiceInstanceToSpaceNameByNameAndSpaceAndOrganization(shareToSpaceName string, serviceInstanceName string, sourceSpaceGUID string, ...) (Warnings, error)
- func (actor Actor) ShareServiceInstanceToSpaceNameByNameAndSpaceAndOrganizationName(shareToSpaceName string, serviceInstanceName string, sourceSpaceGUID string, ...) (Warnings, error)
- func (actor Actor) UnshareServiceInstanceFromOrganizationNameAndSpaceNameByNameAndSpace(sharedToOrgName string, sharedToSpaceName string, serviceInstanceName string, ...) (Warnings, error)
- func (Actor) WriteApplicationManifest(manifestApp manifest.Application, manifestPath string) error
- type ApplicationSummary
- type ManifestV2Actor
- type ManifestV3Actor
- type V2Actor
- type V3Actor
- type Warnings
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Actor ¶
Actor handles all business logic for Cloud Controller v2 and v3 operations.
func (Actor) CloudControllerV3APIVersion ¶
CloudControllerV3APIVersion returns back the V3 Cloud Controller API version.
func (*Actor) CreateApplicationManifestByNameAndSpace ¶
func (Actor) GetApplicationSummaryByNameAndSpace ¶
func (Actor) WriteApplicationManifest ¶
func (Actor) WriteApplicationManifest(manifestApp manifest.Application, manifestPath string) error
type ApplicationSummary ¶
type ApplicationSummary struct { v3action.ApplicationSummary Routes v2action.Routes ApplicationInstanceWithStats []v2action.ApplicationInstanceWithStats }
func (ApplicationSummary) GetIsolationSegmentName ¶
func (summary ApplicationSummary) GetIsolationSegmentName() (string, bool)
type ManifestV2Actor ¶
type ManifestV3Actor ¶
type 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) GetSpaceByOrganizationAndName(orgGUID string, spaceName string) (v2action.Space, v2action.Warnings, error) }
type V3Actor ¶
type V3Actor interface { ManifestV3Actor GetApplicationSummaryByNameAndSpace(appName string, spaceGUID string, withObfuscatedValues bool) (v3action.ApplicationSummary, v3action.Warnings, error) GetOrganizationByName(orgName string) (v3action.Organization, v3action.Warnings, error) CloudControllerAPIVersion() string }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.