credentials

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: Apache-2.0 Imports: 7 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetX509Source

func GetX509Source(ctx context.Context) *workloadapi.X509Source

GetX509Source - Returns a X509 source. Creates a new source if none exists yet.

Note: Avoid creating new X509 whenever invoked as it each source consumes additional resources. TODO: According to the description of NewX509Source() the source should be closed to release underlying resources. So, consider adding a function that would take care of closing the source.

Types

This section is empty.

Jump to

Keyboard shortcuts

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