common

package
v1.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2022 License: Apache-2.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

View Source
const (
	// DefaultSocketPath is the SPIRE agent's default socket path
	DefaultSocketPath = "/tmp/spire-agent/public/api.sock"
)

Variables

This section is empty.

Functions

func GetAddr added in v1.2.2

func GetAddr(socketPath string) (*net.UnixAddr, error)

GetAddr calls util.GetUnixAddrWithAbsPath to return the unix domain socket address with the designated socket path.

Types

type ConfigOS added in v1.2.2

type ConfigOS struct {
	// contains filtered or unexported fields
}

func (*ConfigOS) AddOSFlags added in v1.2.2

func (c *ConfigOS) AddOSFlags(flags *flag.FlagSet)

func (*ConfigOS) GetAddr added in v1.2.2

func (c *ConfigOS) GetAddr() (net.Addr, error)

func (*ConfigOS) GetTargetName added in v1.2.2

func (c *ConfigOS) GetTargetName() (string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL