package
0.0.0-20211228022950-a1fe31f1f48b
Repository: https://github.com/projectsesame/sesame.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
AltStatName generates an alternative stat name for the service using format ns_name_port.
AnyPositive indicates if any of the values provided are greater than zero.
Clustername returns the name of the CDS cluster for this service.
Hashname takes a length l and a varargs of strings s and returns a string whose length which does not exceed l.
No description provided by the author
Secretname returns the name of the SDS secret for this secret.
SingleSimpleCluster determines whether we can use a RouteAction_Cluster or must use a RouteAction_WeighedCluster to encode additional routing data.
Timeout converts a timeout.Setting to a protobuf.Duration that's appropriate for Envoy.
ValidAdminAddress checks if the address supplied is "localhost" or an IP address.
No description provided by the author
# Constants
Default healthcheck / lb algorithm values.
Default healthcheck / lb algorithm values.
Default healthcheck / lb algorithm values.
Default healthcheck / lb algorithm values.
Default healthcheck / lb algorithm values.
IPPROTO_TCP has the same value across Go platforms, but is defined here for consistency.
SDSResourcesSubdirectory stores the subdirectory name where SDS path resources are stored to.
SDSTLSCertificateFile stores the path to the SDS resource with Envoy's client certificate and key for XDS gRPC connection.
SDSValidationContextFile stores the path to the SDS resource with CA certificates for Envoy to use for the XDS gRPC connection.
We only support Envoy on Linux so always configure Linux TCP keep-alive socket options regardless of the platform that Sesame is running on.
The following are Linux syscall constants for all architectures except MIPS.
Linux syscall.TCP_KEEPCNT.
Linux syscall.TCP_KEEPIDLE.
Linux syscall.TCP_KEEPINTVL.
# Structs
BootstrapConfig holds configuration values for a Bootstrap configuration.