Documentation
¶
Overview ¶
Code generated by baton-sdk. DO NOT EDIT!!!
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Add the SchemaFields for the Config. ApiToken = field.StringField( "api-token", field.WithDisplayName("API Token"), field.WithDescription("API Token for Sentry"), field.WithIsSecret(true), field.WithRequired(true), ) BaseURL = field.StringField( "base-url", field.WithDescription("Override the Sentry API URL (for testing or self-hosted)"), field.WithHidden(true), field.WithExportTarget(field.ExportTargetCLIOnly), ) OrgIDs = field.StringSliceField( "org-ids", field.WithDisplayName("Organization IDs"), field.WithDescription("Limit syncing to the specified Sentry organization IDs or slugs. If empty, all organizations are synced."), ) ConfigurationFields = []field.SchemaField{ApiToken, BaseURL, OrgIDs} // FieldRelationships defines relationships between the ConfigurationFields that can be automatically validated. // For example, a username and password can be required together, or an access token can be // marked as mutually exclusive from the username password pair. FieldRelationships = []field.SchemaFieldRelationship{} )
View Source
var Config = field.NewConfiguration( ConfigurationFields, field.WithConstraints(FieldRelationships...), field.WithConnectorDisplayName("Sentry"), )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.