internal/

directory
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2026 License: GPL-3.0, LGPL-3.0

Directories

Path Synopsis
apis
v1alpha1
Package v1alpha1 defines the configuration objects clusterctl reads.
Package v1alpha1 defines the configuration objects clusterctl reads.
Package app wires the configuration, the transport and the node model into the context every command runs against.
Package app wires the configuration, the transport and the node model into the context every command runs against.
Package cli defines the clusterctl command tree.
Package cli defines the clusterctl command tree.
clikit
fanout
Package fanout works on many items at once, a bounded number at a time, and reports each as a target of the progress package: Each is the one bounded loop, Map works on items and reports them as a step with a target each, and Batches works on a node set in batches, one after the other, with a pause between them.
Package fanout works on many items at once, a bounded number at a time, and reports each as a target of the progress package: Each is the one bounded loop, Map works on items and reports them as a step with a target each, and Batches works on a node set in batches, one after the other, with a pause between them.
Package config finds, validates, merges and resolves the clusterctl configuration.
Package config finds, validates, merges and resolves the clusterctl configuration.
configtest
Package configtest writes configuration directories for the tests of the packages that read one.
Package configtest writes configuration directories for the tests of the packages that read one.
Package credentials resolves the accounts used for service processors and power distribution units.
Package credentials resolves the accounts used for service processors and power distribution units.
Package dhcp reads an ISC dhcpd configuration.
Package dhcp reads an ISC dhcpd configuration.
Package exitcode defines the process exit codes clusterctl guarantees.
Package exitcode defines the process exit codes clusterctl guarantees.
Package fanout works on many targets at once, as clusterctl does: the executor that runs a request on every target, the status and the groups of their results, the bound on each host, and the exit code a fan-out that failed somewhere asks for.
Package fanout works on many targets at once, as clusterctl does: the executor that runs a request on every target, the status and the groups of their results, the bound on each host, and the exit code a fan-out that failed somewhere asks for.
fanouttest
Package fanouttest counts the calls a fake is in the middle of, so that a test can tell how many of them a fan-out ran at once: the requests a transport.Runner is asked to run, those an http.RoundTripper sends to a service processor and the connections a host key scan dials.
Package fanouttest counts the calls a fake is in the middle of, so that a test can tell how many of them a fan-out ran at once: the requests a transport.Runner is asked to run, those an http.RoundTripper sends to a service processor and the connections a host key scan dials.
Package fileutil writes files the way a tool several administrators run at once has to: completely or not at all, and under a lock when the file is shared.
Package fileutil writes files the way a tool several administrators run at once has to: completely or not at all, and under a lock when the file is shared.
Package groups resolves the @group references of a node set expression.
Package groups resolves the @group references of a node set expression.
Package hostkeys reads, writes and collects SSH host keys.
Package hostkeys reads, writes and collects SSH host keys.
Package hostname decides whether a name may be handed to ssh or put into a URL as a host, and whether an account may be handed to ssh as a user.
Package hostname decides whether a name may be handed to ssh or put into a URL as a host, and whether an account may be handed to ssh as a user.
Package inventory answers questions about the nodes of a site: their attributes, where they sit, what address they have and what they boot.
Package inventory answers questions about the nodes of a site: their attributes, where they sit, what address they have and what they boot.
Package ipmi drives the FreeIPMI and ipmitool backends that talk to service processors over the management network.
Package ipmi drives the FreeIPMI and ipmitool backends that talk to service processors over the management network.
Package mcpserver offers clusterctl to an AI agent over the Model Context Protocol.
Package mcpserver offers clusterctl to an AI agent over the Model Context Protocol.
Package naming turns short node names into host names and service processor names, replacing the prefix logic the shell tools carried.
Package naming turns short node names into host names and service processor names, replacing the prefix logic the shell tools carried.
Package output renders command results in the format the caller asked for.
Package output renders command results in the format the caller asked for.
Package progress reports what a command is doing while it runs.
Package progress reports what a command is doing while it runs.
display
Package display shows the progress of a command on its standard error, from the events of its progress.Bus: the live tree, a few rows at the bottom of a terminal that show the work under way and what of it failed; the counter, one line there that says how far the work has got; plain lines, one for each thing worth a line, for a log as much as a terminal; and the summary a display leaves behind once the command has ended.
Package display shows the progress of a command on its standard error, from the events of its progress.Bus: the live tree, a few rows at the bottom of a terminal that show the work under way and what of it failed; the counter, one line there that says how far the work has got; plain lines, one for each thing worth a line, for a log as much as a terminal; and the summary a display leaves behind once the command has ended.
progresstest
Package progresstest captures the progress events of a test, draws them as a tree that does not depend on the order concurrent work happened in, and checks that they keep the promises the progress package makes to every sink.
Package progresstest captures the progress events of a test, draws them as a tree that does not depend on the order concurrent work happened in, and checks that they keep the promises the progress package makes to every sink.
Package redfish talks to the Redfish interface of a service processor.
Package redfish talks to the Redfish interface of a service processor.
Package safety gates the commands that change or destroy something.
Package safety gates the commands that change or destroy something.
Package secrets decrypts the age encrypted files a site keeps beside its configuration, and has the sops command decrypt its Secret documents.
Package secrets decrypts the age encrypted files a site keeps beside its configuration, and has the sops command decrypt its Secret documents.
sopstest
Package sopstest writes sops encrypted files for tests with the sops command, the way "sops encrypt --encrypted-regex '^(data|binaryData)$'" writes them, to keys generated by the test, so that no private key is kept in the repository.
Package sopstest writes sops encrypted files for tests with the sops command, the way "sops encrypt --encrypted-regex '^(data|binaryData)$'" writes them, to keys generated by the test, so that no private key is kept in the repository.
Package shellquote renders an argument vector as a POSIX shell word list.
Package shellquote renders an argument vector as a POSIX shell word list.
Package slurm reads and changes the state of a Slurm cluster through its command line clients, which run on a host that has them.
Package slurm reads and changes the state of a Slurm cluster through its command line clients, which run on a host that has them.
Package termtext makes untrusted text safe to write to a terminal, and measures how many columns text takes there.
Package termtext makes untrusted text safe to write to a terminal, and measures how many columns text takes there.
Package tmpl expands the {placeholder} templates the configuration uses for host names and tunnel definitions.
Package tmpl expands the {placeholder} templates the configuration uses for host names and tunnel definitions.
tools
gendocs command
Command gendocs writes the generated part of the documentation site: the command reference and the JSON Schemas of the configuration kinds.
Command gendocs writes the generated part of the documentation site: the command reference and the JSON Schemas of the configuration kinds.
Package transport runs commands on remote hosts through the OpenSSH client.
Package transport runs commands on remote hosts through the OpenSSH client.
Package tunnel manages the sshuttle profiles a site offers.
Package tunnel manages the sshuttle profiles a site offers.
Package version reports the build provenance of the clusterctl binary.
Package version reports the build provenance of the clusterctl binary.

Jump to

Keyboard shortcuts

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