Files
at-container-registry/cmd/credential-helper/process_other.go

20 lines
497 B
Go

//go:build !linux && !darwin
package main
import (
"fmt"
"runtime"
)
// getProcessArgs is not supported on this platform.
// The credential helper falls back to the active account.
func getProcessArgs(pid int) ([]string, error) {
return nil, fmt.Errorf("process introspection not supported on %s", runtime.GOOS)
}
// getParentPID is not supported on this platform.
func getParentPID(pid int) (int, error) {
return 0, fmt.Errorf("process introspection not supported on %s", runtime.GOOS)
}