Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrImageEmpty = errors.New("image is empty")
Functions ¶
func NewContainerCheck ¶
func NewContainerCheck(image string, opts ...ContainerCheckOption) *containerCheck
NewContainerCheck is a check that runs preflight's Container Policy.
func NewOperatorCheck ¶
func NewOperatorCheck(image, kubeconfig, indeximage string, opts ...operatorCheckOption) *operatorCheck
NewOperatorCheck is a check that runs preflight's Operator Policy.
Types ¶
type ContainerCheckOption ¶
type ContainerCheckOption = func(*containerCheck)
Directories ¶
Path | Synopsis |
---|---|
artifacts
Package artifacts provides functionality for writing artifact files in configured artifacts directory.
|
Package artifacts provides functionality for writing artifact files in configured artifacts directory. |
engine
Package engine contains the interfaces necessary to implement policy execution.
|
Package engine contains the interfaces necessary to implement policy execution. |
formatters
Package formatters defines the abstractions used to properly format a preflight Result.
|
Package formatters defines the abstractions used to properly format a preflight Result. |
runtime
Package runtime contains the structs and definitions consumed by Preflight at runtime.
|
Package runtime contains the structs and definitions consumed by Preflight at runtime. |
cmd
|
|
preflight/cmd
Package cmd implements the command-line interface for Preflight.
|
Package cmd implements the command-line interface for Preflight. |
internal
|
|
Package version contains all identifiable versioning info for describing the preflight project.
|
Package version contains all identifiable versioning info for describing the preflight project. |
Click to show internal directories.
Click to hide internal directories.