server

package
v0.0.0-...-7b34d14 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2020 License: Apache-2.0 Imports: 45 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MeshCaResource       = "mesh_ca"
	IdentityCertResource = "identity_cert"
)

Variables

This section is empty.

Functions

func DefaultAuthenticator

func DefaultAuthenticator(rt core_runtime.Runtime) (sds_auth.Authenticator, error)

func NewKubeAuthenticator

func NewKubeAuthenticator(rt core_runtime.Runtime) (sds_auth.Authenticator, error)

func NewUniversalAuthenticator

func NewUniversalAuthenticator(rt core_runtime.Runtime) (sds_auth.Authenticator, error)

func SetupServer

func SetupServer(rt core_runtime.Runtime) error

Types

type DataplaneReconciler

type DataplaneReconciler struct {
	// contains filtered or unexported fields
}

DataplaneReconciler keeps the state of the Cache for SDS consistent When Dataplane connects to the Control Plane, the Watchdog (separate goroutine) is started which on the defined interval execute DataplaneReconciler#Reconcile. It will then check if certs needs to be regenerated because Mesh CA was changed This follows the same pattern as XDS.

Snapshot are versioned with UnixNano;NameOfTheCA pattern

func (*DataplaneReconciler) Reconcile

func (d *DataplaneReconciler) Reconcile(dataplaneId core_model.ResourceKey) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL