ateletdial

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package ateletdial connects a worker Pod to the atelet on its own node over the node-local socket, authenticating both ends by Pod certificate.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dial

func Dial(socketPath string, tlsConfig *tls.Config) (*grpc.ClientConn, error)

Dial opens a connection to the atelet socket. The caller closes it; a fresh connection picks up rotated worker credentials and re-verifies atelet.

func TLSConfig

func TLSConfig(credentialBundlePath, trustBundlePath, ateletSPIFFEID string) (*tls.Config, error)

TLSConfig authenticates this worker to atelet with its Pod certificate, and accepts only the atelet on this worker's own node. ateletSPIFFEID is the identity atelet presents; it names atelet's namespace, not this worker's, so the caller passes it in rather than deriving it from the downward API.

Types

This section is empty.

Jump to

Keyboard shortcuts

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