Documentation
¶
Index ¶
- Variables
- func Execute()
- 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 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"}, ContactsToMultipleAccounts: {"ContactsToMultipleAccounts"}, FinancialServicesUser: {"FinancialServicesUser"}, StateAndCountryPicklist: {"StateAndCountryPicklist"}, Communities: {"Communities"}, HealthCloudAddOn: {"HealthCloudAddOn"}, HealthCloudUser: {"HealthCloudUser"}, ApexUserModeWithPermset: {"ApexUserModeWithPermset"}, EventLogFile: {"EventLogFile"}, }
View Source
var ScratchProductIds = map[ScratchProduct][]string{ FSC: {"fsc"}, CommunitiesProduct: {"communities"}, HealthCloudProduct: {"healthcloud"}, }
View Source
var ScratchSettingIds = map[ScratchSetting][]string{ EnableEnhancedNotes: {"enableEnhancedNotes"}, EnableQuote: {"enableQuote"}, NetworksEnabled: {"networksEnabled"}, EnableApexApprovalLockUnlock: {"enableApexApprovalLockUnlock"}, PermsetsInFieldCreation: {"permsetsInFieldCreation"}, }
Functions ¶
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 ContactsToMultipleAccounts FinancialServicesUser StateAndCountryPicklist Communities HealthCloudAddOn HealthCloudUser ApexUserModeWithPermset EventLogFile )
type ScratchProduct ¶ added in v1.5.0
const ( FSC ScratchProduct = iota CommunitiesProduct HealthCloudProduct )
type ScratchSetting ¶ added in v1.5.0
const ( EnableEnhancedNotes ScratchSetting = iota EnableQuote NetworksEnabled EnableApexApprovalLockUnlock PermsetsInFieldCreation )
Source Files
¶
- active.go
- apex.go
- apiversion.go
- bigobject.go
- bulk.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.