package
1.30.0
Repository: https://github.com/spinnaker/spin.git
Documentation: pkg.go.dev

# Functions

AddAuthHeaders will use the context variables to set via ContextWithAuth to add any necessary authentication headers to the request.
Authenticate is helper function to attempt to authenticate with OAuth2, Google Service Account or LDAP as configured in the auth.Config.
ContextWithAuth will set context variables that maybe necessary for IAP or Basic authentication per-request.
InitializeHTTPClient will return an *http.Client configured with optional TLS keys as specified in the auth.Config.
Create new spinnaker gateway client with flag.

# Structs

GatewayClient is the wrapper with authentication.