responses

package
v4.2.544+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

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 NewCapacity

func NewCapacity(capacity *types.Capacity) *resources.Capacity

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 NewPodStatus

func NewPodStatus(podStatus *types.PodStatus) *resources.PodStatus

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 (p *ApplicationExtended) ProduceApplication() *resources.Application

type ApplicationPredictionExtended

type ApplicationPredictionExtended struct {
	*DaoPredictionTypes.ApplicationPrediction
}

func (*ApplicationPredictionExtended) ProducePredictions

type ClusterExtended

type ClusterExtended struct {
	*types.Cluster
}

func (*ClusterExtended) ProduceCluster

func (p *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

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

type ControllerExtended

type ControllerExtended struct {
	*types.Controller
}

func (*ControllerExtended) ProduceController

func (p *ControllerExtended) ProduceController() *resources.Controller

type ControllerMetricExtended

type ControllerMetricExtended struct {
	DaoMetricTypes.ControllerMetric
}

func (ControllerMetricExtended) ProduceMetrics

type ControllerPredictionExtended

type ControllerPredictionExtended struct {
	*DaoPredictionTypes.ControllerPrediction
}

func (*ControllerPredictionExtended) ProducePredictions

type GpuMetricExtended

type GpuMetricExtended struct {
	*DaoGpu.GpuMetric
}

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

type NamespaceExtended struct {
	*types.Namespace
}

func (*NamespaceExtended) ProduceNamespace

func (p *NamespaceExtended) ProduceNamespace() *resources.Namespace

type NamespaceMetricExtended

type NamespaceMetricExtended struct {
	DaoMetricTypes.NamespaceMetric
}

func (NamespaceMetricExtended) ProduceMetrics

type NamespacePredictionExtended

type NamespacePredictionExtended struct {
	*DaoPredictionTypes.NamespacePrediction
}

func (*NamespacePredictionExtended) ProducePredictions

type NodeExtended

type NodeExtended struct {
	*types.Node
}

func (*NodeExtended) ProduceNode

func (p *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

type PodExtended struct {
	*types.Pod
}

func (*PodExtended) ProducePod

func (p *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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL