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) 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 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) WriteApplicationManifest ¶
func (Actor) WriteApplicationManifest(manifestApp manifest.Application, manifestPath string) error
type ManifestV2Actor ¶
type ManifestV3Actor ¶
type V2Actor ¶
type V2Actor interface { ManifestV2Actor 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 GetOrganizationByName(orgName string) (v3action.Organization, v3action.Warnings, error) CloudControllerAPIVersion() string }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.