Documentation ¶
Index ¶
- Constants
- func CreateAzureClients() (azclient.ClientFactory, error)
- func CreateCurlPodManifest(nsName, gwName, curlTarget string) *corev1.Pod
- func CreateK8sClient() (k8sClient client.Client, podLogClient clientset.Interface, err error)
- func CreateK8sObject(obj client.Object, c client.Client) error
- func CreateNamespace(namespaceName string, c client.Client) error
- func CreateNginxPodManifest(nsName, gwName string) *corev1.Pod
- func DeleteNamespace(namespaceName string, c client.Client) error
- func GetExpectedPodLog(pod *corev1.Pod, c clientset.Interface, expectLogRegex *regexp.Regexp) (string, error)
- func GetGatewayVmssProfile(c client.Client) (resourceGroup, vmssName, location string, prefixLen int32, err error)
- func Logf(format string, args ...interface{})
- func WaitGetPodIP(pod *corev1.Pod, c clientset.Interface) (string, error)
- func WaitPipPrefixDeletion(resourceGroup, pipName string, c publicipprefixclient.Interface) error
- func WaitStaticGatewayDeletion(sgw *v1alpha1.StaticGatewayConfiguration, c client.Client) error
- func WaitStaticGatewayProvision(sgw *v1alpha1.StaticGatewayConfiguration, c client.Client) (string, error)
Constants ¶
View Source
const ( AzureClientIDEnv = "AZURE_CLIENT_ID" AzureClientSecretEnv = "AZURE_CLIENT_SECRET" ManagedIdentityClientIDEnv = "AZURE_MANAGED_IDENTITY_CLIENT_ID" SubscriptionIDEnv = "AZURE_SUBSCRIPTION_ID" TenantIDEnv = "AZURE_TENANT_ID" )
Variables ¶
This section is empty.
Functions ¶
func CreateAzureClients ¶
func CreateAzureClients() (azclient.ClientFactory, error)
func CreateCurlPodManifest ¶
func CreateK8sClient ¶
func CreateNginxPodManifest ¶
func GetExpectedPodLog ¶
func GetGatewayVmssProfile ¶
func WaitPipPrefixDeletion ¶
func WaitPipPrefixDeletion(resourceGroup, pipName string, c publicipprefixclient.Interface) error
func WaitStaticGatewayDeletion ¶
func WaitStaticGatewayDeletion(sgw *v1alpha1.StaticGatewayConfiguration, c client.Client) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.