Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConfigClientID = "clientID" ConfigClientSecret = "clientSecret" ConfigInsecureSkipVerify = "insecureSkipVerify" ConfigOauthEndpoint = "oauthEndpoint" ConfigPubsubAddress = "pubsubAddress" ConfigRetryCount = "retryCount" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // ClientID is the client id from the salesforce app ClientID string `json:"clientID" validate:"required"` // ClientSecret is the client secret from the salesforce app ClientSecret string `json:"clientSecret" validate:"required"` // OAuthEndpoint is the OAuthEndpoint from the salesforce app OAuthEndpoint string `json:"oauthEndpoint" validate:"required"` // gRPC Pubsub Salesforce API address PubsubAddress string `json:"pubsubAddress" default:"api.pubsub.salesforce.com:7443"` // InsecureSkipVerify disables certificate validation InsecureSkipVerify bool `json:"insecureSkipVerify" default:"false"` // Number of retries allowed per read before the connector errors out RetryCount uint `json:"retryCount" default:"10"` }
Click to show internal directories.
Click to hide internal directories.