Versions in this module Expand all Collapse all v0 v0.1.15 Jun 19, 2019 v0.1.14 Jun 19, 2019 v0.1.13 Jun 17, 2019 Changes in this version type AgentRequest + func (self *AgentRequest) Equals(ar *AgentRequest) bool type AgentRequestList + func (self *AgentRequestList) Equals(al *AgentRequestList) bool v0.1.12 Jun 14, 2019 Changes in this version type AgentRequest + AgentEnvVar string + AppNameLiteral string type AppDBag + AgentLogOverride string + AgentUserOverride string + AppNameLiteral string + InstrumentationUpdated bool v0.1.11 Jun 12, 2019 Changes in this version + const ALL + const ALL_CONTAINERS + const DEPLOYMENT_TYPE_DEPLOYMENT + const DEPLOYMENT_TYPE_DS + const DEPLOYMENT_TYPE_RS + const DotNet + const FIELD_SEPARATOR + const FIRST_CONTAINER + const Java + const METRIC_PATH_APPS + const METRIC_PATH_CONT + const METRIC_PATH_EVENTS + const METRIC_PATH_INSTANCES + const METRIC_PATH_NAMESPACES + const METRIC_PATH_NODES + const METRIC_PATH_PORTS + const METRIC_PATH_RQSPEC + const METRIC_PATH_RQUSED + const METRIC_PATH_SERVICES + const METRIC_PATH_SERVICES_EP + const METRIC_SEPARATOR + const NodeJS + const REQUEST_SEPARATOR + const RootPath + const VERSION_LATEST + func CompareDaemonObjects(newDaemon *appsv1.DaemonSet, oldDaemon *appsv1.DaemonSet) bool + func CompareDeployObjects(newDeploy *appsv1.Deployment, oldDeploy *appsv1.Deployment) bool + func CompareNodeObjects(newNode *v1.Node, oldNode *v1.Node) bool + func CompareRsObjects(newRs *appsv1.ReplicaSet, oldRs *appsv1.ReplicaSet) bool + func GetEPStats(ep *v1.Endpoints) (int, int, bool) + func IsUpdatable(fieldName string) bool + func UpdateField(fieldName string, current *reflect.Value, updated *reflect.Value) + type AdqlSearch struct + ID int64 + Query string + SchemaDef AppDSchemaInterface + SchemaName string + SearchName string + type AgentRequest struct + AppDAppLabel string + AppDTierLabel string + AppName string + BiQ string + ContainerName string + MatchString []string + Method InstrumentationMethod + Namespaces []string + Tech TechnologyName + TierName string + Version string + func NewAgentRequest(appdAgentLabel string, appName string, tierName string, biq string, ...) AgentRequest + func RequestFromAnnotation(annotation string) AgentRequest + func (ar *AgentRequest) BiQRequested() bool + func (ar *AgentRequest) Clone() AgentRequest + func (ar *AgentRequest) EnvRequired() bool + func (ar *AgentRequest) GetAgentImageName(bag *AppDBag) string + func (ar *AgentRequest) InitContainerRequired() bool + func (ar *AgentRequest) IsBiQRemote() bool + func (ar *AgentRequest) String() string + func (ar *AgentRequest) ToAnnotation() string + func (ar *AgentRequest) Valid() bool + type AgentRequestList struct + Items []AgentRequest + func FromAnnotation(annotation string) *AgentRequestList + func NewAgentRequestList(appdAgentLabel string, appName string, tierName string, biq string, ...) AgentRequestList + func NewAgentRequestListFromArray(ar []AgentRequest, bag *AppDBag, containers []v1.Container) *AgentRequestList + func (al *AgentRequestList) ApplyInstrumentationMethod(m InstrumentationMethod) + func (al *AgentRequestList) BiQRequested() bool + func (al *AgentRequestList) EnvRequired() bool + func (al *AgentRequestList) GetBiQOption() string + func (al *AgentRequestList) GetContainerNames() *[]string + func (al *AgentRequestList) GetFirstRequest() *AgentRequest + func (al *AgentRequestList) GetRequest(cname string) *AgentRequest + func (al *AgentRequestList) InitContainerRequired() bool + func (al *AgentRequestList) String() string + func (al *AgentRequestList) ToAnnotation() string + type AgentRetryRequest struct + Pod *v1.Pod + Request *AgentRequest + type AgentStatus struct + AnalyticsAgentImage string + AppDDotNetAttachImage string + AppDJavaAttachImage string + BiqService string + DefaultInstrumentationTech TechnologyName + InstrumentMatchString []string + InstrumentationMethod InstrumentationMethod + LogLevel string + LogLines int + MetricsSyncInterval int + NSInstrumentRule []AgentRequest + NodesToMonitor []string + NodesToMonitorExclude []string + NsToInstrument []string + NsToInstrumentExclude []string + NsToMonitor []string + NsToMonitorExclude []string + SnapshotSyncInterval int + Version string + type AppDBag struct + AccessKey string + Account string + AgentEnvVar string + AgentLabel string + AgentMountName string + AgentMountPath string + AgentNamespace string + AgentSSLCert string + AgentServerPort int + AnalyticsAgentContainerName string + AnalyticsAgentImage string + AnalyticsAgentUrl string + AppDAnalyticsLabel string + AppDAppLabel string + AppDDotNetAttachImage string + AppDInitContainerName string + AppDJavaAttachImage string + AppDNodeJSAttachImage string + AppDTierLabel string + AppID int + AppLogMountName string + AppLogMountPath string + AppName string + BiqRequestCpu string + BiqRequestMem string + BiqService string + ContainerSchemaName string + ControllerPort uint16 + ControllerUrl string + ControllerVer1 int + ControllerVer2 int + ControllerVer3 int + ControllerVer4 int + DaemonSchemaName string + DashboardDelayMin int + DashboardSuffix string + DashboardTemplatePath string + DefaultInstrumentationTech TechnologyName + DeploySchemaName string + DeploysToDashboard []string + EpSchemaName string + EventAPILimit int + EventKey string + EventSchemaName string + EventServiceUrl string + GlobalAccount string + InitContainerDir string + InitRequestCpu string + InitRequestMem string + InstrumentContainer string + InstrumentMatchString []string + InstrumentationMethod InstrumentationMethod + JDKMountName string + JDKMountPath string + JobSchemaName string + LogLevel string + LogLines int + LogSchemaName string + MetricsSyncInterval int + NSInstrumentRule []AgentRequest + NodeID int + NodeName string + NodeNamePrefix string + NodeSchemaName string + NodesToMonitor []string + NodesToMonitorExclude []string + NsSchemaName string + NsToInstrument []string + NsToInstrumentExclude []string + NsToMonitor []string + NsToMonitorExclude []string + OverconsumptionThreshold int + PodEventNumber int + PodSchemaName string + ProxyHost string + ProxyPass string + ProxyPort string + ProxyUrl string + ProxyUser string + RSSchemaName string + RemoteBiqHost string + RemoteBiqPort int + RemoteBiqProtocol string + RestAPICred string + RestAPIUrl string + RqSchemaName string + SSLEnabled bool + SchemaSkipCache []string + SchemaUpdateCache []string + SnapshotSyncInterval int + SystemSSLCert string + TierID int + TierName string + func GetDefaultProperties() *AppDBag + func (bag *AppDBag) CompareControllerVersions(ver1 int, ver2 int, ver3 int, ver4 int) int + func (bag *AppDBag) PrintControllerVersion() string + func (self *AppDBag) EnsureDefaults() + type AppDMetric struct + MetricAggregationType string + MetricAlias string + MetricClusterRollUpType appd.ClusterRollupType + MetricDelta bool + MetricMultiplier float64 + MetricName string + MetricPath string + MetricTimeRollUpType appd.RollupType + MetricValue int64 + func NewAppDMetric(name string, val int64, path string) AppDMetric + func (am AppDMetric) ToString() string + type AppDMetricInterface interface + GetPath func() string + ShouldExcludeField func(fieldName string) bool + Unwrap func() *map[string]interface{} + type AppDMetricList struct + Items []AppDMetric + func NewAppDMetricList() AppDMetricList + func (l AppDMetricList) AddMetrics(obj AppDMetric) []AppDMetric + type AppDMetricMetadata struct + Name string + ParentSchema string + Path string + Query string + func NewAppDMetricMetadata(name, schema, path, query string) AppDMetricMetadata + type AppDSchemaInterface interface + Unwrap func() *map[string]interface{} + type AttachStatus struct + Count int + Key string + LastAttempt time.Time + LastMessage string + Request *AgentRequest + RetryAssociation bool + Success bool + type BiQDeploymentOption string + const NoBiq + const Remote + const Sidecar + type ClusterAppMetrics struct + ConsumptionCpu int64 + ConsumptionMem int64 + ContainerCount int64 + Evictions int64 + InitContainerCount int64 + LimitCpu int64 + LimitMemory int64 + Metadata map[string]AppDMetricMetadata + MissingDependencies int64 + Namespace string + NoConnectivity int64 + NoLimits int64 + NoLivenessProbe int64 + NoReadinessProbe int64 + Path string + PendingTime int64 + PodCount int64 + PodFailed int64 + PodPending int64 + PodRestarts int64 + PodRunning int64 + Privileged int64 + QuotasSpec RQFields + QuotasUsed RQFields + RequestCpu int64 + RequestMemory int64 + Services []ClusterServiceMetrics + TierName string + UpTime int64 + UseCpu int64 + UseMemory int64 + func NewClusterAppMetrics(bag *AppDBag, podObject *PodSchema) ClusterAppMetrics + func NewClusterAppMetricsMetadata(bag *AppDBag, podObject *PodSchema) ClusterAppMetrics + func (cpm ClusterAppMetrics) GetPath() string + func (cpm ClusterAppMetrics) GetQuotaSpecMetrics() RQFields + func (cpm ClusterAppMetrics) GetQuotaUsedMetrics() RQFields + func (cpm ClusterAppMetrics) ShouldExcludeField(fieldName string) bool + func (cpm ClusterAppMetrics) Unwrap() *map[string]interface{} + type ClusterContainerMetrics struct + ContainerCount int64 + ContainerName string + LimitCpu int64 + LimitMemory int64 + Metadata map[string]AppDMetricMetadata + Namespace string + NoLimits int64 + NoLivenessProbe int64 + NoReadinessProbe int64 + Path string + PodStorageLimit int64 + PodStorageRequest int64 + RequestCpu int64 + RequestMemory int64 + Restarts int64 + StorageCapacity int64 + StorageRequest int64 + TierName string + func NewClusterContainerMetrics(bag *AppDBag, ns string, tierName string, containerName string) ClusterContainerMetrics + func NewClusterContainerMetricsMetadata(bag *AppDBag, ns string, tierName string, containerName string) ClusterContainerMetrics + func (cpm ClusterContainerMetrics) GetPath() string + func (cpm ClusterContainerMetrics) ShouldExcludeField(fieldName string) bool + func (cpm ClusterContainerMetrics) Unwrap() *map[string]interface{} + type ClusterDaemonMetrics struct + DaemonCollisionCount int64 + DaemonCount int64 + DaemonMissScheduled int64 + DaemonReplicasAvailable int64 + DaemonReplicasUnAvailable int64 + Namespace string + Path string + func NewClusterDaemonMetrics(bag *AppDBag, ns string) ClusterDaemonMetrics + func (cpm ClusterDaemonMetrics) GetPath() string + func (cpm ClusterDaemonMetrics) ShouldExcludeField(fieldName string) bool + func (cpm ClusterDaemonMetrics) Unwrap() *map[string]interface{} + type ClusterDeployMetrics struct + DeployCollisionCount int64 + DeployCount int64 + DeployReplicas int64 + DeployReplicasUnAvailable int64 + Namespace string + Path string + func NewClusterDeployMetrics(bag *AppDBag, ns string) ClusterDeployMetrics + func (cpm ClusterDeployMetrics) GetPath() string + func (cpm ClusterDeployMetrics) ShouldExcludeField(fieldName string) bool + func (cpm ClusterDeployMetrics) Unwrap() *map[string]interface{} + type ClusterEventMetrics struct + CrashLoops int64 + EventCount int64 + EventError int64 + EventInfo int64 + EvictionThreats int64 + ImagePullErrors int64 + ImagePulls int64 + Metadata map[string]AppDMetricMetadata + Namespace string + Path string + PodIssues int64 + PodKills int64 + QuotaViolations int64 + ScaleDowns int64 + StorageIssues int64 + TierName string + func NewClusterEventMetrics(bag *AppDBag, ns string, tierName string) ClusterEventMetrics + func NewClusterEventMetricsMetadata(bag *AppDBag, ns string, tierName string) ClusterEventMetrics + func (cpm ClusterEventMetrics) GetPath() string + func (cpm ClusterEventMetrics) ShouldExcludeField(fieldName string) bool + func (cpm ClusterEventMetrics) Unwrap() *map[string]interface{} + type ClusterInstanceMetrics struct + ContainerName string + Metadata map[string]AppDMetricMetadata + Namespace string + Path string + PodName string + PortMetrics []ClusterInstancePortMetrics + Restarts int64 + TierName string + UseCpu int64 + UseMemory int64 + func NewClusterInstanceMetrics(bag *AppDBag, podObject *PodSchema, containerName string) ClusterInstanceMetrics + func NewClusterInstanceMetricsMetadata(bag *AppDBag, podObject *PodSchema, containerName string) ClusterInstanceMetrics + func (cpm ClusterInstanceMetrics) GetPath() string + func (cpm ClusterInstanceMetrics) ShouldExcludeField(fieldName string) bool + func (cpm ClusterInstanceMetrics) Unwrap() *map[string]interface{} + type ClusterInstancePortMetrics struct + ContainerName string + Mapped int64 + Namespace string + Path string + PodName string + PortName string + Ready int64 + TierName string + func NewClusterInstancePortMetrics(bag *AppDBag, ns string, tierName string, containerName string, podName string, ...) ClusterInstancePortMetrics + func (cpm ClusterInstancePortMetrics) GetPath() string + func (cpm ClusterInstancePortMetrics) ShouldExcludeField(fieldName string) bool + func (cpm ClusterInstancePortMetrics) Unwrap() *map[string]interface{} + type ClusterJobMetrics struct + JobActiveCount int64 + JobCount int64 + JobDuration int64 + JobFailedCount int64 + JobSuccessCount int64 + Metadata map[string]AppDMetricMetadata + Namespace string + Path string + func NewClusterJobMetrics(bag *AppDBag, ns string, node string) ClusterJobMetrics + func NewClusterJobMetricsMetadata(bag *AppDBag, ns string, node string) ClusterJobMetrics + func (cpm ClusterJobMetrics) Unwrap() *map[string]interface{} + type ClusterNodeMetrics struct + AllocationsCpu int64 + AllocationsMemory int64 + CapacityCpu int64 + CapacityMemory int64 + CapacityPods int64 + DiskPressureNodes int64 + Masters int64 + MemoryPressureNodes int64 + Metadata map[string]AppDMetricMetadata + Nodename string + OutOfDiskNodes int64 + Path string + ReadyNodes int64 + TaintsTotal int64 + UseCpu int64 + UseMemory int64 + Workers int64 + func NewClusterNodeMetrics(bag *AppDBag, node string) ClusterNodeMetrics + func NewClusterNodeMetricsMetadata(bag *AppDBag, node string) ClusterNodeMetrics + func (cpm ClusterNodeMetrics) GetPath() string + func (cpm ClusterNodeMetrics) ShouldExcludeField(fieldName string) bool + func (cpm ClusterNodeMetrics) Unwrap() *map[string]interface{} + type ClusterPodMetrics struct + ConsumptionCpu int64 + ConsumptionMem int64 + ContainerCount int64 + EPNotReadyCount int64 + EPReadyCount int64 + EndpointCount int64 + Evictions int64 + ExtServiceCount int64 + InitContainerCount int64 + LimitCpu int64 + LimitMemory int64 + Metadata map[string]AppDMetricMetadata + MissingDependencies int64 + Namespace string + NamespaceCount int64 + NamespaceNoQuotas int64 + NoConnectivity int64 + NoLimits int64 + NoLivenessProbe int64 + NoReadinessProbe int64 + Nodename string + OrphanEndpoint int64 + Path string + PendingTime int64 + PodCount int64 + PodFailed int64 + PodPending int64 + PodRestarts int64 + PodRunning int64 + PodStorageLimit int64 + PodStorageRequest int64 + Privileged int64 + QuotasSpec RQFields + QuotasUsed RQFields + RequestCpu int64 + RequestMemory int64 + ServiceCount int64 + StorageCapacity int64 + StorageRequest int64 + UpTime int64 + UseCpu int64 + UseMemory int64 + func NewClusterPodMetrics(bag *AppDBag, ns string, node string) ClusterPodMetrics + func NewClusterPodMetricsMetadata(bag *AppDBag, ns string, node string) ClusterPodMetrics + func (cpm ClusterPodMetrics) GetPath() string + func (cpm ClusterPodMetrics) GetQuotaSpecMetrics() RQFields + func (cpm ClusterPodMetrics) GetQuotaUsedMetrics() RQFields + func (cpm ClusterPodMetrics) ShouldExcludeField(fieldName string) bool + func (cpm ClusterPodMetrics) Unwrap() *map[string]interface{} + type ClusterRsMetrics struct + Namespace string + Path string + RsCount int64 + RsReplicas int64 + RsReplicasAvailable int64 + RsReplicasUnAvailable int64 + RsStaleCount int64 + func NewClusterRsMetrics(bag *AppDBag, ns string) ClusterRsMetrics + func (cpm ClusterRsMetrics) GetPath() string + func (cpm ClusterRsMetrics) ShouldExcludeField(fieldName string) bool + func (cpm ClusterRsMetrics) Unwrap() *map[string]interface{} + type ClusterServiceEPMetrics struct + EndpointName string + EndpointsNotReady int64 + EndpointsReady int64 + Metadata map[string]AppDMetricMetadata + Namespace string + Path string + ServiceName string + TierName string + func NewClusterServiceEPMetrics(bag *AppDBag, ns string, tierName string, svcSchema *ServiceSchema, ...) ClusterServiceEPMetrics + func (cpm ClusterServiceEPMetrics) GetPath() string + func (cpm ClusterServiceEPMetrics) ShouldExcludeField(fieldName string) bool + func (cpm ClusterServiceEPMetrics) Unwrap() *map[string]interface{} + type ClusterServiceMetrics struct + Accessible int64 + Endpoints map[string]ClusterServiceEPMetrics + EndpointsTotal int64 + Metadata map[string]AppDMetricMetadata + Namespace string + Path string + ServiceName string + TierName string + func NewClusterServiceMetrics(bag *AppDBag, ns string, tierName string, svcSchema *ServiceSchema) ClusterServiceMetrics + func (cpm ClusterServiceMetrics) GetPath() string + func (cpm ClusterServiceMetrics) ShouldExcludeField(fieldName string) bool + func (cpm ClusterServiceMetrics) Unwrap() *map[string]interface{} + type ColorPalette struct + Colors []int + type ContainerObjList struct + Items []ContainerSchema + func NewContainerObjList() ContainerObjList + func (l ContainerObjList) AddItem(obj ContainerSchema) []ContainerSchema + func (l ContainerObjList) Clear() []ContainerSchema + type ContainerPort struct + Mapped bool + Name string + PortNumber int32 + Ready bool + type ContainerSchema struct + ClusterName string + ConsumptionCpu float64 + ConsumptionCpuString string + ConsumptionMem float64 + ConsumptionMemString string + ContainerPorts []ContainerPort + CpuLimit int64 + CpuRequest int64 + CpuUse int64 + ExitCode int32 + Image string + Index int8 + Init bool + LastTerminationTime *time.Time + LimitCpuString string + LimitMemString string + LimitsDefined bool + LiveProbes int + MemLimit int64 + MemRequest int64 + MemUse int64 + MissingConfigs string + MissingSecrets string + MissingServices string + Mounts string + Name string + Namespace string + NodeName string + PendingTime int64 + PodInitTime time.Time + PodName string + PodStorageLimit int64 + PodStorageRequest int64 + Ports string + Privileged int + ReadyProbes int + RequestCpuString string + RequestMemString string + Restarts int32 + StartTime *time.Time + StorageCapacity int64 + StorageRequest int64 + TermReason string + TerminationTime time.Time + WaitReason string + func NewContainerObj() ContainerSchema + func (p *ContainerSchema) HasMissingDependencies() bool + func (p *ContainerSchema) NoConnectivity() bool + func (p ContainerSchema) ToString() string + type ContainerSchemaDef struct + ClusterName string + ConsumptionCpu string + ConsumptionMem string + CpuLimit string + CpuRequest string + CpuUse string + Image string + Init string + LiveProbes string + MemLimit string + MemRequest string + MemUse string + MissingConfigs string + MissingSecrets string + MissingServices string + Mounts string + Name string + Namespace string + NodeName string + PodInitTime string + PodName string + PodStorageLimit string + PodStorageRequest string + Ports string + Privileged string + ReadyProbes string + Restarts string + StartTime string + StorageCapacity string + StorageRequest string + TermReason string + TerminationTime string + WaitReason string + func NewContainerSchemaDef() ContainerSchemaDef + func (sd ContainerSchemaDef) Unwrap() *map[string]interface{} + type ContainerSchemaDefWrapper struct + Schema ContainerSchemaDef + func NewContainerSchemaDefWrapper() ContainerSchemaDefWrapper + func (sd ContainerSchemaDefWrapper) Unwrap() *map[string]interface{} + type DaemonObjList struct + Items []DaemonSchema + func NewDaemonObjList() DaemonObjList + func (l DaemonObjList) AddItem(obj DaemonSchema) []DaemonSchema + func (l DaemonObjList) Clear() []DaemonSchema + type DaemonSchema struct + ClusterName string + CollisionCount int32 + CreationTimestamp time.Time + DeletionTimestamp time.Time + DesiredNumber int32 + MinReadySecs int32 + MissScheduled int32 + Name string + Namespace string + NumberScheduled int32 + ObjectUid string + ReplicasAvailable int32 + ReplicasReady int32 + ReplicasUnAvailable int32 + RevisionHistoryLimits int32 + UpdatedNumberScheduled int32 + func NewDaemonObj() DaemonSchema + func (ps *DaemonSchema) Equals(obj *DaemonSchema) bool + func (ps *DaemonSchema) GetDaemonKey() string + type DaemonSchemaDef struct + ClusterName string + CollisionCount string + CreationTimestamp string + DeletionTimestamp string + DesiredNumber string + MinReadySecs string + MissScheduled string + Name string + Namespace string + NumberScheduled string + ObjectUid string + ReplicasAvailable string + ReplicasReady string + ReplicasUnAvailable string + RevisionHistoryLimits string + UpdatedNumberScheduled string + func NewDaemonSchemaDef() DaemonSchemaDef + type DaemonSchemaDefWrapper struct + Schema DaemonSchemaDef + func NewDaemonSchemaDefWrapper() DaemonSchemaDefWrapper + func (sd DaemonSchemaDefWrapper) Unwrap() *map[string]interface{} + type Dashboard struct + BackgroundColor int + BuiltIn bool + CanvasType string + Color int + CreatedBy string + CreatedOn float64 + Description *string + Disabled bool + EndTime *int + Height float64 + ID float64 + LayoutType string + MinutesBeforeAnchorTime int + ModifiedBy string + ModifiedOn float64 + Name string + NameUnique bool + Properties *[]interface{} + RefreshInterval int + SecurityToken *string + SharingRevoked bool + StartTime *int + Template bool + TemplateEntityType string + Version float64 + WarRoom bool + Widgets []map[string]interface{} + Width float64 + type DashboardBag struct + AppID int + AppName string + ClusterAppID int + ClusterName string + ClusterNodeID int + ClusterTierID int + NSMap map[string]map[string][]HeatNode + Namespace string + NodeID int + Pods []PodSchema + TierID int + TierName string + Type DashboardType + func NewDashboardBagCluster() *DashboardBag + func NewDashboardBagTier(ns string, tierName string, pods []PodSchema) DashboardBag + func (db *DashboardBag) AddNode(hn *HeatNode) + func (db *DashboardBag) GetNodes() ([]HeatNode, int, int) + type DashboardType string + const Cluster + const Namespace + const Node + const Tier + type DataSeriesTemplate struct + AxisPosition *string + ColorPalette ColorPalette + MetricMatchCriteriaTemplate MetricMatchCriteriaTemplate + MetricType string + Name string + SeriesType string + ShowRawMetricName bool + type DeployObjList struct + Items []DeploySchema + func NewDeployObjList() DeployObjList + func (l DeployObjList) AddItem(obj DeploySchema) []DeploySchema + func (l DeployObjList) Clear() []DeploySchema + type DeploySchema struct + Annotations string + ClusterName string + CollisionCount int32 + CreationTimestamp time.Time + DeletionTimestamp time.Time + DeploymentType string + DesiredNumber int32 + Labels string + MaxSurge string + MaxUnavailable string + MinReadySecs int32 + MissScheduled int32 + Name string + Namespace string + NumberScheduled int32 + ObjectUid string + ProgressDeadlineSecs int32 + Replicas int32 + ReplicasAvailable int32 + ReplicasLabeled int32 + ReplicasReady int32 + ReplicasUnAvailable int32 + ReplicasUpdated int32 + RevisionHistoryLimits int32 + Strategy string + UpdatedNumberScheduled int32 + func NewDeployObj() DeploySchema + func (ps *DeploySchema) Equals(obj *DeploySchema) bool + func (ps *DeploySchema) GetDeployKey() string + type DeploySchemaDef struct + Annotations string + ClusterName string + CollisionCount string + CreationTimestamp string + DeletionTimestamp string + DeploymentType string + DesiredNumber string + Labels string + MaxSurge string + MaxUnavailable string + MinReadySecs string + MissScheduled string + Name string + Namespace string + NumberScheduled string + ObjectUid string + ProgressDeadlineSecs string + Replicas string + ReplicasAvailable string + ReplicasLabeled string + ReplicasReady string + ReplicasUnAvailable string + ReplicasUpdated string + RevisionHistoryLimits string + Strategy string + UpdatedNumberScheduled string + func NewDeploySchemaDef() DeploySchemaDef + func (sd DeploySchemaDef) Unwrap() *map[string]interface{} + type DeploySchemaDefWrapper struct + Schema DeploySchemaDef + func NewDeploySchemaDefWrapper() DeploySchemaDefWrapper + func (sd DeploySchemaDefWrapper) Unwrap() *map[string]interface{} + type EPAddress struct + Hostname string + IP string + Nodename *string + Ready bool + func NewServiceEndpointAddress(IP string, hostname string, nodename *string) EPAddress + type EpSchema struct + ClusterName string + IsOrphan bool + Name string + Namespace string + NotReadyIPs string + PodCount int + Pods string + Ports string + ReadyIPs string + func NewEpSchema(ep *v1.Endpoints) EpSchema + func (ep *EpSchema) MatchPod(podSchema *PodSchema) + type EpSchemaDef struct + ClusterName string + IsOrphan string + Name string + Namespace string + NotReadyIPs string + PodCount string + Pods string + Ports string + ReadyIPs string + func NewEpSchemaDef() EpSchemaDef + func (sd EpSchemaDef) Unwrap() *map[string]interface{} + type EpSchemaDefWrapper struct + Schema EpSchemaDef + func NewEpSchemaDefWrapper() EpSchemaDefWrapper + func (sd EpSchemaDefWrapper) Unwrap() *map[string]interface{} + type EventObjList struct + Items []EventSchema + func NewEventObjList() EventObjList + func (l EventObjList) AddItem(obj EventSchema) []EventSchema + func (l EventObjList) Clear() []EventSchema + type EventSchema struct + Category string + ClusterName string + Count int32 + CreationTimestamp time.Time + DeletionTimestamp time.Time + GenerateName string + Generation int64 + LastTimestamp time.Time + Message string + Name string + Namespace string + ObjectKind string + ObjectName string + ObjectNamespace string + ObjectResourceVersion string + ObjectUid string + OwnerReferences string + Reason string + ResourceVersion string + SelfLink string + SourceComponent string + SourceHost string + SubCategory string + Type string + func NewEventObj() EventSchema + func (p EventSchema) ToString() string + func (ps *EventSchema) Equals(obj *EventSchema) bool + type EventSchemaDef struct + Category string + ClusterName string + Count string + CreationTimestamp string + DeletionTimestamp string + GenerateName string + Generation string + LastTimestamp string + Message string + Name string + Namespace string + ObjectKind string + ObjectName string + ObjectNamespace string + ObjectResourceVersion string + ObjectUid string + OwnerReferences string + Reason string + ResourceVersion string + SelfLink string + SourceComponent string + SourceHost string + SubCategory string + Type string + func NewEventSchemaDef() EventSchemaDef + func (sd EventSchemaDef) Unwrap() *map[string]interface{} + type EventSchemaDefWrapper struct + Schema EventSchemaDef + func NewEventSchemaDefWrapper() EventSchemaDefWrapper + func (sd EventSchemaDefWrapper) Unwrap() *map[string]interface{} + type HeatNode struct + APM bool + AppID int + Containers map[string]Utilization + Events []string + Namespace string + NodeID int + Nodename string + Owner string + PendingTime int64 + Podname string + Restarts int32 + State string + TierID int + func NewHeatNode(podSchema PodSchema) HeatNode + func (hn *HeatNode) FormatPendingTime() string + func (hn *HeatNode) GetAPMID() (int, bool) + func (hn *HeatNode) GetContainerCount() int + func (hn *HeatNode) GetContainerStatsFormatted() string + func (hn *HeatNode) GetEventsFormatted() string + func (hn *HeatNode) IsOverconsuming() bool + type Ingress struct + Hostname string + IP string + type InstrumentationMethod string + const CopyAttach + const MountAttach + const MountEnv + const None + type JobObjList struct + Items []JobSchema + func NewJobObjList() JobObjList + func (l JobObjList) AddItem(obj JobSchema) []JobSchema + func (l JobObjList) Clear() []JobSchema + type JobSchema struct + Active int32 + ActiveDeadlineSeconds int64 + Annotations string + BackoffLimit int32 + ClusterName string + Completions int32 + Duration float64 + EndTime time.Time + Failed int32 + Labels string + Name string + Namespace string + Parallelism int32 + StartTime time.Time + Success int32 + func NewJobObj() JobSchema + func (p JobSchema) ToString() string + func (ps *JobSchema) Equals(obj *JobSchema) bool + type JobSchemaDef struct + Active string + ActiveDeadlineSeconds string + Annotations string + BackoffLimit string + ClusterName string + Completions string + Duration string + EndTime string + Failed string + Labels string + Name string + Namespace string + Parallelism string + StartTime string + Success string + func NewJobSchemaDef() JobSchemaDef + type JobSchemaDefWrapper struct + Schema JobSchemaDef + func NewJobSchemaDefWrapper() JobSchemaDefWrapper + func (sd JobSchemaDefWrapper) Unwrap() *map[string]interface{} + type LogObjList struct + Items []LogSchema + func NewLogObjList() LogObjList + func (l LogObjList) AddItem(obj LogSchema) []LogSchema + func (l LogObjList) Clear() []LogSchema + type LogSchema struct + BatchTimestamp int64 + ClusterName string + ContainerName string + Message string + Namespace string + PodName string + PodOwner string + Timestamp *time.Time + func NewLogObj() LogSchema + func (p LogSchema) ToString() string + func (ps *LogSchema) Equals(obj *LogSchema) bool + type LogSchemaDef struct + BatchTimestamp string + ClusterName string + ContainerName string + Message string + Namespace string + PodName string + PodOwner string + Timestamp string + func NewLogSchemaDef() LogSchemaDef + type LogSchemaDefWrapper struct + Schema LogSchemaDef + func NewLogSchemaDefWrapper() LogSchemaDefWrapper + type MetricExpression struct + DisplayName string + Expression2 MetricExpression2 + FunctionType string + InputMetricPath *string + InputMetricText bool + LiteralValue float64 + MetricExpressionType string + MetricPath string + Operator Operator + ScopeEntity ScopeEntity + type MetricExpression2 struct + DisplayName string + FunctionType string + InputMetricPath *string + InputMetricText bool + LiteralValue float64 + MetricExpressionType string + MetricPath string + Operator Operator + ScopeEntity ScopeEntity + type MetricExpressionTemplate struct + DisplayName string + Expression1 MetricExpression + Expression2 MetricExpression2 + FunctionType string + InputMetricPath *string + InputMetricText bool + MetricExpressionType string + MetricPath string + Operator Operator + ScopeEntity ScopeEntity + type MetricMatchCriteriaTemplate struct + ApplicationName string + BaselineName *string + EntityMatchCriteria *string + EvaluationScopeType *string + ExpressionString string + MaxResults int + MetricDisplayNameCustomFormat string + MetricDisplayNameStyle string + MetricExpressionTemplate map[string]interface{} + RollupMetricData bool + SortResultsAscending bool + UseActiveBaseline bool + type NodeMetricsObj struct + Kind string + Metadata struct{ ... } + Timestamp string + Usage struct{ ... } + Window string + func (mobj NodeMetricsObj) GetNodeUsage() UsageStats + type NodeMetricsObjList struct + Items []struct{ ... } + Kind string + func (m NodeMetricsObjList) PrintNodeList() map[string]UsageStats + type NodeObjList struct + Items []NodeSchema + func NewNodeObjList() NodeObjList + func (l NodeObjList) AddItem(obj NodeSchema) []NodeSchema + func (l NodeObjList) Clear() []NodeSchema + type NodeSchema struct + Addresses string + AttachedVolumes string + ClusterName string + CpuAllocations int64 + CpuCapacity int64 + CpuUse int64 + DiskPressure string + KubeletPort int32 + KubeletVersion string + Labels string + MachineID string + MemAllocations int64 + MemCapacity int64 + MemUse int64 + MemoryPressure string + NodeName string + OsArch string + OsName string + OutOfDisk string + Phase string + PodAllocations int64 + PodCIDR string + PodCapacity int64 + Ready string + Role string + RuntimeVersion string + Taints string + TaintsNumber int + VolumesInUse string + func NewNodeObj() NodeSchema + func (ps *NodeSchema) Equals(obj *NodeSchema) bool + func (ps *NodeSchema) GetNodeKey() string + type NodeSchemaDef struct + Addresses string + AttachedVolumes string + ClusterName string + CpuAllocations string + CpuCapacity string + CpuUse string + DiskPressure string + KubeletPort string + KubeletVersion string + Labels string + MachineID string + MemAllocations string + MemCapacity string + MemUse string + MemoryPressure string + NodeName string + OsArch string + OsName string + OutOfDisk string + Phase string + PodAllocations string + PodCIDR string + PodCapacity string + Ready string + Role string + RuntimeVersion string + Taints string + VolumesInUse string + func NewNodeSchemaDef() NodeSchemaDef + func (sd NodeSchemaDef) Unwrap() *map[string]interface{} + type NodeSchemaDefWrapper struct + Schema NodeSchemaDef + func NewNodeSchemaDefWrapper() NodeSchemaDefWrapper + func (sd NodeSchemaDefWrapper) Unwrap() *map[string]interface{} + type NsSchema struct + ClusterName string + Name string + Quotas int + Status string + func NewNsSchema(ns *v1.Namespace, bag *AppDBag) NsSchema + type NsSchemaDef struct + ClusterName string + Name string + Quotas string + Status string + func NewNsSchemaDef() NsSchemaDef + func (sd NsSchemaDef) Unwrap() *map[string]interface{} + type NsSchemaDefWrapper struct + Schema NsSchemaDef + func NewNsSchemaDefWrapper() NsSchemaDefWrapper + func (sd NsSchemaDefWrapper) Unwrap() *map[string]interface{} + type Operator struct + Type string + type PodMetricsObj struct + Containers []struct{ ... } + Kind string + Metadata struct{ ... } + Timestamp string + Window string + func (mobj PodMetricsObj) GetContainerUsage(containerName string) UsageStats + func (mobj PodMetricsObj) GetPodUsage() UsageStats + type PodMetricsObjList struct + Items []struct{ ... } + Kind string + func (m PodMetricsObjList) PrintPodList() map[string]UsageStats + type PodObjList struct + Items []PodSchema + func NewPodObjList() PodObjList + func (l PodObjList) AddItem(obj PodSchema) []PodSchema + func (l PodObjList) Clear() []PodSchema + type PodSchema struct + APMNodeName string + Annotations string + AppID int + AppName string + BreakPointMillis int64 + ClusterName string + ConsumptionCpu float64 + ConsumptionMem float64 + ContainerCount int + Containers map[string]ContainerSchema + CpuLimit int64 + CpuRequest int64 + CpuUse int64 + Endpoints []v1.Endpoints + HostIP string + Images string + InitContainerCount int + InitContainers map[string]ContainerSchema + IsEvicted bool + Labels string + LastTransitionTimeCondition *time.Time + LimitsDefined bool + LiveProbes int + MemLimit int64 + MemRequest int64 + MemUse int64 + MissingDependencies bool + Name string + Namespace string + NoConnectivity bool + NodeAffinityPreferred string + NodeAffinityRequired string + NodeID int + NodeName string + NumPrivileged int + Owner string + PendingTime int64 + Phase string + PodAffinityPreferred string + PodAffinityRequired string + PodAntiAffinityPreferred string + PodAntiAffinityRequired string + PodIP string + PodRestarts int32 + PodStorageLimit int64 + PodStorageRequest int64 + Ports string + Priority int32 + ReadyProbes int + Reason string + ReasonCondition string + RestartPolicy string + RunningStartTime *time.Time + RunningStartTimeMillis int64 + ServiceAccountName string + Services []ServiceSchema + StartTime time.Time + StartTimeMillis int64 + StatusCondition string + StorageCapacity int64 + StorageRequest int64 + TermReasons string + TerminationGracePeriodSeconds int64 + TerminationTime *time.Time + TerminationTimeMillis int64 + TierID int + TierName string + Tolerations string + TypeCondition string + UpTimeMillis int64 + WaitReasons string + func NewPodObj() PodSchema + func (p PodSchema) GetState() string + func (p PodSchema) ToString() string + func (ps *PodSchema) Equals(obj *PodSchema) bool + type PodSchemaDef struct + Annotations string + ClusterName string + ContainerCount string + CpuLimit string + CpuRequest string + CpuUse string + HostIP string + Images string + InitContainerCount string + Labels string + LastTransitionTimeCondition string + LimitsDefined string + LiveProbes string + MemLimit string + MemRequest string + MemUse string + Name string + Namespace string + NodeAffinityPreferred string + NodeAffinityRequired string + NodeName string + NumPrivileged string + Phase string + PodAffinityPreferred string + PodAffinityRequired string + PodAntiAffinityPreferred string + PodAntiAffinityRequired string + PodIP string + PodRestarts string + PodStorageLimit string + PodStorageRequest string + Ports string + Priority string + ReadyProbes string + Reason string + ReasonCondition string + RestartPolicy string + RunningStartTime string + ServiceAccountName string + StartTime string + StatusCondition string + StorageCapacity string + StorageRequest string + TermReasons string + TerminationGracePeriodSeconds string + TerminationTime string + Tolerations string + TypeCondition string + WaitReasons string + func NewPodSchemaDef() PodSchemaDef + func (sd PodSchemaDef) Unwrap() *map[string]interface{} + type PodSchemaDefWrapper struct + Schema PodSchemaDef + func NewPodSchemaDefWrapper() PodSchemaDefWrapper + func (sd PodSchemaDefWrapper) Unwrap() *map[string]interface{} + type RQFields struct + LimitCpu int64 + LimitMemory int64 + Metadata map[string]AppDMetricMetadata + Name string + Namespace string + PVC int64 + Path string + Pods int64 + RequestCpu int64 + RequestMemory int64 + Storage int64 + StoragePod int64 + func NewRQFields() RQFields + func (cpm RQFields) GetPath() string + func (cpm RQFields) ShouldExcludeField(fieldName string) bool + func (cpm RQFields) Unwrap() *map[string]interface{} + func (self *RQFields) Copy(rqVals *RQFields) + func (self *RQFields) Increment(rqVals *RQFields) + type RQSchemaObj struct + Name string + Namespace string + PodsOnly bool + Selector string + Spec RQFields + Used RQFields + func NewRQ(rq *v1.ResourceQuota) RQSchemaObj + func (rq *RQSchemaObj) AddQuotaStatsToAppMetrics(metrics *ClusterAppMetrics) + func (rq *RQSchemaObj) AddQuotaStatsToNamespaceMetrics(metrics *ClusterPodMetrics) + func (rq *RQSchemaObj) AppliesToNamespace(ns string) bool + func (rq *RQSchemaObj) AppliesToPod(podObject *PodSchema) bool + func (rq *RQSchemaObj) IncrementQuotaStatsClusterMetrics(metrics *ClusterPodMetrics) + type RqSchema struct + ClusterName string + Name string + Namespace string + SpecLimitCpu int64 + SpecLimitMemory int64 + SpecPVC int64 + SpecPods int64 + SpecRequestCpu int64 + SpecRequestMemory int64 + SpecStorage int64 + SpecStoragePod int64 + UsedLimitCpu int64 + UsedLimitMemory int64 + UsedPVC int64 + UsedPods int64 + UsedRequestCpu int64 + UsedRequestMemory int64 + UsedStorage int64 + UsedStoragePod int64 + func NewRQSchema(rq *v1.ResourceQuota) RqSchema + type RqSchemaDef struct + ClusterName string + Name string + Namespace string + SpecLimitCpu string + SpecLimitMemory string + SpecPVC string + SpecPods string + SpecRequestCpu string + SpecRequestMemory string + SpecStorage string + SpecStoragePod string + UsedLimitCpu string + UsedLimitMemory string + UsedPVC string + UsedPods string + UsedRequestCpu string + UsedRequestMemory string + UsedStorage string + UsedStoragePod string + func NewRqSchemaDef() RqSchemaDef + type RqSchemaDefWrapper struct + Schema RqSchemaDef + func NewRqSchemaDefWrapper() RqSchemaDefWrapper + func (sd RqSchemaDefWrapper) Unwrap() *map[string]interface{} + type RsObjList struct + Items []RsSchema + func NewRsObjList() RsObjList + func (l RsObjList) AddItem(obj RsSchema) []RsSchema + func (l RsObjList) Clear() []RsSchema + type RsSchema struct + ClusterName string + CreationTimestamp time.Time + DeletionTimestamp time.Time + MinReadySecs int32 + Name string + Namespace string + ObjectUid string + RsReplicas int32 + RsReplicasAvailable int32 + RsReplicasLabeled int32 + RsReplicasReady int32 + RsReplicasUnAvailable int32 + func NewRsObj() RsSchema + func (ps *RsSchema) Equals(obj *RsSchema) bool + func (ps *RsSchema) GetRsKey() string + type RsSchemaDef struct + ClusterName string + CreationTimestamp string + DeletionTimestamp string + MinReadySecs string + Name string + Namespace string + ObjectUid string + RsReplicas string + RsReplicasAvailable string + RsReplicasLabeled string + RsReplicasReady string + RsReplicasUnAvailable string + func NewRsSchemaDef() RsSchemaDef + type RsSchemaDefWrapper struct + Schema RsSchemaDef + func NewRsSchemaDefWrapper() RsSchemaDefWrapper + func (sd RsSchemaDefWrapper) Unwrap() *map[string]interface{} + type ScopeEntity struct + ApplicationName string + EntityName string + EntityType string + ScopingEntityName *string + ScopingEntityType *string + Subtype *string + type ServiceEndpoint struct + EPAddresses []EPAddress + Name string + Port int32 + func NewServiceEndpoint(name string, portNumber int32) ServiceEndpoint + type ServicePort struct + IsNodePort bool + Name string + Port int32 + Protocol string + TargetPort int32 + type ServiceSchema struct + Endpoints map[int32]ServiceEndpoint + ExternalName string + ExternalSvcValid bool + HasExternalService bool + HasIngress bool + HasNodePort bool + IsAccessible bool + Name string + Namespace string + Ports []ServicePort + ReferencedExternally bool + Routes []Ingress + Selector map[string]string + func NewServiceSchema(svc *v1.Service) *ServiceSchema + func (svc *ServiceSchema) GetEndPointsStats() (int, map[string]int, map[string]int) + func (svcSchema *ServiceSchema) ExternallyReferenced(referenced bool) + func (svcSchema *ServiceSchema) IsPortAvailable(cp *ContainerPort, podSchema *PodSchema) (bool, bool) + func (svcSchema *ServiceSchema) MatchesPod(podObject *v1.Pod) bool + type StaticThreshold struct + type TechnologyName string + type UsageStats struct + CPU int64 + Memory int64 + Name string + type Utilization struct + CpuGoal float64 + CpuUse float64 + CpuUseString string + MemGoal float64 + MemUse float64 + MemUseString string + Overconsume bool + Restarts int32 + func (u *Utilization) CheckStatus(threshold float64, cpuRequest float64, memRequest float64) + type WidgetTemplate struct + ApplicationReference *ScopeEntity + AxisType string + BackgroundAlpha float32 + BackgroundColor int + BackgroundColors *[]interface{} + BackgroundColorsStr string + BorderColor int + BorderEnabled bool + BorderThickness int + Color int + CompactMode bool + CustomVerticalAxisMax *int + CustomVerticalAxisMin *int + DataSeriesTemplates []DataSeriesTemplate + Description *string + DrillDownActionType *string + DrillDownUrl *string + EndTime *int + EntityReferences *[]ScopeEntity + EntitySelectionType *string + EntityType *string + EventFilterTemplate *string + FontSize int + FormatNumber bool + Height int + HideHorizontalAxis *string + HorizontalAxisLabel *string + ImageURL *string + InterpolateDataGaps bool + IsGlobal bool + Label *string + LegendColumnCount *int + LegendPosition *string + Margin int + MinHeight int + MinWidth int + MinutesBeforeAnchorTime int + MultipleYAxis *string + NumDecimals int + PropertiesMap *string + RemoveZeros bool + RenderIn3D bool + ShowAllTooltips bool + ShowEvents *string + ShowLegend bool + ShowTimeRange bool + ShowValues bool + StackMode bool + StartTime *int + StaticThresholdList []StaticThreshold + Text string + TextAlign string + Title *string + UseAutomaticFontSize bool + UseMetricBrowserAsDrillDown bool + VerticalAxisLabel *string + WidgetType string + Width int + X int + Y int