Documentation
¶
Overview ¶
Package hook is the 0.1.0 hook configuration structure.
Index ¶
Constants ¶
View Source
const Version = "0.1.0"
Version is the hook configuration version defined in this package.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hook ¶
type Hook struct {
Hook *string `json:"hook"`
Arguments []string `json:"arguments,omitempty"`
// https://github.com/cri-o/cri-o/pull/1235
Stages []string `json:"stages"`
Stage []string `json:"stage"`
Cmds []string `json:"cmds,omitempty"`
Cmd []string `json:"cmd,omitempty"`
Annotations []string `json:"annotations,omitempty"`
Annotation []string `json:"annotation,omitempty"`
HasBindMounts *bool `json:"hasbindmounts,omitempty"`
}
Hook is the hook configuration structure.
Click to show internal directories.
Click to hide internal directories.