encryption

package
v0.0.0-alpha.0....-7401391 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultTargetGRs = []schema.GroupResource{
	{Group: "route.openshift.io", Resource: "routes"},
}

Functions

func AssertRouteOfLifeEncrypted

func AssertRouteOfLifeEncrypted(t testing.TB, clientSet library.ClientSet, rawRouteOfLife runtime.Object)

func AssertRouteOfLifeNotEncrypted

func AssertRouteOfLifeNotEncrypted(t testing.TB, clientSet library.ClientSet, rawRouteOfLife runtime.Object)

func AssertRoutes

func AssertRoutes(t testing.TB, clientSet library.ClientSet, expectedMode configv1.EncryptionType, namespace, labelSelector string)

func CreateAndStoreRouteOfLife

func CreateAndStoreRouteOfLife(ctx context.Context, t testing.TB, cs ClientSet, ns string) runtime.Object

func GetRawRouteOfLife

func GetRawRouteOfLife(t testing.TB, clientSet library.ClientSet, ns string) string

func RouteOfLife

func RouteOfLife(t testing.TB, ns string) runtime.Object

Types

type ClientSet

type ClientSet struct {
	KubeClient     kubernetes.Interface
	OperatorClient operatorv1client.OpenShiftAPIServerInterface
	RouteClient    routeclient.RoutesGetter
}

func GetClients

func GetClients(t testing.TB) ClientSet

func GetClientsFor

func GetClientsFor(t testing.TB, kubeConfig *rest.Config) ClientSet

Jump to

Keyboard shortcuts

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