INNER CODE UNIT · Go

init

google/go-containerregistry · cmd/krane/main.go:38

func init() {
	logs.Warn.SetOutput(os.Stderr)
	logs.Progress.SetOutput(os.Stderr)
}

const (
	use   = "krane"
	short = "krane is a tool for managing container images"
)

func main() {
	ctx, cancel := signal.NotifyContext(context.Background(), os.Interrupt)
	defer cancel()

	keychain := authn.NewMultiKeychain(
		authn.DefaultKeychain,
		google.Keychain,
		github.Keychain,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…