client

package
v0.23.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2026 License: Apache-2.0 Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

func New(p config.Profile) (*cinc.Client, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL