- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for libipvs (0.19 sec)
-
pkg/proxy/ipvs/util/ipvs_linux_test.go
import ( "fmt" "reflect" "testing" netutils "k8s.io/utils/net" libipvs "github.com/moby/ipvs" "golang.org/x/sys/unix" ) func Test_toVirtualServer(t *testing.T) { Tests := []struct { ipvsService libipvs.Service virtualServer VirtualServer expectError bool reason string }{ { libipvs.Service{ Flags: 0x0, }, VirtualServer{}, true,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 27 16:37:50 UTC 2023 - 9.9K bytes - Viewed (0) -
pkg/proxy/ipvs/util/ipvs_linux.go
limitations under the License. */ package ipvs import ( "errors" "fmt" "net" "strings" "sync" "time" libipvs "github.com/moby/ipvs" "golang.org/x/sys/unix" "k8s.io/klog/v2" ) // runner implements ipvs.Interface. type runner struct { ipvsHandle *libipvs.Handle mu sync.Mutex // Protect Netlink calls } // Protocol is the IPVS service protocol type type Protocol uint16
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 05:08:41 UTC 2024 - 9K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumebinding/assume_cache.go
return nil, err } pv, ok := obj.(*v1.PersistentVolume) if !ok { return nil, &assumecache.WrongTypeError{TypeName: "v1.PersistentVolume", Object: obj} } return pv, nil } func (c *PVAssumeCache) ListPVs(storageClassName string) []*v1.PersistentVolume { objs := c.List(&v1.PersistentVolume{ Spec: v1.PersistentVolumeSpec{ StorageClassName: storageClassName, }, }) pvs := []*v1.PersistentVolume{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 09:46:58 UTC 2024 - 3.7K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumebinding/assume_cache_test.go
pvList := cache.ListPVs(storageClassName) if len(pvList) != len(expectedPVs) { t.Errorf("ListPVs() returned %v PVs, expected %v", len(pvList), len(expectedPVs)) } for _, pv := range pvList { expectedPV, ok := expectedPVs[pv.Name] if !ok { t.Errorf("ListPVs() returned unexpected PV %q", pv.Name) } if expectedPV != pv { t.Errorf("ListPVs() returned PV %p, expected %p", pv, expectedPV) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 09:46:58 UTC 2024 - 12.8K bytes - Viewed (0) -
pkg/printers/internalversion/printers.go
case api.ServiceTypeLoadBalancer: lbIps := loadBalancerStatusStringer(svc.Status.LoadBalancer, wide) if len(svc.Spec.ExternalIPs) > 0 { results := []string{} if len(lbIps) > 0 { results = append(results, strings.Split(lbIps, ",")...) } results = append(results, svc.Spec.ExternalIPs...) return strings.Join(results, ",") } if len(lbIps) > 0 { return lbIps }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 128.3K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumebinding/binder.go
// Get storage class name from each PVC storageClassName := volume.GetPersistentVolumeClaimClass(pvc) podVolumeClaims.unboundVolumesDelayBinding[storageClassName] = b.pvCache.ListPVs(storageClassName) } return podVolumeClaims, nil } func (b *volumeBinder) checkBoundClaims(logger klog.Logger, claims []*v1.PersistentVolumeClaim, node *v1.Node, pod *v1.Pod) (bool, bool, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 14:55:34 UTC 2024 - 42.6K bytes - Viewed (0) -
fess-crawler/src/main/resources/org/codelibs/fess/crawler/mime/tika-mimetypes.xml
<match value="GIF89a" type="string" offset="0"/> </magic> <glob pattern="*.gif"/> </mime-type> <mime-type type="image/avif"> <!-- According to https://github.com/libvips/libvips/pull/1657 older avif used to use the the heif 'ftypmif1' as well --> <_comment>AV1 Image File</_comment> <acronym>AVIF</acronym>
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Sep 21 06:46:43 UTC 2023 - 298.5K bytes - Viewed (0)