Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Security ¶
type Security struct { // Hostname SelfHostname string `json:"self_hostname"` SharedKey string `json:"shared_key"` // If true, use user based authentication. UserAuth bool `json:"user_auth,omitempty"` // Allow anonymous source. <client> sections are required if disabled. AllowAnonymousSource bool `json:"allow_anonymous_source,omitempty"` }
func (*Security) ToDirective ¶
type Transport ¶
type Transport struct { // Protocol Default: :tcp Protocol string `json:"protocol,omitempty"` // Version Default: 'TLSv1_2' Version string `json:"version,omitempty"` // Ciphers Default: "ALL:!aNULL:!eNULL:!SSLv2" Ciphers string `json:"ciphers,omitempty"` // Use secure connection when use tls) Default: false Insecure bool `json:"insecure,omitempty"` // Specify path to CA certificate file CaPath string `json:"ca_path,omitempty"` // Specify path to Certificate file CertPath string `json:"cert_path,omitempty"` // Specify path to private Key file PrivateKeyPath string `json:"private_key_path,omitempty"` // public CA private key passphrase contained path PrivateKeyPassphrase string `json:"private_key_passphrase,omitempty"` // When this is set Fluentd will check all incoming HTTPS requests // for a client certificate signed by the trusted CA, requests that // don't supply a valid client certificate will fail. ClientCertAuth bool `json:"client_cert_auth,omitempty"` // Specify private CA contained path CaCertPath string `json:"ca_cert_path,omitempty"` // private CA private key contained path CaPrivateKeyPath string `json:"ca_private_key_path,omitempty"` // private CA private key passphrase contained path CaPrivateKeyPassphrase string `json:"ca_private_key_passphrase,omitempty"` }
func (*Transport) ToDirective ¶
Click to show internal directories.
Click to hide internal directories.