cli

package
v0.0.0-...-61e80cf Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Flags

func Flags(config *Config) []cli.Flag

Types

type Config

type Config struct {
	KubeConfig      string
	Context         string
	HTTPSListenPort int
	HTTPListenPort  int
	UIPath          string

	WebhookConfig authcli.WebhookConfig
}

func (*Config) MustServer

func (c *Config) MustServer(ctx context.Context) *server.Server

func (*Config) ToServer

func (c *Config) ToServer(ctx context.Context, sqlCache bool) (*server.Server, error)

Jump to

Keyboard shortcuts

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