requests

package
v4.2.516+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2019 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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 NewCapacity

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

func NewContainerStatus

func NewContainerStatus(containerStatus *resources.ContainerStatus) *types.ContainerStatus

func NewController

func NewController(controller *ApiResources.Controller) *DaoClusterTypes.Controller

func NewObjectMeta

func NewObjectMeta(objectMeta *resources.ObjectMeta) metadata.ObjectMeta

func NewPodStatus

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

func NewResourceRequirements

func NewResourceRequirements(resourceReq *resources.ResourceRequirements) *types.ResourceRequirements

Types

type CreateApplicationMetricsRequestExtended

type CreateApplicationMetricsRequestExtended struct {
	ApiMetrics.CreateApplicationMetricsRequest
}

func (*CreateApplicationMetricsRequestExtended) ProduceMetrics

func (*CreateApplicationMetricsRequestExtended) Validate

type CreateApplicationPredictionsRequestExtended

type CreateApplicationPredictionsRequestExtended struct {
	ApiPredictions.CreateApplicationPredictionsRequest
}

func (*CreateApplicationPredictionsRequestExtended) ProducePredictions

func (*CreateApplicationPredictionsRequestExtended) Validate

type CreateApplicationsRequestExtended

type CreateApplicationsRequestExtended struct {
	ApiResources.CreateApplicationsRequest
}

func (*CreateApplicationsRequestExtended) ProduceApplications

func (*CreateApplicationsRequestExtended) Validate

type CreateClusterMetricsRequestExtended

type CreateClusterMetricsRequestExtended struct {
	ApiMetrics.CreateClusterMetricsRequest
}

func (*CreateClusterMetricsRequestExtended) ProduceMetrics

func (*CreateClusterMetricsRequestExtended) Validate

type CreateClusterPredictionsRequestExtended

type CreateClusterPredictionsRequestExtended struct {
	ApiPredictions.CreateClusterPredictionsRequest
}

func (*CreateClusterPredictionsRequestExtended) ProducePredictions

func (*CreateClusterPredictionsRequestExtended) Validate

type CreateClustersRequestExtended

type CreateClustersRequestExtended struct {
	ApiResources.CreateClustersRequest
}

func (*CreateClustersRequestExtended) ProduceClusters

func (r *CreateClustersRequestExtended) ProduceClusters() []*DaoClusterTypes.Cluster

func (*CreateClustersRequestExtended) Validate

func (r *CreateClustersRequestExtended) Validate() error

type CreateControllerMetricsRequestExtended

type CreateControllerMetricsRequestExtended struct {
	ApiMetrics.CreateControllerMetricsRequest
}

func (*CreateControllerMetricsRequestExtended) ProduceMetrics

func (*CreateControllerMetricsRequestExtended) Validate

type CreateControllerPredictionsRequestExtended

type CreateControllerPredictionsRequestExtended struct {
	ApiPredictions.CreateControllerPredictionsRequest
}

func (*CreateControllerPredictionsRequestExtended) ProducePredictions

func (*CreateControllerPredictionsRequestExtended) Validate

type CreateControllersRequestExtended

type CreateControllersRequestExtended struct {
	ApiResources.CreateControllersRequest
}

func (*CreateControllersRequestExtended) ProduceControllers

func (r *CreateControllersRequestExtended) ProduceControllers() []*DaoClusterTypes.Controller

func (*CreateControllersRequestExtended) Validate

type CreateGpuPredictionsRequestExtended

type CreateGpuPredictionsRequestExtended struct {
	ApiGpu.CreateGpuPredictionsRequest
}

func (*CreateGpuPredictionsRequestExtended) ProducePredictions

func (*CreateGpuPredictionsRequestExtended) Validate

type CreateNamespaceMetricsRequestExtended

type CreateNamespaceMetricsRequestExtended struct {
	ApiMetrics.CreateNamespaceMetricsRequest
}

func (*CreateNamespaceMetricsRequestExtended) ProduceMetrics

func (*CreateNamespaceMetricsRequestExtended) Validate

type CreateNamespacePredictionsRequestExtended

type CreateNamespacePredictionsRequestExtended struct {
	ApiPredictions.CreateNamespacePredictionsRequest
}

func (*CreateNamespacePredictionsRequestExtended) ProducePredictions

func (*CreateNamespacePredictionsRequestExtended) Validate

type CreateNamespacesRequestExtended

type CreateNamespacesRequestExtended struct {
	ApiResources.CreateNamespacesRequest
}

func (*CreateNamespacesRequestExtended) ProduceNamespaces

