Documentation ¶
Index ¶
- Variables
- func AddressTypeForAddress(address string) string
- func CreateLogger(output io.Writer, logLevel string, asJSON bool, name string) hclog.Logger
- func DefaultTLSCipherSuites() []string
- func FlagUsage(usage string, flags *flag.FlagSet) string
- func GetConsulTokenOr(tokenFlag string) string
- func LogAndDie(logger hclog.Logger, message string, err error) int
- func LogSuccess(logger hclog.Logger, message string) int
- func SupportedTLSCipherSuite(cipherSuite string) bool
- func SynchronizeWriter(writer io.Writer) io.Writer
- type ArrayFlag
- type CommonCLI
- func (c *CommonCLI) Context() context.Context
- func (c *CommonCLI) Error(message string, err error) int
- func (c *CommonCLI) Help() string
- func (c *CommonCLI) LogLevel() string
- func (c *CommonCLI) Logger(name string) hclog.Logger
- func (c *CommonCLI) Output() io.Writer
- func (c *CommonCLI) Parse(args []string) error
- func (c *CommonCLI) Success(message string) int
- func (c *CommonCLI) Synopsis() string
- type ConsulNamespaceMapper
- type ServiceNameIndex
- func (i *ServiceNameIndex) Add(names ...api.CompoundServiceName)
- func (i *ServiceNameIndex) All() []api.CompoundServiceName
- func (i *ServiceNameIndex) Diff(other *ServiceNameIndex) (added []api.CompoundServiceName, removed []api.CompoundServiceName)
- func (i *ServiceNameIndex) Exists(name api.CompoundServiceName) bool
- func (i *ServiceNameIndex) Remove(names ...api.CompoundServiceName)
Constants ¶
This section is empty.
Variables ¶
View Source
var SupportedTLSVersions = map[string]struct{}{
"TLS_AUTO": {},
"TLSv1_0": {},
"TLSv1_1": {},
"TLSv1_2": {},
"TLSv1_3": {},
}
View Source
var TLSVersionsWithConfigurableCipherSuites = map[string]struct{}{
"": {},
"TLS_AUTO": {},
"TLSv1_0": {},
"TLSv1_1": {},
"TLSv1_2": {},
}
Functions ¶
func AddressTypeForAddress ¶
AddressTypeForAddress returns whether envoy should treat the given address as a static ip or as a DNS name
func CreateLogger ¶ added in v0.5.0
func DefaultTLSCipherSuites ¶
func DefaultTLSCipherSuites() []string
func GetConsulTokenOr ¶ added in v0.5.0
func LogSuccess ¶ added in v0.5.0
func SupportedTLSCipherSuite ¶
Types ¶
type CommonCLI ¶ added in v0.5.0
func NewCommonCLI ¶ added in v0.5.0
type ConsulNamespaceMapper ¶
type ServiceNameIndex ¶
type ServiceNameIndex struct {
// contains filtered or unexported fields
}
func NewServiceNameIndex ¶
func NewServiceNameIndex() *ServiceNameIndex
func (*ServiceNameIndex) Add ¶
func (i *ServiceNameIndex) Add(names ...api.CompoundServiceName)
func (*ServiceNameIndex) All ¶
func (i *ServiceNameIndex) All() []api.CompoundServiceName
func (*ServiceNameIndex) Diff ¶
func (i *ServiceNameIndex) Diff(other *ServiceNameIndex) (added []api.CompoundServiceName, removed []api.CompoundServiceName)
func (*ServiceNameIndex) Exists ¶
func (i *ServiceNameIndex) Exists(name api.CompoundServiceName) bool
func (*ServiceNameIndex) Remove ¶
func (i *ServiceNameIndex) Remove(names ...api.CompoundServiceName)
Click to show internal directories.
Click to hide internal directories.