Documentation
¶
Overview ¶
Package client builds a configured cinc-api client from CLI configuration. It is the single seam between cinc CLI state and the server API library.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New builds a cinc-api client from a resolved configuration profile. All server authentication and transport is handled by the cinc-api library; this function only loads the signing key and wires up the connection parameters.
func SilenceTLSWarning ¶
func SilenceTLSWarning() (restore func())
SilenceTLSWarning suppresses the "TLS verification disabled" warning until the returned restore func is called. `cinc config validate` uses it: it reports TLS posture as its own check, so the warning would be redundant in the report.
Types ¶
This section is empty.