func (r *CreateNamespacesRequestExtended) ProduceNamespaces() []*DaoClusterTypes.Namespace

func (*CreateNamespacesRequestExtended) Validate

func (r *CreateNamespacesRequestExtended) Validate() error

type CreateNodeMetricsRequestExtended

type CreateNodeMetricsRequestExtended struct {
	ApiMetrics.CreateNodeMetricsRequest
}

func (*CreateNodeMetricsRequestExtended) ProduceMetrics

func (*CreateNodeMetricsRequestExtended) Validate

type CreateNodePredictionsRequestExtended

type CreateNodePredictionsRequestExtended struct {
	ApiPredictions.CreateNodePredictionsRequest
}

func (*CreateNodePredictionsRequestExtended) ProducePredictions

func (*CreateNodePredictionsRequestExtended) Validate

type CreateNodesRequestExtended

type CreateNodesRequestExtended struct {
	ApiResources.CreateNodesRequest
}

func (*CreateNodesRequestExtended) ProduceNodes

func (r *CreateNodesRequestExtended) ProduceNodes() []*DaoClusterTypes.Node

func (*CreateNodesRequestExtended) Validate

func (r *CreateNodesRequestExtended) Validate() error

type CreatePodMetricsRequestExtended

type CreatePodMetricsRequestExtended struct {
	ApiMetrics.CreatePodMetricsRequest
}

func (*CreatePodMetricsRequestExtended) ProduceMetrics

func (*CreatePodMetricsRequestExtended) Validate

func (r *CreatePodMetricsRequestExtended) Validate() error

type CreatePodPredictionsRequestExtended

type CreatePodPredictionsRequestExtended struct {
	ApiPredictions.CreatePodPredictionsRequest
}

func (*CreatePodPredictionsRequestExtended) ProducePredictions

func (*CreatePodPredictionsRequestExtended) Validate

type CreatePodsRequestExtended

type CreatePodsRequestExtended struct {
	ApiResources.CreatePodsRequest
}

func (*CreatePodsRequestExtended) ProducePods

func (r *CreatePodsRequestExtended) ProducePods() []*DaoClusterTypes.Pod

func (*CreatePodsRequestExtended) Validate

func (r *CreatePodsRequestExtended) Validate() error

type ListAppMetricsRequestExtended

type ListAppMetricsRequestExtended struct {
	Request *ApiMetrics.ListApplicationMetricsRequest
}

func (*ListAppMetricsRequestExtended) ProduceRequest

func (*ListAppMetricsRequestExtended) SetDefault

func (r *ListAppMetricsRequestExtended) SetDefault()

func (*ListAppMetricsRequestExtended) Validate

func (r *ListAppMetricsRequestExtended) Validate() error

type ListApplicationPredictionsRequestExtended

type ListApplicationPredictionsRequestExtended struct {
	Request *ApiPredictions.ListApplicationPredictionsRequest
}

func (*ListApplicationPredictionsRequestExtended) ProduceRequest

func (*ListApplicationPredictionsRequestExtended) Validate

type ListApplicationsRequestExtended

type ListApplicationsRequestExtended struct {
	*ApiResources.ListApplicationsRequest
}

func (*ListApplicationsRequestExtended) ProduceRequest

func (*ListApplicationsRequestExtended) Validate

func (r *ListApplicationsRequestExtended) Validate() error

type ListClusterMetricsRequestExtended

type ListClusterMetricsRequestExtended struct {
	Request *ApiMetrics.ListClusterMetricsRequest
}

func (*ListClusterMetricsRequestExtended) ProduceRequest

func (*ListClusterMetricsRequestExtended) SetDefault

func (r *ListClusterMetricsRequestExtended) SetDefault()

func (*ListClusterMetricsRequestExtended) Validate

type ListClusterPredictionsRequestExtended

type ListClusterPredictionsRequestExtended struct {
	Request *ApiPredictions.ListClusterPredictionsRequest
}

func (*ListClusterPredictionsRequestExtended) ProduceRequest

func (*ListClusterPredictionsRequestExtended) Validate

type ListClustersRequestExtended

type ListClustersRequestExtended struct {
	*ApiResources.ListClustersRequest
}

func (*ListClustersRequestExtended) ProduceRequest

func (*ListClustersRequestExtended) Validate

func (r *ListClustersRequestExtended) Validate() error

type ListControllerMetricsRequestExtended

type ListControllerMetricsRequestExtended struct {
	Request *ApiMetrics.ListControllerMetricsRequest
}

