Documentation
¶
Overview ¶
Package policy contains checks shared by admission, node workers and reconciliation.
Index ¶
- func Approved(r *api.RuntimeImage) bool
- func Evidence(e, old *api.NodeRetirementEvidence) error
- func MirrorPolicy(m map[string]string, allowed []string) error
- func Profile(p *api.NodeProfile, all []api.NodeProfile, allowed []string) error
- func Runtime(r *api.RuntimeImage, old *api.RuntimeImage) error
- func Source(s string) error
- func ValidID(s string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Approved ¶
func Approved(r *api.RuntimeImage) bool
func Evidence ¶
func Evidence(e, old *api.NodeRetirementEvidence) error
func Profile ¶
func Profile(p *api.NodeProfile, all []api.NodeProfile, allowed []string) error
func Runtime ¶
func Runtime(r *api.RuntimeImage, old *api.RuntimeImage) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.