Documentation
¶
Index ¶
- func CRDTest(details VersionDetails, opts TestOptions) func(t *testing.T)
- func CheckMTLSStatus(details VersionDetails, opts TestOptions, shouldWarningExist bool) func(t *testing.T)
- func ClusterRoleBindingsTest(details VersionDetails, opts TestOptions) func(t *testing.T)
- func ClusterRolesTest(details VersionDetails, opts TestOptions) func(t *testing.T)
- func ComponentsTestOnInstallUpgrade(opts TestOptions) func(t *testing.T)
- func DeleteCRD(crds []string) func(*testing.T)
- func EnsureUninstall(all bool, devEnabled bool) (string, error)
- func GenerateNewCertAndRenew(details VersionDetails, opts TestOptions) func(t *testing.T)
- func GetDaprPath() string
- func GetVersionsFromEnv(t *testing.T, latest bool) (string, string)
- func HTTPEndpointsTestOnInstallUpgrade(opts TestOptions) func(t *testing.T)
- func MTLSTestOnInstallUpgrade(opts TestOptions) func(t *testing.T)
- func NegativeScenarioForCertRenew() func(t *testing.T)
- func StatusTestOnInstallUpgrade(details VersionDetails, opts TestOptions) func(t *testing.T)
- func UpgradeTest(details VersionDetails, opts TestOptions) func(t *testing.T)
- func UseProvidedNewCertAndRenew(details VersionDetails, opts TestOptions) func(t *testing.T)
- func UseProvidedPrivateKeyAndRenewCerts(details VersionDetails, opts TestOptions) func(t *testing.T)
- type Resource
- type TestCase
- func GetInstallOnlyTest(details VersionDetails, opts TestOptions) TestCase
- func GetTestForCertRenewal(currentVersionDetails VersionDetails, installOpts TestOptions) []TestCase
- func GetTestsOnInstall(details VersionDetails, opts TestOptions) []TestCase
- func GetTestsOnUninstall(details VersionDetails, opts TestOptions) []TestCase
- func GetTestsPostCertificateRenewal(details VersionDetails, opts TestOptions) []TestCase
- func GetUninstallOnlyTest(details VersionDetails, opts TestOptions) TestCase
- type TestOptions
- type VersionDetails
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CRDTest ¶
func CRDTest(details VersionDetails, opts TestOptions) func(t *testing.T)
func CheckMTLSStatus ¶ added in v1.7.0
func CheckMTLSStatus(details VersionDetails, opts TestOptions, shouldWarningExist bool) func(t *testing.T)
func ClusterRoleBindingsTest ¶
func ClusterRoleBindingsTest(details VersionDetails, opts TestOptions) func(t *testing.T)
func ClusterRolesTest ¶
func ClusterRolesTest(details VersionDetails, opts TestOptions) func(t *testing.T)
func ComponentsTestOnInstallUpgrade ¶
func ComponentsTestOnInstallUpgrade(opts TestOptions) func(t *testing.T)
func GenerateNewCertAndRenew ¶ added in v1.7.0
func GenerateNewCertAndRenew(details VersionDetails, opts TestOptions) func(t *testing.T)
func GetDaprPath ¶ added in v1.9.0
func GetDaprPath() string
func GetVersionsFromEnv ¶ added in v1.7.0
GetVersionsFromEnv will return values from required environment variables. parameter `latest` is used to determine if the latest versions of dapr & dashboard should be used. if environment variables are not set it fails the test.
func HTTPEndpointsTestOnInstallUpgrade ¶ added in v1.12.0
func HTTPEndpointsTestOnInstallUpgrade(opts TestOptions) func(t *testing.T)
func MTLSTestOnInstallUpgrade ¶
func MTLSTestOnInstallUpgrade(opts TestOptions) func(t *testing.T)
func NegativeScenarioForCertRenew ¶ added in v1.7.0
func StatusTestOnInstallUpgrade ¶
func StatusTestOnInstallUpgrade(details VersionDetails, opts TestOptions) func(t *testing.T)
func UpgradeTest ¶
func UpgradeTest(details VersionDetails, opts TestOptions) func(t *testing.T)
func UseProvidedNewCertAndRenew ¶ added in v1.7.0
func UseProvidedNewCertAndRenew(details VersionDetails, opts TestOptions) func(t *testing.T)
func UseProvidedPrivateKeyAndRenewCerts ¶ added in v1.7.0
func UseProvidedPrivateKeyAndRenewCerts(details VersionDetails, opts TestOptions) func(t *testing.T)
Types ¶
type TestCase ¶
func GetInstallOnlyTest ¶ added in v1.12.0
func GetInstallOnlyTest(details VersionDetails, opts TestOptions) TestCase
func GetTestForCertRenewal ¶ added in v1.10.0
func GetTestForCertRenewal(currentVersionDetails VersionDetails, installOpts TestOptions) []TestCase
func GetTestsOnInstall ¶
func GetTestsOnInstall(details VersionDetails, opts TestOptions) []TestCase
func GetTestsOnUninstall ¶
func GetTestsOnUninstall(details VersionDetails, opts TestOptions) []TestCase
func GetTestsPostCertificateRenewal ¶ added in v1.7.0
func GetTestsPostCertificateRenewal(details VersionDetails, opts TestOptions) []TestCase
func GetUninstallOnlyTest ¶ added in v1.12.0
func GetUninstallOnlyTest(details VersionDetails, opts TestOptions) TestCase
type TestOptions ¶
Click to show internal directories.
Click to hide internal directories.