tls

package
v1.5.0-chart Latest Latest
Warning

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

Go to latest
Published: May 20, 2022 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppContainerPort = 8080
)

Variables

This section is empty.

Functions

This section is empty.

Types

type TLSStack

type TLSStack struct {
	// service discovery type
	ServiceDiscoveryType manifest.ServiceDiscoveryType

	FrontEndVN *appmesh.VirtualNode
	FrontEndDP *appsv1.Deployment

	BackEndVN  *appmesh.VirtualNode
	BackEndDP  *appsv1.Deployment
	BackEndSVC *corev1.Service

	BackEndVS *appmesh.VirtualService
	BackEndVR *appmesh.VirtualRouter
	// contains filtered or unexported fields
}

func (*TLSStack) CheckTLSBehavior

func (s *TLSStack) CheckTLSBehavior(ctx context.Context, f *framework.Framework, tlsEnabled bool)

func (*TLSStack) CleanupTLSStack

func (s *TLSStack) CleanupTLSStack(ctx context.Context, f *framework.Framework)

func (*TLSStack) DeployPartialTLSStack

func (s *TLSStack) DeployPartialTLSStack(ctx context.Context, f *framework.Framework)

Frontend has TLS Validation enabled while TLS is disabled on the backend

func (*TLSStack) DeployTLSStack

func (s *TLSStack) DeployTLSStack(ctx context.Context, f *framework.Framework)

TLS Validation is enabled on the Frontend and Listener TLS is configured on the backend. Frontend looks for certs signed by CA1 and backend certs are signed by CA1 as well.

func (*TLSStack) DeployTLSValidationStack

func (s *TLSStack) DeployTLSValidationStack(ctx context.Context, f *framework.Framework)

TLS Validation is enabled on the Frontend and Listener TLS is configured on the backend. Frontend looks for certs signed by CA2 while backend certs are signed by CA1.

Jump to

Keyboard shortcuts

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