Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
Types ¶
type AuthConfig ¶
type AuthConfig struct { // Configures server authentication, valid values: "bearer" Type string `mapstructure:"type"` // Bearer configuration BearerConfig *BearerConfig `mapstructure:"bearer"` }
type BearerConfig ¶
type BearerConfig struct { // Expected bearer token Token string `mapstructure:"token"` }
type Config ¶
type Config struct { // Optional. UID string `mapstructure:"uid"` // Optional Endpoint string `mapstructure:"endpoint"` // Optional StoragePath string `mapstructure:"storage_path"` // Configures TLS (optional) // Default value is nil, which will disable TLS. TLSConfig *TLSConfig `mapstructure:"tls"` // Configures authentication (optional) // Default value is nil, which will disable authentication. AuthConfig *AuthConfig `mapstructure:"auth"` }
type Exporter ¶ added in v0.1.0
type Exporter struct {
// contains filtered or unexported fields
}
func NewExporter ¶ added in v0.1.0
Click to show internal directories.
Click to hide internal directories.