output

package
v0.0.0-...-80744b8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CRDDescriptionsOutput

type CRDDescriptionsOutput struct {
	Path string `yaml:"path"`
}

func (*CRDDescriptionsOutput) Store

func (out *CRDDescriptionsOutput) Store(env *types.Env, resources *types.ClusterResources) error

type CSVOutput

type CSVOutput struct {
	Columns []ValueRef `yaml:"columns"`
	Path    string     `yaml:"path"`
}

func (*CSVOutput) Store

func (out *CSVOutput) Store(env *types.Env, resources *types.ClusterResources) error

type Chart

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

func NewChart

func NewChart(meta types.HelmChart, spec *apis.HelmChartOutput, clusters *types.ClusterIndex) *Chart

func (*Chart) Add

func (chart *Chart) Add(resID resid.ResId, resources map[types.ClusterID]*yaml.RNode) error

func (*Chart) Instance

func (chart *Chart) Instance(cluster types.ClusterID) types.HelmChart

func (*Chart) Instances

func (chart *Chart) Instances(clusters ...types.ClusterID) []types.HelmChart

func (*Chart) Store

func (chart *Chart) Store(fileSys filesys.FileSystem, dir string) error

type ChartOutput

type ChartOutput struct {
	HelmChart types.HelmChart `yaml:"helmChart"`
	// contains filtered or unexported fields
}

func (*ChartOutput) Store

func (out *ChartOutput) Store(env *types.Env, resources *types.ClusterResources) error

type Components

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

func NewComponents

func NewComponents(clusters *types.ClusterIndex) *Components

func (*Components) Add

func (comps *Components) Add(resID resid.ResId, resources map[types.ClusterID]*yaml.RNode) error

func (*Components) Cluster

func (comps *Components) Cluster(cluster types.ClusterID) ([]string, error)

func (*Components) Store

func (comps *Components) Store(fileSys filesys.FileSystem) error

type ComponentsOutput

type ComponentsOutput struct{}

func (*ComponentsOutput) Store

func (out *ComponentsOutput) Store(env *types.Env, resources *types.ClusterResources) error

type Impl

type Impl interface {
	Store(env *types.Env, resources *types.ClusterResources) error
}

func New

func New(spec *apis.Output) (Impl, error)

type JSONOutput

type JSONOutput struct {
	*apis.JSONOutput
}

func (*JSONOutput) Store

func (out *JSONOutput) Store(env *types.Env, resources *types.ClusterResources) error

type KustomizeOutput

type KustomizeOutput struct{}

func (*KustomizeOutput) Store

func (out *KustomizeOutput) Store(env *types.Env, resources *types.ClusterResources) error

type TableOutput

type TableOutput struct {
	CSVOutput `yaml:",inline"`
}

func (*TableOutput) Store

func (out *TableOutput) Store(env *types.Env, resources *types.ClusterResources) error

type ValueRef

type ValueRef struct {
	Name        string         `yaml:"name"`
	Description string         `yaml:"description"`
	Field       resource.Query `yaml:"field"`
	Text        string         `yaml:"text"`
}

func (*ValueRef) UnmarshalYAML

func (ref *ValueRef) UnmarshalYAML(node *yaml.Node) error

Jump to

Keyboard shortcuts

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