v1alpha1

package
v4.2.271+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2019 License: Apache-2.0 Imports: 40 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) CreateAlamedaNodes

CreateAlamedaNodes add node information to database

func (*ServiceV1alpha1) CreateControllerPlannings added in v0.9.1

CreateControllerPlannings add controller plannings information to database

func (*ServiceV1alpha1) CreateControllerRecommendations

CreatePodRecommendations add controller recommendations information to database

func (*ServiceV1alpha1) CreateControllers

func (*ServiceV1alpha1) CreateEvents

func (*ServiceV1alpha1) CreateNodePredictions

CreateNodePredictions add node predictions information to database

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

CreateSimulatedSchedulingScores add simulated scheduling scores to database

func (*ServiceV1alpha1) DeleteAlamedaNodes

DeleteAlamedaNodes remove node information to database

func (*ServiceV1alpha1) DeleteControllers

func (*ServiceV1alpha1) DeletePods

DeletePods update containers information of pods to database

func (*ServiceV1alpha1) GetLicense added in v0.9.1

func (*ServiceV1alpha1) ListAlamedaNodes

ListAlamedaNodes list nodes in cluster

func (*ServiceV1alpha1) ListAlamedaPods

ListAlamedaPods returns predicted pods

func (*ServiceV1alpha1) ListAvailablePodRecommendations

ListAvailablePodRecommendations list pod recommendations

func (*ServiceV1alpha1) ListControllerPlannings added in v0.9.1

ListControllerPlannings list controller plannings

func (*ServiceV1alpha1) ListControllerRecommendations

ListControllerRecommendations list controller recommendations

func (*ServiceV1alpha1) ListNodeMetrics

ListNodeMetrics list nodes' metrics

func (*ServiceV1alpha1) ListNodePredictions

ListNodePredictions list nodes' predictions

func (*ServiceV1alpha1) ListPodMetrics

ListPodMetrics list pods' metrics

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) ListPodsByNodeName

ListPodsByNodeName list pods running on specific nodes

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