- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for and (0.17 sec)
-
cni/pkg/util/podutil_test.go
// the ambient redirection annotation, this annotation should no longer be checked by this function and this case should return 'true' { name: "pod has label to enable ambient mode and annotation to disable ambient redirection", args: args{ namespace: namespaceWithAmbientEnabledLabel, pod: podWithAmbientEnabledLabelAndAmbientDisabledAnnotation, }, want: false, }, {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed May 01 18:04:40 GMT 2024 - 5.9K bytes - Viewed (0) -
cni/pkg/ipset/nldeps_linux.go
return fmt.Errorf("failed to add IP %s with and proto %d to ipset %s: %w", ip, ipProto, name, err) } return nil } func (m *realDeps) deleteIP(name string, ip netip.Addr, ipProto uint8) error { err := netlink.IpsetDel(name, &netlink.IPSetEntry{ IP: net.IP(ip.AsSlice()), Protocol: &ipProto, }) if err != nil { return fmt.Errorf("failed to delete IP %s with and proto %d from ipset %s: %w", ip, ipProto, name, err) }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 3.9K bytes - Viewed (0) -
cmd/erasure-multipart.go
// Fetch buffer for I/O, returns from the pool if not allocates a new one and returns. var buffer []byte switch size := data.Size(); { case size == 0: buffer = make([]byte, 1) // Allocate at least a byte to reach EOF case size == -1: if size := data.ActualSize(); size > 0 && size < fi.Erasure.BlockSize { // Account for padding and forced compression overhead and encryption.
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Sun Apr 28 17:53:50 GMT 2024 - 43K bytes - Viewed (0) -
cni/pkg/iptables/iptables.go
// // We do this so we can exempt this traffic from ztunnel capture/proxy - otherwise both kube-proxy (legit) // and kubelet (skippable) traffic would have the same srcip once they got to the pod, and would be indistinguishable. // // Note that SortedList is used here because the istio sets class has no order guarantees, // and our unit tests will flake if rules have a nondeterministic ordering.
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 19.6K bytes - Viewed (0) -
cni/pkg/util/podutil.go
annotationRemovePatch, metav1.PatchOptions{}, // Both "pods" and "pods/status" can mutate the metadata. However, pods/status is lower privilege, so we use that instead. "status", ) if errors.IsNotFound(err) { return nil } return err } // Get any IPs currently assigned to the Pod. // // If 'PodIPs' exists, it is preferred (and should be guaranteed to contain the address in 'PodIP'),
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed May 01 18:04:40 GMT 2024 - 4.1K bytes - Viewed (0) -
cmd/iam-store.go
} // FilterPolicies - accepts a comma separated list of policy names as a string // and bucket and returns only policies that currently exist in MinIO. If // bucketName is non-empty, additionally filters policies matching the bucket. // The first returned value is the list of currently existing policies, and the // second is their combined policy definition.
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Sat Apr 27 10:04:10 GMT 2024 - 75.2K bytes - Viewed (2) -
cni/pkg/ipset/ipset.go
} // TODO this should actually create v6 and v6 subsets of type `hash:ip`, add them both to a // superset of type `list:set` - we can then query the superset directly in iptables (with the same rule), // and iptables will be smart enough to pick the correct underlying set (v4 or v6, based on context), // reducing the # of rules we need. // // BUT netlink lib doesn't support adding things to `list:set` types yet, and current tagged release
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 3.9K bytes - Viewed (0) -
cmd/object-handlers_test.go
} } // test cases with inputs and expected result for HeadObject. testCases := []struct { bucketName string objectName string accessKey string secretKey string // expected output. expectedRespStatus int // expected response status body. }{ // Test case - 1. // Fetching stat info of object and validating it. { bucketName: bucketName,
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Sun Apr 28 17:53:50 GMT 2024 - 160K bytes - Viewed (0) -
cmd/xl-storage.go
done = globalScannerMetrics.time(scannerMetricApplyVersion) var sz int64 objDeleted, sz = item.applyActions(ctx, objAPI, oi, &sizeS) done() // DeleteAllVersionsAction: The object and all its // versions are expired and // doesn't contribute toward data usage. if objDeleted { break } actualSz, err := oi.GetActualSize() if err != nil { continue }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Sun Apr 28 17:53:50 GMT 2024 - 84.7K bytes - Viewed (0) -
cmd/storage-rest-client.go
err = nil } break } stat = append(stat, st) } return stat, toStorageErr(err) } // ReadMultiple will read multiple files and send each back as response. // Files are read and returned in the given order. // The resp channel is closed before the call returns. // Only a canceled context or network errors returns an error.
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Sun Apr 28 17:53:50 GMT 2024 - 26.1K bytes - Viewed (0)