Documentation ¶
Index ¶
- func NewAlamedaApplicationSpec(applicationSpec *types.AlamedaApplicationSpec) *resources.AlamedaApplicationSpec
- func NewAlamedaControllerSpec(controlSpec types.AlamedaControllerSpec) *resources.AlamedaControllerSpec
- func NewAlamedaNodeSpec(nodeSpec *types.AlamedaNodeSpec) *resources.AlamedaNodeSpec
- func NewAlamedaPodSpec(podSpec *types.AlamedaPodSpec) *resources.AlamedaPodSpec
- func NewCapacity(capacity *types.Capacity) *resources.Capacity
- func NewContainerStatus(containerStatus *types.ContainerStatus) *resources.ContainerStatus
- func NewController(controller *types.Controller) *resources.Controller
- func NewObjectMeta(objectMeta metadata.ObjectMeta) *resources.ObjectMeta
- func NewPodStatus(podStatus *types.PodStatus) *resources.PodStatus
- func NewResourceRequirements(requirements *types.ResourceRequirements) *resources.ResourceRequirements
- type AppMetricExtended
- type ApplicationExtended
- type ApplicationPredictionExtended
- type ClusterExtended
- type ClusterMetricExtended
- type ClusterPredictionExtended
- type ContainerMetricExtended
- type ContainerPredictionExtended
- type ControllerExtended
- type ControllerMetricExtended
- type ControllerPredictionExtended
- type GpuMetricExtended
- type GpuPredictionExtended
- type NamespaceExtended
- type NamespaceMetricExtended
- type NamespacePredictionExtended
- type NodeExtended
- type NodeMetricExtended
- type NodePredictionExtended
- type PodExtended
- type PodMetricExtended
- type PodPredictionExtended
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAlamedaApplicationSpec ¶
func NewAlamedaApplicationSpec(applicationSpec *types.AlamedaApplicationSpec) *resources.AlamedaApplicationSpec
func NewAlamedaControllerSpec ¶
func NewAlamedaControllerSpec(controlSpec types.AlamedaControllerSpec) *resources.AlamedaControllerSpec
func NewAlamedaNodeSpec ¶
func NewAlamedaNodeSpec(nodeSpec *types.AlamedaNodeSpec) *resources.AlamedaNodeSpec
func NewAlamedaPodSpec ¶
func NewAlamedaPodSpec(podSpec *types.AlamedaPodSpec) *resources.AlamedaPodSpec
func NewContainerStatus ¶
func NewContainerStatus(containerStatus *types.ContainerStatus) *resources.ContainerStatus
func NewController ¶
func NewController(controller *types.Controller) *resources.Controller
func NewObjectMeta ¶
func NewObjectMeta(objectMeta metadata.ObjectMeta) *resources.ObjectMeta
func NewResourceRequirements ¶
func NewResourceRequirements(requirements *types.ResourceRequirements) *resources.ResourceRequirements
Types ¶
type AppMetricExtended ¶
type AppMetricExtended struct {
DaoMetricTypes.AppMetric
}
func (AppMetricExtended) ProduceMetrics ¶
func (n AppMetricExtended) ProduceMetrics() ApiMetrics.ApplicationMetric
type ApplicationExtended ¶
type ApplicationExtended struct {
*types.Application
}
func (*ApplicationExtended) ProduceApplication ¶
func (n *ApplicationExtended) ProduceApplication() *resources.Application
type ApplicationPredictionExtended ¶
type ApplicationPredictionExtended struct {
*DaoPredictionTypes.ApplicationPrediction
}
func (*ApplicationPredictionExtended) ProducePredictions ¶
func (d *ApplicationPredictionExtended) ProducePredictions() *ApiPredictions.ApplicationPrediction
type ClusterExtended ¶
func (*ClusterExtended) ProduceCluster ¶
func (n *ClusterExtended) ProduceCluster() *resources.Cluster
type ClusterMetricExtended ¶
type ClusterMetricExtended struct {
DaoMetricTypes.ClusterMetric
}
func (ClusterMetricExtended) ProduceMetrics ¶
func (n ClusterMetricExtended) ProduceMetrics() ApiMetrics.ClusterMetric
type ClusterPredictionExtended ¶
type ClusterPredictionExtended struct {
*DaoPredictionTypes.ClusterPrediction
}
func (*ClusterPredictionExtended) ProducePredictions ¶
func (d *ClusterPredictionExtended) ProducePredictions() *ApiPredictions.ClusterPrediction
type ContainerMetricExtended ¶
type ContainerMetricExtended struct {
*DaoMetricTypes.ContainerMetric
}
func (*ContainerMetricExtended) ProduceMetrics ¶
func (c *ContainerMetricExtended) ProduceMetrics() *ApiMetrics.ContainerMetric
type ContainerPredictionExtended ¶
type ContainerPredictionExtended struct {
*DaoPredictionTypes.ContainerPrediction
}
func (*ContainerPredictionExtended) ProducePredictions ¶
func (c *ContainerPredictionExtended) ProducePredictions() *ApiPredictions.ContainerPrediction
type ControllerExtended ¶
type ControllerExtended struct {
*types.Controller
}
func (*ControllerExtended) ProduceController ¶
func (n *ControllerExtended) ProduceController() *resources.Controller
type ControllerMetricExtended ¶
type ControllerMetricExtended struct {
DaoMetricTypes.ControllerMetric
}
func (ControllerMetricExtended) ProduceMetrics ¶
func (n ControllerMetricExtended) ProduceMetrics() ApiMetrics.ControllerMetric
type ControllerPredictionExtended ¶
type ControllerPredictionExtended struct {
*DaoPredictionTypes.ControllerPrediction
}
func (*ControllerPredictionExtended) ProducePredictions ¶
func (d *ControllerPredictionExtended) ProducePredictions() *ApiPredictions.ControllerPrediction
type GpuMetricExtended ¶
func (*GpuMetricExtended) ProduceMetrics ¶
func (n *GpuMetricExtended) ProduceMetrics() *ApiGpu.GpuMetric
type GpuPredictionExtended ¶
type GpuPredictionExtended struct {
*DaoGpu.GpuPrediction
}
func (*GpuPredictionExtended) ProducePredictions ¶
func (n *GpuPredictionExtended) ProducePredictions(metricType FormatEnum.GpuMetricType) *ApiGpu.GpuPrediction
type NamespaceExtended ¶
func (*NamespaceExtended) ProduceNamespace ¶
func (n *NamespaceExtended) ProduceNamespace() *resources.Namespace
type NamespaceMetricExtended ¶
type NamespaceMetricExtended struct {
DaoMetricTypes.NamespaceMetric
}
func (NamespaceMetricExtended) ProduceMetrics ¶
func (n NamespaceMetricExtended) ProduceMetrics() ApiMetrics.NamespaceMetric
type NamespacePredictionExtended ¶
type NamespacePredictionExtended struct {
*DaoPredictionTypes.NamespacePrediction
}
func (*NamespacePredictionExtended) ProducePredictions ¶
func (d *NamespacePredictionExtended) ProducePredictions() *ApiPredictions.NamespacePrediction
type NodeExtended ¶
func (*NodeExtended) ProduceNode ¶
func (n *NodeExtended) ProduceNode() *resources.Node
type NodeMetricExtended ¶
type NodeMetricExtended struct {
*DaoMetricTypes.NodeMetric
}
func (*NodeMetricExtended) ProduceMetrics ¶
func (n *NodeMetricExtended) ProduceMetrics() *ApiMetrics.NodeMetric
type NodePredictionExtended ¶
type NodePredictionExtended struct {
*DaoPredictionTypes.NodePrediction
}
func (*NodePredictionExtended) ProducePredictions ¶
func (d *NodePredictionExtended) ProducePredictions() *ApiPredictions.NodePrediction
type PodExtended ¶
func (*PodExtended) ProducePod ¶
func (n *PodExtended) ProducePod() *resources.Pod
type PodMetricExtended ¶
type PodMetricExtended struct {
*DaoMetricTypes.PodMetric
}
func (*PodMetricExtended) ProduceMetrics ¶
func (p *PodMetricExtended) ProduceMetrics() *ApiMetrics.PodMetric
type PodPredictionExtended ¶
type PodPredictionExtended struct {
*DaoPredictionTypes.PodPrediction
}
func (*PodPredictionExtended) ProducePredictions ¶
func (p *PodPredictionExtended) ProducePredictions() *ApiPredictions.PodPrediction
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-namesapce.go
- predictions.go
- utils.go
Click to show internal directories.
Click to hide internal directories.