Documentation
¶
Index ¶
Constants ¶
View Source
const ( // AlphabeticalOrderAsc ascending order AlphabeticalOrderAsc = "ASC" // AlphabeticalOrderDesc descending order AlphabeticalOrderDesc = "DESC" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alphabetical ¶
type Alphabetical struct {
Order string
}
Alphabetical representes a alphabetical ordering policy
func NewAlphabetical ¶
func NewAlphabetical(order string) (*Alphabetical, error)
NewAlphabetical constructs a Alphabetical object validating the provided semver constraint
type Policer ¶
Policer is an interface representing a policy implementation type
func PolicerFromSpec ¶
func PolicerFromSpec(choice imagev1.ImagePolicyChoice) (Policer, error)
PolicerFromSpec constructs a new policy object based on
Click to show internal directories.
Click to hide internal directories.