- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for loop (0.24 sec)
-
istioctl/pkg/util/handlers/handlers.go
if idx := strings.LastIndex(name, "/"); idx > 0 { // If there is a / in it, we need to handle differently. This is resourcetype/name.namespace. // However, resourcetype can have . in it as well, so we should only look for namespace after the /. separator := strings.LastIndex(name[idx:], ".") if separator < 0 { return name, namespace } return name[0 : idx+separator], name[idx+separator+1:] }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Feb 06 15:01:41 GMT 2024 - 6.2K bytes - Viewed (0) -
cni/pkg/repair/netns.go
// We want the pause container, as the istio-validation one may exit before we are done. // We do this by detecting the longest running process. We could look at `cmdline`, but is likely more reliable to weird platforms. for _, p := range procs { ns := getPidNamespace(p.PID) fd, err := unix.Open(ns, unix.O_RDONLY, 0) if err != nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Dec 20 22:14:13 GMT 2023 - 4.8K bytes - Viewed (0) -
common-protos/k8s.io/api/batch/v1beta1/generated.proto
// +optional optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // items is the list of CronJobs. repeated CronJob items = 2; } // CronJobSpec describes how the job execution will look like and when it will actually run. message CronJobSpec { // The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron. optional string schedule = 1;
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Mar 11 18:43:24 GMT 2024 - 5.7K bytes - Viewed (0) -
common-protos/k8s.io/apimachinery/pkg/runtime/generated.proto
// runtime.TypeMeta `json:",inline"` // MyPlugin runtime.RawExtension `json:"myPlugin"` // } // // type PluginA struct { // AOption string `json:"aOption"` // } // // // On the wire, the JSON will look something like this: // // { // "kind":"MyAPIObject", // "apiVersion":"v1", // "myPlugin": { // "kind":"PluginA", // "aOption":"foo", // }, // } //
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Mar 11 18:43:24 GMT 2024 - 4.2K bytes - Viewed (0)