xpkg

package
v1.20.5 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2026 License: Apache-2.0 Imports: 57 Imported by: 0

Documentation

Overview

Package xpkg contains Crossplane packaging commands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WellKnownTemplates added in v1.17.0

func WellKnownTemplates() map[string]string

WellKnownTemplates are short aliases for template repositories.

Types

type Cmd

type Cmd struct {
	// Keep subcommands sorted alphabetically.
	Build   buildCmd   `cmd:"" help:"Build a new package."`
	Init    initCmd    `cmd:"" help:"Initialize a new package from a template."`
	Install installCmd `cmd:"" help:"Install a package in a control plane."`
	Login   loginCmd   `cmd:"" help:"Login to the default package registry."`
	Logout  logoutCmd  `cmd:"" help:"Logout of the default package registry."`
	Push    pushCmd    `cmd:"" help:"Push a package to a registry."`
	Update  updateCmd  `cmd:"" help:"Update a package in a control plane."`
	Extract extractCmd `cmd:"" help:"Extract package contents into a Crossplane cache compatible format. Fetches from a remote registry by default."`
}

Cmd contains commands for interacting with xpkgs.

func (*Cmd) Help

func (c *Cmd) Help() string

Help prints out the help for the xpkg command.

Jump to

Keyboard shortcuts

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