Documentation
¶
Index ¶
- Variables
- func DetectMaxMemory() uint64
- func GenerateBootstrapFile(cfg kuma_dp.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 kuma-cp before starting kuma-dp or pass it to kuma-dp run --dataplane-file=/file. If you are running on Kubernetes, please check the kuma-cp logs to determine why the Dataplane entity could not be created by the automatic sidecar injection.")
)
Functions ¶
func DetectMaxMemory ¶ added in v1.8.1
func DetectMaxMemory() uint64
func GenerateBootstrapFile ¶
func GenerateBootstrapFile(cfg kuma_dp.DataplaneRuntime, config []byte) (string, error)
func InvalidRequestErr ¶
func IsInvalidRequestErr ¶
Types ¶
type BootstrapConfigFactoryFunc ¶
type BootstrapConfigFactoryFunc func(ctx context.Context, url string, cfg kuma_dp.Config, params BootstrapParams) (*envoy_bootstrap_v3.Bootstrap, *types.KumaSidecarConfiguration, error)
func NewRemoteBootstrapGenerator ¶
func NewRemoteBootstrapGenerator(client *http.Client, operatingSystem string, features []string) BootstrapConfigFactoryFunc
type BootstrapParams ¶
type Envoy ¶
type Envoy struct {
// contains filtered or unexported fields
}
func (*Envoy) DrainConnections ¶ added in v1.8.1
func (*Envoy) NeedLeaderElection ¶
func (*Envoy) WaitForDone ¶ added in v1.8.1
func (e *Envoy) WaitForDone()
type EnvoyVersion ¶
func GetEnvoyVersion ¶ added in v1.8.1
func GetEnvoyVersion(binaryPath string) (*EnvoyVersion, error)
type UIntOrString ¶ added in v1.8.1
Click to show internal directories.
Click to hide internal directories.