flb

package
v1.3.0-alpha.6 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package flb contains controller logic for the flb

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsFLBEnabled added in v1.1.0

func IsFLBEnabled(svc *corev1.Service, kubeClient kubernetes.Interface) bool

IsFLBEnabled checks if the service is enabled for flb

func IsFLBTLSSecret added in v1.2.1

func IsFLBTLSSecret(secret *corev1.Secret) bool

IsFLBTLSSecret checks if the secret is a valid FLB TLS Secret by checking the label

func IsServiceRefToValidTLSSecret added in v1.2.1

func IsServiceRefToValidTLSSecret(svc *corev1.Service, kubeClient kubernetes.Interface) (bool, error)

IsServiceRefToValidTLSSecret checks if the service is referencing to a valid TLS Secret

func IsTLSEnabled added in v1.2.1

func IsTLSEnabled(svc *corev1.Service) bool

IsTLSEnabled checks if the service is enabled for TLS

func IsValidTLSPort added in v1.2.1

func IsValidTLSPort(svc *corev1.Service) (bool, error)

IsValidTLSPort checks if the service has valid TLS port

func IsValidTLSSecret added in v1.2.1

func IsValidTLSSecret(secret *corev1.Secret) (bool, error)

IsValidTLSSecret checks if the secret has a valid TLS Cert and Key

Types

type TLSSecretMode added in v1.2.1

type TLSSecretMode string
const (
	TLSSecretModeLocal  TLSSecretMode = "local"
	TLSSecretModeRemote TLSSecretMode = "remote"
)

func GetTLSSecretMode added in v1.2.1

func GetTLSSecretMode(svc *corev1.Service) TLSSecretMode

GetTLSSecretMode returns the TLS Secret Mode, default is Local

Jump to

Keyboard shortcuts

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