webui

package
v0.0.0-...-f651028 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	Log logr.Logger
	// ApiURL is the Kubernetes API URL to proxy the API requests.
	// The frontend is making API calls directly to Kubernetes.
	ApiURL string
	// ApiTLSSkipVerify controls whether the certificate of the Kubernetes API is verified.
	ApiTLSSkipVerify bool
	AuthCookieMaxAge time.Duration
}

func (*Command) Execute

func (c *Command) Execute(ctx context.Context) error

Execute runs the command and returns an error, if any.

type Settings

type Settings struct {
	// AuthCookieMaxAge sets the max-age when saving the cookie after a successful login.
	// This basically controls how long a user does not need to re-login.
	AuthCookieMaxAge int `json:"authCookieMaxAge"`
}

Settings controls various aspects of the frontend.

Jump to

Keyboard shortcuts

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