Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectionInfo ¶
type ConnectionInfo struct {
// Authority defines the URL that was used by the data plane to connect to the control plane
Authority string
}
type Context ¶
type Context struct {
ControlPlane *ControlPlaneContext
Mesh MeshContext
ConnectionInfo ConnectionInfo
EnvoyAdminClient admin.EnvoyAdminClient
}
func (Context) SDSLocation ¶
func (c Context) SDSLocation() string
type ControlPlaneContext ¶
type ControlPlaneContext struct {
SdsTlsCert []byte
AdminProxyKeyPair *tls.KeyPair
CLACache xds.CLACache
DNSResolver resolver.DNSResolver
}
func BuildControlPlaneContext ¶
func BuildControlPlaneContext(config kuma_cp.Config, claCache xds.CLACache, dnsResolver resolver.DNSResolver) (*ControlPlaneContext, error)
type MeshContext ¶
type MeshContext struct {
Resource *mesh_core.MeshResource
Dataplanes *mesh_core.DataplaneResourceList
Hash string
}
Click to show internal directories.
Click to hide internal directories.