Documentation
¶
Index ¶
- Variables
- func Execute()
- func GenerateIntegrationTestResults(result IntegrationTestResult) string
- func GenerateResults(output TestCoverage) string
- func GetDataPipelineId(name string) (id string)
- func QualifyMethods(class string, methods []string) []string
- func RunTests(testRunner TestRunner, tests []string, namespace string) (output TestCoverage, err error)
- func SplitCSV(csvFilePath string, batchsize int) (batches []string, err error)
- type CustomObject
- type DestructivePackage
- type DestructiveType
- type FLS
- type OLS
- type Profile
- type ScratchEdition
- type ScratchFeature
- type ScratchProduct
- type ScratchRelease
- type ScratchSetting
- type XLS
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "force", Short: "force CLI", Run: func(cmd *cobra.Command, args []string) { cmd.Help() os.Exit(1) }, DisableFlagsInUseLine: true, }
View Source
var ScratchEditionIds = map[ScratchEdition][]string{ Developer: {"Developer"}, Enterprise: {"Enterprise"}, Group: {"Group"}, Professional: {"Professional"}, PartnerDeveloper: {"PartnerDeveloper"}, PartnerEnterprise: {"PartnerEnterprise"}, PartnerGroup: {"PartnerGroup"}, PartnerProfessional: {"PartnerProfessional"}, }
View Source
var ScratchFeatureIds = map[ScratchFeature][]string{ PersonAccounts: {"PersonAccounts"}, B2BCommerce: {"B2BCommerce"}, ContactsToMultipleAccounts: {"ContactsToMultipleAccounts"}, FinancialServicesUser: {"FinancialServicesUser"}, StateAndCountryPicklist: {"StateAndCountryPicklist"}, Communities: {"Communities"}, HealthCloudAddOn: {"HealthCloudAddOn"}, HealthCloudUser: {"HealthCloudUser"}, ApexUserModeWithPermset: {"ApexUserModeWithPermset"}, EventLogFile: {"EventLogFile"}, AnalyticsAdminPerms: {"AnalyticsAdminPerms"}, WavePlatform: {"WavePlatform"}, InsightsPlatform: {"InsightsPlatform"}, EinsteinAnalyticsPlus: {"EinsteinAnalyticsPlus"}, EinsteinBuilderFree: {"EinsteinBuilderFree"}, DevelopmentWave: {"DevelopmentWave"}, PlatformCache: {"PlatformCache"}, ServiceCloud: {"ServiceCloud"}, ScvMultipartyAndConsult: {"ScvMultipartyAndConsult"}, ServiceCloudVoicePartnerTelephony: {"ServiceCloudVoicePartnerTelephony"}, OrderManagement: {"OrderManagement"}, LiveAgent: {"LiveAgent"}, PlatformEncryption: {"PlatformEncryption"}, RevSubscriptionManagement: {"RevSubscriptionManagement"}, CoreCpq: {"CoreCpq"}, Knowledge: {"Knowledge"}, DSARPortability: {"DSARPortability"}, ProgramManagement: {"ProgramManagement"}, EnableSetPasswordInApi: {"EnableSetPasswordInApi"}, OrderSaveLogicEnabled: {"OrderSaveLogicEnabled"}, PartnerCommunity: {"PartnerCommunity"}, CustomerCommunityPlus: {"CustomerCommunityPlus"}, UsageManagement: {"UsageManagement"}, BillingAdvanced: {"BillingAdvanced"}, DocGen: {"DocGen"}, Einstein1AIPlatform: {"Einstein1AIPlatform"}, EmbeddedServiceMessaging: {"EmbeddedServiceMessaging"}, BYOOTT: {"BYOOTT"}, LiveMessage: {"LiveMessage"}, Enablement: {"Enablement"}, SurveyAdvancedFeatures: {"SurveyAdvancedFeatures"}, Slack: {"Slack"}, }
View Source
var ScratchProductIds = map[ScratchProduct][]string{ FSC: {"fsc"}, CommunitiesProduct: {"communities"}, HealthCloudProduct: {"healthcloud"}, CRMAnalyticsProduct: {"crmanalytics"}, B2BCommerceProduct: {"b2bcommerce"}, LiveAgentProduct: {"liveagent"}, KnowledgeProduct: {"knowledge"}, RevenueCloudProduct: {"revenuecloud"}, MessagingProduct: {"messaging"}, }
View Source
var ScratchReleaseIds = map[ScratchRelease][]string{ ReleaseDefault: {""}, ReleasePreview: {"preview"}, ReleasePrevious: {"previous"}, }
View Source
var ScratchSettingIds = map[ScratchSetting][]string{ EnableEnhancedNotes: {"enableEnhancedNotes"}, EnableQuote: {"enableQuote"}, NetworksEnabled: {"networksEnabled"}, CommerceEnabled: {"commerceEnabled"}, EnableApexApprovalLockUnlock: {"enableApexApprovalLockUnlock"}, PermsetsInFieldCreation: {"permsetsInFieldCreation"}, EnableLightningPreviewPref: {"enableLightningPreviewPref"}, EnableOrders: {"enableOrders"}, EnableEnhancedCommerceOrders: {"enableEnhancedCommerceOrders"}, EnableLiveAgent: {"enableLiveAgent"}, EnableMultiCurrency: {"enableMultiCurrency"}, EnableCoreCPQ: {"enableCoreCPQ"}, EnableSubscriptionManagement: {"enableSubscriptionManagement"}, EnableKnowledge: {"enableKnowledge"}, EnableLightningKnowledge: {"enableLightningKnowledge"}, EnableBillingSetup: {"enableBillingSetup"}, EnableExperienceBundleMetadata: {"enableExperienceBundleMetadata"}, EnableS1DesktopEnabled: {"enableS1DesktopEnabled"}, EnableContextDefinitions: {"enableContextDefinitions"}, EnableEinsteinGptPlatform: {"enableEinsteinGptPlatform"}, EnableOpportunityTeam: {"enableOpportunityTeam"}, EnableOrderManagementSetting: {"enableOrderManagement"}, EnableOrderEvents: {"enableOrderEvents"}, EnableOptionalPricebook: {"enableOptionalPricebook"}, EnableZeroQuantity: {"enableZeroQuantity"}, EnableNegativeQuantity: {"enableNegativeQuantity"}, EnableQuotesWithoutOppEnabled: {"enableQuotesWithoutOppEnabled"}, EnableHighAvailability: {"enableHighAvailability"}, EnablePricingWaterfall: {"enablePricingWaterfall"}, EnablePricingWaterfallPersistence: {"enablePricingWaterfallPersistence"}, EnableSalesforcePricing: {"enableSalesforcePricing"}, EnableRating: {"enableRating"}, EnableRatingWaterfall: {"enableRatingWaterfall"}, EnableRatingWaterfallPersistence: {"enableRatingWaterfallPersistence"}, EnableProductConfigurator: {"enableProductConfigurator"}, EnableDFOPref: {"enableDFOPref"}, }
Functions ¶
func GenerateIntegrationTestResults ¶ added in v1.9.0
func GenerateIntegrationTestResults(result IntegrationTestResult) string
GenerateIntegrationTestResults formats an IntegrationTestResult for display.
func GenerateResults ¶ added in v0.23.0
func GenerateResults(output TestCoverage) string
func GetDataPipelineId ¶
func QualifyMethods ¶ added in v0.22.83
Types ¶
type CustomObject ¶
type CustomObject struct {
// contains filtered or unexported fields
}
type DestructivePackage ¶ added in v1.0.9
type DestructivePackage struct {
XMLName xml.Name `xml:"Package"`
Xmlns string `xml:"xmlns,attr"`
Types []DestructiveType `xml:"types"`
Version string `xml:"version"`
}
DestructivePackage represents a destructiveChangesPost.xml structure
type DestructiveType ¶ added in v1.0.9
DestructiveType lists metadata members to delete
type ScratchEdition ¶ added in v1.5.0
const ( Developer ScratchEdition = iota Enterprise Group Professional PartnerDeveloper PartnerEnterprise PartnerGroup PartnerProfessional )
type ScratchFeature ¶ added in v1.5.0
const ( PersonAccounts ScratchFeature = iota B2BCommerce ContactsToMultipleAccounts FinancialServicesUser StateAndCountryPicklist Communities HealthCloudAddOn HealthCloudUser ApexUserModeWithPermset EventLogFile AnalyticsAdminPerms WavePlatform InsightsPlatform EinsteinAnalyticsPlus EinsteinBuilderFree DevelopmentWave PlatformCache ServiceCloud ScvMultipartyAndConsult ServiceCloudVoicePartnerTelephony OrderManagement LiveAgent PlatformEncryption RevSubscriptionManagement CoreCpq Knowledge DSARPortability ProgramManagement EnableSetPasswordInApi OrderSaveLogicEnabled PartnerCommunity CustomerCommunityPlus UsageManagement BillingAdvanced DocGen Einstein1AIPlatform EmbeddedServiceMessaging BYOOTT LiveMessage Enablement SurveyAdvancedFeatures Slack )
type ScratchProduct ¶ added in v1.5.0
const ( FSC ScratchProduct = iota CommunitiesProduct HealthCloudProduct CRMAnalyticsProduct B2BCommerceProduct LiveAgentProduct KnowledgeProduct RevenueCloudProduct MessagingProduct )
type ScratchRelease ¶ added in v1.7.0
const ( ReleaseDefault ScratchRelease = iota ReleasePreview ReleasePrevious )
type ScratchSetting ¶ added in v1.5.0
const ( EnableEnhancedNotes ScratchSetting = iota EnableQuote NetworksEnabled CommerceEnabled EnableApexApprovalLockUnlock PermsetsInFieldCreation EnableLightningPreviewPref EnableOrders EnableEnhancedCommerceOrders EnableLiveAgent EnableMultiCurrency EnableCoreCPQ EnableSubscriptionManagement EnableKnowledge EnableLightningKnowledge EnableBillingSetup EnableExperienceBundleMetadata EnableS1DesktopEnabled EnableContextDefinitions EnableEinsteinGptPlatform EnableOpportunityTeam EnableOrderManagementSetting EnableOrderEvents EnableOptionalPricebook EnableZeroQuantity EnableNegativeQuantity EnableQuotesWithoutOppEnabled EnableHighAvailability EnablePricingWaterfall EnablePricingWaterfallPersistence EnableSalesforcePricing EnableRating EnableRatingWaterfall EnableRatingWaterfallPersistence EnableProductConfigurator EnableDFOPref )
Source Files
¶
- active.go
- apex.go
- apiversion.go
- bigobject.go
- bulk.go
- bulk2.go
- create.go
- datapipe.go
- deploy.go
- deploys.go
- describe.go
- eventlogfile.go
- export.go
- fetch.go
- field.go
- import.go
- limits.go
- log.go
- login.go
- logins.go
- logout.go
- notify.go
- oauth.go
- open.go
- package.go
- password.go
- pubsub.go
- push.go
- query.go
- quickdeploy.go
- record.go
- rest.go
- root.go
- search.go
- security.go
- smart_flow.go
- sobject.go
- test.go
- trace.go
- usedxauth.go
- version.go
- whoami.go
Click to show internal directories.
Click to hide internal directories.