Help us shape the future of Go! Take the 2026 Go Developer Survey

compositionenvironment

package
v2.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package compositionenvironment is a package for converting Pipeline Compositions using native Composition Environment capabilities to use function-environment-configs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertToFunctionEnvironmentConfigs

func ConvertToFunctionEnvironmentConfigs(in *unstructured.Unstructured, functionName string) (*unstructured.Unstructured, error)

ConvertToFunctionEnvironmentConfigs converts a Composition to use function-environment-configs.

Types

type Cmd

type Cmd struct {
	// Arguments.
	InputFile string `arg:"" default:"-" help:"The Composition file to convert or '-' for stdin." optional:"" predictor:"file" type:"path"`

	// Flags.
	OutputFile string `` /* 129-byte string literal not displayed */

	FunctionEnvironmentConfigRef string `` /* 146-byte string literal not displayed */
	// contains filtered or unexported fields
}

Cmd arguments and flags for converting a Composition to use function-environment-configs.

func (*Cmd) AfterApply

func (c *Cmd) AfterApply() error

AfterApply implements kong.AfterApply.

func (*Cmd) Help

func (c *Cmd) Help() string

Help returns help message for the migrate composition-environment command.

func (*Cmd) Run

func (c *Cmd) Run(k *kong.Context) error

Run converts a classic Composition to a function pipeline Composition.

Jump to

Keyboard shortcuts

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