Help us shape the future of Go! Take the 2026 Go Developer Survey

checkkit

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package checkkit lets a kind of adapter check a configuration as it is saved, by running its own Configure on it, without anything stored.

Configure reads credentials from a `credentials` object beside the settings, as Pando hands them over at startup. A credential already stored and not sent again is given a stand-in value, so a check that it is there passes; a check of what a stored credential says is the kind's to skip. One sent empty is being removed, and is left out.

Index

Constants

View Source
const Stored = "stored"

Stored stands in for a credential that is kept and not sent again.

Variables

This section is empty.

Functions

func Merge

func Merge(config json.RawMessage, credentials map[string]secret.Value, stored []string) (json.RawMessage, error)

Merge is the configuration Configure reads: the settings, with the credentials sent, and a stand-in for each one stored and not sent.

Types

This section is empty.

Jump to

Keyboard shortcuts

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