Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsSystemAccount ¶
func NextSigningKeys ¶
func NextSigningKeys(ownerUID types.UID, current []v1alpha1.SigningKeyEmbeddedStatus, next *v1alpha1.SigningKeyList) []v1alpha1.SigningKeyEmbeddedStatus
NextSigningKeys compares the current SigningKeys assigned to a resource to a list of SigningKeys which currently exist on the cluster and returns the next list of SigningKeys to be assigned to the resource.
This function attempts to preserve the order of SigningKeys on the resource, so that no-op updates do not trigger an update on the status. New SigningKeys are appended to the end of the list, and SigningKeys which are no longer active are removed from the list. Any changes to existing SigningKeys are kept at the same index (however removals may cause indices to shift).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.