Documentation ¶
Index ¶
Constants ¶
View Source
const ( XAgentDetails = "x-agent-details" AttrPreviousAPIServiceRevisionID = "prevAPIServiceRevisionID" AttrPreviousAPIServiceInstanceID = "prevAPIServiceInstanceID" AttrExternalAPIID = "externalAPIID" AttrExternalAPIPrimaryKey = "externalAPIPrimaryKey" AttrExternalAPIName = "externalAPIName" AttrExternalAPIStage = "externalAPIStage" AttrCreatedBy = "createdBy" AttrSpecHash = "specHash" Spec = "spec" MarketplaceSubResource = "marketplace" ReferencesSubResource = "references" Subscription = "Subscription" MarketplaceMigration = "marketplace-migration" InstanceMigration = "instance-migration" )
Constants for attributes
View Source
const (
MigrationCompleted = "completed"
)
market place provisioning migration
Variables ¶
This section is empty.
Functions ¶
func GetSubscriptionNameFromAccessRequest ¶
func GetSubscriptionNameFromAccessRequest(ar *management.AccessRequest) string
GetSubscriptionNameFromAccessRequest - Returns the subscription name from access request references
Types ¶
type PlatformTeam ¶
type PlatformTeam struct { ID string `json:"guid"` Name string `json:"name"` Default bool `json:"default"` }
PlatformTeam - represents team from Central Client registry
type PlatformUserInfo ¶
type PlatformUserInfo struct { Success bool `json:"success"` Result struct { ID string `json:"_id"` GUID string `json:"guid"` UserID int64 `json:"user_id"` Firstname string `json:"firstname"` Lastname string `json:"lastname"` Active bool `json:"active"` Email string `json:"email"` } `json:"result"` }
PlatformUserInfo - Represents user resource from platform
Click to show internal directories.
Click to hide internal directories.