Documentation ¶
Index ¶
Constants ¶
View Source
const ( AppPlanningType appTag = "planning_type" AppTime appTag = "time" AppNamespace appTag = "namespace" AppName appTag = "name" AppType appTag = "type" AppKind appField = "kind" AppCurrentReplicas appField = "current_replicas" AppDesiredReplicas appField = "desired_replicas" AppCreateTime appField = "create_time" AppCurrentCPURequest appField = "current_cpu_requests" AppCurrentMEMRequest appField = "current_mem_requests" AppCurrentCPULimit appField = "current_cpu_limits" AppCurrentMEMLimit appField = "current_mem_limits" AppDesiredCPULimit appField = "desired_cpu_limits" AppDesiredMEMLimit appField = "desired_mem_limits" AppTotalCost appField = "total_cost" )
View Source
const ( ClusterPlanningType clusterTag = "planning_type" ClusterTime clusterTag = "time" ClusterName clusterTag = "name" ClusterType clusterTag = "type" ClusterKind clusterField = "kind" ClusterCurrentReplicas clusterField = "current_replicas" ClusterDesiredReplicas clusterField = "desired_replicas" ClusterCreateTime clusterField = "create_time" ClusterCurrentCPURequest clusterField = "current_cpu_requests" ClusterCurrentMEMRequest clusterField = "current_mem_requests" ClusterCurrentCPULimit clusterField = "current_cpu_limits" ClusterCurrentMEMLimit clusterField = "current_mem_limits" ClusterDesiredCPULimit clusterField = "desired_cpu_limits" ClusterDesiredMEMLimit clusterField = "desired_mem_limits" ClusterTotalCost clusterField = "total_cost" )
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 ( ControllerPlanningType controllerTag = "planning_type" ControllerTime controllerTag = "time" ControllerNamespace controllerTag = "namespace" ControllerName controllerTag = "name" ControllerType controllerTag = "type" ControllerKind controllerField = "kind" ControllerCurrentReplicas controllerField = "current_replicas" ControllerDesiredReplicas controllerField = "desired_replicas" ControllerCreateTime controllerField = "create_time" ControllerCurrentCPURequest controllerField = "current_cpu_requests" ControllerCurrentMEMRequest controllerField = "current_mem_requests" ControllerCurrentCPULimit controllerField = "current_cpu_limits" ControllerCurrentMEMLimit controllerField = "current_mem_limits" ControllerDesiredCPULimit controllerField = "desired_cpu_limits" ControllerDesiredMEMLimit controllerField = "desired_mem_limits" ControllerTotalCost controllerField = "total_cost" )
View Source
const ( NamespacePlanningType namespaceTag = "planning_type" NamespaceTime namespaceTag = "time" NamespaceName namespaceTag = "name" NamespaceType namespaceTag = "type" NamespaceKind namespaceField = "kind" NamespaceCurrentReplicas namespaceField = "current_replicas" NamespaceDesiredReplicas namespaceField = "desired_replicas" NamespaceCreateTime namespaceField = "create_time" NamespaceCurrentCPURequest namespaceField = "current_cpu_requests" NamespaceCurrentMEMRequest namespaceField = "current_mem_requests" NamespaceCurrentCPULimit namespaceField = "current_cpu_limits" NamespaceCurrentMEMLimit namespaceField = "current_mem_limits" NamespaceDesiredCPULimit namespaceField = "desired_cpu_limits" NamespaceDesiredMEMLimit namespaceField = "desired_mem_limits" NamespaceTotalCost namespaceField = "total_cost" )
View Source
const ( NodePlanningType nodeTag = "planning_type" NodeTime nodeTag = "time" NodeName nodeTag = "name" NodeType nodeTag = "type" NodeKind nodeField = "kind" NodeCurrentReplicas nodeField = "current_replicas" NodeDesiredReplicas nodeField = "desired_replicas" NodeCreateTime nodeField = "create_time" NodeCurrentCPURequest nodeField = "current_cpu_requests" NodeCurrentMEMRequest nodeField = "current_mem_requests" NodeCurrentCPULimit nodeField = "current_cpu_limits" NodeCurrentMEMLimit nodeField = "current_mem_limits" NodeDesiredCPULimit nodeField = "desired_cpu_limits" NodeDesiredMEMLimit nodeField = "desired_mem_limits" NodeTotalCost nodeField = "total_cost" )
Variables ¶
View Source
var ( AppTags = []appTag{ AppPlanningType, AppTime, AppNamespace, AppName, AppType, } AppFields = []appField{ AppKind, AppCurrentReplicas, AppDesiredReplicas, AppCreateTime, AppCurrentCPURequest, AppCurrentMEMRequest, AppCurrentCPULimit, AppCurrentMEMLimit, AppDesiredCPULimit, AppDesiredMEMLimit, AppTotalCost, } )
View Source
var ( ClusterTags = []clusterTag{ ClusterPlanningType, ClusterTime, ClusterName, ClusterType, } ClusterFields = []clusterField{ ClusterKind, ClusterCurrentReplicas, ClusterDesiredReplicas, ClusterCreateTime, ClusterCurrentCPURequest, ClusterCurrentMEMRequest, ClusterCurrentCPULimit, ClusterCurrentMEMLimit, ClusterDesiredCPULimit, ClusterDesiredMEMLimit, ClusterTotalCost, } )
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{ ControllerTime, ControllerNamespace, ControllerName, ControllerType, } // ControllerFields is list of fields of alameda_controller_recommendation measurement ControllerField = []controllerField{ ControllerCurrentReplicas, ControllerDesiredReplicas, ControllerCreateTime, ControllerKind, ControllerCurrentCPURequest, ControllerCurrentMEMRequest, ControllerCurrentCPULimit, ControllerCurrentMEMLimit, ControllerDesiredCPULimit, ControllerDesiredMEMLimit, ControllerTotalCost, } )
View Source
var ( NamespaceTags = []namespaceTag{ NamespacePlanningType, NamespaceTime, NamespaceName, NamespaceType, } NamespaceFields = []namespaceField{ NamespaceKind, NamespaceCurrentReplicas, NamespaceDesiredReplicas, NamespaceCreateTime, NamespaceCurrentCPURequest, NamespaceCurrentMEMRequest, NamespaceCurrentCPULimit, NamespaceCurrentMEMLimit, NamespaceDesiredCPULimit, NamespaceDesiredMEMLimit, NamespaceTotalCost, } )
View Source
var ( NodeTags = []nodeTag{ NodePlanningType, NodeTime, NodeName, NodeType, } NodeFields = []nodeField{ NodeKind, NodeCurrentReplicas, NodeDesiredReplicas, NodeCreateTime, NodeCurrentCPURequest, NodeCurrentMEMRequest, NodeCurrentCPULimit, NodeCurrentMEMLimit, NodeDesiredCPULimit, NodeDesiredMEMLimit, NodeTotalCost, } )
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.