server

package
v0.35.1 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd added in v0.13.0

type Cmd struct {
	DebugListenAddr string       `help:"Address to start the gops listener" placeholder:":6666"`
	LogLevel        LogLevelFlag `help:"Log level (${enum})" default:"info" enum:"debug,info,warn,error"`
	Config          string       `help:"Path to config file" optional:"" placeholder:".cerbos.yaml" env:"CERBOS_CONFIG"`
	HubBundle       string       `` /* 175-byte string literal not displayed */
	Set             []string     `help:"Config overrides" placeholder:"server.adminAPI.enabled=true"`
}

func (*Cmd) Help added in v0.13.0

func (c *Cmd) Help() string

func (*Cmd) Run added in v0.13.0

func (c *Cmd) Run() error

type LogLevelFlag added in v0.13.0

type LogLevelFlag string

func (*LogLevelFlag) Decode added in v0.13.0

func (ll *LogLevelFlag) Decode(ctx *kong.DecodeContext) error

Jump to

Keyboard shortcuts

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