Documentation ¶
Index ¶
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 GenerateBootstrapFile ¶
func GenerateBootstrapFile(cfg kuma_dp.DataplaneRuntime, config []byte) (string, error)
func InvalidRequestErr ¶
func IsInvalidRequestErr ¶
Types ¶
type BootstrapConfigFactoryFunc ¶
type BootstrapConfigFactoryFunc func(url string, cfg kuma_dp.Config, params BootstrapParams) ([]byte, types.BootstrapVersion, error)
func NewRemoteBootstrapGenerator ¶
func NewRemoteBootstrapGenerator(client *http.Client) BootstrapConfigFactoryFunc
type BootstrapParams ¶
type BootstrapParams struct { Dataplane *rest.Resource BootstrapVersion types.BootstrapVersion DNSPort uint32 EmptyDNSPort uint32 EnvoyVersion EnvoyVersion DynamicMetadata map[string]string }
type Envoy ¶
type Envoy struct {
// contains filtered or unexported fields
}
func (*Envoy) NeedLeaderElection ¶
type EnvoyVersion ¶
Click to show internal directories.
Click to hide internal directories.