deployments

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package deployments implements the "krci project deployments <project>" command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdDeployments

func NewCmdDeployments(f *cmdutil.Factory, runF func(*ListOptions) error) *cobra.Command

NewCmdDeployments returns the "project deployments <project>" cobra.Command. runF is the business-logic function; pass nil to use the default run.

Types

type ListOptions

type ListOptions struct {
	IO           *iostreams.IOStreams
	RestClient   func() (*restapi.ClientWithResponses, error)
	Config       func() (*config.Config, error)
	Project      string
	OutputFormat string
}

ListOptions holds all inputs for `krci project deployments <project>`.

Jump to

Keyboard shortcuts

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