package
Version:
v6.36.2+incompatible
Opens a new window with list of versions in this module.
Published: May 16, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package v2v3action contains business logic that involves both v2action
and v3action
-
type Actor
-
func (actor Actor) CloudControllerV3APIVersion() string
-
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)
-
type V2Actor
-
type V3Actor
-
type Warnings
Actor handles all business logic for Cloud Controller v2 and v3 operations.
NewActor returns a new actor.
func (actor Actor) CloudControllerV3APIVersion() string
CloudControllerV3APIVersion returns back the V3 Cloud Controller API version.
func (actor Actor) UnshareServiceInstanceFromOrganizationNameAndSpaceNameByNameAndSpace(sharedToOrgName string, sharedToSpaceName string, serviceInstanceName string, currentlyTargetedSpaceGUID string) (Warnings, error)
type V2Actor interface {
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)
}
Warnings is a list of warnings returned back from the cloud controller
Source Files
¶
Directories
¶
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
Click to show internal directories.
Click to hide internal directories.