Documentation
¶
Index ¶
Constants ¶
View Source
const ( XAgentDetails = "x-agent-details" XSubResourceHashes = "x-subresource-hashes" AttrPreviousAPIServiceRevisionID = "prevAPIServiceRevisionID" AttrPreviousAPIServiceInstanceID = "prevAPIServiceInstanceID" AttrExternalAPIID = "externalAPIID" AttrExternalAPIPrimaryKey = "externalAPIPrimaryKey" AttrExternalAPIName = "externalAPIName" AttrExternalAPIStage = "externalAPIStage" AttrExternalAPIVersion = "externalAPIVersion" AttrExternalAppID = "applicationID" AttrCreatedBy = "createdBy" AttrSpecHash = "specHash" Spec = "spec" MarketplaceSubResource = "marketplace" ReferencesSubResource = "references" Subscription = "Subscription" MarketplaceMigration = "marketplace-migration" InstanceMigration = "instance-migration" ComplianceAgentTrigger = "triggerProcessing" TriggerTeamUpdate = "triggerTeamUpdate" )
Constants for attributes
View Source
const (
MigrationCompleted = "completed"
)
market place provisioning migration
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntitlementEntry ¶ added in v1.1.122
type EntitlementEntry struct {
Key string `json:"key"`
Value interface{} `json:"value"`
}
type EntitlementProduct ¶ added in v1.1.122
type EntitlementProduct struct {
ID string `json:"id"`
Product string `json:"product"`
Plan string `json:"plan"`
Tier string `json:"tier"`
Governance string `json:"governance"`
StartDate string `json:"start_date"`
EndDate string `json:"end_date"`
Source string `json:"source,omitempty"`
Entitlements []EntitlementEntry `json:"entitlements"`
Expired bool `json:"expired"`
ProductName string `json:"product_name"`
}
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
type SessionEntitlements ¶ added in v1.1.122
type SessionEntitlements struct {
Success bool `json:"success"`
Result []EntitlementProduct `json:"result"`
}
SessionEntitlements represents the root structure of the session.json which is a list of product entitlements for an org/user session.
Click to show internal directories.
Click to hide internal directories.