Versions in this module Expand all Collapse all v0 v0.1.0 Mar 7, 2024 Changes in this version + var Endpoint = GraphSchema + var Gateway = GraphSchema + var GatewayClass = GraphSchema + var HTTPRoute = GraphSchema + var Secret = GraphSchema + var Service = GraphSchema + var SupportedGraphTypes = GraphDescriptor + func AddTLSNode(key string, object *AviObjectGraph, gateway *gatewayv1.Gateway, ...) + func BuildPortProtocols(gateway *gatewayv1.Gateway, key string) []nodes.AviPortHostProtocol + func BuildTLSNodesForGateway(gateway *gatewayv1.Gateway, key string) []*nodes.AviTLSKeyCertNode + func BuildVsVipNodeForGateway(gateway *gatewayv1.Gateway, vsName string) *nodes.AviVSVIPNode + func DeleteTLSNode(key string, object *AviObjectGraph, gateway *gatewayv1.Gateway, ...) + func DequeueIngestion(key string, fullsync bool) + func EndpointToGateways(namespace, name, key string) ([]string, bool) + func EndpointToRoutes(namespace, name, key string) ([]string, bool) + func GatewayClassGetGw(namespace, name, key string) ([]string, bool) + func GatewayGetGw(namespace, name, key string) ([]string, bool) + func GatewayToRoutes(namespace, name, key string) ([]string, bool) + func HTTPRouteChanges(namespace, name, key string) ([]string, bool) + func HTTPRouteToGateway(namespace, name, key string) ([]string, bool) + func NoOperation(namespace, name, key string) ([]string, bool) + func SecretToGateways(namespace, name, key string) ([]string, bool) + func ServiceToGateways(namespace, name, key string) ([]string, bool) + func ServiceToRoutes(namespace, name, key string) ([]string, bool) + func TLSNodeFromSecret(secretObj *corev1.Secret, hostname, certName, key string) *nodes.AviTLSKeyCertNode + type AviObjectGraph struct + func NewAviObjectGraph() *AviObjectGraph + func (o *AviObjectGraph) BuildChildVS(key string, routeModel RouteModel, parentNsName string, rule *Rule, ...) + func (o *AviObjectGraph) BuildGatewayParent(gateway *gatewayv1.Gateway, key string) *nodes.AviEvhVsNode + func (o *AviObjectGraph) BuildGatewayVs(gateway *gatewayv1.Gateway, key string) + func (o *AviObjectGraph) BuildHTTPPolicySet(key string, vsNode *nodes.AviEvhVsNode, routeModel RouteModel, rule *Rule) + func (o *AviObjectGraph) BuildHTTPPolicySetHTTPRequestRedirectRules(key string, vsNode *nodes.AviEvhVsNode, routeModel RouteModel, ...) + func (o *AviObjectGraph) BuildHTTPPolicySetHTTPRequestRules(key string, vsNode *nodes.AviEvhVsNode, routeModel RouteModel, ...) + func (o *AviObjectGraph) BuildHTTPPolicySetHTTPResponseRules(key string, vsNode *nodes.AviEvhVsNode, routeModel RouteModel, ...) + func (o *AviObjectGraph) BuildHTTPPolicySetHTTPRuleHdrAction(key string, action string, header *Header, headerIndex uint32) *models.HTTPHdrAction + func (o *AviObjectGraph) BuildL4PolicySet(key string, vsNode *nodes.AviEvhVsNode, routeModel RouteModel, rule *Rule) + func (o *AviObjectGraph) BuildPGPool(key, parentNsName string, childVsNode *nodes.AviEvhVsNode, ...) + func (o *AviObjectGraph) BuildVHMatch(key string, vsNode *nodes.AviEvhVsNode, rule *Rule, hosts []string) + func (o *AviObjectGraph) DeleteStaleChildVSes(key string, routeModel RouteModel, childVSes map[string]struct{}, ...) + func (o *AviObjectGraph) ProcessL4Routes(key string, routeModel RouteModel, parentNsName string) + func (o *AviObjectGraph) ProcessL7Routes(key string, routeModel RouteModel, parentNsName string, ...) + func (o *AviObjectGraph) ProcessRouteDeletion(key string, routeModel RouteModel, fullsync bool) + type Backend struct + Name string + Namespace string + Port int32 + Weight int32 + type Filter struct + RedirectFilter *RedirectFilter + RequestFilter *HeaderFilter + ResponseFilter *HeaderFilter + Type string + type GraphDescriptor []GraphSchema + func ConfigDescriptor() GraphDescriptor + func (descriptor GraphDescriptor) GetByType(name string) (GraphSchema, bool) + type GraphSchema struct + GetGateways func(string, string, string) ([]string, bool) + GetRoutes func(string, string, string) ([]string, bool) + Type string + type Header struct + Name string + Value string + type HeaderFilter struct + Add []*Header + Remove []string + Set []*Header + type HeaderMatch struct + Name string + Type string + Value string + type Headers []*Header + func (h Headers) Len() int + func (h Headers) Less(i, j int) bool + func (h Headers) Swap(i, j int) + type Match struct + HeaderMatch []*HeaderMatch + PathMatch *PathMatch + type Matches []*Match + func (m Matches) Len() int + func (m Matches) Less(i, j int) bool + func (m Matches) Swap(i, j int) + type PathMatch struct + Path string + Type string + type RedirectFilter struct + Host string + StatusCode int32 + type RouteConfig struct + Hosts []string + Rules []*Rule + type RouteModel interface + Exists func() bool + GetName func() string + GetNamespace func() string + GetParents func() sets.Set[string] + GetSpec func() interface{} + GetType func() string + ParseRouteRules func() *RouteConfig + func GetHTTPRouteModel(key string, name, namespace string) (RouteModel, error) + func NewRouteModel(key, objType, name, namespace string) (RouteModel, error) + type Rule struct + Backends []*Backend + Filters []*Filter + Matches []*Match