Documentation ¶
Index ¶
Constants ¶
View Source
const ( AppPlanningId appTag = "planning_id" AppPlanningType appTag = "planning_type" AppTime appTag = "time" AppNamespace appTag = "namespace" AppName appTag = "name" AppGranularity appTag = "granularity" AppResourceRequestCPU appField = "resource_request_cpu" AppResourceRequestMemory appField = "resource_request_memory" AppResourceLimitCPU appField = "resource_limit_cpu" AppResourceLimitMemory appField = "resource_limit_memory" AppInitialResourceRequestCPU appField = "initial_resource_request_cpu" AppInitialResourceRequestMemory appField = "initial_resource_request_memory" AppInitialResourceLimitCPU appField = "initial_resource_limit_cpu" AppInitialResourceLimitMemory appField = "initial_resource_limit_memory" AppStartTime appField = "start_time" AppEndTime appField = "end_time" AppTotalCost appField = "total_cost" AppApplyPlanningNow appField = "apply_planning_now" )
View Source
const ( AppMetricKindLimit = "limit" AppMetricKindRequest = "request" AppMetricKindInitLimit = "initLimit" AppMetricKindInitRequest = "initRequest" )
View Source
const ( ClusterPlanningId clusterTag = "planning_id" ClusterPlanningType clusterTag = "planning_type" ClusterTime clusterTag = "time" ClusterName clusterTag = "name" ClusterGranularity clusterTag = "granularity" ClusterResourceRequestCPU clusterField = "resource_request_cpu" ClusterResourceRequestMemory clusterField = "resource_request_memory" ClusterResourceLimitCPU clusterField = "resource_limit_cpu" ClusterResourceLimitMemory clusterField = "resource_limit_memory" ClusterInitialResourceRequestCPU clusterField = "initial_resource_request_cpu" ClusterInitialResourceRequestMemory clusterField = "initial_resource_request_memory" ClusterInitialResourceLimitCPU clusterField = "initial_resource_limit_cpu" ClusterInitialResourceLimitMemory clusterField = "initial_resource_limit_memory" ClusterStartTime clusterField = "start_time" ClusterEndTime clusterField = "end_time" ClusterTotalCost clusterField = "total_cost" ClusterApplyPlanningNow clusterField = "apply_planning_now" )
View Source
const ( ContainerPlanningType containerTag = "planning_type" ContainerTime containerTag = "time" ContainerNamespace containerTag = "namespace" ContainerName containerTag = "name" ContainerPodName containerTag = "pod_name" ContainerGranularity containerTag = "granularity" ContainerPolicy containerField = "policy" ContainerPolicyTime containerField = "policy_time" ContainerResourceRequestCPU containerField = "resource_request_cpu" ContainerResourceRequestMemory containerField = "resource_request_memory" ContainerResourceLimitCPU containerField = "resource_limit_cpu" ContainerResourceLimitMemory containerField = "resource_limit_memory" ContainerInitialResourceRequestCPU containerField = "initial_resource_request_cpu" ContainerInitialResourceRequestMemory containerField = "initial_resource_request_memory" ContainerInitialResourceLimitCPU containerField = "initial_resource_limit_cpu" ContainerInitialResourceLimitMemory containerField = "initial_resource_limit_memory" ContainerStartTime containerField = "start_time" ContainerEndTime containerField = "end_time" ContainerTopControllerName containerField = "top_controller_name" ContainerTopControllerKind containerField = "top_controller_kind" ContainerPodTotalCost containerField = "pod_total_cost" )
View Source
const ( ContainerMetricKindLimit = "limit" ContainerMetricKindRequest = "request" ContainerMetricKindInitLimit = "initLimit" ContainerMetricKindInitRequest = "initRequest" )
View Source
const ( ControllerPlanningId controllerTag = "planning_id" ControllerPlanningType controllerTag = "planning_type" ControllerTime controllerTag = "time" ControllerNamespace controllerTag = "namespace" ControllerName controllerTag = "name" ControllerGranularity controllerTag = "granularity" ControllerKind controllerTag = "kind" ControllerResourceRequestCPU controllerField = "resource_request_cpu" ControllerResourceRequestMemory controllerField = "resource_request_memory" ControllerResourceLimitCPU controllerField = "resource_limit_cpu" ControllerResourceLimitMemory controllerField = "resource_limit_memory" ControllerInitialResourceRequestCPU controllerField = "initial_resource_request_cpu" ControllerInitialResourceRequestMemory controllerField = "initial_resource_request_memory" ControllerInitialResourceLimitCPU controllerField = "initial_resource_limit_cpu" ControllerInitialResourceLimitMemory controllerField = "initial_resource_limit_memory" ControllerStartTime controllerField = "start_time" ControllerEndTime controllerField = "end_time" ControllerTotalCost controllerField = "total_cost" ControllerApplyPlanningNow controllerField = "apply_planning_now" )
View Source
const ( NamespacePlanningId namespaceTag = "planning_id" NamespacePlanningType namespaceTag = "planning_type" NamespaceTime namespaceTag = "time" NamespaceName namespaceTag = "name" NamespaceGranularity namespaceTag = "granularity" NamespaceResourceRequestCPU namespaceField = "resource_request_cpu" NamespaceResourceRequestMemory namespaceField = "resource_request_memory" NamespaceResourceLimitCPU namespaceField = "resource_limit_cpu" NamespaceResourceLimitMemory namespaceField = "resource_limit_memory" NamespaceInitialResourceRequestCPU namespaceField = "initial_resource_request_cpu" NamespaceInitialResourceRequestMemory namespaceField = "initial_resource_request_memory" NamespaceInitialResourceLimitCPU namespaceField = "initial_resource_limit_cpu" NamespaceInitialResourceLimitMemory namespaceField = "initial_resource_limit_memory" NamespaceStartTime namespaceField = "start_time" NamespaceEndTime namespaceField = "end_time" NamespaceTotalCost namespaceField = "total_cost" NamespaceApplyPlanningNow namespaceField = "apply_planning_now" )
View Source
const ( NodePlanningId nodeTag = "planning_id" NodePlanningType nodeTag = "planning_type" NodeTime nodeTag = "time" NodeName nodeTag = "name" NodeGranularity nodeTag = "granularity" NodeResourceRequestCPU nodeField = "resource_request_cpu" NodeResourceRequestMemory nodeField = "resource_request_memory" NodeResourceLimitCPU nodeField = "resource_limit_cpu" NodeResourceLimitMemory nodeField = "resource_limit_memory" NodeInitialResourceRequestCPU nodeField = "initial_resource_request_cpu" NodeInitialResourceRequestMemory nodeField = "initial_resource_request_memory" NodeInitialResourceLimitCPU nodeField = "initial_resource_limit_cpu" NodeInitialResourceLimitMemory nodeField = "initial_resource_limit_memory" NodeStartTime nodeField = "start_time" NodeEndTime nodeField = "end_time" NodeTotalCost nodeField = "total_cost" NodeApplyPlanningNow nodeField = "apply_planning_now" )
Variables ¶
View Source
var ( AppTags = []appTag{ AppPlanningId, AppPlanningType, AppTime, AppNamespace, AppName, AppGranularity, } AppFields = []appField{ AppResourceRequestCPU, AppResourceRequestMemory, AppResourceLimitCPU, AppResourceLimitMemory, AppInitialResourceRequestCPU, AppInitialResourceRequestMemory, AppInitialResourceLimitCPU, AppInitialResourceLimitMemory, AppStartTime, AppEndTime, AppTotalCost, AppApplyPlanningNow, } )
View Source
var ( ClusterTags = []clusterTag{ ClusterPlanningId, ClusterPlanningType, ClusterTime, ClusterName, ClusterGranularity, } ClusterFields = []clusterField{ ClusterResourceRequestCPU, ClusterResourceRequestMemory, ClusterResourceLimitCPU, ClusterResourceLimitMemory, ClusterInitialResourceRequestCPU, ClusterInitialResourceRequestMemory, ClusterInitialResourceLimitCPU, ClusterInitialResourceLimitMemory, ClusterStartTime, ClusterEndTime, ClusterTotalCost, ClusterApplyPlanningNow, } )
View Source
var ( ContainerTags = []containerTag{ ContainerTime, ContainerNamespace, ContainerName, ContainerPodName, ContainerGranularity, } ContainerFields = []containerField{ ContainerPolicy, ContainerResourceRequestCPU, ContainerResourceRequestMemory, ContainerResourceLimitCPU, ContainerResourceLimitMemory, ContainerInitialResourceRequestCPU, ContainerInitialResourceRequestMemory, ContainerInitialResourceLimitCPU, ContainerInitialResourceLimitMemory, ContainerStartTime, ContainerEndTime, ContainerTopControllerName, ContainerTopControllerKind, ContainerPodTotalCost, } )
View Source
var ( // ControllerTags is list of tags of alameda_controller_recommendation measurement ControllerTags = []controllerTag{ ControllerPlanningId, ControllerPlanningType, ControllerTime, ControllerNamespace, ControllerName, ControllerGranularity, ControllerKind, } // ControllerFields is list of fields of alameda_controller_recommendation measurement ControllerField = []controllerField{ ControllerResourceRequestCPU, ControllerResourceRequestMemory, ControllerResourceLimitCPU, ControllerResourceLimitMemory, ControllerInitialResourceRequestCPU, ControllerInitialResourceRequestMemory, ControllerInitialResourceLimitCPU, ControllerInitialResourceLimitMemory, ControllerStartTime, ControllerEndTime, ControllerTotalCost, ControllerApplyPlanningNow, } )
View Source
var ( NamespaceTags = []namespaceTag{ NamespacePlanningId, NamespacePlanningType, NamespaceTime, NamespaceName, NamespaceGranularity, } NamespaceFields = []namespaceField{ NamespaceResourceRequestCPU, NamespaceResourceRequestMemory, NamespaceResourceLimitCPU, NamespaceResourceLimitMemory, NamespaceInitialResourceRequestCPU, NamespaceInitialResourceRequestMemory, NamespaceInitialResourceLimitCPU, NamespaceInitialResourceLimitMemory, NamespaceStartTime, NamespaceEndTime, NamespaceTotalCost, NamespaceApplyPlanningNow, } )
View Source
var ( NodeTags = []nodeTag{ NodePlanningId, NodePlanningType, NodeTime, NodeName, NodeGranularity, } NodeFields = []nodeField{ NodeResourceRequestCPU, NodeResourceRequestMemory, NodeResourceLimitCPU, NodeResourceLimitMemory, NodeInitialResourceRequestCPU, NodeInitialResourceRequestMemory, NodeInitialResourceLimitCPU, NodeInitialResourceLimitMemory, NodeStartTime, NodeEndTime, NodeTotalCost, NodeApplyPlanningNow, } )
View Source
var ( AppMetricKinds = []string{ AppMetricKindLimit, AppMetricKindRequest, AppMetricKindInitLimit, AppMetricKindInitRequest, } )
View Source
var ( ContainerMetricKinds = []string{ ContainerMetricKindLimit, ContainerMetricKindRequest, ContainerMetricKindInitLimit, ContainerMetricKindInitRequest, } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.