Documentation
¶
Index ¶
Constants ¶
View Source
const CLIVersionHeader = "Chainloop-Cli-Version"
CLIVersionHeader is the request header key the CLI uses to advertise its version (and edition flavor) on every request to the Control Plane and CAS. Both gRPC and HTTP treat header keys as case-insensitive, so the same canonical name is reused when the Control Plane forwards the value to downstream policy providers over HTTP.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*newOptionalArg)
func WithCAContent ¶ added in v1.76.0
WithCAContent sets the CA certificate content (PEM format or base64-encoded)
func WithCAFile ¶
func WithCLIVersion ¶ added in v1.95.2
WithCLIVersion attaches the given CLI version (e.g. "v1.94.2-oss") to every outgoing request as the chainloop-cli-version header.
func WithInsecure ¶
func WithOrgName ¶
Click to show internal directories.
Click to hide internal directories.