sidecar

package
v1.4.11 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package sidecar implements adapter's methods.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCertCNPrefix

func GetCertCNPrefix(proxy models.Proxy, kind models.ProxyKind) string

GetCertCNPrefix returns a newly generated CommonName for a certificate of the form: <ProxyUUID>.<kind>.<identity> where identity itself is of the form <name>.<namespace>

func InstallDriver

func InstallDriver(driverName string) error

InstallDriver is to serve as an indication of the using sidecar driver

func NewCertCNPrefix

func NewCertCNPrefix(proxyUUID uuid.UUID, kind models.ProxyKind, si identity.ServiceIdentity) string

NewCertCNPrefix returns a newly generated CommonName for a certificate of the form: <ProxyUUID>.<kind>.<identity> where identity itself is of the form <name>.<namespace>

func Patch

func Patch(ctx context.Context) error

Patch is an adapter method for InjectorDriver.Patch

func Register

func Register(name string, driver driver.Driver)

Register makes a sidecar driver available by the provided name. If Register is called twice with the same name or if driver is nil, it panics.

func Start

func Start(ctx context.Context) (health.Probes, error)

Start is an adapter method for ControllerDriver.Start

Types

This section is empty.

Directories

Path Synopsis
Package driver implements Driver's methods.
Package driver implements Driver's methods.
providers
pipy
Package pipy implements utility routines related to Pipy proxy, and models an instance of a proxy to be able to generate XDS configurations for it.
Package pipy implements utility routines related to Pipy proxy, and models an instance of a proxy to be able to generate XDS configurations for it.
pipy/bootstrap
Package bootstrap implements functionality related to Pipy's bootstrap config.
Package bootstrap implements functionality related to Pipy's bootstrap config.
pipy/client
Package client implements the PipyRepo struct.
Package client implements the PipyRepo struct.
pipy/driver
Package driver implements debugger's methods.
Package driver implements debugger's methods.
pipy/registry
Package registry implements handler's methods.
Package registry implements handler's methods.
pipy/repo
Package repo implements broadcast's methods.
Package repo implements broadcast's methods.

Jump to

Keyboard shortcuts

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