package
0.0.0-20200226065818-fe632b36a108
Repository: https://github.com/alipay/sofa-mesh.git
Documentation: pkg.go.dev

# Functions

GetMeshConfig fetches the ProxyMesh configuration from Kubernetes ConfigMap.
NewServer creates a new Server instance based on the provided arguments.

# Constants

ConfigMapKey should match the expected MeshConfig file name.
DefaultMCPMaxMsgSize is the default maximum message size.

# Variables

DefaultPlugins is the default list of plugins to enable, when no plugin(s) is specified through the command line.
FilepathWalkInterval dictates how often the file system is walked for config.
PilotCertDir is the default location for mTLS certificates used by pilot Visible for tests - at runtime can be set by PILOT_CERT_DIR environment variable.

# Structs

ConfigArgs provide configuration options for the configuration controller.
ConsulArgs provides configuration for the Consul service registry.
MeshArgs provide configuration options for the mesh.
PilotArgs provides all of the configuration parameters for the Pilot discovery service.
Server contains the runtime configuration for the Pilot discovery service.
ServiceArgs provides the composite configuration for all service registries in the system.