webservice

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2022 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AggregatedStateInfo added in v0.12.0

type AggregatedStateInfo struct {
	Timestamp          string
	Partitions         []*dao.PartitionInfo
	Applications       []*dao.ApplicationDAOInfo
	AppHistory         []*dao.ApplicationHistoryDAOInfo
	Nodes              []*dao.NodesDAOInfo
	NodesUtilization   []*dao.NodesUtilDAOInfo
	ClusterInfo        []*dao.ClusterDAOInfo
	ClusterUtilization []*dao.ClustersUtilDAOInfo
	ContainerHistory   []*dao.ContainerHistoryDAOInfo
	Queues             []*dao.PartitionDAOInfo
	LogLevel           string
}

type WebService

type WebService struct {
	// contains filtered or unexported fields
}

func NewWebApp

func NewWebApp(context *scheduler.ClusterContext, internalMetrics *history.InternalMetricsHistory) *WebService

func (*WebService) StartWebApp

func (m *WebService) StartWebApp()

TODO we need the port to be configurable

func (*WebService) StopWebApp

func (m *WebService) StopWebApp() error

Directories

Path Synopsis
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.

Jump to

Keyboard shortcuts

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