cmd

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() error

Execute executes the root command.

Types

type Cache

type Cache struct {
	Data []byte
	Time time.Time
}

type IndexPageData

type IndexPageData struct {
	Machine    string
	Alias      string
	IsCollapse string
}

type InsecureOptions added in v0.3.2

type InsecureOptions struct {
	ServerOptions
}

func (*InsecureOptions) Run added in v0.3.2

func (o *InsecureOptions) Run(cmd *cobra.Command, args []string)

server main method

type KeycloakOptions

type KeycloakOptions struct {
	ServerOptions
	KeycloakServer       string
	KeycloakRealm        string
	KeycloakClient       string
	KeycloakClientSecret string
}

func (*KeycloakOptions) Run

func (o *KeycloakOptions) Run(cmd *cobra.Command, args []string)

server main method

type RootOptions

type RootOptions struct {
	Debug bool
}

type ServerOptions

type ServerOptions struct {
	Wss         bool
	HttpsKey    string
	HttpsCrt    string
	LetsEntrypt bool
	FQDN        string
	Rootpage    string
	Machines    []string
	Aliases     []string
	Interval    int
	Collapses   []string
}

type SimpleOptions

type SimpleOptions struct {
	ServerOptions
	Users []string
	Pwds  []string
}

func (*SimpleOptions) Run

func (o *SimpleOptions) Run(cmd *cobra.Command, args []string)

server main method

Jump to

Keyboard shortcuts

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