datahub

package
v4.2.789+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2020 License: Apache-2.0 Imports: 23 Imported by: 28

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterDatahubServiceServer

func RegisterDatahubServiceServer(s *grpc.Server, srv DatahubServiceServer)

Types

type DatahubServiceClient

type DatahubServiceClient interface {
	// Applications --------------------------------------------------
	CreateApps(ctx context.Context, in *applications.CreateApplicationsRequest, opts ...grpc.CallOption) (*status.Status, error)
	ListApps(ctx context.Context, in *applications.ListApplicationsRequest, opts ...grpc.CallOption) (*applications.ListApplicationsResponse, error)
	DeleteApps(ctx context.Context, in *applications.DeleteApplicationsRequest, opts ...grpc.CallOption) (*status.Status, error)
	// Data --------------------------------------------------
	ReadData(ctx context.Context, in *data.ReadDataRequest, opts ...grpc.CallOption) (*data.ReadDataResponse, error)
	WriteData(ctx context.Context, in *data.WriteDataRequest, opts ...grpc.CallOption) (*status.Status, error)
	DeleteData(ctx context.Context, in *data.DeleteDataRequest, opts ...grpc.CallOption) (*status.Status, error)
	// Events --------------------------------------------------
	CreateEvents(ctx context.Context, in *events.CreateEventsRequest, opts ...grpc.CallOption) (*status.Status, error)
	ListEvents(ctx context.Context, in *events.ListEventsRequest, opts ...grpc.CallOption) (*events.ListEventsResponse, error)
	// GPU --------------------------------------------------
	CreateGpuPredictions(ctx context.Context, in *gpu.CreateGpuPredictionsRequest, opts ...grpc.CallOption) (*status.Status, error)
	ListGpus(ctx context.Context, in *gpu.ListGpusRequest, opts ...grpc.CallOption) (*gpu.ListGpusResponse, error)
	ListGpuMetrics(ctx context.Context, in *gpu.ListGpuMetricsRequest, opts ...grpc.CallOption) (*gpu.ListGpuMetricsResponse, error)
	ListGpuPredictions(ctx context.Context, in *gpu.ListGpuPredictionsRequest, opts ...grpc.CallOption) (*gpu.ListGpuPredictionsResponse, error)
	// Licenses --------------------------------------------------
	GetLicense(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*licenses.GetLicenseResponse, error)
	// Metrics --------------------------------------------------
	CreateMetrics(ctx context.Context, in *metrics.CreateMetricsRequest, opts ...grpc.CallOption) (*status.Status, error)
	CreatePodMetrics(ctx context.Context, in *metrics.CreatePodMetricsRequest, opts ...grpc.CallOption) (*status.Status, error)
	CreateControllerMetrics(ctx context.Context, in *metrics.CreateControllerMetricsRequest, opts ...grpc.CallOption) (*status.Status, error)
	CreateApplicationMetrics(ctx context.Context, in *metrics.CreateApplicationMetricsRequest, opts ...grpc.CallOption) (*status.Status, error)
	CreateNamespaceMetrics(ctx context.Context, in *metrics.CreateNamespaceMetricsRequest, opts ...grpc.CallOption) (*status.Status, error)
	CreateNodeMetrics(ctx context.Context, in *metrics.CreateNodeMetricsRequest, opts ...grpc.CallOption) (*status.Status, error)
	CreateClusterMetrics(ctx context.Context, in *metrics.CreateClusterMetricsRequest, opts ...grpc.CallOption) (*status.Status, error)
	ListMetrics(ctx context.Context, in *metrics.ListMetricsRequest, opts ...grpc.CallOption) (*metrics.ListMetricsResponse, error)
	ListPodMetrics(ctx context.Context, in *metrics.ListPodMetricsRequest, opts ...grpc.CallOption) (*metrics.ListPodMetricsResponse, error)
	ListControllerMetrics(ctx context.Context, in *metrics.ListControllerMetricsRequest, opts ...grpc.CallOption) (*metrics.ListControllerMetricsResponse, error)
	ListApplicationMetrics(ctx context.Context, in *metrics.ListApplicationMetricsRequest, opts ...grpc.CallOption) (*metrics.ListApplicationMetricsResponse, error)
	ListNamespaceMetrics(ctx context.Context, in *metrics.ListNamespaceMetricsRequest, opts ...grpc.CallOption) (*metrics.ListNamespaceMetricsResponse, error)
	ListNodeMetrics(ctx context.Context, in *metrics.ListNodeMetricsRequest, opts ...grpc.CallOption) (*metrics.ListNodeMetricsResponse, error)
	ListClusterMetrics(ctx context.Context, in *metrics.ListClusterMetricsRequest, opts ...grpc.CallOption) (*metrics.ListClusterMetricsResponse, error)
	// Ping --------------------------------------------------
	Ping(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*status.Status, error)
	// Plannings --------------------------------------------------
	CreatePlannings(ctx context.Context, in *plannings.CreatePlanningsRequest, opts ...grpc.CallOption) (*status.Status, error)
	CreatePodPlannings(ctx context.Context, in *plannings.CreatePodPlanningsRequest, opts ...grpc.CallOption) (*status.Status, error)
	CreateControllerPlannings(ctx context.Context, in *plannings.CreateControllerPlanningsRequest, opts ...grpc.CallOption) (*status.Status, error)
	CreateApplicationPlannings(ctx context.Context, in *plannings.CreateApplicationPlanningsRequest, opts ...grpc.CallOption) (*status.Status, error)
	CreateNamespacePlannings(ctx context.Context, in *plannings.CreateNamespacePlanningsRequest, opts ...grpc.CallOption) (*status.Status, error)
	CreateNodePlannings(ctx context.Context, in *plannings.CreateNodePlanningsRequest, opts ...grpc.CallOption) (*status.Status, error)
	CreateClusterPlannings(ctx context.Context, in *plannings.CreateClusterPlanningsRequest, opts ...grpc.CallOption) (*status.Status, error)
	ListPlannings(ctx context.Context, in *plannings.ListPlanningsRequest, opts ...grpc.CallOption) (*plannings.ListPlanningsResponse, error)
	ListPodPlannings(ctx context.Context, in *plannings.ListPodPlanningsRequest, opts ...grpc.CallOption) (*plannings.ListPodPlanningsResponse, error)
	ListControllerPlannings(ctx context.Context, in *plannings.ListControllerPlanningsRequest, opts ...grpc.CallOption) (*plannings.ListControllerPlanningsResponse, error)
	ListApplicationPlannings(ctx context.Context, in *plannings.ListApplicationPlanningsRequest, opts ...grpc.CallOption) (*plannings.ListApplicationPlanningsResponse, error)
	ListNamespacePlannings(ctx context.Context, in *plannings.ListNamespacePlanningsRequest, opts ...grpc.CallOption) (*plannings.ListNamespacePlanningsResponse, error)
	ListNodePlannings(ctx context.Context, in *plannings.ListNodePlanningsRequest, opts ...grpc.CallOption) (*plannings.ListNodePlanningsResponse, error)
	ListClusterPlannings(ctx context.Context, in *plannings.ListClusterPlanningsRequest, opts ...grpc.CallOption) (*plannings.ListClusterPlanningsResponse, error)
	// Predictions --------------------------------------------------
	CreatePredictions(ctx context.Context, in *predictions.CreatePredictionsRequest, opts ...grpc.CallOption) (*status.Status, error)
	CreatePodPredictions(ctx context.Context, in *predictions.CreatePodPredictionsRequest, opts ...grpc.CallOption) (*status.Status, error)
	CreateControllerPredictions(ctx context.Context, in *predictions.CreateControllerPredictionsRequest, opts ...grpc.CallOption) (*status.Status, error)
	CreateApplicationPredictions(ctx context.Context, in *predictions.CreateApplicationPredictionsRequest, opts ...grpc.CallOption) (*status.Status, error)
	CreateNamespacePredictions(ctx context.Context, in *predictions.CreateNamespacePredictionsRequest, opts ...grpc.CallOption) (*status.Status, error)
	CreateNodePredictions(ctx context.Context, in *predictions.CreateNodePredictionsRequest, opts ...grpc.CallOption) (*status.Status, error)
	CreateClusterPredictions(ctx context.Context, in *predictions.CreateClusterPredictionsRequest, opts ...grpc.CallOption) (*status.Status, error)
	ListPredictions(ctx context.Context, in *predictions.ListPredictionsRequest, opts ...grpc.CallOption) (*predictions.ListPredictionsResponse, error)
	ListPodPredictions(ctx context.Context, in *predictions.ListPodPredictionsRequest, opts ...grpc.CallOption) (*predictions.ListPodPredictionsResponse, error)
	ListControllerPredictions(ctx context.Context, in *predictions.ListControllerPredictionsRequest, opts ...grpc.CallOption) (*predictions.ListControllerPredictionsResponse, error)
	ListApplicationPredictions(ctx context.Context, in *predictions.ListApplicationPredictionsRequest, opts ...grpc.CallOption) (*predictions.ListApplicationPredictionsResponse, error)
	ListNamespacePredictions(ctx context.Context, in *predictions.ListNamespacePredictionsRequest, opts ...grpc.CallOption) (*predictions.ListNamespacePredictionsResponse, error)
	ListNodePredictions(ctx context.Context, in *predictions.ListNodePredictionsRequest, opts ...grpc.CallOption) (*predictions.ListNodePredictionsResponse, error)
	ListClusterPredictions(ctx context.Context, in *predictions.ListClusterPredictionsRequest, opts ...grpc.CallOption) (*predictions.ListClusterPredictionsResponse, error)
	// Rawdata --------------------------------------------------
	ReadRawdata(ctx context.Context, in *rawdata.ReadRawdataRequest, opts ...grpc.CallOption) (*rawdata.ReadRawdataResponse, error)
	WriteRawdata(ctx context.Context, in *rawdata.WriteRawdataRequest, opts ...grpc.CallOption) (*status.Status, error)
	// Recommendations --------------------------------------------------
	CreateRecommendations(ctx context.Context, in *recommendations.CreateRecommendationsRequest, opts ...grpc.CallOption) (*status.Status, error)
	CreatePodRecommendations(ctx context.Context, in *recommendations.CreatePodRecommendationsRequest, opts ...grpc.CallOption) (*status.Status, error)
	CreateControllerRecommendations(ctx context.Context, in *recommendations.CreateControllerRecommendationsRequest, opts ...grpc.CallOption) (*status.Status, error)
	CreateApplicationRecommendations(ctx context.Context, in *recommendations.CreateApplicationRecommendationsRequest, opts ...grpc.CallOption) (*status.Status, error)
	CreateNamespaceRecommendations(ctx context.Context, in *recommendations.CreateNamespaceRecommendationsRequest, opts ...grpc.CallOption) (*status.Status, error)
	CreateNodeRecommendations(ctx context.Context, in *recommendations.CreateNodeRecommendationsRequest, opts ...grpc.CallOption) (*status.Status, error)
	CreateClusterRecommendations(ctx context.Context, in *recommendations.CreateClusterRecommendationsRequest, opts ...grpc.CallOption) (*status.Status, error)
	ListRecommendations(ctx context.Context, in *recommendations.ListRecommendationsRequest, opts ...grpc.CallOption) (*recommendations.ListRecommendationsResponse, error)
	ListPodRecommendations(ctx context.Context, in *recommendations.ListPodRecommendationsRequest, opts ...grpc.CallOption) (*recommendations.ListPodRecommendationsResponse, error)
	ListAvailablePodRecommendations(ctx context.Context, in *recommendations.ListPodRecommendationsRequest, opts ...grpc.CallOption) (*recommendations.ListPodRecommendationsResponse, error)
	ListControllerRecommendations(ctx context.Context, in *recommendations.ListControllerRecommendationsRequest, opts ...grpc.CallOption) (*recommendations.ListControllerRecommendationsResponse, error)
	ListApplicationRecommendations(ctx context.Context, in *recommendations.ListApplicationRecommendationsRequest, opts ...grpc.CallOption) (*recommendations.ListApplicationRecommendationsResponse, error)
	ListNamespaceRecommendations(ctx context.Context, in *recommendations.ListNamespaceRecommendationsRequest, opts ...grpc.CallOption) (*recommendations.ListNamespaceRecommendationsResponse, error)
	ListNodeRecommendations(ctx context.Context, in *recommendations.ListNodeRecommendationsRequest, opts ...grpc.CallOption) (*recommendations.ListNodeRecommendationsResponse, error)
	ListClusterRecommendations(ctx context.Context, in *recommendations.ListClusterRecommendationsRequest, opts ...grpc.CallOption) (*recommendations.ListClusterRecommendationsResponse, error)
	// Resources --------------------------------------------------
	// Used to add pods that need to be predicted
	CreatePods(ctx context.Context, in *resources.CreatePodsRequest, opts ...grpc.CallOption) (*status.Status, error)
	CreateControllers(ctx context.Context, in *resources.CreateControllersRequest, opts ...grpc.CallOption) (*status.Status, error)
	CreateApplications(ctx context.Context, in *resources.CreateApplicationsRequest, opts ...grpc.CallOption) (*status.Status, error)
	CreateNamespaces(ctx context.Context, in *resources.CreateNamespacesRequest, opts ...grpc.CallOption) (*status.Status, error)
	// Used to add nodes that need to be predicted
	CreateNodes(ctx context.Context, in *resources.CreateNodesRequest, opts ...grpc.CallOption) (*status.Status, error)
	CreateClusters(ctx context.Context, in *resources.CreateClustersRequest, opts ...grpc.CallOption) (*status.Status, error)
	// Used to list pods need to be predicted
	ListPods(ctx context.Context, in *resources.ListPodsRequest, opts ...grpc.CallOption) (*resources.ListPodsResponse, error)
	ListControllers(ctx context.Context, in *resources.ListControllersRequest, opts ...grpc.CallOption) (*resources.ListControllersResponse, error)
	// Application
	ListApplications(ctx context.Context, in *resources.ListApplicationsRequest, opts ...grpc.CallOption) (*resources.ListApplicationsResponse, error)
	// Namespace
	ListNamespaces(ctx context.Context, in *resources.ListNamespacesRequest, opts ...grpc.CallOption) (*resources.ListNamespacesResponse, error)
	// Used to list nodes' information
	ListNodes(ctx context.Context, in *resources.ListNodesRequest, opts ...grpc.CallOption) (*resources.ListNodesResponse, error)
	// Cluster
	ListClusters(ctx context.Context, in *resources.ListClustersRequest, opts ...grpc.CallOption) (*resources.ListClustersResponse, error)
	// Used to delete info of pods
	DeletePods(ctx context.Context, in *resources.DeletePodsRequest, opts ...grpc.CallOption) (*status.Status, error)
	DeleteControllers(ctx context.Context, in *resources.DeleteControllersRequest, opts ...grpc.CallOption) (*status.Status, error)
	DeleteApplications(ctx context.Context, in *resources.DeleteApplicationsRequest, opts ...grpc.CallOption) (*status.Status, error)
	DeleteNamespaces(ctx context.Context, in *resources.DeleteNamespacesRequest, opts ...grpc.CallOption) (*status.Status, error)
	// Used to stop generating predictions for the nodes
	DeleteNodes(ctx context.Context, in *resources.DeleteNodesRequest, opts ...grpc.CallOption) (*status.Status, error)
	DeleteClusters(ctx context.Context, in *resources.DeleteClustersRequest, opts ...grpc.CallOption) (*status.Status, error)
	// Schemas --------------------------------------------------
	CreateSchemas(ctx context.Context, in *schemas.CreateSchemasRequest, opts ...grpc.CallOption) (*status.Status, error)
	ListSchemas(ctx context.Context, in *schemas.ListSchemasRequest, opts ...grpc.CallOption) (*schemas.ListSchemasResponse, error)
	DeleteSchemas(ctx context.Context, in *schemas.DeleteSchemasRequest, opts ...grpc.CallOption) (*status.Status, error)
	// Scores --------------------------------------------------
	CreateSimulatedSchedulingScores(ctx context.Context, in *scores.CreateSimulatedSchedulingScoresRequest, opts ...grpc.CallOption) (*status.Status, error)
	// Used to list system scores
	ListSimulatedSchedulingScores(ctx context.Context, in *scores.ListSimulatedSchedulingScoresRequest, opts ...grpc.CallOption) (*scores.ListSimulatedSchedulingScoresResponse, error)
	// weave scope --------------------------------------------------
	ListWeaveScopeHosts(ctx context.Context, in *weavescope.ListWeaveScopeHostsRequest, opts ...grpc.CallOption) (*weavescope.WeaveScopeResponse, error)
	GetWeaveScopeHostDetails(ctx context.Context, in *weavescope.ListWeaveScopeHostsRequest, opts ...grpc.CallOption) (*weavescope.WeaveScopeResponse, error)
	ListWeaveScopePods(ctx context.Context, in *weavescope.ListWeaveScopePodsRequest, opts ...grpc.CallOption) (*weavescope.WeaveScopeResponse, error)
	GetWeaveScopePodDetails(ctx context.Context, in *weavescope.ListWeaveScopePodsRequest, opts ...grpc.CallOption) (*weavescope.WeaveScopeResponse, error)
	ListWeaveScopeContainers(ctx context.Context, in *weavescope.ListWeaveScopeContainersRequest, opts ...grpc.CallOption) (*weavescope.WeaveScopeResponse, error)
	ListWeaveScopeContainersByHostname(ctx context.Context, in *weavescope.ListWeaveScopeContainersRequest, opts ...grpc.CallOption) (*weavescope.WeaveScopeResponse, error)
	ListWeaveScopeContainersByImage(ctx context.Context, in *weavescope.ListWeaveScopeContainersRequest, opts ...grpc.CallOption) (*weavescope.WeaveScopeResponse, error)
	GetWeaveScopeContainerDetails(ctx context.Context, in *weavescope.ListWeaveScopeContainersRequest, opts ...grpc.CallOption) (*weavescope.WeaveScopeResponse, error)
}

