Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for logpath (0.19 sec)

  1. pkg/kubelet/logs/container_log_manager_test.go

    				Id:      "container-not-need-rotate",
    				State:   runtimeapi.ContainerState_CONTAINER_RUNNING,
    				LogPath: filepath.Join(dir, testLogs[0]),
    			},
    		},
    		{
    			ContainerStatus: runtimeapi.ContainerStatus{
    				Id:      "container-need-rotate",
    				State:   runtimeapi.ContainerState_CONTAINER_RUNNING,
    				LogPath: filepath.Join(dir, testLogs[1]),
    			},
    		},
    		{
    			ContainerStatus: runtimeapi.ContainerStatus{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. pkg/kubelet/server/server.go

    		ws := new(restful.WebService)
    		ws.Path(logsPath)
    		ws.Route(ws.GET("").
    			To(s.getLogs).
    			Operation("getLogs"))
    		if !enableSystemLogQuery {
    			ws.Route(ws.GET("/{logpath:*}").
    				To(s.getLogs).
    				Operation("getLogs").
    				Param(ws.PathParameter("logpath", "path to the log").DataType("string")))
    		} else {
    			ws.Route(ws.GET("/{logpath:*}").
    				To(s.getLogs).
    				Operation("getLogs").
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 40.1K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/kuberuntime_container.go

    	legacySymlink := legacyLogSymlink(containerID, containerMeta.Name, sandboxMeta.Name,
    		sandboxMeta.Namespace)
    	containerLog := filepath.Join(podSandboxConfig.LogDirectory, containerConfig.LogPath)
    	// only create legacy symlink if containerLog path exists (or the error is not IsNotExist).
    	// Because if containerLog path does not exist, only dangling legacySymlink is created.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  4. pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go

    		Labels:      newContainerLabels(container, pod),
    		Annotations: newContainerAnnotations(container, pod, restartCount, opts),
    		Devices:     makeDevices(opts),
    		Mounts:      m.makeMounts(opts, container),
    		LogPath:     containerLogsPath,
    		Stdin:       container.Stdin,
    		StdinOnce:   container.StdinOnce,
    		Tty:         container.TTY,
    		Linux:       l,
    		Envs:        envs,
    		CDIDevices:  makeCDIDevices(opts),
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41K bytes
    - Viewed (0)
  5. pkg/kubelet/server/server_test.go

    		"healthz sync loop":               {url: "/healthz/syncloop", bucket: "healthz"},
    		"logs":                            {url: "/logs/", bucket: "logs"},
    		"logs with path":                  {url: "/logs/logpath", bucket: "logs"},
    		"metrics":                         {url: "/metrics", bucket: "metrics"},
    		"metrics cadvisor sub":            {url: "/metrics/cadvisor", bucket: "metrics/cadvisor"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  6. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    			ImageRef:    imageRef,
    			CreatedAt:   template.createdAt,
    			State:       template.state,
    			Labels:      containerConfig.Labels,
    			Annotations: containerConfig.Annotations,
    			LogPath:     filepath.Join(sandboxConfig.GetLogDirectory(), containerConfig.GetLogPath()),
    		},
    		SandboxID: podSandboxID,
    	}
    }
    
    // makeFakeContainers creates a group of fake containers based on the container templates.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/upgrade/diff_test.go

    	flags := &diffFlags{
    		cfgPath: "",
    		out:     io.Discard,
    	}
    
    	testCases := []struct {
    		name            string
    		args            []string
    		setManifestPath bool
    		manifestPath    string
    		cfgPath         string
    		expectedError   bool
    	}{
    		{
    			name:            "valid: run diff with empty config path on valid manifest path",
    			cfgPath:         "",
    			setManifestPath: true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 04:08:57 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/util/config/upgradeconfiguration_test.go

    	tests := []struct {
    		name         string
    		cfgPath      string
    		fileContents string
    		want         *kubeadmapi.UpgradeConfiguration
    		wantErr      bool
    	}{
    		{
    			name:    "Config file does not exists",
    			cfgPath: "tmp",
    			want:    nil,
    			wantErr: true,
    		},
    		{
    			name:         "Config file format is basic text",
    			cfgPath:      filePath,
    			want:         nil,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/copylock/copylock.go

    	}
    	if tv, ok := pass.TypesInfo.Types[x]; ok && tv.IsValue() {
    		return lockPath(pass.Pkg, tv.Type, nil)
    	}
    	return nil
    }
    
    // lockPath returns a typePath describing the location of a lock value
    // contained in typ. If there is no contained lock, it returns nil.
    //
    // The seen map is used to short-circuit infinite recursion due to type cycles.
    func lockPath(tpkg *types.Package, typ types.Type, seen map[types.Type]bool) typePath {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/kubeconfig_test.go

    		return "", err
    	}
    	buf.Write(data)
    	buf.WriteString("---\n")
    	data, err = yaml.Marshal(&clusterCfg)
    	if err != nil {
    		return "", err
    	}
    	buf.Write(data)
    
    	err = os.WriteFile(cfgPath, buf.Bytes(), 0644)
    	return cfgPath, err
    }
    
    func TestKubeConfigSubCommandsThatWritesToOut(t *testing.T) {
    
    	// Temporary folders for the test case
    	tmpdir := testutil.SetupTempDir(t)
    	defer os.RemoveAll(tmpdir)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top