inventorytest

package
v0.30.0 Latest Latest
Warning

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

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

Documentation

Overview

Package inventorytest builds real inventory services for integration tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Resolver

func Resolver(inv *inventory.Static) *inventoryserver.Resolver

func Serve

func Serve(t *testing.T, inv *inventory.Static, issuer string, key sshcert.RawPublicKey) *httptest.Server

func ServeWithConfig

func ServeWithConfig(t *testing.T, inv *inventory.Static, cfg oidc.Config, key sshcert.RawPublicKey) *httptest.Server

Types

This section is empty.

Jump to

Keyboard shortcuts

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