DatahubServiceClient is the client API for DatahubService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type DatahubServiceServer

type DatahubServiceServer interface {
	// Applications --------------------------------------------------
	CreateApps(context.Context, *applications.CreateApplicationsRequest) (*status.Status, error)
	ListApps(context.Context, *applications.ListApplicationsRequest) (*applications.ListApplicationsResponse, error)
	DeleteApps(context.Context, *applications.DeleteApplicationsRequest) (*status.Status, error)
	// Data --------------------------------------------------
	ReadData(context.Context, *data.ReadDataRequest) (*data.ReadDataResponse, error)
	WriteData(context.Context, *data.WriteDataRequest) (*status.Status, error)
	DeleteData(context.Context, *data.DeleteDataRequest) (*status.Status, error)
	// Events --------------------------------------------------
	CreateEvents(context.Context, *events.CreateEventsRequest) (*status.Status, error)
	ListEvents(context.Context, *events.ListEventsRequest) (*events.ListEventsResponse, error)
	// GPU --------------------------------------------------
	CreateGpuPredictions(context.Context, *gpu.CreateGpuPredictionsRequest) (*status.Status, error)
	ListGpus(context.Context, *gpu.ListGpusRequest) (*gpu.ListGpusResponse, error)
	ListGpuMetrics(context.Context, *gpu.ListGpuMetricsRequest) (*gpu.ListGpuMetricsResponse, error)
	ListGpuPredictions(context.Context, *gpu.ListGpuPredictionsRequest) (*gpu.ListGpuPredictionsResponse, error)
	// Licenses --------------------------------------------------
	GetLicense(context.Context, *empty.Empty) (*licenses.GetLicenseResponse, error)
	// Metrics --------------------------------------------------
	CreateMetrics(context.Context, *metrics.CreateMetricsRequest) (*status.Status, error)
	CreatePodMetrics(context.Context, *metrics.CreatePodMetricsRequest) (*status.Status, error)
	CreateControllerMetrics(context.Context, *metrics.CreateControllerMetricsRequest) (*status.Status, error)
	CreateApplicationMetrics(context.Context, *metrics.CreateApplicationMetricsRequest) (*status.Status, error)
	CreateNamespaceMetrics(context.Context, *metrics.CreateNamespaceMetricsRequest) (*status.Status, error)
	CreateNodeMetrics(context.Context, *metrics.CreateNodeMetricsRequest) (*status.Status, error)
	CreateClusterMetrics(context.Context, *metrics.CreateClusterMetricsRequest) (*status.Status, error)
	ListMetrics(context.Context, *metrics.ListMetricsRequest) (*metrics.ListMetricsResponse, error)
	ListPodMetrics(context.Context, *metrics.ListPodMetricsRequest) (*metrics.ListPodMetricsResponse, error)
	ListControllerMetrics(context.Context, *metrics.ListControllerMetricsRequest) (*metrics.ListControllerMetricsResponse, error)
	ListApplicationMetrics(context.Context, *metrics.ListApplicationMetricsRequest) (*metrics.ListApplicationMetricsResponse, error)
	ListNamespaceMetrics(context.Context, *metrics.ListNamespaceMetricsRequest) (*metrics.ListNamespaceMetricsResponse, error)
	ListNodeMetrics(context.Context, *metrics.ListNodeMetricsRequest) (*metrics.ListNodeMetricsResponse, error)
	ListClusterMetrics(context.Context, *metrics.ListClusterMetricsRequest) (*metrics.ListClusterMetricsResponse, error)
	// Ping --------------------------------------------------
	Ping(context.Context, *empty.Empty) (*status.Status, error)
	// Plannings --------------------------------------------------
	CreatePlannings(context.Context, *plannings.CreatePlanningsRequest) (*status.Status, error)
	CreatePodPlannings(context.Context, *plannings.CreatePodPlanningsRequest) (*status.Status, error)
	CreateControllerPlannings(context.Context, *plannings.CreateControllerPlanningsRequest) (*status.Status, error)
	CreateApplicationPlannings(context.Context, *plannings.CreateApplicationPlanningsRequest) (*status.Status, error)
	CreateNamespacePlannings(context.Context, *plannings.CreateNamespacePlanningsRequest) (*status.Status, error)
	CreateNodePlannings(context.Context, *plannings.CreateNodePlanningsRequest) (*status.Status, error)
	CreateClusterPlannings(context.Context, *plannings.CreateClusterPlanningsRequest) (*status.Status, error)
	ListPlannings(context.Context, *plannings.ListPlanningsRequest) (*plannings.ListPlanningsResponse, error)
	ListPodPlannings(context.Context, *plannings.ListPodPlanningsRequest) (*plannings.ListPodPlanningsResponse, error)
	ListControllerPlannings(context.Context, *plannings.ListControllerPlanningsRequest) (*plannings.ListControllerPlanningsResponse, error)
	ListApplicationPlannings(context.Context, *plannings.ListApplicationPlanningsRequest) (*plannings.ListApplicationPlanningsResponse, error)
	ListNamespacePlannings(context.Context, *plannings.ListNamespacePlanningsRequest) (*plannings.ListNamespacePlanningsResponse, error)
	ListNodePlannings(context.Context, *plannings.ListNodePlanningsRequest) (*plannings.ListNodePlanningsResponse, error)
	ListClusterPlannings(context.Context, *plannings.ListClusterPlanningsRequest) (*plannings.ListClusterPlanningsResponse, error)
	// Predictions --------------------------------------------------
	CreatePredictions(context.Context, *predictions.CreatePredictionsRequest) (*status.Status, error)
	CreatePodPredictions(context.Context, *predictions.CreatePodPredictionsRequest) (*status.Status, error)
	CreateControllerPredictions(context.Context, *predictions.CreateControllerPredictionsRequest) (*status.Status, error)
	CreateApplicationPredictions(context.Context, *predictions.CreateApplicationPredictionsRequest) (*status.Status, error)
	CreateNamespacePredictions(context.Context, *predictions.CreateNamespacePredictionsRequest) (*status.Status, error)
	CreateNodePredictions(context.Context, *predictions.CreateNodePredictionsRequest) (*status.Status, error)
	CreateClusterPredictions(context.Context, *predictions.CreateClusterPredictionsRequest) (*status.Status, error)
	ListPredictions(context.Context, *predictions.ListPredictionsRequest) (*predictions.ListPredictionsResponse, error)
	ListPodPredictions(context.Context, *predictions.ListPodPredictionsRequest) (*predictions.ListPodPredictionsResponse, error)
	ListControllerPredictions(context.Context, *predictions.ListControllerPredictionsRequest) (*predictions.ListControllerPredictionsResponse, error)
	ListApplicationPredictions(context.Context, *predictions.ListApplicationPredictionsRequest) (*predictions.ListApplicationPredictionsResponse, error)
	ListNamespacePredictions(context.Context, *predictions.ListNamespacePredictionsRequest) (*predictions.ListNamespacePredictionsResponse, error)
	ListNodePredictions(context.Context, *predictions.ListNodePredictionsRequest) (*predictions.ListNodePredictionsResponse, error)
	ListClusterPredictions(context.Context, *predictions.ListClusterPredictionsRequest) (*predictions.ListClusterPredictionsResponse, error)
	// Rawdata --------------------------------------------------
	ReadRawdata(context.Context, *rawdata.ReadRawdataRequest) (*rawdata.ReadRawdataResponse, error)
	WriteRawdata(context.Context, *rawdata.WriteRawdataRequest) (*status.Status, error)
	// Recommendations --------------------------------------------------
	CreateRecommendations(context.Context, *recommendations.CreateRecommendationsRequest) (*status.Status, error)
	CreatePodRecommendations(context.Context, *recommendations.CreatePodRecommendationsRequest) (*status.Status, error)
	CreateControllerRecommendations(context.Context, *recommendations.CreateControllerRecommendationsRequest) (*status.Status, error)
	CreateApplicationRecommendations(context.Context, *recommendations.CreateApplicationRecommendationsRequest) (*status.Status, error)
	CreateNamespaceRecommendations(context.Context, *recommendations.CreateNamespaceRecommendationsRequest) (*status.Status, error)
	CreateNodeRecommendations(context.Context, *recommendations.CreateNodeRecommendationsRequest) (*status.Status, error)
	CreateClusterRecommendations(context.Context, *recommendations.CreateClusterRecommendationsRequest) (*status.Status, error)
	ListRecommendations(context.Context, *recommendations.ListRecommendationsRequest) (*recommendations.ListRecommendationsResponse, error)
	ListPodRecommendations(context.Context, *recommendations.ListPodRecommendationsRequest) (*recommendations.ListPodRecommendationsResponse, error)
	ListAvailablePodRecommendations(context.Context, *recommendations.ListPodRecommendationsRequest) (*recommendations.ListPodRecommendationsResponse, error)
	ListControllerRecommendations(context.Context, *recommendations.ListControllerRecommendationsRequest) (*recommendations.ListControllerRecommendationsResponse, error)
	ListApplicationRecommendations(context.Context, *recommendations.ListApplicationRecommendationsRequest) (*recommendations.ListApplicationRecommendationsResponse, error)
	ListNamespaceRecommendations(context.Context, *recommendations.ListNamespaceRecommendationsRequest) (*recommendations.ListNamespaceRecommendationsResponse, error)
	ListNodeRecommendations(context.Context, *recommendations.ListNodeRecommendationsRequest) (*recommendations.ListNodeRecommendationsResponse, error)
	ListClusterRecommendations(context.Context, *recommendations.ListClusterRecommendationsRequest) (*recommendations.ListClusterRecommendationsResponse, error)
	// Resources --------------------------------------------------
	// Used to add pods that need to be predicted
	CreatePods(context.Context, *resources.CreatePodsRequest) (*status.Status, error)
	CreateControllers(context.Context, *resources.CreateControllersRequest) (*status.Status, error)
	CreateApplications(context.Context, *resources.CreateApplicationsRequest) (*status.Status, error)
	CreateNamespaces(context.Context, *resources.CreateNamespacesRequest) (*status.Status, error)
	// Used to add nodes that need to be predicted
	CreateNodes(context.Context, *resources.CreateNodesRequest) (*status.Status, error)
	CreateClusters(context.Context, *resources.CreateClustersRequest) (*status.Status, error)
	// Used to list pods need to be predicted
	ListPods(context.Context, *resources.ListPodsRequest) (*resources.ListPodsResponse, error)
	ListControllers(context.Context, *resources.ListControllersRequest) (*resources.ListControllersResponse, error)
	// Application
	ListApplications(context.Context, *resources.ListApplicationsRequest) (*resources.ListApplicationsResponse, error)
	// Namespace
	ListNamespaces(context.Context, *resources.ListNamespacesRequest) (*resources.ListNamespacesResponse, error)
	// Used to list nodes' information
	ListNodes(context.Context, *resources.ListNodesRequest) (*resources.ListNodesResponse, error)
	// Cluster
	ListClusters(context.Context, *resources.ListClustersRequest) (*resources.ListClustersResponse, error)
	// Used to delete info of pods
	DeletePods(context.Context, *resources.DeletePodsRequest) (*status.Status, error)
	DeleteControllers(context.Context, *resources.DeleteControllersRequest) (*status.Status, error)
	DeleteApplications(context.Context, *resources.DeleteApplicationsRequest) (*status.Status, error)
	DeleteNamespaces(context.Context, *resources.DeleteNamespacesRequest) (*status.Status, error)
	// Used to stop generating predictions for the nodes
	DeleteNodes(context.Context, *resources.DeleteNodesRequest) (*status.Status, error)
	DeleteClusters(context.Context, *resources.DeleteClustersRequest) (*status.Status, error)
	// Schemas --------------------------------------------------
	CreateSchemas(context.Context, *schemas.CreateSchemasRequest) (*status.Status, error)
	ListSchemas(context.Context, *schemas.ListSchemasRequest) (*schemas.ListSchemasResponse, error)
	DeleteSchemas(context.Context, *schemas.DeleteSchemasRequest) (*status.Status, error)
	// Scores --------------------------------------------------
	CreateSimulatedSchedulingScores(context.Context, *scores.CreateSimulatedSchedulingScoresRequest) (*status.Status, error)
	// Used to list system scores
	ListSimulatedSchedulingScores(context.Context, *scores.ListSimulatedSchedulingScoresRequest) (*scores.ListSimulatedSchedulingScoresResponse, error)
	// weave scope --------------------------------------------------
	ListWeaveScopeHosts(context.Context, *weavescope.ListWeaveScopeHostsRequest) (*weavescope.WeaveScopeResponse, error)
	GetWeaveScopeHostDetails(context.Context, *weavescope.ListWeaveScopeHostsRequest) (*weavescope.WeaveScopeResponse, error)
	ListWeaveScopePods(context.Context, *weavescope.ListWeaveScopePodsRequest) (*weavescope.WeaveScopeResponse, error)
	GetWeaveScopePodDetails(context.Context, *weavescope.ListWeaveScopePodsRequest) (*weavescope.WeaveScopeResponse, error)
	ListWeaveScopeContainers(context.Context, *weavescope.ListWeaveScopeContainersRequest) (*weavescope.WeaveScopeResponse, error)
	ListWeaveScopeContainersByHostname(context.Context, *weavescope.ListWeaveScopeContainersRequest) (*weavescope.WeaveScopeResponse, error)
	ListWeaveScopeContainersByImage(context.Context, *weavescope.ListWeaveScopeContainersRequest) (*weavescope.WeaveScopeResponse, error)
	GetWeaveScopeContainerDetails(context.Context, *weavescope.ListWeaveScopeContainersRequest) (*weavescope.WeaveScopeResponse, error)
}

