contributor

package
v1.85.2 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package contributor implements bluectl's contributor program commands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCLI

func NewCLI(open OpenFunc) cli.CLI

NewCLI returns the bluectl contributor command.

Types

type Ledger added in v1.84.0

type Ledger struct {
	contributor.Ledger
	Operator string
}

Ledger is the contributor program ledger together with the identity of the operator running the CLI, which is recorded as the proposer, decider or closer of everything bluectl writes.

type OpenFunc added in v1.84.0

type OpenFunc func(context.Context) (Ledger, error)

OpenFunc opens the contributor program collections. Only commands that read or write the ledger call it, and only when they run: 'verify' audits an exported statement offline and never invokes it, so auditing the program requires no credentials and no configuration.

Jump to

Keyboard shortcuts

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