mirror of
https://tangled.org/evan.jarrett.net/at-container-registry
synced 2026-04-20 16:40:29 +00:00
20 lines
497 B
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)
|
|
}
|