Documentation
¶
Index ¶
- Variables
- func AddAnnotations(ing metav1.Object, additionals map[string]string)
- func ApproveCSRAndGetCertificate(t *testing.T, clientset *kubernetes.Clientset, ...) []byte
- func EditServicePort(service *corev1.Service, port int32)
- func GetCaOrFail(t *testing.T, cs *kubernetes.Clientset) (ca *x509.Certificate)
- func New(t *testing.T) *kubernetes.Clientset
- func NewCertificateSigningRequest(name string, key *rsa.PrivateKey, dnsNames ...string) *certificatesv1beta1.CertificateSigningRequest
- func NewDeployment(name string) *appsv1.Deployment
- func NewIngress(name string, rules []IngressRule) *networkingv1beta1.Ingress
- func NewProxyProtocol(name string) (deployment *appsv1.Deployment, svc *corev1.Service)
- func NewSecret(keyVal map[string][]byte, name string) (secret *corev1.Secret)
- func NewService(name string) *corev1.Service
- func NewTLSSecret(key *rsa.PrivateKey, cert []byte, name string) *corev1.Secret
- type IngressRule
Constants ¶
This section is empty.
Variables ¶
View Source
var Namespace = "testing"
Functions ¶
func ApproveCSRAndGetCertificate ¶
func ApproveCSRAndGetCertificate(t *testing.T, clientset *kubernetes.Clientset, csr *certificatesv1beta1.CertificateSigningRequest) []byte
func EditServicePort ¶
func GetCaOrFail ¶
func GetCaOrFail(t *testing.T, cs *kubernetes.Clientset) (ca *x509.Certificate)
func NewCertificateSigningRequest ¶
func NewCertificateSigningRequest(name string, key *rsa.PrivateKey, dnsNames ...string) *certificatesv1beta1.CertificateSigningRequest
func NewDeployment ¶
func NewDeployment(name string) *appsv1.Deployment
func NewIngress ¶
func NewIngress(name string, rules []IngressRule) *networkingv1beta1.Ingress
func NewProxyProtocol ¶
func NewProxyProtocol(name string) (deployment *appsv1.Deployment, svc *corev1.Service)
prometherion: source-code of the Docker image quay.io/prometherion/proxy-protocol-app:latest is available here: https://github.com/prometherion/test-app TODO: evaluate to host the sample apps source-code in the HAProxy GitHub org
func NewService ¶
func NewTLSSecret ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.