Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 395 for podutil (0.1 sec)

  1. cmd/kubeadm/app/cmd/upgrade/node.go

    	if err != nil {
    		return nil, err
    	}
    
    	dryRun, ok := cmdutil.ValueFromFlagsOrConfig(cmd.Flags(), options.DryRun, upgradeCfg.Node.DryRun, &nodeOptions.dryRun).(*bool)
    	if !ok {
    		return nil, cmdutil.TypeMismatchErr("dryRun", "bool")
    	}
    	client, err := getClient(nodeOptions.kubeConfigPath, *dryRun)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_sandbox.go

    	}
    	if state != nil {
    		filter.State = &runtimeapi.PodSandboxStateValue{
    			State: *state,
    		}
    	}
    	sandboxes, err := m.runtimeService.ListPodSandbox(ctx, filter)
    	if err != nil {
    		klog.ErrorS(err, "Failed to list sandboxes for pod", "podUID", podUID)
    		return nil, err
    	}
    
    	if len(sandboxes) == 0 {
    		return nil, nil
    	}
    
    	// Sort with newest first.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. pkg/kubelet/stats/cadvisor_stats_provider.go

    	}
    	return managed
    }
    
    // getCadvisorPodInfoFromPodUID returns a pod cgroup information by matching the podUID with its CgroupName identifier base name
    func getCadvisorPodInfoFromPodUID(podUID types.UID, infos map[string]cadvisorapiv2.ContainerInfo) *cadvisorapiv2.ContainerInfo {
    	if info, found := infos[cm.GetPodCgroupNameSuffix(podUID)]; found {
    		return &info
    	}
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 16 13:34:22 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  4. test/fixedbugs/issue19658.go

    package main
    
    import (
    	"bytes"
    	"fmt"
    	"io/ioutil"
    	"log"
    	"os"
    	"os/exec"
    	"path/filepath"
    )
    
    const fn = `
    package main
    
    import  "errors"
    type S struct {
    
    }
    func (s S) String() string {
    	return "s-stringer"
    }
    func main() {
     	_ = errors.New
      panic(%s(%s))
    }
    `
    
    func main() {
    	tempDir, err := ioutil.TempDir("", "")
    	if err != nil {
    		log.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:56:32 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. src/io/ioutil/ioutil_test.go

    		switch {
    		case !dir.IsDir() && dir.Name() == "io_test.go":
    			foundFile = true
    		case dir.IsDir() && dir.Name() == "ioutil":
    			foundSubDir = true
    		}
    	}
    	if !foundFile {
    		t.Fatalf("ReadDir %s: io_test.go file not found", dirname)
    	}
    	if !foundSubDir {
    		t.Fatalf("ReadDir %s: ioutil directory not found", dirname)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:56:32 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. pkg/volume/iscsi/iscsi.go

    	return plugin.newUnmounterInternal(volName, podUID, &ISCSIUtil{}, plugin.host.GetMounter(plugin.GetPluginName()), plugin.host.GetExec(plugin.GetPluginName()))
    }
    
    func (plugin *iscsiPlugin) newUnmounterInternal(volName string, podUID types.UID, manager diskManager, mounter mount.Interface, exec utilexec.Interface) (volume.Unmounter, error) {
    	return &iscsiDiskUnmounter{
    		iscsiDisk: &iscsiDisk{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  7. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/visibilityChecker/AbstractVisibilityCheckerTest.kt

    import org.jetbrains.kotlin.psi.KtExpression
    import org.jetbrains.kotlin.psi.KtFile
    import org.jetbrains.kotlin.psi.KtNamedDeclaration
    import org.jetbrains.kotlin.psi.psiUtil.findDescendantOfType
    import org.jetbrains.kotlin.test.services.TestServices
    import org.jetbrains.kotlin.test.services.assertions
    
    /**
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu May 23 16:12:19 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/dra/claiminfo_test.go

    			expectedLen: 2,
    		},
    	} {
    		t.Run(test.description, func(t *testing.T) {
    			test.claimInfo.addPodReference(podUID)
    			assert.True(t, test.claimInfo.hasPodReference(podUID))
    			assert.Len(t, test.claimInfo.PodUIDs, test.expectedLen)
    		})
    	}
    }
    
    func TestClaimInfoHasPodReference(t *testing.T) {
    	podUID := types.UID("pod-uid")
    	for _, test := range []struct {
    		description    string
    		claimInfo      *ClaimInfo
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:30:31 UTC 2024
    - 21K bytes
    - Viewed (0)
  9. pkg/test/framework/components/istio/ca.go

    	if err != nil {
    		return Cert{}, err
    	}
    
    	san := fmt.Sprintf("spiffe://%s/ns/%s/sa/%s", "cluster.local", namespace, serviceAccount)
    	options := pkiutil.CertOptions{
    		Host:       san,
    		RSAKeySize: 2048,
    	}
    	// Generate the cert/key, send CSR to CA.
    	csrPEM, keyPEM, err := pkiutil.GenCSR(options)
    	if err != nil {
    		return Cert{}, err
    	}
    	a, err := i.InternalDiscoveryAddressFor(c)
    	if err != nil {
    		return Cert{}, err
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. test/fixedbugs/issue30908.dir/b.go

    // Copyright 2019 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package b
    
    import (
    	"io/ioutil"
    
    	"./a"
    )
    
    var G int
    
    // An inlinable function. To trigger the bug in question this needs
    // to be inlined here within the package and also inlined into some
    // other package that imports it.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 15:00:08 UTC 2019
    - 876 bytes
    - Viewed (0)
Back to top