Documentation ¶
Index ¶
- Constants
- func CheckForUnwantedAPICallsToController(t *testing.T, AviClient *clients.AviClient, start string, end string, ...) bool
- func CleanResourceData(data string) string
- func CompareHTTPPolicySet(t *testing.T, eventLog models.EventLog) bool
- func ComparePoolGroupResources(t *testing.T, eventLog models.EventLog) bool
- func ComparePoolResources(t *testing.T, eventLog models.EventLog) bool
- func CompareSSLKeyCertificate(t *testing.T, eventLog models.EventLog) bool
- func CompareVirtualServiceResources(t *testing.T, eventLog models.EventLog) bool
- func CompareVsVipResources(t *testing.T, eventLog models.EventLog) bool
- func CreateApp(appName string, namespace string, replica int) error
- func CreateInsecureIngress(ingressNamePrefix string, serviceName string, namespace string, numOfPaths int, ...) ([]string, []string, error)
- func CreateLBService(serviceNamePrefix string, appName string, namespace string, num int) ([]string, string, error)
- func CreateMultiHostIngress(ingressNamePrefix string, listOfServices []string, namespace string, ...) ([]string, []string, []string, error)
- func CreatePaths(numOfPaths int, serviceName string) []map[string]interface{}
- func CreateSecureIngress(ingressNamePrefix string, serviceName string, namespace string, numOfPaths int, ...) ([]string, []string, error)
- func CreateService(serviceNamePrefix string, appName string, namespace string, num int) ([]string, error)
- func DeleteApp(appName string, namespace string) error
- func DeleteIngress(namespace string, listOfIngressToDelete []string) ([]string, error)
- func DeletePod(podName string, namespace string) error
- func DeleteService(serviceNameList []string, namespace string) error
- func FetchDNSARecordsFQDN(t *testing.T, AviClient *clients.AviClient, Nextpage ...int) []string
- func FetchPoolGroup(t *testing.T, AviClient *clients.AviClient, Nextpage ...int) []models.PoolGroup
- func FetchPools(t *testing.T, AviClient *clients.AviClient, Nextpage ...int) []models.Pool
- func FetchVirtualServices(t *testing.T, AviClient *clients.AviClient, Nextpage ...int) []models.VirtualService
- func KubeInit(kubeconfig string)
- func ListIngress(t *testing.T, namespace string) ([]string, error)
- func NewError(text string) error
- func SharedAVIClients(numClients uint32) ([]*clients.AviClient, error)
- func UpdateIngress(namespace string, listOfIngressToUpdate []string) ([]string, error)
- func WaitForAKOPodReboot(t *testing.T, akoPodName string) bool
- type AkoParams
- type AviRestClientPool
- type Cluster
- type Config
- type Networks
- type Nodes
- type OperStatus
- type Platform
- type Runtime
- type TestParams
- type TestbedFields
- type VCenterConfiguration
- type VipNetwork
- type VirtualServiceInventory
- type VirtualServiceInventoryResult
- type VirtualServiceInventoryRuntime
- type Vm
Constants ¶
View Source
const ( OPER_DOWN = "OPER_DOWN" OPER_UP = "OPER_UP" )
View Source
const AVISYSTEM = "avi-system"
View Source
const INGRESSAPIVERSION = "networking.k8s.io/v1"
View Source
const PATHTYPE = "Prefix"
View Source
const PORT = 8080
View Source
const SECRETNAME = "ingress-host-tls"
View Source
const SUBDOMAIN = ".avi.internal"
Variables ¶
This section is empty.
Functions ¶
func CleanResourceData ¶
func CompareVsVipResources ¶
func CreateInsecureIngress ¶
func CreateLBService ¶
func CreateMultiHostIngress ¶
func CreatePaths ¶
func CreateSecureIngress ¶
func CreateService ¶
func DeleteIngress ¶
func DeleteService ¶
func FetchDNSARecordsFQDN ¶
func FetchPoolGroup ¶
func FetchPools ¶
func FetchVirtualServices ¶
func UpdateIngress ¶
Types ¶
type Cluster ¶
type Cluster struct { ClusterID string `json:"cluster_id"` ClusterName string `json:"cluster_name"` KubeConfigFilePath string `json:"kubeconfig_file"` CniPlugin string `json:"cniPlugin"` EVHEnabled bool `json:"evhEnabled"` CloudName string `json:"cloudName"` DisableStaticRouteSync string `json:"disableStaticRouteSync"` DefaultIngController string `json:"defaultIngController"` VipNetworkList []VipNetwork `json:"NetworkName"` VRFRefName string `json:"vrfRefName"` Platform Platform `json:"platform"` KubeNodes []Nodes `json:"kubeNodes"` }
type OperStatus ¶
type Platform ¶
type Platform struct { Type string `json:"type"` VCenterConfiguration VCenterConfiguration `json:"vcenter_configuration"` }
type Runtime ¶
type Runtime struct { OperStatus OperStatus `json:"oper_status"` PercentSEUps int `json:"percent_ses_up"` VIPSummary []map[string]interface{} `json:"vip_summary"` }
type TestParams ¶
type TestbedFields ¶
type TestbedFields struct { AkoParam AkoParams `json:"Ako_params"` TestParams TestParams `json:"TestParams"` Vm []Vm `json:"Vm"` }
type VCenterConfiguration ¶
type VipNetwork ¶
type VipNetwork struct {
NetworkName string `json:"networkName,omitempty"`
}
type VirtualServiceInventory ¶
type VirtualServiceInventory struct { Count int `json:"count"` Results []VirtualServiceInventoryResult `json:"results"` }
type VirtualServiceInventoryResult ¶
type VirtualServiceInventoryResult struct { Config Config `json:"config"` Runtime Runtime `json:"runtime"` UUID string `json:"uuid"` HealthScore map[string]interface{} `json:"health_score"` Alert map[string]interface{} `json:"alert"` Pools []string `json:"pools"` PoolGroups []string `json:"poolgroups"` ApiProfileType string `json:"app_profile_type"` PoolWithRealTimeMetrics bool `json:"has_pool_with_realtime_metrics"` Faults map[string]interface{} `json:"faults"` Metrics map[string]interface{} `json:"metrics"` }
type VirtualServiceInventoryRuntime ¶
func FetchOPERDownVirtualService ¶
func FetchOPERDownVirtualService(t *testing.T, AviClient *clients.AviClient) []VirtualServiceInventoryRuntime
func FetchVirtualServiceOperStatus ¶
func FetchVirtualServiceOperStatus(t *testing.T, AviClient *clients.AviClient) []VirtualServiceInventoryRuntime
type Vm ¶
type Vm struct { Datacenter string `json:"datacenter"` Name string `json:"name"` Cluster string `json:"cluster"` ClusterIP string `json:"cluster_ip"` IP string `json:"ip"` Mask string `json:"mask"` Networks Networks `json:"networks"` CloudName string `json:"cloud_name"` Host string `json:"host"` Static string `json:"static"` Datastore string `json:"datastore"` Type string `json:"type"` UserName string `json:"username"` Password string `json:"password"` Gateway string `json:"gateway"` }
Click to show internal directories.
Click to hide internal directories.