run

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: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

type Cmd struct {
	LogLevel string        `help:"Log level (${enum})" default:"info" enum:"debug,info,warn,error"`
	Config   string        `help:"Path to config file" type:"existingfile" placeholder:".cerbos.yaml"`
	Set      []string      `help:"Config overrides" placeholder:"server.adminAPI.enabled=true"`
	Command  []string      `help:"Command to run" arg:"" passthrough:"" required:""`
	Timeout  time.Duration `help:"Cerbos startup timeout" default:"30s"`
	// contains filtered or unexported fields
}

func (*Cmd) Help

func (c *Cmd) Help() string

func (*Cmd) Run

func (c *Cmd) Run(k *kong.Kong) error

Jump to

Keyboard shortcuts

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