Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetIngestrURI ¶
type Config ¶
type Config struct {
ClientID string `yaml:"client_id" json:"client_id" mapstructure:"client_id"`
ClientSecret string `yaml:"client_secret" json:"client_secret" mapstructure:"client_secret"`
CertPath string `yaml:"cert_path" json:"cert_path" mapstructure:"cert_path"`
KeyPath string `yaml:"key_path" json:"key_path" mapstructure:"key_path"`
Cert string `yaml:"cert" json:"cert" mapstructure:"cert"`
Key string `yaml:"key" json:"key" mapstructure:"key"`
Environment string `yaml:"environment" json:"environment" mapstructure:"environment"`
BaseURL string `yaml:"base_url" json:"base_url" mapstructure:"base_url"`
}
Config describes credentials for a Payrails connection. The mTLS material may be supplied as local file paths (cert_path/key_path) or as PEM content (cert/key); content is passed to ingestr base64-encoded so it works in environments without local files, such as Bruin Cloud.
func (*Config) GetIngestrURI ¶
GetIngestrURI builds the Payrails ingestr URI.
Click to show internal directories.
Click to hide internal directories.