Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
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 InvalidBootstrapVersion = errors.New(`Invalid BootstrapVersion. Available values are: "3"`)
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 SANMismatchErr ¶
Types ¶
type BootstrapGenerator ¶
type BootstrapGenerator interface {
Generate(ctx context.Context, request types.BootstrapRequest) (proto.Message, types.BootstrapVersion, error)
}
func NewDefaultBootstrapGenerator ¶
func NewDefaultBootstrapGenerator( resManager core_manager.ResourceManager, config *bootstrap_config.BootstrapServerConfig, dpServerCertFile string, dpAuthEnabled bool, hdsEnabled bool, ) (BootstrapGenerator, error)
type BootstrapHandler ¶
type BootstrapHandler struct {
Generator BootstrapGenerator
}
func (*BootstrapHandler) Handle ¶
func (b *BootstrapHandler) Handle(resp http.ResponseWriter, req *http.Request)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.