pkg/client/util_windows.go (5 lines of code) (raw):
// Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
// or more contributor license agreements. Licensed under the Elastic License;
// you may not use this file except in compliance with the Elastic License.
//go:build windows
// +build windows
package client
import "github.com/elastic/elastic-agent-libs/api/npipe"
// transformNPipeURL converts npipe:/// url to the local named pipe name
func transformNPipeURL(s string) string {
return npipe.TransformString(s)
}