- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getLoggingCmd (0.21 sec)
-
pkg/kubelet/kubelet_server_journal_others.go
limitations under the License. */ package kubelet import ( "context" "errors" ) // getLoggingCmd on unsupported operating systems returns the echo command and a warning message (as strings) func getLoggingCmd(n *nodeLogQuery, services []string) (string, []string, error) { return "", []string{}, errors.New("Operating System Not Supported") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 15:54:36 UTC 2023 - 1K bytes - Viewed (0) -
pkg/kubelet/kubelet_server_journal_windows.go
limitations under the License. */ package kubelet import ( "context" "fmt" "os/exec" "strings" ) const powershellExe = "PowerShell.exe" // getLoggingCmd returns the powershell cmd and arguments for the given nodeLogQuery and boot func getLoggingCmd(n *nodeLogQuery, services []string) (string, []string, error) { args := []string{ "-NonInteractive", "-ExecutionPolicy", "Bypass", "-Command", }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 15:54:36 UTC 2023 - 2.5K bytes - Viewed (0) -
pkg/kubelet/kubelet_server_journal_linux.go
limitations under the License. */ package kubelet import ( "context" "fmt" "os/exec" "strings" ) // getLoggingCmd returns the journalctl cmd and arguments for the given nodeLogQuery and boot. Note that // services are explicitly passed here to account for the heuristics func getLoggingCmd(n *nodeLogQuery, services []string) (string, []string, error) { args := []string{ "--utc", "--no-pager",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jan 11 01:09:28 UTC 2024 - 2.2K bytes - Viewed (0) -
pkg/kubelet/kubelet_server_journal_test.go
t.Run(tt.name, func(t *testing.T) { _, got, err := getLoggingCmd(&tt.args, []string{}) switch os := runtime.GOOS; os { case "linux": if !reflect.DeepEqual(got, tt.wantLinux) { t.Errorf("getLoggingCmd() = %v, want %v", got, tt.wantLinux) } case "windows": if !reflect.DeepEqual(got, tt.wantWindows) { t.Errorf("getLoggingCmd() = %v, want %v", got, tt.wantWindows) } default:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 10 22:27:44 UTC 2023 - 8.3K bytes - Viewed (0)