definitions

package
v1.1.146 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2026 License: Apache-2.0 Imports: 0 Imported by: 7 modules, 8 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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"
	AttrExternalAppName              = "applicationName"
	AttrExternalAPISyncWarning       = "externalAPISyncWarning"
	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 ExternalAppData added in v1.1.133

type ExternalAppData struct {
	Key          string
	ResourceType string
}

type OrgEntitlements added in v1.1.135

type OrgEntitlements struct {
	Entitlements map[string]interface{} `json:"entitlements"`
}

OrgEntitlements contains only the entitlements map for an org. Values can be numbers, booleans, or arrays.

type OrgEntitlementsResponse added in v1.1.135

type OrgEntitlementsResponse struct {
	Success bool            `json:"success"`
	Result  OrgEntitlements `json:"result"`
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL