- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for func (0.06 sec)
-
cmd/kubeadm/app/util/staticpod/utils.go
func getProbeAddress(addr string) string { if addr == "0.0.0.0" || addr == "::" { return "" } return addr } // GetUsersAndGroups returns the local usersAndGroups, but first creates it // in a thread safe way once. func GetUsersAndGroups() (*users.UsersAndGroups, error) { var err error usersAndGroupsOnce.Do(func() { usersAndGroups, err = users.AddUsersAndGroups()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 14 13:07:56 UTC 2024 - 14.1K bytes - Viewed (0) -
pkg/controller/cronjob/utils.go
} // getTimeHash returns Unix Epoch Time in minutes func getTimeHashInMinutes(scheduledTime time.Time) int64 { return scheduledTime.Unix() / 60 } // byJobStartTime sorts a list of jobs by start timestamp, using their names as a tie breaker. type byJobStartTime []*batchv1.Job func (o byJobStartTime) Len() int { return len(o) } func (o byJobStartTime) Swap(i, j int) { o[i], o[j] = o[j], o[i] }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 03:34:25 UTC 2024 - 10.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/testing/utils.go
} } func testCheckResult(t *testing.T, w watch.Interface, expectEvent watch.Event) { testCheckResultFunc(t, w, func(actualEvent watch.Event) { expectNoDiff(t, "incorrect event", expectEvent, actualEvent) }) } func testCheckResultFunc(t *testing.T, w watch.Interface, check func(actualEvent watch.Event)) { select { case res := <-w.ResultChan():
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 22 07:26:55 UTC 2024 - 10.3K bytes - Viewed (0) -
cmd/utils.go
) // isMaxObjectSize - verify if max object size func isMaxObjectSize(size int64) bool { return size > globalMaxObjectSize } // Check if part size is more than or equal to minimum allowed size. func isMinAllowedPartSize(size int64) bool { return size >= globalMinPartSize } // isMaxPartNumber - Check if part ID is greater than the maximum allowed ID. func isMaxPartID(partID int) bool { return partID > globalMaxPartID
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Jun 05 22:00:34 UTC 2024 - 31.9K bytes - Viewed (0)