tls

package
v0.0.0-...-783e06e Latest Latest
Warning

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

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

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