Documentation ¶
Index ¶
- func AssertAutomountLocations(t *testing.T, expected *[]string, current *[]string)
- func AssertCaCerts(t *testing.T, expected []public.Certificate, current []public.Certificate)
- func AssertDomain(t *testing.T, expected *public.Domain, current *public.Domain)
- func AssertDomainIpa(t *testing.T, expected *public.DomainIpa, current *public.DomainIpa)
- func AssertLocations(t *testing.T, expected []public.Location, current []public.Location)
- func AssertServers(t *testing.T, expected []public.DomainIpaServer, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertAutomountLocations ¶
AssertAutomountLocations asserts the current slice for automount locations with the slice of expected ones. t represents the current test. expected represents the expected slice of strings or nil. current represents the resulting slice of strings or nil.
func AssertCaCerts ¶
func AssertCaCerts(t *testing.T, expected []public.Certificate, current []public.Certificate)
AssertCaCerts asserts the current slice of public.Certificate match the slice of expected ones. t represents the current test. expected represents the expected slice of public.Certificate values. current represents the resulting slice of public.Certificate values.
func AssertDomain ¶
AssertDomain asserts that the expected domain with the current domain value without consider the domain id field and without consider the gorm.Model data. t the current test in progress. expected is the expected domain. current is the current resulting domain that should match with the expectation.
func AssertDomainIpa ¶
AssertDomainIpa asserts the current domain ipa data match the expectation without consider the gorm.Model data. t represents the current test. expected represents the expected domain ipa values. current represents the resulting domain ipa values.
func AssertLocations ¶
AssertLocations asserts the current slice of Locations match the slice of expected ones. t represents the current test. expected represents the expected slice of Location values. current represents the resulting slice of Location values.
func AssertServers ¶
func AssertServers(t *testing.T, expected []public.DomainIpaServer, current []public.DomainIpaServer)
AssertServers asserts the current slice of public.DomainIpaServer match the slice of expected ones. t represents the current test. expected represents the expected slice of public.DomainIpaServer values. current represents the resulting slice of public.DomainIpaServer values.
Types ¶
This section is empty.