context

package
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 30, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