Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInternal = apierr.WithScope(-1, "the internal error", errorScope) ErrAgent = apierr.WithScope(-2, "agent implement not found", errorScope) ErrExists = apierr.WithScope(-3, "target resource exists", errorScope) ErrNotFound = apierr.WithScope(-3, "target resource not found", errorScope) )
errors
Functions ¶
This section is empty.
Types ¶
type Extension ¶
type Extension interface { Name() string // extension name Begin(config config.Config, builder MeshBuilder) error CreateSerivce(serviceName string, config config.Config) (Service, error) End() error }
Extension gomesh service handle extension
type MeshBuilder ¶
type MeshBuilder interface { RegisterService(extensionName string, serviceName string) error RegisterExtension(extension Extension) error Start(config config.Config) error }
MeshBuilder .
type ServiceRegisterEntry ¶
ServiceRegisterEntry .
Click to show internal directories.
Click to hide internal directories.