dashboard

package
v0.2.4-alpha Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package dashboard for kubeteach

Index

Constants

View Source
const (
	EnvWebterminalCredentials     = "WEBTERMINAL_CREDENTIALS"
	EnvDashboardBasicAuthUser     = "DASHBOARD_BASIC_AUTH_USER"
	EnvDashboardBasicAuthPassword = "DASHBOARD_BASIC_AUTH_PASSWORD"
)

Environment variables

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

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

Config values for api

func New

func New(
	client client.Client,
	listenAddr string,
	dashboardContent string,
	basicAuthUser string,
	basicAuthPassword string,
	webterminalEnable bool,
	webterminalHost string,
	webterminalPort string,
	webterminalCredentials string,
) Config

New creates a new config for the api

func (*Config) Run

func (c *Config) Run() error

Run api webserver

Jump to

Keyboard shortcuts

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