tls

package
v0.0.0-...-a749415 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: Apache-2.0 Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertCiphersToIANA

func ConvertCiphersToIANA(ciphers []string) []string

ConvertCiphersToIANA converts a list of cipher suites from OpenSSL names to IANA names. OpenShift TLS profiles use OpenSSL cipher names, but Go's crypto/tls and kube-rbac-proxy expect IANA names.

Types

type Profile

type Profile struct {
	TLSOpts []func(*tls.Config)
	// contains filtered or unexported fields
}

func GetProfileInfo

func GetProfileInfo(ctx context.Context, client ctrlclient.Client) (Profile, error)

func (*Profile) GetProfileSpec

func (p *Profile) GetProfileSpec() *configv1.TLSProfileSpec

GetProfileSpec returns the TLS profile spec, or nil if not honoring the cluster TLS profile.

func (*Profile) SetupProfileWatch

func (p *Profile) SetupProfileWatch(ctx context.Context, mgr ctrl.Manager, onChange func()) error

Jump to

Keyboard shortcuts

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