DatahubServiceServer is the server API for DatahubService service.

type UnimplementedDatahubServiceServer

type UnimplementedDatahubServiceServer struct {
}

UnimplementedDatahubServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedDatahubServiceServer) CreateApplicationMetrics

func (*UnimplementedDatahubServiceServer) CreateApplicationPlannings

func (*UnimplementedDatahubServiceServer) CreateApplicationPredictions

func (*UnimplementedDatahubServiceServer) CreateApplicationRecommendations

func (*UnimplementedDatahubServiceServer) CreateApplications

func (*UnimplementedDatahubServiceServer) CreateApps

func (*UnimplementedDatahubServiceServer) CreateClusterMetrics

func (*UnimplementedDatahubServiceServer) CreateClusterPlannings

func (*UnimplementedDatahubServiceServer) CreateClusterPredictions

func (*UnimplementedDatahubServiceServer) CreateClusterRecommendations

func (*UnimplementedDatahubServiceServer) CreateClusters

func (*UnimplementedDatahubServiceServer) CreateControllerMetrics

func (*UnimplementedDatahubServiceServer) CreateControllerPlannings

func (*UnimplementedDatahubServiceServer) CreateControllerPredictions

func (*UnimplementedDatahubServiceServer) CreateControllerRecommendations

func (*UnimplementedDatahubServiceServer) CreateControllers

