componentrelease

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewComponentReleaseCmd added in v1.1.0

func NewComponentReleaseCmd(f client.NewClientFunc) *cobra.Command

Types

type ComponentRelease added in v0.17.0

type ComponentRelease struct {
	// contains filtered or unexported fields
}

ComponentRelease implements component release operations

func New added in v0.17.0

New creates a new ComponentRelease

func (*ComponentRelease) Delete added in v1.0.0

func (cr *ComponentRelease) Delete(params DeleteParams) error

Delete deletes a single component release

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 DeleteParams added in v1.0.0

type DeleteParams struct {
	Namespace            string
	ComponentReleaseName string
}

DeleteParams defines parameters for deleting a single component release

func (DeleteParams) GetComponentReleaseName added in v1.0.0

func (p DeleteParams) GetComponentReleaseName() string

func (DeleteParams) GetNamespace added in v1.0.0

func (p DeleteParams) GetNamespace() string

type GenerateParams added in v0.17.0

type GenerateParams struct {
	All           bool   // Generate for all components
	Namespace     string // Optional: override namespace from context
	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