Documentation ¶
Overview ¶
Package policy provides base policy definitions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Options)
Option is a functional option used to pass in arguments to a Policy.
func WithCommitMsgFile ¶
WithCommitMsgFile sets the path to the commit message file.
func WithCommitRef ¶
WithCommitRef sets the ref to compare git policies against.
func WithRevisionRange ¶
WithRevisionRange sets the revision range to compare git policies against.
type Options ¶
Options defines the set of options available to a Policy.
func NewDefaultOptions ¶
NewDefaultOptions initializes a Options struct with default values.
Directories ¶
Path | Synopsis |
---|---|
Package commit provides commit-related policies.
|
Package commit provides commit-related policies. |
Package license provides license policy.
|
Package license provides license policy. |
Package version provides version policies.
|
Package version provides version policies. |
Click to show internal directories.
Click to hide internal directories.