Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Default binary version. DefaultBinaryVersion = "1.21.0" // Default download timeout. DefaultDownloadTimeout = 30 * time.Second )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Logger telemetry.Logger ProxyConfig *bootstrapv3.Bootstrap GenerateConfig func() (*bootstrapv3.Bootstrap, error) }
Config holds the configuration object for running the proxy.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is a run.Service implementation that runs the proxy.
func New ¶
New returns a new run.Service that wraps envoy binary. Setting the cfg to nil, expecting setting the envoy's -c from a file.
func (*Service) GracefulStop ¶
func (s *Service) GracefulStop()
GracefulStop stops the underlying process by sending interrupt.
Click to show internal directories.
Click to hide internal directories.