func (*UnimplementedDatahubServiceServer) CreateEvents

func (*UnimplementedDatahubServiceServer) CreateGpuPredictions

func (*UnimplementedDatahubServiceServer) CreateMetrics

func (*UnimplementedDatahubServiceServer) CreateNamespaceMetrics

func (*UnimplementedDatahubServiceServer) CreateNamespacePlannings

func (*UnimplementedDatahubServiceServer) CreateNamespacePredictions

func (*UnimplementedDatahubServiceServer) CreateNamespaceRecommendations

func (*UnimplementedDatahubServiceServer) CreateNamespaces

func (*UnimplementedDatahubServiceServer) CreateNodeMetrics

func (*UnimplementedDatahubServiceServer) CreateNodePlannings

func (*UnimplementedDatahubServiceServer) CreateNodePredictions

func (*UnimplementedDatahubServiceServer) CreateNodeRecommendations

func (*UnimplementedDatahubServiceServer) CreateNodes

func (*UnimplementedDatahubServiceServer) CreatePlannings

func (*UnimplementedDatahubServiceServer) CreatePodMetrics

func (*UnimplementedDatahubServiceServer) CreatePodPlannings

func (*UnimplementedDatahubServiceServer) CreatePodPredictions

func (*UnimplementedDatahubServiceServer) CreatePodRecommendations

