Versions in this module Expand all Collapse all v0 v0.1.0 Mar 7, 2024 Changes in this version + var GatewayClient *gatewayfake.Clientset + var KubeClient *k8sfake.Clientset + func AddGatewayListener(gw *gatewayv1.Gateway, name string, port int32, ...) + func GetHTTPHeaderFilterV1(actions []string) *gatewayv1.HTTPHeaderFilter + func GetHTTPRouteBackendV1(backendRefs []string) gatewayv1.HTTPBackendRef + func GetHTTPRouteFilterV1(filterType string, actions []string) gatewayv1.HTTPRouteFilter + func GetHTTPRouteMatchV1(path string, pathMatchType string, headers []string) gatewayv1.HTTPRouteMatch + func GetHTTPRouteRuleV1(paths []string, matchHeaders []string, filterActionMap map[string][]string, ...) gatewayv1.HTTPRouteRule + func GetHTTPRouteRulesV1Login() []gatewayv1.HTTPRouteRule + func GetListenerStatusV1(ports []int32, attachedRoutes []int32) []gatewayv1.ListenerStatus + func GetListenersV1(ports []int32, secrets ...string) []gatewayv1.Listener + func GetModelName(namespace, name string) (string, string) + func GetParentReferencesV1(gatewayNames []string, namespace string, ports []int32) []gatewayv1.ParentReference + func GetRouteStatusV1(gatewayNames []string, namespace string, ports []int32, ...) *gatewayv1.RouteStatus + func NewAviFakeClientInstance(kubeclient *k8sfake.Clientset, skipCachePopulation ...bool) + func SetGatewayGatewayClass(gw *gatewayv1.Gateway, name string) + func SetGatewayName(gw *gatewayv1.Gateway, name string) + func SetListenerHostname(l *gatewayv1.Listener, hostname string) + func SetListenerTLS(l *gatewayv1.Listener, tlsMode gatewayv1.TLSModeType, ...) + func SetupGateway(t *testing.T, name, namespace, gatewayClass string, ...) + func SetupGatewayClass(t *testing.T, name, controllerName string) + func SetupHTTPRoute(t *testing.T, name, namespace string, parentRefs []gatewayv1.ParentReference, ...) + func TeardownGateway(t *testing.T, name, namespace string) + func TeardownGatewayClass(t *testing.T, name string) + func TeardownHTTPRoute(t *testing.T, name, namespace string) + func UnsetGatewayGatewayClass(gw *gatewayv1.Gateway) + func UnsetGatewayName(gw *gatewayv1.Gateway) + func UnsetListenerHostname(l *gatewayv1.Listener) + func UnsetListenerTLS(l *gatewayv1.Listener) + func UpdateGateway(t *testing.T, name, namespace, gatewayClass string, ...) + func UpdateHTTPRoute(t *testing.T, name, namespace string, parentRefs []gatewayv1.ParentReference, ...) + func ValidateConditions(t *testing.T, actualConditions, expectedConditions []metav1.Condition) + func ValidateGatewayListeners(t *testing.T, actual, expected *gatewayv1.ListenerStatus) + func ValidateGatewayStatus(t *testing.T, actualStatus, expectedStatus *gatewayv1.GatewayStatus) + func ValidateHTTPRouteStatus(t *testing.T, actualStatus, expectedStatus *gatewayv1.HTTPRouteStatus) + type FakeGatewayClass struct + ControllerName string + Name string + func (gc *FakeGatewayClass) Create(t *testing.T) + func (gc *FakeGatewayClass) Delete(t *testing.T) + func (gc *FakeGatewayClass) GatewayClassV1() *gatewayv1.GatewayClass + func (gc *FakeGatewayClass) Update(t *testing.T) + type Gateway struct + func (g *Gateway) Create(t *testing.T) + func (g *Gateway) Delete(t *testing.T) + func (g *Gateway) GatewayV1(name, namespace, gatewayClass string, address []gatewayv1.GatewayAddress, ...) *gatewayv1.Gateway + func (g *Gateway) Update(t *testing.T) + type HTTPRoute struct + func (hr *HTTPRoute) Create(t *testing.T) + func (hr *HTTPRoute) Delete(t *testing.T) + func (hr *HTTPRoute) HTTPRouteV1(name, namespace string, parentRefs []gatewayv1.ParentReference, ...) *gatewayv1.HTTPRoute + func (hr *HTTPRoute) Update(t *testing.T)