plugin_models

package
v6.46.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2019 License: Apache-2.0 Imports: 1 Imported by: 279

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetAppModel

type GetAppModel struct {
	Guid                 string
	Name                 string
	BuildpackUrl         string
	Command              string
	DetectedStartCommand string
	DiskQuota            int64 // in Megabytes
	EnvironmentVars      map[string]interface{}
	InstanceCount        int
	Memory               int64 // in Megabytes
	RunningInstances     int
	HealthCheckTimeout   int
	State                string
	SpaceGuid            string
	PackageUpdatedAt     *time.Time
	PackageState         string
	StagingFailedReason  string
	Stack                *GetApp_Stack
	Instances            []GetApp_AppInstanceFields
	Routes               []GetApp_RouteSummary
	Services             []GetApp_ServiceSummary
}

type GetApp_AppInstanceFields

type GetApp_AppInstanceFields struct {
	State     string
	Details   string
	Since     time.Time
	CpuUsage  float64 // percentage
	DiskQuota int64   // in bytes
	DiskUsage int64
	MemQuota  int64
	MemUsage  int64
}

type GetApp_DomainFields

type GetApp_DomainFields struct {
	Guid string
	Name string
}

type GetApp_RouteSummary

type GetApp_RouteSummary struct {
	Guid   string
	Host   string
	Domain GetApp_DomainFields
	Path   string
	Port   int
}

type GetApp_ServiceSummary

type GetApp_ServiceSummary struct {
	Guid string
	Name string
}

type GetApp_Stack

type GetApp_Stack struct {
	Guid        string
	Name        string
	Description string
}

type GetAppsDomainFields

type GetAppsDomainFields struct {
	Guid                   string
	Name                   string
	OwningOrganizationGuid string
	Shared                 bool
}

type GetAppsModel

type GetAppsModel struct {
	Name             string
	Guid             string
	State            string
	TotalInstances   int
	RunningInstances int
	Memory           int64
	DiskQuota        int64
	Routes           []GetAppsRouteSummary
}

type GetAppsRouteSummary

type GetAppsRouteSummary struct {
	Guid   string
	Host   string
	Domain GetAppsDomainFields
}

type GetOauthToken_Model

type GetOauthToken_Model struct {
	Token string
}

type GetOrgUsers_Model

type GetOrgUsers_Model struct {
	Guid     string
	Username string
	IsAdmin  bool
	Roles    []string
}

type GetOrg_Domains

type GetOrg_Domains struct {
	Guid                   string
	Name                   string
	OwningOrganizationGuid string
	Shared                 bool
}

type GetOrg_Model

type GetOrg_Model struct {
	Guid            string
	Name            string
	QuotaDefinition QuotaFields
	Spaces          []GetOrg_Space
	Domains         []GetOrg_Domains
	SpaceQuotas     []GetOrg_SpaceQuota
}

type GetOrg_Space

type GetOrg_Space struct {
	Guid string
	Name string
}

type GetOrg_SpaceQuota

type GetOrg_SpaceQuota struct {
	Guid                    string
	Name                    string
	MemoryLimit             int64
	InstanceMemoryLimit     int64
	RoutesLimit             int
	ServicesLimit           int
	NonBasicServicesAllowed bool
}

type GetOrgs_Model

type GetOrgs_Model struct {
	Guid string
	Name string
}

type GetService_LastOperation

type GetService_LastOperation struct {
	Type        string
	State       string
	Description string
	CreatedAt   string
	UpdatedAt   string
}

type GetService_Model

type GetService_Model struct {
	Guid            string
	Name            string
	DashboardUrl    string
	IsUserProvided  bool
	ServiceOffering GetService_ServiceFields
	ServicePlan     GetService_ServicePlan
	LastOperation   GetService_LastOperation
}

type GetService_ServiceFields

type GetService_ServiceFields struct {
	Name             string
	DocumentationUrl string
}

type GetService_ServicePlan

type GetService_ServicePlan struct {
	Name string
	Guid string
}

type GetServices_LastOperation

type GetServices_LastOperation struct {
	Type  string
	State string
}

type GetServices_Model

type GetServices_Model struct {
	Guid             string
	Name             string
	ServicePlan      GetServices_ServicePlan
	Service          GetServices_ServiceFields
	LastOperation    GetServices_LastOperation
	ApplicationNames []string
	IsUserProvided   bool
}

type GetServices_ServiceFields

type GetServices_ServiceFields struct {
	Name string
}

type GetServices_ServicePlan

type GetServices_ServicePlan struct {
	Guid string
	Name string
}

type GetSpaceUsers_Model

type GetSpaceUsers_Model struct {
	Guid     string
	Username string
	IsAdmin  bool
	Roles    []string
}

type GetSpace_Apps

type GetSpace_Apps struct {
	Name string
	Guid string
}

type GetSpace_AppsDomainFields

type GetSpace_AppsDomainFields struct {
	Guid                   string
	Name                   string
	OwningOrganizationGuid string
	Shared                 bool
}

type GetSpace_Domains

type GetSpace_Domains struct {
	Guid                   string
	Name                   string
	OwningOrganizationGuid string
	Shared                 bool
}

type GetSpace_Model

type GetSpace_Model struct {
	GetSpaces_Model
	Organization     GetSpace_Orgs
	Applications     []GetSpace_Apps
	ServiceInstances []GetSpace_ServiceInstance
	Domains          []GetSpace_Domains
	SecurityGroups   []GetSpace_SecurityGroup
	SpaceQuota       GetSpace_SpaceQuota
}

type GetSpace_Orgs

type GetSpace_Orgs struct {
	Guid string
	Name string
}

type GetSpace_SecurityGroup

type GetSpace_SecurityGroup struct {
	Name  string
	Guid  string
	Rules []map[string]interface{}
}

type GetSpace_ServiceInstance

type GetSpace_ServiceInstance struct {
	Guid string
	Name string
}

type GetSpace_SpaceQuota

type GetSpace_SpaceQuota struct {
	Guid                    string
	Name                    string
	MemoryLimit             int64
	InstanceMemoryLimit     int64
	RoutesLimit             int
	ServicesLimit           int
	NonBasicServicesAllowed bool
}

type GetSpaces_Model

type GetSpaces_Model struct {
	Guid string
	Name string
}

type Organization

type Organization struct {
	OrganizationFields
}

type OrganizationFields

type OrganizationFields struct {
	Guid            string
	Name            string
	QuotaDefinition QuotaFields
}

type QuotaFields

type QuotaFields struct {
	Guid                    string
	Name                    string
	MemoryLimit             int64
	InstanceMemoryLimit     int64
	RoutesLimit             int
	ServicesLimit           int
	NonBasicServicesAllowed bool
}

type Space

type Space struct {
	SpaceFields
}

type SpaceFields

type SpaceFields struct {
	Guid string
	Name string
}

Jump to

Keyboard shortcuts

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