Documentation ¶
Index ¶
- Variables
- func ISSANMismatchErr(err error) bool
- func RegisterBootstrap(rt core_runtime.Runtime) error
- func RegisterBootstrapCluster(c string) string
- func SANMismatchErr(host string, sans []string) error
- type AggregateMetricsConfig
- type BootstrapGenerator
- type BootstrapHandler
- type KumaDpBootstrap
- type NetworkingConfig
- type SANSet
Constants ¶
This section is empty.
Variables ¶
View Source
var BootstrapClusters = map[string]struct{}{}
View Source
var DpTokenRequired = errors.New("Dataplane Token is required. Generate token using 'kumactl generate dataplane-token > /path/file' and provide it via --dataplane-token-file=/path/file argument to Kuma DP")
View Source
var NotCA = errors.New("A data plane proxy is trying to verify the control plane using the certificate which is not a certificate authority (basic constraint 'CA' is set to 'false').\n" +
"Provide CA that was used to sign a certificate used in the control plane by using 'kuma-dp run --ca-cert-file=file' or via KUMA_CONTROL_PLANE_CA_CERT_FILE")
Functions ¶
func ISSANMismatchErr ¶
func RegisterBootstrap ¶
func RegisterBootstrap(rt core_runtime.Runtime) error
func RegisterBootstrapCluster ¶ added in v1.8.1
func SANMismatchErr ¶
Types ¶
type AggregateMetricsConfig ¶ added in v1.8.1
type BootstrapGenerator ¶
type BootstrapGenerator interface {
Generate(ctx context.Context, request types.BootstrapRequest) (proto.Message, KumaDpBootstrap, error)
}
func NewDefaultBootstrapGenerator ¶
func NewDefaultBootstrapGenerator( resManager core_manager.ResourceManager, serverConfig *bootstrap_config.BootstrapServerConfig, proxyConfig xds_config.Proxy, dpServerCertFile string, dpAuthEnabled bool, dpUseTokenPath bool, hdsEnabled bool, defaultAdminPort uint32, enableLocalhostInboundCluster bool, ) (BootstrapGenerator, error)
type BootstrapHandler ¶
type BootstrapHandler struct {
Generator BootstrapGenerator
}
func (*BootstrapHandler) Handle ¶
func (b *BootstrapHandler) Handle(resp http.ResponseWriter, req *http.Request)
type KumaDpBootstrap ¶ added in v1.8.1
type KumaDpBootstrap struct { AggregateMetricsConfig []AggregateMetricsConfig NetworkingConfig NetworkingConfig }
type NetworkingConfig ¶ added in v1.8.1
type NetworkingConfig struct {
IsUsingTransparentProxy bool
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.