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 EnsurePublicPlanVisibilityForPlatform(repository storage.Repository, planID, platformID string)
- func RegisterBrokerPlatformCredentials(SMBasicPlatform *common.SMExpect, brokerID string) (string, string)
- func RegisterBrokerPlatformCredentialsExpect(SMBasicPlatform *common.SMExpect, brokerID string, expectedStatusCode int) (string, string)
- func RegisterBrokerPlatformCredentialsWithNotificationID(SMBasicPlatform *common.SMExpect, brokerID, notificationID string) (string, string)
- func RegisterBrokerPlatformCredentialsWithNotificationIDExpect(SMBasicPlatform *common.SMExpect, brokerID, notificationID string, ...) (string, string)
- func RegisterBrokerPlatformCredentialsWithNotificationIDNoActivateExpect(SMBasicPlatform *common.SMExpect, brokerID, notificationID string, ...) (string, 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 )
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, supportedCascadeDelete bool) 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 EnsurePublicPlanVisibilityForPlatform ¶ added in v0.11.0
func EnsurePublicPlanVisibilityForPlatform(repository storage.Repository, planID, platformID string)
func RegisterBrokerPlatformCredentials ¶ added in v0.11.0
func RegisterBrokerPlatformCredentialsExpect ¶ added in v0.11.0
func RegisterBrokerPlatformCredentialsWithNotificationID ¶ added in v0.11.0
func RegisterBrokerPlatformCredentialsWithNotificationIDExpect ¶ added in v0.11.0
func RegisterBrokerPlatformCredentialsWithNotificationIDNoActivateExpect ¶ added in v0.19.9
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 SupportsCascadeDeleteOperations bool SupportedOps []Op ResourceType types.ObjectType ResourcePropertiesToIgnore []string MultitenancySettings *MultitenancySettings DisableTenantResources bool StrictlyTenantScoped bool DisableBasicAuth 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) SubResourcesBlueprint func(ctx *common.TestContext, smClient *common.SMExpect, async bool, resourceID string, resourceType types.ObjectType, resource common.Object) AdditionalTests func(ctx *common.TestContext, t *TestCase) ContextBuilder *common.TestContextBuilder }
Directories ¶
Path | Synopsis |
---|---|
* Copyright 2018 The Service Manager Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
|
* Copyright 2018 The Service Manager Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. |
Click to show internal directories.
Click to hide internal directories.