v1alpha1

package
v4.2.526+incompatible Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceV1alpha1

type ServiceV1alpha1 struct {
	Config    *DatahubConfig.Config
	K8SClient client.Client
}

func NewService

func NewService(cfg *DatahubConfig.Config, k8sClient client.Client) *ServiceV1alpha1

func (*ServiceV1alpha1) CreateApplicationMetrics added in v0.9.166

func (s *ServiceV1alpha1) CreateApplicationMetrics(ctx context.Context, in *ApiMetrics.CreateApplicationMetricsRequest) (*status.Status, error)

func (*ServiceV1alpha1) CreateApplicationPlannings added in v0.9.166

func (*ServiceV1alpha1) CreateApplicationPredictions added in v0.9.166

func (*ServiceV1alpha1) CreateApplicationRecommendations added in v0.9.166

func (*ServiceV1alpha1) CreateApplications added in v0.9.166

func (*ServiceV1alpha1) CreateClusterMetrics added in v0.9.166

func (*ServiceV1alpha1) CreateClusterPlannings added in v0.9.166

func (*ServiceV1alpha1) CreateClusterPredictions added in v0.9.166

func (*ServiceV1alpha1) CreateClusterRecommendations added in v0.9.166

func (*ServiceV1alpha1) CreateClusters added in v0.9.166

func (*ServiceV1alpha1) CreateControllerMetrics added in v0.9.166

func (*ServiceV1alpha1) CreateControllerPlannings added in v0.9.1

CreateControllerPlannings add controller plannings information to database

func (*ServiceV1alpha1) CreateControllerPredictions added in v0.9.166

func (*ServiceV1alpha1) CreateControllerRecommendations

CreatePodRecommendations add controller recommendations information to database

func (*ServiceV1alpha1) CreateControllers

func (*ServiceV1alpha1) CreateEvents

func (*ServiceV1alpha1) CreateGpuPredictions added in v0.9.166

func (s *ServiceV1alpha1) CreateGpuPredictions(ctx context.Context, in *ApiGpu.CreateGpuPredictionsRequest) (*status.Status, error)

func (*ServiceV1alpha1) CreateNamespaceMetrics added in v0.9.166

func (*ServiceV1alpha1) CreateNamespacePlannings added in v0.9.166

func (*ServiceV1alpha1) CreateNamespacePredictions added in v0.9.166

func (*ServiceV1alpha1) CreateNamespaceRecommendations added in v0.9.166

func (*ServiceV1alpha1) CreateNamespaces added in v0.9.166

func (*ServiceV1alpha1) CreateNodeMetrics added in v0.9.166

func (*ServiceV1alpha1) CreateNodePlannings added in v0.9.166

func (*ServiceV1alpha1) CreateNodePredictions

CreateNodePredictions add node predictions information to database

func (*ServiceV1alpha1) CreateNodeRecommendations added in v0.9.166

func (*ServiceV1alpha1) CreateNodes added in v0.9.166

CreateAlamedaNodes add node information to database

func (*ServiceV1alpha1) CreatePodMetrics added in v0.9.166

func (*ServiceV1alpha1) CreatePodPlannings added in v0.9.1

CreatePodPlannings add pod plannings information to database

func (*ServiceV1alpha1) CreatePodPredictions

CreatePodPredictions add pod predictions information to database

func (*ServiceV1alpha1) CreatePodRecommendations

CreatePodRecommendations add pod recommendations information to database

func (*ServiceV1alpha1) CreatePods

CreatePods add containers information of pods to database

func (*ServiceV1alpha1) CreateSimulatedSchedulingScores

func (s *ServiceV1alpha1) CreateSimulatedSchedulingScores(ctx context.Context, in *ApiScores.CreateSimulatedSchedulingScoresRequest) (*status.Status, error)

CreateSimulatedSchedulingScores add simulated scheduling scores to database

func (*ServiceV1alpha1) DeleteApplications added in v0.9.166

func (*ServiceV1alpha1) DeleteClusters added in v0.9.166

func (*ServiceV1alpha1) DeleteControllers

func (*ServiceV1alpha1) DeleteNamespaces added in v0.9.166

func (*ServiceV1alpha1) DeleteNodes added in v0.9.166

DeleteAlamedaNodes remove node information to database

func (*ServiceV1alpha1) DeletePods

DeletePods update containers information of pods to database

func (*ServiceV1alpha1) GetLicense added in v0.9.1

func (*ServiceV1alpha1) ListApplicationMetrics added in v0.9.166

func (*ServiceV1alpha1) ListApplicationPlannings added in v0.9.166

func (*ServiceV1alpha1) ListApplications added in v0.9.166

func (*ServiceV1alpha1) ListAvailablePodRecommendations

ListAvailablePodRecommendations list pod recommendations

func (*ServiceV1alpha1) ListClusterMetrics added in v0.9.166

func (*ServiceV1alpha1) ListClusterPlannings added in v0.9.166

func (*ServiceV1alpha1) ListClusterPredictions added in v0.9.166

func (*ServiceV1alpha1) ListClusters added in v0.9.166

func (*ServiceV1alpha1) ListControllerMetrics added in v0.9.166

func (*ServiceV1alpha1) ListControllerPlannings added in v0.9.1

ListControllerPlannings list controller plannings

func (*ServiceV1alpha1) ListControllerPredictions added in v0.9.166

func (*ServiceV1alpha1) ListControllerRecommendations

ListControllerRecommendations list controller recommendations

func (*ServiceV1alpha1) ListEvents

func (*ServiceV1alpha1) ListGpuMetrics added in v0.9.166

func (*ServiceV1alpha1) ListGpuPredictions added in v0.9.166

func (*ServiceV1alpha1) ListGpus added in v0.9.166

func (*ServiceV1alpha1) ListNamespaceMetrics added in v0.9.166

func (*ServiceV1alpha1) ListNamespacePlannings added in v0.9.166

func (*ServiceV1alpha1) ListNamespacePredictions added in v0.9.166

func (*ServiceV1alpha1) ListNamespaces added in v0.9.166

func (*ServiceV1alpha1) ListNodePlannings added in v0.9.166

func (*ServiceV1alpha1) ListNodePredictions

ListNodePredictions list nodes' predictions

func (*ServiceV1alpha1) ListNodes

func (*ServiceV1alpha1) ListPodMetricsDemo

ListPodMetrics list pods' metrics for demo

func (*ServiceV1alpha1) ListPodPlannings added in v0.9.1

ListPodPlannings list pod plannings

func (*ServiceV1alpha1) ListPodPredictions

ListPodPredictions list pods' predictions

func (*ServiceV1alpha1) ListPodPredictionsDemo

ListPodPredictions list pods' predictions for demo

func (*ServiceV1alpha1) ListPodRecommendations

ListPodRecommendations list pod recommendations

func (*ServiceV1alpha1) ListPods added in v0.9.166

ListAlamedaPods returns predicted pods

func (*ServiceV1alpha1) ListSimulatedSchedulingScores

ListSimulatedSchedulingScores list simulated scheduling scores

func (*ServiceV1alpha1) Ping

func (s *ServiceV1alpha1) Ping(ctx context.Context, in *empty.Empty) (*status.Status, error)

func (*ServiceV1alpha1) ReadRawdata

Read rawdata from database

func (*ServiceV1alpha1) WriteRawdata

Write rawdata to database

Jump to

Keyboard shortcuts

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