dashboard

package
v0.12.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	ServerOptions
	// contains filtered or unexported fields
}

func NewServer

func NewServer(config *v1beta1.ManagementSpec, opts ...ServerOption) (*Server, error)

func (*Server) ListenAndServe

func (ws *Server) ListenAndServe(ctx context.Context) error

type ServerOption added in v0.12.0

type ServerOption func(*ServerOptions)

func WithAssetsFS added in v0.12.0

func WithAssetsFS(fs fs.FS) ServerOption

func WithHandler added in v0.12.0

func WithHandler(method, prefix string, handler ...gin.HandlerFunc) ServerOption

type ServerOptions added in v0.12.0

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

Jump to

Keyboard shortcuts

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