testing

package
v1.0.21 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CertificateOne = certificates.Certificate{
		ID:          "eabfefa3fd1740a88a47ad98e132d238",
		Name:        "https_certificate",
		CreateTime:  "2017-02-25 09:35:27",
		UpdateTime:  "2017-02-25 09:35:27",
		Domain:      "www.elb.com",
		Type:        "server",
		Description: "description for certificate",
		PrivateKey:  "-----BEGIN RSA PRIVATE KEY-----\r\nMIIEowIBAAKCAQEAwZ5UJULAjWr7p6FVwGRQRjFN2s8tZ/6LC3X82fajpVsYqF1x\r\nqEuUDndDXVD09E4u83MS6HO6a3bIVQDp6/klnYldiE6Vp8HH5BSKaCWKVg8lGWg1\r\nUM9wZFnlryi14KgmpIFmcu9nA8yV/6MZAe6RSDmb3iyNBmiZ8aZhGw2pI1YwR+15\r\nMVqFFGB+7ExkziROi7L8CFCyCezK2/oOOvQsH1dzQ8z1JXWdg8/9Zx7Ktvgwu5PQ\r\nM3cJtSHX6iBPOkMU8Z8TugLlTqQXKZOEgwajwvQ5mf2DPkVgM08XAgaLJcLigwD5\r\n13koAdtJd5v+9irw+5LAuO3JclqwTvwy7u/YwwIDAQABAoIBACU9S5fjD9/jTMXA\r\nDRs08A+gGgZUxLn0xk+NAPX3LyB1tfdkCaFB8BccLzO6h3KZuwQOBPv6jkdvEDbx\r\nNwyw3eA/9GJsIvKiHc0rejdvyPymaw9I8MA7NbXHaJrY7KpqDQyk6sx+aUTcy5jg\r\niMXLWdwXYHhJ/1HVOo603oZyiS6HZeYU089NDUcX+1SJi3e5Ke0gPVXEqCq1O11/\r\nrh24bMxnwZo4PKBWdcMBN5Zf/4ij9vrZE+fFzW7vGBO48A5lvZxWU2U5t/OZQRtN\r\n1uLOHmMFa0FIF2aWbTVfwdUWAFsvAOkHj9VV8BXOUwKOUuEktdkfAlvrxmsFrO/H\r\nyDeYYPkCgYEA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ypY\r\nc8Tdr8lDDNqoUtMD8BrUCJi+7lmMXRcC3Qi3oZJW76ja+kZA5mKVFPd1ATih8TbA\r\ni34R7EQDtFeiSvBdeKRsPp8c0KT8H1B4lXNkkCQs2WX5p4lm99+ZtLD4glw8x6Ic\r\ni1YhgnQbn5E0hz55OLu5jvOkKQjPCW+8Kg==\r\n-----END CERTIFICATE-----",
	}

	CertificateTwo = certificates.Certificate{
		ID:          "eabfefa3fd1740a88a47ad98e132d269",
		Name:        "https_certificate",
		CreateTime:  "2017-02-25 09:35:27",
		UpdateTime:  "2017-02-25 09:35:27",
		Domain:      "www.elb.com",
		Type:        "server",
		Description: "description for certificate",
		PrivateKey:  "-----BEGIN RSA PRIVATE KEY-----\r\nMIIEowIBAAKCAQEAwZ5UJULAjWr7p6FVwGRQRjFN2s8tZ/6LC3X82fajpVsYqF1x\r\nqEuUDndDXVD09E4u83MS6HO6a3bIVQDp6/klnYldiE6Vp8HH5BSKaCWKVg8lGWg1\r\nUM9wZFnlryi14KgmpIFmcu9nA8yV/6MZAe6RSDmb3iyNBmiZ8aZhGw2pI1YwR+15\r\nMVqFFGB+7ExkziROi7L8CFCyCezK2/oOOvQsH1dzQ8z1JXWdg8/9Zx7Ktvgwu5PQ\r\nM3cJtSHX6iBPOkMU8Z8TugLlTqQXKZOEgwajwvQ5mf2DPkVgM08XAgaLJcLigwD5\r\n13koAdtJd5v+9irw+5LAuO3JclqwTvwy7u/YwwIDAQABAoIBACU9S5fjD9/jTMXA\r\nDRs08A+gGgZUxLn0xk+NAPX3LyB1tfdkCaFB8BccLzO6h3KZuwQOBPv6jkdvEDbx\r\nNwyw3eA/9GJsIvKiHc0rejdvyPymaw9I8MA7NbXHaJrY7KpqDQyk6sx+aUTcy5jg\r\niMXLWdwXYHhJ/1HVOo603oZyiS6HZeYU089NDUcX+1SJi3e5Ke0gPVXEqCq1O11/\r\nrh24bMxnwZo4PKBWdcMBN5Zf/4ij9vrZE+fFzW7vGBO48A5lvZxWU2U5t/O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heHarYwJK4agb231vb5erasuGO463eYEG\r\nr4SfTuOm7SyiV2xxbaBKrXJtpBp4WLL/s+LF+nklKjaOxkmxUX0sM4CTA7uFJypY\r\nc8Tdr8lDDNqoUtMD8BrUCJi+7lmMXRcC3Qi3oZJW76ja+kZA5mKVFPd1ATih8TbA\r\ni34R7EQDtFeiSvBdeKRsPp8c0KT8H1B4lXNkkCQs2WX5p4lm99+ZtLD4glw8x6Ic\r\ni1YhgnQbn5E0hz55OLu5jvOkKQjPCW+8Kg==\r\n-----END CERTIFICATE-----",
	}
)
View Source
var CreateResp = `` /* 3454-byte string literal not displayed */
View Source
var GetResp = `` /* 3454-byte string literal not displayed */
View Source
var ListBody = `` /* 7139-byte string literal not displayed */
View Source
var UpdateResp = `` /* 3454-byte string literal not displayed */

Functions

func HandleCertificateALLSuccessfully

func HandleCertificateALLSuccessfully(t *testing.T)

func HandleCertificateCreationSuccessfully

func HandleCertificateCreationSuccessfully(t *testing.T)

func HandleCertificateDeletionSuccessfully

func HandleCertificateDeletionSuccessfully(t *testing.T)

func HandleCertificateGetSuccessfully

func HandleCertificateGetSuccessfully(t *testing.T)

func HandleCertificateSuccessfully

func HandleCertificateSuccessfully(t *testing.T)

func HandleCertificateUpdateSuccessfully

func HandleCertificateUpdateSuccessfully(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