Documentation ¶
Index ¶
- func NewApplyCmd(f genericclioptions.RESTClientGetter, streams genericclioptions.IOStreams) *cobra.Command
- func NewDeleteCmd(f genericclioptions.RESTClientGetter, streams genericclioptions.IOStreams) *cobra.Command
- func NewDiffCmd(f genericclioptions.RESTClientGetter, streams genericclioptions.IOStreams) *cobra.Command
- func NewDumpValuesCmd(f genericclioptions.RESTClientGetter, streams genericclioptions.IOStreams) *cobra.Command
- func NewRenderCmd(f genericclioptions.RESTClientGetter, streams genericclioptions.IOStreams) *cobra.Command
- func NewVersionCmd(streams genericclioptions.IOStreams) *cobra.Command
- type ApplyOptions
- type ChartFlags
- type DeleteOptions
- type DiffFlags
- type DiffOptions
- type DumpValuesOptions
- type HookFlags
- type PrintFlags
- type RenderOptions
- type VersionOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewApplyCmd ¶
func NewApplyCmd(f genericclioptions.RESTClientGetter, streams genericclioptions.IOStreams) *cobra.Command
func NewDeleteCmd ¶
func NewDeleteCmd(f genericclioptions.RESTClientGetter, streams genericclioptions.IOStreams) *cobra.Command
func NewDiffCmd ¶
func NewDiffCmd(f genericclioptions.RESTClientGetter, streams genericclioptions.IOStreams) *cobra.Command
func NewDumpValuesCmd ¶
func NewDumpValuesCmd(f genericclioptions.RESTClientGetter, streams genericclioptions.IOStreams) *cobra.Command
func NewRenderCmd ¶
func NewRenderCmd(f genericclioptions.RESTClientGetter, streams genericclioptions.IOStreams) *cobra.Command
func NewVersionCmd ¶
func NewVersionCmd(streams genericclioptions.IOStreams) *cobra.Command
Types ¶
type ApplyOptions ¶
type ApplyOptions struct { genericclioptions.IOStreams ChartFlags ChartFlags HookFlags HookFlags DiffFlags DiffFlags DiffOptions *DiffOptions DryRun bool ServerDryRun bool ShowDiff bool Prune bool Printer printers.ContextPrinter Recorder recorders.OperationRecorder DynamicClient dynamic.Interface DiscoveryClient discovery.CachedDiscoveryInterface OpenAPISchema openapi.Resources Mapper meta.RESTMapper BuilderFactory func() *resource.Builder Encoder resources.Encoder Visitor chart.Visitor HookExecutor chart.HookExecutor Deleter deletions.Deleter Namespace string EnforceNamespace bool }
func NewApplyOptions ¶
func NewApplyOptions(streams genericclioptions.IOStreams) *ApplyOptions
func (*ApplyOptions) Complete ¶
func (o *ApplyOptions) Complete(f genericclioptions.RESTClientGetter) error
func (*ApplyOptions) Run ¶
func (o *ApplyOptions) Run() error
func (*ApplyOptions) Validate ¶
func (o *ApplyOptions) Validate() error
type ChartFlags ¶
func (*ChartFlags) AddFlags ¶
func (f *ChartFlags) AddFlags(cmd *cobra.Command)
type DeleteOptions ¶
type DeleteOptions struct { genericclioptions.IOStreams ChartFlags ChartFlags HookFlags HookFlags PrintFlags PrintFlags DryRun bool Prune bool DynamicClient dynamic.Interface DiscoveryClient discovery.CachedDiscoveryInterface BuilderFactory func() *resource.Builder Mapper meta.RESTMapper Encoder resources.Encoder Visitor chart.Visitor HookExecutor chart.HookExecutor Deleter deletions.Deleter Namespace string EnforceNamespace bool }
func NewDeleteOptions ¶
func NewDeleteOptions(streams genericclioptions.IOStreams) *DeleteOptions
func (*DeleteOptions) Complete ¶
func (o *DeleteOptions) Complete(f genericclioptions.RESTClientGetter) error
func (*DeleteOptions) DeleteChart ¶ added in v0.0.2
func (o *DeleteOptions) DeleteChart(c *chart.Chart) error
func (*DeleteOptions) Run ¶
func (o *DeleteOptions) Run() error
type DiffFlags ¶
type DiffFlags struct { Context int PrintFlags PrintFlags }
func NewDefaultDiffFlags ¶
func NewDefaultDiffFlags() DiffFlags
type DiffOptions ¶
type DiffOptions struct { genericclioptions.IOStreams ChartFlags ChartFlags DiffFlags DiffFlags OpenAPISchema openapi.Resources DryRunVerifier *apply.DryRunVerifier BuilderFactory func() *resource.Builder DiffPrinter diff.Printer Encoder resources.Encoder Visitor chart.Visitor Namespace string }
func NewDiffOptions ¶
func NewDiffOptions(streams genericclioptions.IOStreams) *DiffOptions
func (*DiffOptions) Complete ¶
func (o *DiffOptions) Complete(f genericclioptions.RESTClientGetter) error
func (*DiffOptions) Diff ¶
func (o *DiffOptions) Diff(c *chart.Chart) error
Diff performs a diff of a rendered chart and prints it.
func (*DiffOptions) Run ¶
func (o *DiffOptions) Run() error
type DumpValuesOptions ¶
type DumpValuesOptions struct { genericclioptions.IOStreams ChartFlags }
func NewDumpValuesOptions ¶
func NewDumpValuesOptions(streams genericclioptions.IOStreams) *DumpValuesOptions
func (*DumpValuesOptions) Complete ¶
func (o *DumpValuesOptions) Complete(f genericclioptions.RESTClientGetter) error
func (*DumpValuesOptions) Dump ¶
func (o *DumpValuesOptions) Dump(chartName, chartDir string, additionalValues map[interface{}]interface{}) error
func (*DumpValuesOptions) Run ¶
func (o *DumpValuesOptions) Run() error
type PrintFlags ¶ added in v0.0.2
type PrintFlags struct {
NoColor bool
}
func (*PrintFlags) AddFlags ¶ added in v0.0.2
func (f *PrintFlags) AddFlags(cmd *cobra.Command)
func (*PrintFlags) ToPrinter ¶ added in v0.0.2
func (f *PrintFlags) ToPrinter(dryRun bool) printers.ContextPrinter
type RenderOptions ¶
type RenderOptions struct { genericclioptions.IOStreams ChartFlags ChartFlags HookType string Encoder resources.Encoder Visitor chart.Visitor }
func NewRenderOptions ¶
func NewRenderOptions(streams genericclioptions.IOStreams) *RenderOptions
func (*RenderOptions) Complete ¶
func (o *RenderOptions) Complete(f genericclioptions.RESTClientGetter) error
func (*RenderOptions) Run ¶
func (o *RenderOptions) Run() error
func (*RenderOptions) Validate ¶
func (o *RenderOptions) Validate() error
type VersionOptions ¶
type VersionOptions struct { genericclioptions.IOStreams Short bool Output string }
func NewVersionOptions ¶
func NewVersionOptions(streams genericclioptions.IOStreams) *VersionOptions
func (*VersionOptions) Run ¶
func (o *VersionOptions) Run() error
func (*VersionOptions) Validate ¶
func (o *VersionOptions) Validate() error
Click to show internal directories.
Click to hide internal directories.