config

package
v2.4.1 Latest Latest
Warning

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

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

Documentation

Overview

Package config contains the `crossplane config` subcommands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

type Cmd struct {
	// Keep subcommands sorted alphabetically.
	Set  setCmd  `cmd:"" help:"Set a value and write it to the configuration file." novale:"gitlab.SubstitutionWarning[\"config\"]"`
	View viewCmd `cmd:"" help:"Print the current effective configuration as YAML."  novale:"gitlab.SubstitutionWarning[\"config\"]"`
}

Cmd groups subcommands for inspecting and modifying the CLI config file.

func (*Cmd) Help

func (c *Cmd) Help() string

Help returns the extended help for the config command.

type ConfigPath

type ConfigPath string //nolint:revive // The "Config" stutter is intentional; this is the type Kong binds.

ConfigPath is the resolved config file path. It is bound by main so that subcommands can receive it as a Run() argument. Using a typed alias keeps the binding distinct from any other string value Kong may know about.

Jump to

Keyboard shortcuts

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