Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TLSClientConfig ¶
type TLSClientConfig struct { Enable bool `help:"Enable client-side TLS."` Refresh time.Duration `default:"0s" help:"Interval for refreshing client TLS certificates."` InsecureSkipVerify bool `help:"Skip TLS verification on client side."` File TLSClientFiles `embed:"" prefix:"file."` KeyPassword string `help:"Optional password to decrypt RSA private key."` UseSystemPool bool `help:"Use system pool for root CAs."` }
type TLSClientFiles ¶
type TLSClientFiles struct { Key string `placeholder:"FILE" help:"Optional path to client TLS key file."` Cert string `placeholder:"FILE" help:"Optional path to client TLS certificate file."` RootCAs string `placeholder:"FILE" name:"root-ca" help:"Optional path to client root CAs for server verification."` }
type TLSServerConfig ¶
type TLSServerConfig struct { Enable bool `help:"Enable server-side TLS."` Refresh time.Duration `default:"0s" help:"Interval for refreshing server TLS certificates."` File TLSServerFiles `embed:"" prefix:"file."` KeyPassword string `help:"Optional password to decrypt RSA private key."` }
type TLSServerFiles ¶
type TLSServerFiles struct { Key string `placeholder:"FILE" help:"Path to the server TLS key file."` Cert string `placeholder:"FILE" help:"Path to the server TLS certificate file."` ClientCAs string `placeholder:"FILE" name:"client-ca" help:"Optional path to server client CA file for client verification."` ClientCRL string `` /* 145-byte string literal not displayed */ }
Click to show internal directories.
Click to hide internal directories.