Documentation ¶
Index ¶
- Constants
- func APIResourcePatch(ctx *common.TestContext, tenantScoped bool, apiPath string, objID string, ...)
- func DescribeDeleteListFor(ctx *common.TestContext, t TestCase) bool
- func DescribeDeleteTestsfor(ctx *common.TestContext, t TestCase, responseMode ResponseMode) bool
- func DescribeGetTestsfor(ctx *common.TestContext, t TestCase, responseMode ResponseMode) bool
- func DescribeListTestsFor(ctx *common.TestContext, t TestCase, responseMode ResponseMode) bool
- func DescribePatchTestsFor(ctx *common.TestContext, t TestCase, responseMode ResponseMode) bool
- func DescribeTestsFor(t TestCase) bool
- func EnsurePlanVisibility(repository storage.Repository, ...)
- func EnsurePlanVisibilityDoesNotExist(repository storage.Repository, ...)
- func EnsurePublicPlanVisibility(repository storage.Repository, planID string)
- func StorageResourcePatch(ctx *common.TestContext, _ bool, _ string, objID string, ...)
- type MultitenancySettings
- type Op
- type ResponseMode
- type TestCase
Constants ¶
View Source
const ( Get Op = "get" List Op = "list" Delete Op = "delete" DeleteList Op = "deletelist" Patch Op = "patch" Sync ResponseMode = false Async ResponseMode = true JobTimeout = 15 * time.Second )
Variables ¶
This section is empty.
Functions ¶
func APIResourcePatch ¶ added in v0.10.0
func APIResourcePatch(ctx *common.TestContext, tenantScoped bool, apiPath string, objID string, objType types.ObjectType, patchLabels []*types.LabelChange, async bool)
func DescribeDeleteListFor ¶
func DescribeDeleteListFor(ctx *common.TestContext, t TestCase) bool
func DescribeDeleteTestsfor ¶
func DescribeDeleteTestsfor(ctx *common.TestContext, t TestCase, responseMode ResponseMode) bool
func DescribeGetTestsfor ¶
func DescribeGetTestsfor(ctx *common.TestContext, t TestCase, responseMode ResponseMode) bool
func DescribeListTestsFor ¶
func DescribeListTestsFor(ctx *common.TestContext, t TestCase, responseMode ResponseMode) bool
func DescribePatchTestsFor ¶ added in v0.4.1
func DescribePatchTestsFor(ctx *common.TestContext, t TestCase, responseMode ResponseMode) bool
func DescribeTestsFor ¶
func EnsurePlanVisibility ¶ added in v0.10.0
func EnsurePlanVisibility(repository storage.Repository, tenantIdentifier, platformID, planID, tenantID string)
func EnsurePlanVisibilityDoesNotExist ¶ added in v0.10.3
func EnsurePlanVisibilityDoesNotExist(repository storage.Repository, tenantIdentifier, platformID, planID, tenantID string)
func EnsurePublicPlanVisibility ¶ added in v0.10.0
func EnsurePublicPlanVisibility(repository storage.Repository, planID string)
func StorageResourcePatch ¶ added in v0.10.0
func StorageResourcePatch(ctx *common.TestContext, _ bool, _ string, objID string, resourceType types.ObjectType, patchLabels []*types.LabelChange, _ bool)
Types ¶
type MultitenancySettings ¶ added in v0.4.1
type ResponseMode ¶ added in v0.9.8
type ResponseMode bool
type TestCase ¶
type TestCase struct { API string SupportsAsyncOperations bool SupportedOps []Op ResourceType types.ObjectType ResourcePropertiesToIgnore []string MultitenancySettings *MultitenancySettings DisableTenantResources bool StrictlyTenantScoped bool ResourceBlueprint func(ctx *common.TestContext, smClient *common.SMExpect, async bool) common.Object ResourceWithoutNullableFieldsBlueprint func(ctx *common.TestContext, smClient *common.SMExpect, async bool) common.Object PatchResource func(ctx *common.TestContext, tenantScoped bool, apiPath string, objID string, resourceType types.ObjectType, patchLabels []*types.LabelChange, async bool) AdditionalTests func(ctx *common.TestContext, t *TestCase) ContextBuilder *common.TestContextBuilder }
Click to show internal directories.
Click to hide internal directories.