Documentation ¶
Index ¶
- Variables
- func NewAlamedaApplicationSpec(applicationSpec *resources.AlamedaApplicationSpec) *types.AlamedaApplicationSpec
- func NewAlamedaControllerSpec(controllerSpec *resources.AlamedaControllerSpec) *types.AlamedaControllerSpec
- func NewAlamedaNodeSpec(nodeSpec *resources.AlamedaNodeSpec) *types.AlamedaNodeSpec
- func NewAlamedaPodSpec(podSpec *resources.AlamedaPodSpec) *types.AlamedaPodSpec
- func NewApplication(application *ApiResources.Application) *DaoClusterTypes.Application
- func NewCapacity(capacity *resources.Capacity) *types.Capacity
- func NewCluster(cluster *ApiResources.Cluster) *DaoClusterTypes.Cluster
- func NewContainer(pod *ApiResources.Pod, container *ApiResources.Container) *DaoClusterTypes.Container
- func NewContainerStatus(containerStatus *resources.ContainerStatus) *types.ContainerStatus
- func NewController(controller *ApiResources.Controller) *DaoClusterTypes.Controller
- func NewNamespace(namespace *ApiResources.Namespace) *DaoClusterTypes.Namespace
- func NewNode(node *ApiResources.Node) *DaoClusterTypes.Node
- func NewObjectMeta(objectMeta *resources.ObjectMeta) metadata.ObjectMeta
- func NewPod(pod *ApiResources.Pod) *DaoClusterTypes.Pod
- func NewPodStatus(podStatus *resources.PodStatus) *types.PodStatus
- func NewResourceRequirements(resourceReq *resources.ResourceRequirements) *types.ResourceRequirements
- type CreateApplicationMetricsRequestExtended
- type CreateApplicationPredictionsRequestExtended
- type CreateApplicationsRequestExtended
- type CreateClusterMetricsRequestExtended
- type CreateClusterPredictionsRequestExtended
- type CreateClustersRequestExtended
- type CreateControllerMetricsRequestExtended
- type CreateControllerPredictionsRequestExtended
- type CreateControllersRequestExtended
- type CreateGpuPredictionsRequestExtended
- type CreateNamespaceMetricsRequestExtended
- type CreateNamespacePredictionsRequestExtended
- type CreateNamespacesRequestExtended
- type CreateNodeMetricsRequestExtended
- type CreateNodePredictionsRequestExtended
- type CreateNodesRequestExtended
- type CreatePodMetricsRequestExtended
- type CreatePodPredictionsRequestExtended
- type CreatePodsRequestExtended
- type DeleteApplicationsRequestExtended
- type DeleteClustersRequestExtended
- type DeleteControllersRequestExtended
- type DeleteNamespacesRequestExtended
- type DeleteNodesRequestExtended
- type DeletePodsRequestExtended
- type ListAppMetricsRequestExtended
- type ListApplicationPredictionsRequestExtended
- type ListApplicationsRequestExtended
- type ListClusterMetricsRequestExtended
- type ListClusterPredictionsRequestExtended
- type ListClustersRequestExtended
- type ListControllerMetricsRequestExtended
- type ListControllerPredictionsRequestExtended
- type ListControllersRequestExtended
- type ListNamespaceMetricsRequestExtended
- type ListNamespacePredictionsRequestExtended
- type ListNamespacesRequestExtended
- type ListNodeMetricsRequestExtended
- type ListNodePredictionsRequestExtended
- type ListNodesRequestExtended
- type ListPodMetricsRequestExtended
- type ListPodPredictionsRequestExtended
- type ListPodsRequestExtended
- type ListSimulatedSchedulingScoresRequestExtended
- type MetricsDBType
- type QueryConditionExtend
Constants ¶
This section is empty.
Variables ¶
View Source
var MetricTypeNameMap = map[ApiCommon.MetricType]FormatEnum.MetricType{ ApiCommon.MetricType_CPU_USAGE_SECONDS_PERCENTAGE: FormatEnum.MetricTypeCPUUsageSecondsPercentage, ApiCommon.MetricType_MEMORY_USAGE_BYTES: FormatEnum.MetricTypeMemoryUsageBytes, ApiCommon.MetricType_POWER_USAGE_WATTS: FormatEnum.MetricTypePowerUsageWatts, ApiCommon.MetricType_TEMPERATURE_CELSIUS: FormatEnum.MetricTypeTemperatureCelsius, ApiCommon.MetricType_DUTY_CYCLE: FormatEnum.MetricTypeDutyCycle, }
Functions ¶
func NewAlamedaApplicationSpec ¶
func NewAlamedaApplicationSpec(applicationSpec *resources.AlamedaApplicationSpec) *types.AlamedaApplicationSpec
func NewAlamedaControllerSpec ¶
func NewAlamedaControllerSpec(controllerSpec *resources.AlamedaControllerSpec) *types.AlamedaControllerSpec
func NewAlamedaNodeSpec ¶
func NewAlamedaNodeSpec(nodeSpec *resources.AlamedaNodeSpec) *types.AlamedaNodeSpec
func NewAlamedaPodSpec ¶
func NewAlamedaPodSpec(podSpec *resources.AlamedaPodSpec) *types.AlamedaPodSpec
func NewApplication ¶
func NewApplication(application *ApiResources.Application) *DaoClusterTypes.Application
func NewCluster ¶
func NewCluster(cluster *ApiResources.Cluster) *DaoClusterTypes.Cluster
func NewContainer ¶
func NewContainer(pod *ApiResources.Pod, container *ApiResources.Container) *DaoClusterTypes.Container
func NewContainerStatus ¶
func NewContainerStatus(containerStatus *resources.ContainerStatus) *types.ContainerStatus
func NewController ¶
func NewController(controller *ApiResources.Controller) *DaoClusterTypes.Controller
func NewNamespace ¶
func NewNamespace(namespace *ApiResources.Namespace) *DaoClusterTypes.Namespace
func NewNode ¶
func NewNode(node *ApiResources.Node) *DaoClusterTypes.Node
func NewObjectMeta ¶
func NewObjectMeta(objectMeta *resources.ObjectMeta) metadata.ObjectMeta
func NewPod ¶
func NewPod(pod *ApiResources.Pod) *DaoClusterTypes.Pod
func NewResourceRequirements ¶
func NewResourceRequirements(resourceReq *resources.ResourceRequirements) *types.ResourceRequirements
Types ¶
type CreateApplicationMetricsRequestExtended ¶
type CreateApplicationMetricsRequestExtended struct {
ApiMetrics.CreateApplicationMetricsRequest
}
func (*CreateApplicationMetricsRequestExtended) ProduceMetrics ¶
func (r *CreateApplicationMetricsRequestExtended) ProduceMetrics() DaoMetricTypes.AppMetricMap
func (*CreateApplicationMetricsRequestExtended) Validate ¶
func (r *CreateApplicationMetricsRequestExtended) Validate() error
type CreateApplicationPredictionsRequestExtended ¶
type CreateApplicationPredictionsRequestExtended struct {
ApiPredictions.CreateApplicationPredictionsRequest
}
func (*CreateApplicationPredictionsRequestExtended) ProducePredictions ¶
func (r *CreateApplicationPredictionsRequestExtended) ProducePredictions() DaoPredictionTypes.ApplicationPredictionMap
func (*CreateApplicationPredictionsRequestExtended) Validate ¶
func (r *CreateApplicationPredictionsRequestExtended) Validate() error
type CreateApplicationsRequestExtended ¶
type CreateApplicationsRequestExtended struct {
ApiResources.CreateApplicationsRequest
}
func (*CreateApplicationsRequestExtended) ProduceApplications ¶
func (p *CreateApplicationsRequestExtended) ProduceApplications() []*DaoClusterTypes.Application
func (*CreateApplicationsRequestExtended) Validate ¶
func (p *CreateApplicationsRequestExtended) Validate() error
type CreateClusterMetricsRequestExtended ¶
type CreateClusterMetricsRequestExtended struct {
ApiMetrics.CreateClusterMetricsRequest
}
func (*CreateClusterMetricsRequestExtended) ProduceMetrics ¶
func (r *CreateClusterMetricsRequestExtended) ProduceMetrics() DaoMetricTypes.ClusterMetricMap
func (*CreateClusterMetricsRequestExtended) Validate ¶
func (r *CreateClusterMetricsRequestExtended) Validate() error
type CreateClusterPredictionsRequestExtended ¶
type CreateClusterPredictionsRequestExtended struct {
ApiPredictions.CreateClusterPredictionsRequest
}
func (*CreateClusterPredictionsRequestExtended) ProducePredictions ¶
func (r *CreateClusterPredictionsRequestExtended) ProducePredictions() DaoPredictionTypes.ClusterPredictionMap
func (*CreateClusterPredictionsRequestExtended) Validate ¶
func (r *CreateClusterPredictionsRequestExtended) Validate() error
type CreateClustersRequestExtended ¶
type CreateClustersRequestExtended struct {
ApiResources.CreateClustersRequest
}
func (*CreateClustersRequestExtended) ProduceClusters ¶
func (p *CreateClustersRequestExtended) ProduceClusters() []*DaoClusterTypes.Cluster
func (*CreateClustersRequestExtended) Validate ¶
func (p *CreateClustersRequestExtended) Validate() error
type CreateControllerMetricsRequestExtended ¶
type CreateControllerMetricsRequestExtended struct {
ApiMetrics.CreateControllerMetricsRequest
}
func (*CreateControllerMetricsRequestExtended) ProduceMetrics ¶
func (r *CreateControllerMetricsRequestExtended) ProduceMetrics() DaoMetricTypes.ControllerMetricMap
func (*CreateControllerMetricsRequestExtended) Validate ¶
func (r *CreateControllerMetricsRequestExtended) Validate() error
type CreateControllerPredictionsRequestExtended ¶
type CreateControllerPredictionsRequestExtended struct {
ApiPredictions.CreateControllerPredictionsRequest
}
func (*CreateControllerPredictionsRequestExtended) ProducePredictions ¶
func (r *CreateControllerPredictionsRequestExtended) ProducePredictions() DaoPredictionTypes.ControllerPredictionMap
func (*CreateControllerPredictionsRequestExtended) Validate ¶
func (r *CreateControllerPredictionsRequestExtended) Validate() error
type CreateControllersRequestExtended ¶
type CreateControllersRequestExtended struct {
ApiResources.CreateControllersRequest
}
func (*CreateControllersRequestExtended) ProduceControllers ¶
func (p *CreateControllersRequestExtended) ProduceControllers() []*DaoClusterTypes.Controller
func (*CreateControllersRequestExtended) Validate ¶
func (p *CreateControllersRequestExtended) Validate() error
type CreateGpuPredictionsRequestExtended ¶
type CreateGpuPredictionsRequestExtended struct {
ApiGpu.CreateGpuPredictionsRequest
}
func (*CreateGpuPredictionsRequestExtended) ProducePredictions ¶
func (r *CreateGpuPredictionsRequestExtended) ProducePredictions() DaoGpu.GpuPredictionMap
func (*CreateGpuPredictionsRequestExtended) Validate ¶
func (r *CreateGpuPredictionsRequestExtended) Validate() error
type CreateNamespaceMetricsRequestExtended ¶
type CreateNamespaceMetricsRequestExtended struct {
ApiMetrics.CreateNamespaceMetricsRequest
}
func (*CreateNamespaceMetricsRequestExtended) ProduceMetrics ¶
func (r *CreateNamespaceMetricsRequestExtended) ProduceMetrics() DaoMetricTypes.NamespaceMetricMap
func (*CreateNamespaceMetricsRequestExtended) Validate ¶
func (r *CreateNamespaceMetricsRequestExtended) Validate() error
type CreateNamespacePredictionsRequestExtended ¶
type CreateNamespacePredictionsRequestExtended struct {
ApiPredictions.CreateNamespacePredictionsRequest
}
func (*CreateNamespacePredictionsRequestExtended) ProducePredictions ¶
func (r *CreateNamespacePredictionsRequestExtended) ProducePredictions() DaoPredictionTypes.NamespacePredictionMap
func (*CreateNamespacePredictionsRequestExtended) Validate ¶
func (r *CreateNamespacePredictionsRequestExtended) Validate() error
type CreateNamespacesRequestExtended ¶
type CreateNamespacesRequestExtended struct {
ApiResources.CreateNamespacesRequest
}
func (*CreateNamespacesRequestExtended) ProduceNamespaces ¶
func (p *CreateNamespacesRequestExtended) ProduceNamespaces() []*DaoClusterTypes.Namespace
func (*CreateNamespacesRequestExtended) Validate ¶
func (p *CreateNamespacesRequestExtended) Validate() error
type CreateNodeMetricsRequestExtended ¶
type CreateNodeMetricsRequestExtended struct {
ApiMetrics.CreateNodeMetricsRequest
}
func (*CreateNodeMetricsRequestExtended) ProduceMetrics ¶
func (r *CreateNodeMetricsRequestExtended) ProduceMetrics() DaoMetricTypes.NodeMetricMap
func (*CreateNodeMetricsRequestExtended) Validate ¶
func (r *CreateNodeMetricsRequestExtended) Validate() error
type CreateNodePredictionsRequestExtended ¶
type CreateNodePredictionsRequestExtended struct {
ApiPredictions.CreateNodePredictionsRequest
}
func (*CreateNodePredictionsRequestExtended) ProducePredictions ¶
func (r *CreateNodePredictionsRequestExtended) ProducePredictions() DaoPredictionTypes.NodePredictionMap
func (*CreateNodePredictionsRequestExtended) Validate ¶
func (r *CreateNodePredictionsRequestExtended) Validate() error
type CreateNodesRequestExtended ¶
type CreateNodesRequestExtended struct {
ApiResources.CreateNodesRequest
}
func (*CreateNodesRequestExtended) ProduceNodes ¶
func (p *CreateNodesRequestExtended) ProduceNodes() []*DaoClusterTypes.Node
func (*CreateNodesRequestExtended) Validate ¶
func (p *CreateNodesRequestExtended) Validate() error
type CreatePodMetricsRequestExtended ¶
type CreatePodMetricsRequestExtended struct {
ApiMetrics.CreatePodMetricsRequest
}
func (*CreatePodMetricsRequestExtended) ProduceMetrics ¶
func (r *CreatePodMetricsRequestExtended) ProduceMetrics() DaoMetricTypes.PodMetricMap
func (*CreatePodMetricsRequestExtended) Validate ¶
func (r *CreatePodMetricsRequestExtended) Validate() error
type CreatePodPredictionsRequestExtended ¶
type CreatePodPredictionsRequestExtended struct {
ApiPredictions.CreatePodPredictionsRequest
}
func (*CreatePodPredictionsRequestExtended) ProducePredictions ¶
func (r *CreatePodPredictionsRequestExtended) ProducePredictions() DaoPredictionTypes.PodPredictionMap
func (*CreatePodPredictionsRequestExtended) Validate ¶
func (r *CreatePodPredictionsRequestExtended) Validate() error
type CreatePodsRequestExtended ¶
type CreatePodsRequestExtended struct {
ApiResources.CreatePodsRequest
}
func (*CreatePodsRequestExtended) ProducePods ¶
func (p *CreatePodsRequestExtended) ProducePods() []*DaoClusterTypes.Pod
func (*CreatePodsRequestExtended) Validate ¶
func (p *CreatePodsRequestExtended) Validate() error
type DeleteApplicationsRequestExtended ¶
type DeleteApplicationsRequestExtended struct {
*ApiResources.DeleteApplicationsRequest
}
func (*DeleteApplicationsRequestExtended) ProduceRequest ¶
func (p *DeleteApplicationsRequestExtended) ProduceRequest() *DaoClusterTypes.DeleteApplicationsRequest
func (*DeleteApplicationsRequestExtended) Validate ¶
func (p *DeleteApplicationsRequestExtended) Validate() error
type DeleteClustersRequestExtended ¶
type DeleteClustersRequestExtended struct {
*ApiResources.DeleteClustersRequest
}
func (*DeleteClustersRequestExtended) ProduceRequest ¶
func (p *DeleteClustersRequestExtended) ProduceRequest() *DaoClusterTypes.DeleteClustersRequest
func (*DeleteClustersRequestExtended) Validate ¶
func (p *DeleteClustersRequestExtended) Validate() error
type DeleteControllersRequestExtended ¶
type DeleteControllersRequestExtended struct {
*ApiResources.DeleteControllersRequest
}
func (*DeleteControllersRequestExtended) ProduceRequest ¶
func (p *DeleteControllersRequestExtended) ProduceRequest() *DaoClusterTypes.DeleteControllersRequest
func (*DeleteControllersRequestExtended) Validate ¶
func (p *DeleteControllersRequestExtended) Validate() error
type DeleteNamespacesRequestExtended ¶
type DeleteNamespacesRequestExtended struct {
*ApiResources.DeleteNamespacesRequest
}
func (*DeleteNamespacesRequestExtended) ProduceRequest ¶
func (p *DeleteNamespacesRequestExtended) ProduceRequest() *DaoClusterTypes.DeleteNamespacesRequest
func (*DeleteNamespacesRequestExtended) Validate ¶
func (p *DeleteNamespacesRequestExtended) Validate() error
type DeleteNodesRequestExtended ¶
type DeleteNodesRequestExtended struct {
*ApiResources.DeleteNodesRequest
}
func (*DeleteNodesRequestExtended) ProduceRequest ¶
func (p *DeleteNodesRequestExtended) ProduceRequest() *DaoClusterTypes.DeleteNodesRequest
func (*DeleteNodesRequestExtended) Validate ¶
func (p *DeleteNodesRequestExtended) Validate() error
type DeletePodsRequestExtended ¶
type DeletePodsRequestExtended struct {
*ApiResources.DeletePodsRequest
}
func (*DeletePodsRequestExtended) ProduceRequest ¶
func (p *DeletePodsRequestExtended) ProduceRequest() *DaoClusterTypes.DeletePodsRequest
func (*DeletePodsRequestExtended) Validate ¶
func (p *DeletePodsRequestExtended) Validate() error
type ListAppMetricsRequestExtended ¶
type ListAppMetricsRequestExtended struct {
Request *ApiMetrics.ListApplicationMetricsRequest
}
func (*ListAppMetricsRequestExtended) ProduceRequest ¶
func (r *ListAppMetricsRequestExtended) ProduceRequest() DaoMetricTypes.ListAppMetricsRequest
func (*ListAppMetricsRequestExtended) SetDefaultWithMetricsDBType ¶
func (r *ListAppMetricsRequestExtended) SetDefaultWithMetricsDBType(dbType MetricsDBType)
func (*ListAppMetricsRequestExtended) Validate ¶
func (r *ListAppMetricsRequestExtended) Validate() error
type ListApplicationPredictionsRequestExtended ¶
type ListApplicationPredictionsRequestExtended struct {
Request *ApiPredictions.ListApplicationPredictionsRequest
}
func (*ListApplicationPredictionsRequestExtended) ProduceRequest ¶
func (r *ListApplicationPredictionsRequestExtended) ProduceRequest() DaoPredictionTypes.ListApplicationPredictionsRequest
func (*ListApplicationPredictionsRequestExtended) Validate ¶
func (r *ListApplicationPredictionsRequestExtended) Validate() error
type ListApplicationsRequestExtended ¶
type ListApplicationsRequestExtended struct {
*ApiResources.ListApplicationsRequest
}
func (*ListApplicationsRequestExtended) ProduceRequest ¶
func (p *ListApplicationsRequestExtended) ProduceRequest() *DaoClusterTypes.ListApplicationsRequest
func (*ListApplicationsRequestExtended) Validate ¶
func (p *ListApplicationsRequestExtended) Validate() error
type ListClusterMetricsRequestExtended ¶
type ListClusterMetricsRequestExtended struct {
Request *ApiMetrics.ListClusterMetricsRequest
}
func (*ListClusterMetricsRequestExtended) ProduceRequest ¶
func (r *ListClusterMetricsRequestExtended) ProduceRequest() DaoMetricTypes.ListClusterMetricsRequest
func (*ListClusterMetricsRequestExtended) SetDefaultWithMetricsDBType ¶
func (r *ListClusterMetricsRequestExtended) SetDefaultWithMetricsDBType(dbType MetricsDBType)
func (*ListClusterMetricsRequestExtended) Validate ¶
func (r *ListClusterMetricsRequestExtended) Validate() error
type ListClusterPredictionsRequestExtended ¶
type ListClusterPredictionsRequestExtended struct {
Request *ApiPredictions.ListClusterPredictionsRequest
}
func (*ListClusterPredictionsRequestExtended) ProduceRequest ¶
func (r *ListClusterPredictionsRequestExtended) ProduceRequest() DaoPredictionTypes.ListClusterPredictionsRequest
func (*ListClusterPredictionsRequestExtended) Validate ¶
func (r *ListClusterPredictionsRequestExtended) Validate() error
type ListClustersRequestExtended ¶
type ListClustersRequestExtended struct {
*ApiResources.ListClustersRequest
}
func (*ListClustersRequestExtended) ProduceRequest ¶
func (p *ListClustersRequestExtended) ProduceRequest() *DaoClusterTypes.ListClustersRequest
func (*ListClustersRequestExtended) Validate ¶
func (p *ListClustersRequestExtended) Validate() error
type ListControllerMetricsRequestExtended ¶
type ListControllerMetricsRequestExtended struct {
Request *ApiMetrics.ListControllerMetricsRequest
}
func (*ListControllerMetricsRequestExtended) ProduceRequest ¶
func (r *ListControllerMetricsRequestExtended) ProduceRequest() DaoMetricTypes.ListControllerMetricsRequest
func (*ListControllerMetricsRequestExtended) SetDefaultWithMetricsDBType ¶
func (r *ListControllerMetricsRequestExtended) SetDefaultWithMetricsDBType(dbType MetricsDBType)
func (*ListControllerMetricsRequestExtended) Validate ¶
func (r *ListControllerMetricsRequestExtended) Validate() error
type ListControllerPredictionsRequestExtended ¶
type ListControllerPredictionsRequestExtended struct {
Request *ApiPredictions.ListControllerPredictionsRequest
}
func (*ListControllerPredictionsRequestExtended) ProduceRequest ¶
func (r *ListControllerPredictionsRequestExtended) ProduceRequest() DaoPredictionTypes.ListControllerPredictionsRequest
func (*ListControllerPredictionsRequestExtended) Validate ¶
func (r *ListControllerPredictionsRequestExtended) Validate() error
type ListControllersRequestExtended ¶
type ListControllersRequestExtended struct {
*ApiResources.ListControllersRequest
}
func (*ListControllersRequestExtended) ProduceRequest ¶
func (p *ListControllersRequestExtended) ProduceRequest() *DaoClusterTypes.ListControllersRequest
func (*ListControllersRequestExtended) Validate ¶
func (p *ListControllersRequestExtended) Validate() error
type ListNamespaceMetricsRequestExtended ¶
type ListNamespaceMetricsRequestExtended struct {
Request *ApiMetrics.ListNamespaceMetricsRequest
}
func (*ListNamespaceMetricsRequestExtended) ProduceRequest ¶
func (r *ListNamespaceMetricsRequestExtended) ProduceRequest() DaoMetricTypes.ListNamespaceMetricsRequest
func (*ListNamespaceMetricsRequestExtended) SetDefaultWithMetricsDBType ¶
func (r *ListNamespaceMetricsRequestExtended) SetDefaultWithMetricsDBType(dbType MetricsDBType)
func (*ListNamespaceMetricsRequestExtended) Validate ¶
func (r *ListNamespaceMetricsRequestExtended) Validate() error
type ListNamespacePredictionsRequestExtended ¶
type ListNamespacePredictionsRequestExtended struct {
Request *ApiPredictions.ListNamespacePredictionsRequest
}
func (*ListNamespacePredictionsRequestExtended) ProduceRequest ¶
func (r *ListNamespacePredictionsRequestExtended) ProduceRequest() DaoPredictionTypes.ListNamespacePredictionsRequest
func (*ListNamespacePredictionsRequestExtended) Validate ¶
func (r *ListNamespacePredictionsRequestExtended) Validate() error
type ListNamespacesRequestExtended ¶
type ListNamespacesRequestExtended struct {
*ApiResources.ListNamespacesRequest
}
func (*ListNamespacesRequestExtended) ProduceRequest ¶
func (p *ListNamespacesRequestExtended) ProduceRequest() *DaoClusterTypes.ListNamespacesRequest
func (*ListNamespacesRequestExtended) Validate ¶
func (p *ListNamespacesRequestExtended) Validate() error
type ListNodeMetricsRequestExtended ¶
type ListNodeMetricsRequestExtended struct {
Request *ApiMetrics.ListNodeMetricsRequest
}
func (*ListNodeMetricsRequestExtended) ProduceRequest ¶
func (r *ListNodeMetricsRequestExtended) ProduceRequest() DaoMetricTypes.ListNodeMetricsRequest
func (*ListNodeMetricsRequestExtended) SetDefaultWithMetricsDBType ¶
func (r *ListNodeMetricsRequestExtended) SetDefaultWithMetricsDBType(dbType MetricsDBType)
func (*ListNodeMetricsRequestExtended) Validate ¶
func (r *ListNodeMetricsRequestExtended) Validate() error
type ListNodePredictionsRequestExtended ¶
type ListNodePredictionsRequestExtended struct {
Request *ApiPredictions.ListNodePredictionsRequest
}
func (*ListNodePredictionsRequestExtended) ProduceRequest ¶
func (r *ListNodePredictionsRequestExtended) ProduceRequest() DaoPredictionTypes.ListNodePredictionsRequest
func (*ListNodePredictionsRequestExtended) Validate ¶
func (r *ListNodePredictionsRequestExtended) Validate() error
type ListNodesRequestExtended ¶
type ListNodesRequestExtended struct {
*ApiResources.ListNodesRequest
}
func (*ListNodesRequestExtended) ProduceRequest ¶
func (p *ListNodesRequestExtended) ProduceRequest() *DaoClusterTypes.ListNodesRequest
func (*ListNodesRequestExtended) Validate ¶
func (p *ListNodesRequestExtended) Validate() error
type ListPodMetricsRequestExtended ¶
type ListPodMetricsRequestExtended struct {
Request *ApiMetrics.ListPodMetricsRequest
}
func (*ListPodMetricsRequestExtended) ProduceRequest ¶
func (r *ListPodMetricsRequestExtended) ProduceRequest() DaoMetricTypes.ListPodMetricsRequest
func (*ListPodMetricsRequestExtended) SetDefaultWithMetricsDBType ¶
func (r *ListPodMetricsRequestExtended) SetDefaultWithMetricsDBType(dbType MetricsDBType)
func (*ListPodMetricsRequestExtended) Validate ¶
func (r *ListPodMetricsRequestExtended) Validate() error
type ListPodPredictionsRequestExtended ¶
type ListPodPredictionsRequestExtended struct {
Request *ApiPredictions.ListPodPredictionsRequest
}
func (*ListPodPredictionsRequestExtended) ProduceRequest ¶
func (r *ListPodPredictionsRequestExtended) ProduceRequest() DaoPredictionTypes.ListPodPredictionsRequest
func (*ListPodPredictionsRequestExtended) Validate ¶
func (r *ListPodPredictionsRequestExtended) Validate() error
type ListPodsRequestExtended ¶
type ListPodsRequestExtended struct {
*ApiResources.ListPodsRequest
}
func (*ListPodsRequestExtended) ProduceRequest ¶
func (p *ListPodsRequestExtended) ProduceRequest() *DaoClusterTypes.ListPodsRequest
func (*ListPodsRequestExtended) Validate ¶
func (p *ListPodsRequestExtended) Validate() error
type ListSimulatedSchedulingScoresRequestExtended ¶
type ListSimulatedSchedulingScoresRequestExtended struct {
Request *ApiScores.ListSimulatedSchedulingScoresRequest
}
func (*ListSimulatedSchedulingScoresRequestExtended) ProduceRequest ¶
func (r *ListSimulatedSchedulingScoresRequestExtended) ProduceRequest() DaoScoreTypes.ListRequest
type MetricsDBType ¶
type MetricsDBType = string
const ( MetricsDBTypePromethues MetricsDBType = "prometheus" MetricsDBTypeInfluxdb MetricsDBType = "influxdb" )
type QueryConditionExtend ¶
type QueryConditionExtend struct {
Condition *ApiCommon.QueryCondition
}
func (QueryConditionExtend) QueryCondition ¶
func (d QueryConditionExtend) QueryCondition() DBCommon.QueryCondition
Source Files ¶
- clusterstatus-app.go
- clusterstatus-cluster.go
- clusterstatus-controller.go
- clusterstatus-metadata.go
- clusterstatus-namespace.go
- clusterstatus-node.go
- clusterstatus-pod.go
- clusterstatus-status.go
- clusterstatus-types.go
- gpu.go
- metrics.go
- predictions-app.go
- predictions-cluster.go
- predictions-controller.go
- predictions-namespace.go
- predictions-node.go
- predictions-pod.go
- querycondition.go
- requests.go
- scores.go
Click to show internal directories.
Click to hide internal directories.