Documentation
¶
Index ¶
- Variables
- func ConvertValuesFileToValuesMap(path, prefix string) (values map[string]interface{}, err error)
- type ApplyOptions
- func (o *ApplyOptions) AddFlags(flagSet *pflag.FlagSet)
- func (o *ApplyOptions) Apply() (err error)
- func (o *ApplyOptions) ApplyWithValues(templateReader templateprocessor.TemplateReader, path string, ...) (err error)
- func (o *ApplyOptions) CheckOptions() error
- func (o *ApplyOptions) Complete(cmd *cobra.Command, args []string) error
- func (o *ApplyOptions) Run() error
- func (o *ApplyOptions) Validate() error
Constants ¶
This section is empty.
Variables ¶
View Source
var ApplyExample = `
# Import a cluster
%[1]s --values values.yaml
`
Functions ¶
Types ¶
type ApplyOptions ¶
type ApplyOptions struct { ConfigFlags *genericclioptions.ConfigFlags OutFile string Directory string ValuesPath string DryRun bool Prefix string Delete bool Timeout int Force bool Silent bool genericclioptions.IOStreams }
func NewApplierOptions ¶
func NewApplierOptions(streams genericclioptions.IOStreams) *ApplyOptions
func (*ApplyOptions) AddFlags ¶
func (o *ApplyOptions) AddFlags(flagSet *pflag.FlagSet)
AddFlags returns a flagset
func (*ApplyOptions) ApplyWithValues ¶
func (o *ApplyOptions) ApplyWithValues(templateReader templateprocessor.TemplateReader, path string, values map[string]interface{}) (err error)
func (*ApplyOptions) CheckOptions ¶
func (o *ApplyOptions) CheckOptions() error
CheckOptions checks the options
func (*ApplyOptions) Complete ¶
func (o *ApplyOptions) Complete(cmd *cobra.Command, args []string) error
Complete retrieve missing options
func (*ApplyOptions) Validate ¶
func (o *ApplyOptions) Validate() error
Validate validates the options
Click to show internal directories.
Click to hide internal directories.