report

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToMarkdown

func ToMarkdown(charts []*releasereport.NamespaceReleases) (string, error)

ToMarkdown converts the charts to markdown

func WriteChart

func WriteChart(w io.StringWriter, ch *releasereport.ReleaseInfo)

func WriteNamespaceCharts

func WriteNamespaceCharts(w io.StringWriter, ns *releasereport.NamespaceReleases)

Types

type Options

type Options struct {
	options.BaseOptions
	Dir                     string
	OutDir                  string
	ConfigRootPath          string
	Namespace               string
	GitCommitMessage        string
	Helmfile                string
	Helmfiles               []helmfiles.Helmfile
	HelmBinary              string
	DoGitCommit             bool
	Gitter                  gitclient.Interface
	CommandRunner           cmdrunner.CommandRunner
	HelmClient              helmer.Helmer
	Requirements            *jxcore.Requirements
	NamespaceCharts         []*releasereport.NamespaceReleases
	PreviousNamespaceCharts map[string]map[string]*releasereport.ReleaseInfo
	RepositoryInfo          map[string]*helmrepo.IndexFile
	HelmSettings            *cli.EnvSettings
}

Options the options for the command

func NewCmdHelmfileReport

func NewCmdHelmfileReport() (*cobra.Command, *Options)

NewCmdHelmfileReport creates a command object for the command

func (*Options) AddFlags

func (o *Options) AddFlags(cmd *cobra.Command, prefix string)

func (*Options) Run

func (o *Options) Run() error

Run implements the command

func (*Options) Validate

func (o *Options) Validate() error

Validate validates the options and populates any missing values

Jump to

Keyboard shortcuts

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