Documentation
¶
Overview ¶
Package catpogs provides Go struct equivalents of the Cap'n Proto catalog. These are primarily intended for constructing test inputs.
Index ¶
Constants ¶
View Source
const ( ModeUnset = catalog.File_Mode_unset ModePerm = catalog.File_Mode_permMask ModeSticky = catalog.File_Mode_sticky ModeSetuid = catalog.File_Mode_setuid ModeSetgid = catalog.File_Mode_setgid )
FileMode.Bits constants.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exec ¶
type Exec struct { Command *Command Condition ExecCondition }
type ExecCondition ¶
type File ¶
type File struct { Path string Which catalog.File_Which Plain struct { Content []byte Mode *FileMode } Directory struct { Mode *FileMode } Symlink struct { Target string } }
func SymlinkFile ¶
type GroupRef ¶ added in v0.2.0
type GroupRef struct { Which catalog.GroupRef_Which ID int32 `capnp:"id"` Name string }
func GroupIDRef ¶ added in v0.2.0
func GroupNameRef ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.