testing

package
v1.0.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PoliciesOne = policies.Policies{
		ProvisioningStatus: "ACTIVE",
		ID:                 "5ae0e1e7-5f0f-47a1-b39f-5d4c428a1586",
		Name:               "test1",
		Position:           2,
		Action:             "REDIRECT_TO_POOL",
		RedirectURL:        "",
		ListenerID:         "26058b64-6185-4e06-874e-4bd68b7633d0",
		TenantID:           "a31d2bdcf7604c0faaddb058e1e08819",
		AdminStateUp:       true,
		Description:        "",
		RedirectPoolID:     "431a03eb-81bb-408e-ae37-7ce19023692b",
		Rules: []policies.RuleId{
			{ID: "67d8a8fa-b0dd-4bd4-a85b-671db19b2ef3"},
			{ID: "f02b3bca-69d2-4335-a3fa-a8054e996213"},
		},
	}
	PoliciesTwo = policies.Policies{
		ProvisioningStatus: "ACTIVE",
		ID:                 "6cfd9d89-1d7e-4d84-ae1f-a8c5ff126f72",
		Name:               "test2",
		Position:           1,
		Action:             "REDIRECT_TO_POOL",
		RedirectURL:        "",
		ListenerID:         "e1310063-00de-4867-ab55-ccac4d9db364",
		TenantID:           "a31d2bdcf7604c0faaddb058e1e08819",
		AdminStateUp:       true,
		Description:        "",
		RedirectPoolID:     "59eebd7b-c68f-4f8a-aa7f-e062e84c0690",
		Rules: []policies.RuleId{
			{ID: "f4499f48-de3d-4efe-926d-926aa4d6aaf5"},
		},
	}
	RuleOne = policies.PolicyRule{
		CompareType:  "EQUAL_TO",
		AdminStateUp: true,
		TenantId:     "a31d2bdcf7604c0faaddb058e1e08819",
		Invert:       false,
		Value:        "www.test.com",
		Key:          "",
		Type:         "HOST_NAME",
		ID:           "67d8a8fa-b0dd-4bd4-a85b-671db19b2ef3",
	}
	RuleTwo = policies.PolicyRule{
		CompareType:  "EQUAL_TO",
		AdminStateUp: true,
		TenantId:     "a31d2bdcf7604c0faaddb058e1e08819",
		Invert:       false,
		Value:        "/aaa.html",
		Key:          "",
		Type:         "PATH",
		ID:           "f02b3bca-69d2-4335-a3fa-a8054e996213",
	}
)
View Source
var CreateResp = `` /* 744-byte string literal not displayed */
View Source
var CreateRuleResp = `` /* 359-byte string literal not displayed */
View Source
var GetResp = `` /* 705-byte string literal not displayed */
View Source
var GetRespList = `` /* 1564-byte string literal not displayed */
View Source
var GetRuleResp = `` /* 359-byte string literal not displayed */
View Source
var GetRuleRespList = `` /* 800-byte string literal not displayed */
View Source
var UpdateResp = `` /* 664-byte string literal not displayed */
View Source
var UpdateRuleResp = `` /* 359-byte string literal not displayed */

Functions

func HandlePoliciesALLSuccessfully

func HandlePoliciesALLSuccessfully(t *testing.T)

func HandlePolicyCreationSuccessfully

func HandlePolicyCreationSuccessfully(t *testing.T)

func HandlePolicyDeletionSuccessfully

func HandlePolicyDeletionSuccessfully(t *testing.T)

func HandlePolicyGetSuccessfully

func HandlePolicyGetSuccessfully(t *testing.T)

func HandlePolicySuccessfully

func HandlePolicySuccessfully(t *testing.T)

func HandlePolicyUpdateSuccessfully

func HandlePolicyUpdateSuccessfully(t *testing.T)

func HandleRuleCreationSuccessfully

func HandleRuleCreationSuccessfully(t *testing.T)

func HandleRuleDeletionSuccessfully

func HandleRuleDeletionSuccessfully(t *testing.T)

func HandleRuleUpdateSuccessfully

func HandleRuleUpdateSuccessfully(t *testing.T)

func HandleRulesGetSuccessfully

func HandleRulesGetSuccessfully(t *testing.T)

func HandleRulesListALLSuccessfully

func HandleRulesListALLSuccessfully(t *testing.T)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL