Documentation ¶
Index ¶
- Variables
- func DetectMaxMemory() uint64
- func GenerateBootstrapFile(cfg dubboctl.DataplaneRuntime, config []byte) (string, error)
- func InvalidRequestErr(msg string) error
- func IsInvalidRequestErr(err error) bool
- func VersionCompatible(expectedVersion string, envoyVersion string) (bool, error)
- type BootstrapConfigFactoryFunc
- type BootstrapParams
- type Envoy
- type EnvoyVersion
- type Opts
- type UIntOrString
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DpNotFoundErr = errors.New("Dataplane entity not found. If you are running on Universal please create a Dataplane entity on dubbo-cp before starting dubbo-dp or pass it to dubbo-dp run --dataplane-file=/file. If you are running on Kubernetes, please check the dubbo-cp logs to determine why the Dataplane entity could not be created by the automatic sidecar injection.")
)
Functions ¶
func DetectMaxMemory ¶
func DetectMaxMemory() uint64
func GenerateBootstrapFile ¶
func GenerateBootstrapFile(cfg dubboctl.DataplaneRuntime, config []byte) (string, error)
func InvalidRequestErr ¶
func IsInvalidRequestErr ¶
Types ¶
type BootstrapConfigFactoryFunc ¶
type BootstrapConfigFactoryFunc func(ctx context.Context, url string, cfg dubboctl.Config, params BootstrapParams) (*envoy_bootstrap_v3.Bootstrap, *types.DubboSidecarConfiguration, error)
func NewRemoteBootstrapGenerator ¶
func NewRemoteBootstrapGenerator(operatingSystem string, features []string) BootstrapConfigFactoryFunc
type BootstrapParams ¶
type EnvoyVersion ¶
func GetEnvoyVersion ¶
func GetEnvoyVersion(binaryPath string) (*EnvoyVersion, error)
type UIntOrString ¶
Click to show internal directories.
Click to hide internal directories.