Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func ParseTrustDomain ¶ added in v1.0.0
func ParseTrustDomain(trustDomain string, logger logrus.FieldLogger) (spiffeid.TrustDomain, error)
ParseTrustDomain parses a configured trustDomain in a consistent way for either the SPIRE agent or server.
func WarnOnLongTrustDomainName ¶ added in v1.0.0
func WarnOnLongTrustDomainName(td spiffeid.TrustDomain, logger logrus.FieldLogger)
Types ¶
type CommaStringsFlag ¶
type CommaStringsFlag []string
CommaStringsFlag facilitates parsing flags representing a comma separated list of strings
func (*CommaStringsFlag) Set ¶
func (f *CommaStringsFlag) Set(v string) error
func (CommaStringsFlag) String ¶
func (f CommaStringsFlag) String() string
type DurationFlag ¶
DurationFlag facilitates parsing flags representing a time.Duration
func (*DurationFlag) Set ¶
func (f *DurationFlag) Set(v string) error
func (DurationFlag) String ¶
func (f DurationFlag) String() string
type Env ¶
Env provides an pluggable environment for CLI commands that facilitates easy testing.
func (*Env) ErrPrintln ¶
type StringsFlag ¶
type StringsFlag []string
StringsFlag faciliates setting multiple flags
func (*StringsFlag) Set ¶
func (s *StringsFlag) Set(val string) error
func (*StringsFlag) String ¶
func (s *StringsFlag) String() string
Click to show internal directories.
Click to hide internal directories.