custom_fqdn

package
v0.0.0-...-c7431a4 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	KubeBuilderAssetsEnv = "KUBEBUILDER_ASSETS"
	// list indices for k8s cluster, openshift cluster and config cluster (where AMKO is running)
	// Config cluster and K8s cluster are same here
	K8s           = 0
	ConfigCluster = 0
	Oshift        = 1
	MaxClusters   = 2
	// AMKO CRD directory
	AmkoCRDs = "../../../../helm/amko/crds"
	AkoCRDs  = "../../crds/ako"

	AviSystemNS    = "avi-system"
	AviSecret      = "avi-secret"
	GslbConfigName = "test-gc"
	GDPName        = "test-gdp"
	K8sContext     = "k8s"
	OshiftContext  = "oshift"
)

Variables

View Source
var (
	KubeBuilderAssetsVal string
)

Functions

func BuildAddAndVerifyAppSelectorTestGDP

func BuildAddAndVerifyAppSelectorTestGDP(t *testing.T) (*gdpalphav2.GlobalDeploymentPolicy, error)

func BuildIngressKeyAndVerify

func BuildIngressKeyAndVerify(t *testing.T, timeoutExpected bool, op, cname, ns, name, hostname string)

func BuildIngressObj

func BuildIngressObj(name, ns, svc, cname string, hostIPs map[string]string, withStatus bool, secretName string) *networkingv1.Ingress

func BuildRouteKeyAndVerify

func BuildRouteKeyAndVerify(t *testing.T, timeoutExpected bool, op, cname, ns, name string)

func BuildRouteObj

func BuildRouteObj(name, ns, svc, cname, host, ip string, withStatus bool) *routev1.Route

func DeleteTestGDP

func DeleteTestGDP(t *testing.T, ns, name string) error

func GetTestDefaultGDPObject

func GetTestDefaultGDPObject() *gdpalphav2.GlobalDeploymentPolicy

func GetTestGSGraphFromName

func GetTestGSGraphFromName(t *testing.T, gsName string) *nodes.AviGSObjectGraph

func VerifyGDPStatus

func VerifyGDPStatus(t *testing.T, ns, name, status string)

func VerifyGSLBHostRuleStatus

func VerifyGSLBHostRuleStatus(t *testing.T, ns, name, status, errMsg string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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