inventoryclient

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2026 License: Apache-2.0, Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package inventoryclient implements public inventory management requests.

Index

Constants

View Source
const MaxControlResponse = 8 << 20

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client sends inventory RPCs over its own configured transport.

func New

func New(endpoint string, cfg tlsconfig.Config) (*Client, error)

New binds a client to the complete public inventory URL. An empty endpoint means the CA does not advertise managed inventory.

func (*Client) Control

Control sends a single operation to the configured endpoint. Callers choose the credential for this operation; redirects never receive it.

Jump to

Keyboard shortcuts

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