args

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	Version       bool        `short:"v" long:"version" description:"Print the version and exit."`
	DetailVersion bool        `short:"V" long:"detail" description:"Print detailed version info and exit."`
	DoDebug       bool        `env:"CINFO_DEBUG" short:"d" long:"debug" description:"If specified, enable debug logging. This may log a LOT of information."`
	SockMode      fs.FileMode `` /* 176-byte string literal not displayed */
	SockDirMode   fs.FileMode `` /* 211-byte string literal not displayed */
	SockGrp       *string     `` /* 197-byte string literal not displayed */
	SockDirGrp    *string     `` /* 222-byte string literal not displayed */
	Listen        ListenArgs  `positional-args:"true"`
}

func (*Args) ModesAndOwners

func (a *Args) ModesAndOwners() (perms UdsPerms, err error)

ModesAndOwners returns the evaluated file UID, file GID, dir UID, dir GID, file mode, and dir mode for a UDS socket.

type ListenArgs

type ListenArgs struct {
	Listen string `` /* 675-byte string literal not displayed */
}

type UdsPerms

type UdsPerms struct {
	UID   int
	FGID  int
	DGID  int
	FMode fs.FileMode
	DMode fs.FileMode
}

Jump to

Keyboard shortcuts

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