func (*ListControllerMetricsRequestExtended) ProduceRequest

func (*ListControllerMetricsRequestExtended) SetDefault

func (r *ListControllerMetricsRequestExtended) SetDefault()

func (*ListControllerMetricsRequestExtended) Validate

type ListControllerPredictionsRequestExtended

type ListControllerPredictionsRequestExtended struct {
	Request *ApiPredictions.ListControllerPredictionsRequest
}

func (*ListControllerPredictionsRequestExtended) ProduceRequest

func (*ListControllerPredictionsRequestExtended) Validate

type ListControllersRequestExtended

type ListControllersRequestExtended struct {
	*ApiResources.ListControllersRequest
}

func (*ListControllersRequestExtended) ProduceRequest

func (*ListControllersRequestExtended) Validate

func (r *ListControllersRequestExtended) Validate() error

type ListNamespaceMetricsRequestExtended

type ListNamespaceMetricsRequestExtended struct {
	Request *ApiMetrics.ListNamespaceMetricsRequest
}

func (*ListNamespaceMetricsRequestExtended) ProduceRequest

func (*ListNamespaceMetricsRequestExtended) SetDefault

func (r *ListNamespaceMetricsRequestExtended) SetDefault()

func (*ListNamespaceMetricsRequestExtended) Validate

type ListNamespacePredictionsRequestExtended

type ListNamespacePredictionsRequestExtended struct {
	Request *ApiPredictions.ListNamespacePredictionsRequest
}

func (*ListNamespacePredictionsRequestExtended) ProduceRequest

func (*ListNamespacePredictionsRequestExtended) Validate

type ListNamespacesRequestExtended

type ListNamespacesRequestExtended struct {
	*ApiResources.ListNamespacesRequest
}

func (*ListNamespacesRequestExtended) ProduceRequest

func (*ListNamespacesRequestExtended) Validate

func (r *ListNamespacesRequestExtended) Validate() error

type ListNodeMetricsRequestExtended

type ListNodeMetricsRequestExtended struct {
	Request *ApiMetrics.ListNodeMetricsRequest
}

func (*ListNodeMetricsRequestExtended) ProduceRequest

func (*ListNodeMetricsRequestExtended) SetDefault

func (r *ListNodeMetricsRequestExtended) SetDefault()

func (*ListNodeMetricsRequestExtended) Validate

func (r *ListNodeMetricsRequestExtended) Validate() error

type ListNodePredictionsRequestExtended

type ListNodePredictionsRequestExtended struct {
	Request *ApiPredictions.ListNodePredictionsRequest
}

func (*ListNodePredictionsRequestExtended) ProduceRequest

func (*ListNodePredictionsRequestExtended) Validate

type ListNodesRequestExtended

type ListNodesRequestExtended struct {
	*ApiResources.ListNodesRequest
}

func (*ListNodesRequestExtended) ProduceRequest

func (*ListNodesRequestExtended) Validate

func (r *ListNodesRequestExtended) Validate() error

type ListPodMetricsRequestExtended

type ListPodMetricsRequestExtended struct {
	Request *ApiMetrics.ListPodMetricsRequest
}

func (*ListPodMetricsRequestExtended) ProduceRequest

func (*ListPodMetricsRequestExtended) SetDefault

func (r *ListPodMetricsRequestExtended) SetDefault()

func (*ListPodMetricsRequestExtended) Validate

func (r *ListPodMetricsRequestExtended) Validate() error

type ListPodPredictionsRequestExtended

type ListPodPredictionsRequestExtended struct {
	Request *ApiPredictions.ListPodPredictionsRequest
}

func (*ListPodPredictionsRequestExtended) ProduceRequest

func (*ListPodPredictionsRequestExtended) Validate

type ListPodsRequestExtended

type ListPodsRequestExtended struct {
	*ApiResources.ListPodsRequest
}

func (*ListPodsRequestExtended) ProduceRequest

func (*ListPodsRequestExtended) Validate

func (r *ListPodsRequestExtended) Validate() error

type ListSimulatedSchedulingScoresRequestExtended

type ListSimulatedSchedulingScoresRequestExtended struct {
	Request *ApiScores.ListSimulatedSchedulingScoresRequest
}

func (*ListSimulatedSchedulingScoresRequestExtended) ProduceRequest

type QueryConditionExtend

type QueryConditionExtend struct {
	Condition *ApiCommon.QueryCondition
}

func (QueryConditionExtend) QueryCondition

func (d QueryConditionExtend) QueryCondition() DBCommon.QueryCondition

Jump to

Keyboard shortcuts

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