componentrelease

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComponentRelease added in v0.17.0

type ComponentRelease struct{}

ComponentRelease implements component release operations

func New added in v0.17.0

func New() *ComponentRelease

New creates a new ComponentRelease

func (*ComponentRelease) Generate added in v0.17.0

func (cr *ComponentRelease) Generate(params GenerateParams) error

Generate implements the component-release generate command

func (*ComponentRelease) Get added in v0.17.0

func (cr *ComponentRelease) Get(params GetParams) error

Get retrieves a single component release and outputs it as YAML

func (*ComponentRelease) List added in v0.17.0

func (cr *ComponentRelease) List(params ListParams) error

List lists all component releases for a component

type GenerateParams added in v0.17.0

type GenerateParams struct {
	All           bool   // Generate for all components
	ProjectName   string // Generate for all components in this project
	ComponentName string // Generate for specific component
	ReleaseName   string // Optional: custom release name (only valid with --component)
	OutputPath    string // Optional: custom output directory
	DryRun        bool   // Preview without writing files
	Mode          string // Operational mode: "api-server" or "file-system"
	RootDir       string // Root directory path for file-system mode
}

GenerateParams defines parameters for generating component releases

type GetParams added in v0.17.0

type GetParams struct {
	Namespace            string
	ComponentReleaseName string
}

GetParams defines parameters for getting a single component release

func (GetParams) GetNamespace added in v0.17.0

func (p GetParams) GetNamespace() string

type ListParams added in v0.17.0

type ListParams struct {
	Namespace string
	Project   string
	Component string
}

ListParams defines parameters for listing component releases

func (ListParams) GetComponent added in v0.17.0

func (p ListParams) GetComponent() string

func (ListParams) GetNamespace added in v0.17.0

func (p ListParams) GetNamespace() string

func (ListParams) GetProject added in v0.17.0

func (p ListParams) GetProject() string

Jump to

Keyboard shortcuts

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