Documentation ¶
Index ¶
- Constants
- func GetAppGateway() n.ApplicationGateway
- func GetApplicationGatewayProbe(host *string, path *string) n.ApplicationGatewayProbe
- func GetAzureIngressProhibitedTargets() []*ptv1.AzureIngressProhibitedTarget
- func GetBackendPool1() n.ApplicationGatewayBackendAddressPool
- func GetBackendPool2() n.ApplicationGatewayBackendAddressPool
- func GetBackendPool3() n.ApplicationGatewayBackendAddressPool
- func GetCertificate1() n.ApplicationGatewaySslCertificate
- func GetCertificate2() n.ApplicationGatewaySslCertificate
- func GetCertificate3() n.ApplicationGatewaySslCertificate
- func GetDefaultBackendPool() n.ApplicationGatewayBackendAddressPool
- func GetDefaultListener() *n.ApplicationGatewayHTTPListener
- func GetDefaultPort() n.ApplicationGatewayFrontendPort
- func GetDefaultRoutingRule() *n.ApplicationGatewayRequestRoutingRule
- func GetDefaultURLPathMap() *n.ApplicationGatewayURLPathMap
- func GetHTTPSettings1() n.ApplicationGatewayBackendHTTPSettings
- func GetHTTPSettings2() n.ApplicationGatewayBackendHTTPSettings
- func GetHTTPSettings3() n.ApplicationGatewayBackendHTTPSettings
- func GetIngress() *networking.Ingress
- func GetIngressWithPriority() *networking.Ingress
- func GetIngressWithProhibitedTargetConflict() *networking.Ingress
- func GetListenerBasic() *n.ApplicationGatewayHTTPListener
- func GetListenerPathBased1() *n.ApplicationGatewayHTTPListener
- func GetListenerPathBased2() *n.ApplicationGatewayHTTPListener
- func GetListenerUnassociated() *n.ApplicationGatewayHTTPListener
- func GetListenerWildcard() *n.ApplicationGatewayHTTPListener
- func GetPathRuleBasic() *n.ApplicationGatewayPathRule
- func GetPathRulePathBased1() *n.ApplicationGatewayPathRule
- func GetPathRulePathBased2() *n.ApplicationGatewayPathRule
- func GetPathRulePathBased3() *n.ApplicationGatewayPathRule
- func GetPort(portNo int32) n.ApplicationGatewayFrontendPort
- func GetPrivateIPConfiguration() n.ApplicationGatewayFrontendIPConfiguration
- func GetPublicIPConfiguration() n.ApplicationGatewayFrontendIPConfiguration
- func GetRequestRoutingRuleBasic() *n.ApplicationGatewayRequestRoutingRule
- func GetRequestRoutingRulePathBased1() *n.ApplicationGatewayRequestRoutingRule
- func GetRequestRoutingRulePathBased2() *n.ApplicationGatewayRequestRoutingRule
- func GetRequestRoutingRulePathBased3() *n.ApplicationGatewayRequestRoutingRule
- func GetRootCertificate1() n.ApplicationGatewayTrustedRootCertificate
- func GetRootCertificate2() n.ApplicationGatewayTrustedRootCertificate
- func GetRootCertificate3() n.ApplicationGatewayTrustedRootCertificate
- func GetSslProfile1() n.ApplicationGatewaySslProfile
- func GetURLPathMap1() *n.ApplicationGatewayURLPathMap
- func GetURLPathMap2() *n.ApplicationGatewayURLPathMap
- func GetURLPathMap3() *n.ApplicationGatewayURLPathMap
Constants ¶
const ( // CertificateName1 is a string constant. CertificateName1 = "Certificate-1" // CertificateName2 is a string constant. CertificateName2 = "Certificate-2" // CertificateName3 is a string constant. CertificateName3 = "Certificate-3" // RootCertificateName1 is a string constant. RootCertificateName1 = "RootCertificate-1" // RootCertificateName2 is a string constant. RootCertificateName2 = "RootCertificate-2" // RootCertificateName3 is a string constant. RootCertificateName3 = "RootCertificate-3" )
const ( // PublicIPName is a string constant PublicIPName = "PublicIP" // PrivateIPName is a string constant PrivateIPName = "PrivateIP" )
const ( // DefaultBackendHTTPSettingsName is a string constant. DefaultBackendHTTPSettingsName = "DefaultBackendHTTPSettings" // BackendHTTPSettingsName1 is a string constant. BackendHTTPSettingsName1 = "BackendHTTPSettings-1" // BackendHTTPSettingsName2 is a string constant. BackendHTTPSettingsName2 = "BackendHTTPSettings-2" // BackendHTTPSettingsName3 is a string constant. BackendHTTPSettingsName3 = "BackendHTTPSettings-3" )
const ( // DefaultHTTPListenerName is a string constant. DefaultHTTPListenerName = "fl-80" // HTTPListenerNameBasic is a string constant. HTTPListenerNameBasic = "HTTPListener-Basic" // HTTPListenerPathBased1 is a string constant. HTTPListenerPathBased1 = "HTTPListener-PathBased" // HTTPListenerPathBased2 is a string constant. HTTPListenerPathBased2 = "HTTPListener-PathBased2" // HTTPListenerUnassociated is a string constant. HTTPListenerUnassociated = "HTTPListener-Unassociated" // HTTPListenerWildcard is a string constant. HTTPListenerWildcard = "HTTPListener-Wildcard" )
const ( // DefaultPathMapName is a string constant. DefaultPathMapName = "default-pathmap-name" // URLPathMapName1 is a string constant. URLPathMapName1 = "URLPathMap-1" // URLPathMapName2 is a string constant. URLPathMapName2 = "URLPathMap-2" // URLPathMapName3 is a string constant. URLPathMapName3 = "URLPathMap-3" // PathRuleName is a string constant. PathRuleName = "PathRule-1" // PathRuleNameBasic is a string constant. PathRuleNameBasic = "PathRule-Basic" )
const ( // DefaultBackendPoolName is a string constant. DefaultBackendPoolName = "defaultaddresspool" // BackendAddressPoolName1 is a string constant. BackendAddressPoolName1 = "BackendAddressPool-1" // BackendAddressPoolName2 is a string constant. BackendAddressPoolName2 = "BackendAddressPool-2" // BackendAddressPoolName3 is a string constant. BackendAddressPoolName3 = "BackendAddressPool-3" // IPAddress1 is a string constant. IPAddress1 = "1.2.3.4" // IPAddress2 is a string constant. IPAddress2 = "6.5.4.3" // IPAddress3 is a string constant. IPAddress3 = "99.95.94.93" )
const ( // ProbeName1 is a string constant. ProbeName1 = "probe-name-YnllLmNvbQ-L2Zvbw" // fixtures.Host fixtures.PathFoo // ProbeName2 is a string constant. ProbeName2 = "probe-name-YnllLmNvbQ-L2Jhcg" // fixtures.Host fixtures.PathBar // ProbeName3 is a string constant. ProbeName3 = "probe-name-LS1zb21lLW90aGVyLWhvc3RuYW1lLS0-L2Zvbw" // fixtures.OtherHost fixtures.PathFoo )
const ( // DefaultRequestRoutingRuleName is a string constant. DefaultRequestRoutingRuleName = "rr-80" // RequestRoutingRuleName1 is a string constant. RequestRoutingRuleName1 = "RequestRoutingRule-1" // RequestRoutingRuleName2 is a string constant. RequestRoutingRuleName2 = "RequestRoutingRule-2" // RequestRoutingRuleName3 is a string constant. RequestRoutingRuleName3 = "RequestRoutingRule-3" )
const ( // PathFoo is a URL path. PathFoo = "/foo" // PathFox is a URL path. PathFox = "/fox" // PathBar is a URL path. PathBar = "/bar" // PathBaz is a URL path. PathBaz = "/baz" // PathForbidden is a URL path. PathForbidden = "/forbidden-path" )
const (
// DefaultIPName is a string constant.
DefaultIPName = "appGatewayFrontendIP"
)
const (
// DefaultPortName is a string constant.
DefaultPortName = "fp-80"
)
const (
// CertificateName1 is a string constant.
SslProfileName1 = "hardend-tls"
)
Variables ¶
This section is empty.
Functions ¶
func GetAppGateway ¶
func GetAppGateway() n.ApplicationGateway
GetAppGateway creates an ApplicationGateway struct.
func GetApplicationGatewayProbe ¶
func GetApplicationGatewayProbe(host *string, path *string) n.ApplicationGatewayProbe
GetApplicationGatewayProbe creates a new struct for use in unit tests.
func GetAzureIngressProhibitedTargets ¶
func GetAzureIngressProhibitedTargets() []*ptv1.AzureIngressProhibitedTarget
GetAzureIngressProhibitedTargets creates a new struct for use in unit tests.
func GetBackendPool1 ¶
func GetBackendPool1() n.ApplicationGatewayBackendAddressPool
GetBackendPool1 creates a new struct for use in unit tests.
func GetBackendPool2 ¶
func GetBackendPool2() n.ApplicationGatewayBackendAddressPool
GetBackendPool2 creates a new struct for use in unit tests.
func GetBackendPool3 ¶
func GetBackendPool3() n.ApplicationGatewayBackendAddressPool
GetBackendPool3 creates a new struct for use in unit tests.
func GetCertificate1 ¶
func GetCertificate1() n.ApplicationGatewaySslCertificate
GetCertificate1 generates a certificate.
func GetCertificate2 ¶
func GetCertificate2() n.ApplicationGatewaySslCertificate
GetCertificate2 generates a certificate.
func GetCertificate3 ¶
func GetCertificate3() n.ApplicationGatewaySslCertificate
GetCertificate3 generates a certificate.
func GetDefaultBackendPool ¶
func GetDefaultBackendPool() n.ApplicationGatewayBackendAddressPool
GetDefaultBackendPool creates a new struct for use in unit tests.
func GetDefaultListener ¶
func GetDefaultListener() *n.ApplicationGatewayHTTPListener
GetDefaultListener creates a new struct for use in unit tests.
func GetDefaultPort ¶
func GetDefaultPort() n.ApplicationGatewayFrontendPort
GetDefaultPort creates a struct used for unit testing.
func GetDefaultRoutingRule ¶
func GetDefaultRoutingRule() *n.ApplicationGatewayRequestRoutingRule
GetDefaultRoutingRule returns the default routing rule.
func GetDefaultURLPathMap ¶
func GetDefaultURLPathMap() *n.ApplicationGatewayURLPathMap
GetDefaultURLPathMap makes a default ApplicationGatewayURLPathMap.
func GetHTTPSettings1 ¶
func GetHTTPSettings1() n.ApplicationGatewayBackendHTTPSettings
GetHTTPSettings1 generates HTTP settings.
func GetHTTPSettings2 ¶
func GetHTTPSettings2() n.ApplicationGatewayBackendHTTPSettings
GetHTTPSettings2 generates HTTP settings.
func GetHTTPSettings3 ¶
func GetHTTPSettings3() n.ApplicationGatewayBackendHTTPSettings
GetHTTPSettings3 generates HTTP settings.
func GetIngressWithPriority ¶
func GetIngressWithPriority() *networking.Ingress
GetIngress creates an Ingress struct.
func GetIngressWithProhibitedTargetConflict ¶
func GetIngressWithProhibitedTargetConflict() *networking.Ingress
GetIngressWithProhibitedTargetConflict returns ingress with /foo and /fox as paths
func GetListenerBasic ¶
func GetListenerBasic() *n.ApplicationGatewayHTTPListener
GetListenerBasic creates a new struct for use in unit tests.
func GetListenerPathBased1 ¶
func GetListenerPathBased1() *n.ApplicationGatewayHTTPListener
GetListenerPathBased1 creates a new struct for use in unit tests.
func GetListenerPathBased2 ¶
func GetListenerPathBased2() *n.ApplicationGatewayHTTPListener
GetListenerPathBased2 creates a new struct for use in unit tests.
func GetListenerUnassociated ¶
func GetListenerUnassociated() *n.ApplicationGatewayHTTPListener
GetListenerUnassociated creates a new listener, which is not associated with routing rules etc.
func GetListenerWildcard ¶
func GetListenerWildcard() *n.ApplicationGatewayHTTPListener
GetListenerWildcard creates a new listener which is associated to a rule and uses wild card HostNames
func GetPathRuleBasic ¶
func GetPathRuleBasic() *n.ApplicationGatewayPathRule
GetPathRuleBasic creates a new struct for use in unit tests.
func GetPathRulePathBased1 ¶
func GetPathRulePathBased1() *n.ApplicationGatewayPathRule
GetPathRulePathBased1 creates a new struct for use in unit tests.
func GetPathRulePathBased2 ¶
func GetPathRulePathBased2() *n.ApplicationGatewayPathRule
GetPathRulePathBased2 creates a new struct for use in unit tests.
func GetPathRulePathBased3 ¶
func GetPathRulePathBased3() *n.ApplicationGatewayPathRule
GetPathRulePathBased3 creates a new struct for use in unit tests.
func GetPort ¶
func GetPort(portNo int32) n.ApplicationGatewayFrontendPort
GetPort creates a struct used for unit testing.
func GetPrivateIPConfiguration ¶
func GetPrivateIPConfiguration() n.ApplicationGatewayFrontendIPConfiguration
GetPrivateIPConfiguration get a frontend IP configuration with private reference
func GetPublicIPConfiguration ¶
func GetPublicIPConfiguration() n.ApplicationGatewayFrontendIPConfiguration
GetPublicIPConfiguration get a frontend IP configuration with public ip reference
func GetRequestRoutingRuleBasic ¶
func GetRequestRoutingRuleBasic() *n.ApplicationGatewayRequestRoutingRule
GetRequestRoutingRuleBasic creates a new struct for use in unit tests.
func GetRequestRoutingRulePathBased1 ¶
func GetRequestRoutingRulePathBased1() *n.ApplicationGatewayRequestRoutingRule
GetRequestRoutingRulePathBased1 creates a new struct for use in unit tests.
func GetRequestRoutingRulePathBased2 ¶
func GetRequestRoutingRulePathBased2() *n.ApplicationGatewayRequestRoutingRule
GetRequestRoutingRulePathBased2 creates a new struct for use in unit tests.
func GetRequestRoutingRulePathBased3 ¶
func GetRequestRoutingRulePathBased3() *n.ApplicationGatewayRequestRoutingRule
GetRequestRoutingRulePathBased3 creates a new struct for use in unit tests.
func GetRootCertificate1 ¶
func GetRootCertificate1() n.ApplicationGatewayTrustedRootCertificate
GetRootCertificate1 generates a root certificate.
func GetRootCertificate2 ¶
func GetRootCertificate2() n.ApplicationGatewayTrustedRootCertificate
GetRootCertificate2 generates a root certificate.
func GetRootCertificate3 ¶
func GetRootCertificate3() n.ApplicationGatewayTrustedRootCertificate
GetRootCertificate3 generates a root certificate.
func GetSslProfile1 ¶
func GetSslProfile1() n.ApplicationGatewaySslProfile
GetSslProfile1 generates a certificate.
func GetURLPathMap1 ¶
func GetURLPathMap1() *n.ApplicationGatewayURLPathMap
GetURLPathMap1 creates a new struct for use in unit tests.
func GetURLPathMap2 ¶
func GetURLPathMap2() *n.ApplicationGatewayURLPathMap
GetURLPathMap2 creates a new struct for use in unit tests.
func GetURLPathMap3 ¶
func GetURLPathMap3() *n.ApplicationGatewayURLPathMap
GetURLPathMap3 creates a new struct for use in unit tests.
Types ¶
This section is empty.