get

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package get implements the "krci env get" command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdGet

func NewCmdGet(f *cmdutil.Factory, runF func(*GetOptions) error) *cobra.Command

NewCmdGet returns the "env get" cobra.Command. runF is the business-logic function; pass nil to use the default getRun.

Types

type GetOptions

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

GetOptions holds all inputs for `krci env get <deployment> <env>`.

Jump to

Keyboard shortcuts

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