Documentation ¶
Index ¶
- Variables
- func ISSANMismatchErr(err error) bool
- func RegisterBootstrap(rt core_runtime.RuntimeContext) error
- func RegisterBootstrapCluster(c string) string
- func SANMismatchErr(host string, sans []string) error
- type AggregateMetricsConfig
- type BootstrapGenerator
- type BootstrapHandler
- type DubboDpBootstrap
- 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 'dubboctl generate dataplane-token > /path/file' and provide it via --dataplane-token-file=/path/file argument to Dubbo 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 'dubbo-dp run --ca-cert-file=file' or via DUBBO_CONTROL_PLANE_CA_CERT_FILE")
Functions ¶
func ISSANMismatchErr ¶
func RegisterBootstrap ¶
func RegisterBootstrap(rt core_runtime.RuntimeContext) error
func SANMismatchErr ¶
Types ¶
type AggregateMetricsConfig ¶
type BootstrapGenerator ¶
type BootstrapGenerator interface {
Generate(ctx context.Context, request types.BootstrapRequest) (proto.Message, DubboDpBootstrap, error)
}
func NewDefaultBootstrapGenerator ¶
func NewDefaultBootstrapGenerator( resManager core_manager.ResourceManager, serverConfig *bootstrap_config.BootstrapServerConfig, proxyConfig xds_config.Proxy, dpServerCertFile string, authEnabledForProxyType map[string]bool, enableReloadableTokens bool, hdsEnabled bool, defaultAdminPort uint32, ) (BootstrapGenerator, error)
type BootstrapHandler ¶
type BootstrapHandler struct {
Generator BootstrapGenerator
}
func (*BootstrapHandler) Handle ¶
func (b *BootstrapHandler) Handle(resp http.ResponseWriter, req *http.Request)
type DubboDpBootstrap ¶
type DubboDpBootstrap struct { AggregateMetricsConfig []AggregateMetricsConfig NetworkingConfig NetworkingConfig }
type NetworkingConfig ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.