defaultfilter

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchDefaultRoleCollectionsByDirectory

func FetchDefaultRoleCollectionsByDirectory(directoryId string) []string

func FetchDefaultRoleCollectionsBySubaccount

func FetchDefaultRoleCollectionsBySubaccount(subaccountId string) []string

func FetchDefaultRolesByDirectory

func FetchDefaultRolesByDirectory(directoryId string) []string

func FetchDefaultRolesBySubaccount

func FetchDefaultRolesBySubaccount(subaccountId string) []string

func FilterDefaultEntitlementsFromJsonData

func FilterDefaultEntitlementsFromJsonData(data map[string]any) map[string]any

func FilterDefaultIdpJsonData

func FilterDefaultIdpJsonData(data map[string]any) map[string]any

func FilterDefaultRoleCollectionsFromJsonData

func FilterDefaultRoleCollectionsFromJsonData(subaccountId string, directoryID string, data map[string]any) map[string]any

func FilterDefaultRolesFromJsonData

func FilterDefaultRolesFromJsonData(subaccountId string, directoryID string, data map[string]any) map[string]any

func FilterOriginSapCpServiceInstance added in v1.1.0

func FilterOriginSapCpServiceInstance(data map[string]any, dataSourceListKey string, resourceKey string) map[string]any

func IsDefaultEntitlement

func IsDefaultEntitlement(serviceName string, planName string) bool

func IsIdpDefaultIdp

func IsIdpDefaultIdp(origin string) bool

func IsRoleCollectionInDefaultList

func IsRoleCollectionInDefaultList(roleCollectionName string, defaultRoleCollections []string) bool

func IsRoleInDefaultList

func IsRoleInDefaultList(roleName string, defaultRoles []string) bool

Types

type EntitlementFilterData

type EntitlementFilterData []struct {
	ServiceName string
	PlanName    string
}
var DefaultEntitlements EntitlementFilterData = EntitlementFilterData{
	{
		ServiceName: "auditlog-api",
		PlanName:    "default",
	},
	{
		ServiceName: "autoscaler",
		PlanName:    "standard",
	},
	{
		ServiceName: "application-logs",
		PlanName:    "lite",
	},
	{
		ServiceName: "auditlog",
		PlanName:    "standard",
	},
	{
		ServiceName: "cias",
		PlanName:    "standard",
	},
	{
		ServiceName: "cias",
		PlanName:    "oauth2",
	},
	{
		ServiceName: "connectivity",
		PlanName:    "lite",
	},
	{
		ServiceName: "connectivity",
		PlanName:    "connectivity_proxy",
	},
	{
		ServiceName: "content-agent",
		PlanName:    "free",
	},
	{
		ServiceName: "credstore",
		PlanName:    "proxy",
	},
	{
		ServiceName: "destination",
		PlanName:    "lite",
	},
	{
		ServiceName: "feature-flags-dashboard",
		PlanName:    "dashboard",
	},
	{
		ServiceName: "feature-flags",
		PlanName:    "lite",
	},
	{
		ServiceName: "feature-flags",
		PlanName:    "standard",
	},
	{
		ServiceName: "html5-apps-repo",
		PlanName:    "app-host",
	},
	{
		ServiceName: "html5-apps-repo",
		PlanName:    "app-runtime",
	},
	{
		ServiceName: "one-mds",
		PlanName:    "sap-integration",
	},
	{
		ServiceName: "mdo-one-mds-master",
		PlanName:    "standard",
	},
	{
		ServiceName: "print",
		PlanName:    "receiver",
	},
	{
		ServiceName: "saas-registry",
		PlanName:    "application",
	},
	{
		ServiceName: "sap-identity-services-onboarding",
		PlanName:    "default",
	},
	{
		ServiceName: "identity",
		PlanName:    "application",
	},
	{
		ServiceName: "service-manager",
		PlanName:    "global-offerings-audit",
	},
	{
		ServiceName: "service-manager",
		PlanName:    "subaccount-admin",
	},
	{
		ServiceName: "service-manager",
		PlanName:    "subaccount-audit",
	},
	{
		ServiceName: "service-manager",
		PlanName:    "container",
	},
	{
		ServiceName: "service-manager",
		PlanName:    "service-operator-access",
	},
	{
		ServiceName: "content-agent",
		PlanName:    "standard",
	},
	{
		ServiceName: "content-agent",
		PlanName:    "application",
	},
	{
		ServiceName: "one-mds-master",
		PlanName:    "standard",
	},
	{
		ServiceName: "uas",
		PlanName:    "reporting-directory",
	},
	{
		ServiceName: "xsuaa",
		PlanName:    "apiaccess",
	},
	{
		ServiceName: "xsuaa",
		PlanName:    "application",
	},
	{
		ServiceName: "xsuaa",
		PlanName:    "space",
	},
	{
		ServiceName: "xsuaa",
		PlanName:    "broker",
	},
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL