Documentation ¶
Index ¶
- Variables
- func ContainsString(slice []string, s string) bool
- func GetPlatform(ctx context.Context, cl client.Reader) (configv1.PlatformType, error)
- func IsPatchRequired(origObj client.Object, patch client.Patch) (bool, error)
- func ReadImagesFile(imagesFile string) (map[string]string, error)
- func ReadProvidersFile(providersFile string) (map[string]bool, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // LeaseDuration is the default duration for the leader election lease. LeaseDuration = metav1.Duration{Duration: 137 * time.Second} // RenewDeadline is the default duration for the leader renewal. RenewDeadline = metav1.Duration{Duration: 107 * time.Second} // RetryPeriod is the default duration for the leader election retrial. RetryPeriod = metav1.Duration{Duration: 26 * time.Second} )
The default durations for the leader election operations.
Functions ¶
func ContainsString ¶
ContainsString checks if a given slice of strings contains the provided string.
func GetPlatform ¶
func IsPatchRequired ¶
func ReadImagesFile ¶
ReadImagesFile reads the images file and returns the map of container images
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.