definitions

package
v1.1.46 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: Apache-2.0 Imports: 2 Imported by: 6

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

Jump to

Keyboard shortcuts

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