func (*UnimplementedDatahubServiceServer) CreatePods

func (*UnimplementedDatahubServiceServer) CreatePredictions

func (*UnimplementedDatahubServiceServer) CreateRecommendations

func (*UnimplementedDatahubServiceServer) CreateSchemas

func (*UnimplementedDatahubServiceServer) CreateSimulatedSchedulingScores

func (*UnimplementedDatahubServiceServer) DeleteApplications

func (*UnimplementedDatahubServiceServer) DeleteApps

func (*UnimplementedDatahubServiceServer) DeleteClusters

func (*UnimplementedDatahubServiceServer) DeleteControllers

func (*UnimplementedDatahubServiceServer) DeleteData

func (*UnimplementedDatahubServiceServer) DeleteNamespaces

func (*UnimplementedDatahubServiceServer) DeleteNodes

func (*UnimplementedDatahubServiceServer) DeletePods

func (*UnimplementedDatahubServiceServer) DeleteSchemas

func (*UnimplementedDatahubServiceServer) GetLicense

func (*UnimplementedDatahubServiceServer) GetWeaveScopeContainerDetails

func (*UnimplementedDatahubServiceServer) GetWeaveScopeHostDetails

func (*UnimplementedDatahubServiceServer) GetWeaveScopePodDetails

func (*UnimplementedDatahubServiceServer) ListApplications

