Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetClientOptions ¶
func SetClientOptions(client *scm.Client, opts ...ClientOption)
SetClientOptions sets the client options.
Types ¶
type ClientOption ¶
func WithInsecureSkipVerify ¶
func WithInsecureSkipVerify() ClientOption
WithInsecureSkipVerify disables SSL certificate verification.
func WithTimeout ¶
func WithTimeout(timeout time.Duration) ClientOption
WithTimeout sets the request timeout.
func WithUserAgent ¶
func WithUserAgent(userAgent string) ClientOption
WithUserAgent sets the user agent string to use for requests.
Click to show internal directories.
Click to hide internal directories.