cli

package
v0.0.0-...-43fc03f Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 8 Imported by: 1

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) (*server.Server, error)

Jump to

Keyboard shortcuts

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