func (*UnimplementedDatahubServiceServer) ListClusterMetrics

func (*UnimplementedDatahubServiceServer) ListClusters

func (*UnimplementedDatahubServiceServer) ListControllerMetrics

func (*UnimplementedDatahubServiceServer) ListControllers

func (*UnimplementedDatahubServiceServer) ListEvents

func (*UnimplementedDatahubServiceServer) ListGpuMetrics

func (*UnimplementedDatahubServiceServer) ListGpuPredictions

func (*UnimplementedDatahubServiceServer) ListGpus

func (*UnimplementedDatahubServiceServer) ListMetrics

func (*UnimplementedDatahubServiceServer) ListNamespaceMetrics

func (*UnimplementedDatahubServiceServer) ListNamespaces

func (*UnimplementedDatahubServiceServer) ListNodeMetrics

func (*UnimplementedDatahubServiceServer) ListNodePlannings

func (*UnimplementedDatahubServiceServer) ListNodes

func (*UnimplementedDatahubServiceServer) ListPlannings

func (*UnimplementedDatahubServiceServer) ListPodMetrics

func (*UnimplementedDatahubServiceServer) ListPodPlannings

func (*UnimplementedDatahubServiceServer) ListPods

func (*UnimplementedDatahubServiceServer) ListPredictions

func (*UnimplementedDatahubServiceServer) ListSchemas

func (*UnimplementedDatahubServiceServer) ListWeaveScopeContainers

func (*UnimplementedDatahubServiceServer) ListWeaveScopeContainersByHostname

func (*UnimplementedDatahubServiceServer) ListWeaveScopeContainersByImage

func (*UnimplementedDatahubServiceServer) ListWeaveScopeHosts

func (*UnimplementedDatahubServiceServer) ListWeaveScopePods

func (*UnimplementedDatahubServiceServer) Ping

func (*UnimplementedDatahubServiceServer) ReadData

func (*UnimplementedDatahubServiceServer) ReadRawdata

func (*UnimplementedDatahubServiceServer) WriteData

func (*UnimplementedDatahubServiceServer) WriteRawdata

Jump to

Keyboard shortcuts

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