hook

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

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