dashboard

package
v0.0.0-...-f7ae98d Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DashboardResourceRegistrySingleton = registry.NewRegistry("dashboard_resource")

Functions

This section is empty.

Types

type Server

type Server struct {
	*restful.AbstractServer

	Platform         platform.Platform
	NoPullBaseImages bool

	Offline bool
	// contains filtered or unexported fields
}

func NewServer

func NewServer(parentLogger logger.Logger,
	dockerKeyDir string,
	defaultRegistryURL string,
	defaultRunRegistryURL string,
	platform platform.Platform,
	noPullBaseImages bool,
	configuration *platformconfig.WebServer,
	defaultCredRefreshInterval *time.Duration,
	externalIPAddresses []string,
	defaultNamespace string,
	offline bool,
	platformConfiguration *platformconfig.Configuration) (*Server, error)

func (*Server) GetDefaultNamespace

func (s *Server) GetDefaultNamespace() string

func (*Server) GetExternalIPAddresses

func (s *Server) GetExternalIPAddresses() []string

func (*Server) GetRegistryURL

func (s *Server) GetRegistryURL() string

func (*Server) GetRunRegistryURL

func (s *Server) GetRunRegistryURL() string

func (*Server) InstallMiddleware

func (s *Server) InstallMiddleware(router chi.Router) error

func (*Server) ServeHTTP

func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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