Versions in this module Expand all Collapse all v0 v0.24.0 Mar 25, 2022 Changes in this version + func NewCmdDiff(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command + type DiffOptions struct + Builder *resource.Builder + CmdNamespace string + Diff *DiffProgram + DiscoveryClient discovery.DiscoveryInterface + DryRunVerifier *resource.QueryParamVerifier + DynamicClient dynamic.Interface + EnforceNamespace bool + FieldManager string + FilenameOptions resource.FilenameOptions + ForceConflicts bool + OpenAPISchema openapi.Resources + Selector string + ServerSideApply bool + func NewDiffOptions(ioStreams genericclioptions.IOStreams) *DiffOptions + func (o *DiffOptions) Complete(f cmdutil.Factory, cmd *cobra.Command) error + func (o *DiffOptions) Run() error + type DiffProgram struct + Exec exec.Interface + func (d *DiffProgram) Run(from, to string) error + type DiffVersion struct + Dir *Directory + Name string + func NewDiffVersion(name string) (*DiffVersion, error) + func (v *DiffVersion) Print(name string, obj runtime.Object, printer Printer) error + type Differ struct + From *DiffVersion + To *DiffVersion + func NewDiffer(from, to string) (*Differ, error) + func (d *Differ) Diff(obj Object, printer Printer) error + func (d *Differ) Run(diff *DiffProgram) error + func (d *Differ) TearDown() + type Directory struct + Name string + func CreateDirectory(prefix string) (*Directory, error) + func (d *Directory) Delete() error + func (d *Directory) NewFile(name string) (*os.File, error) + type InfoObject struct + Encoder runtime.Encoder + FieldManager string + Force bool + ForceConflicts bool + Info *resource.Info + LocalObj runtime.Object + OpenAPI openapi.Resources + ServerSideApply bool + func (obj InfoObject) Live() runtime.Object + func (obj InfoObject) Merged() (runtime.Object, error) + func (obj InfoObject) Name() string + type Masker struct + func NewMasker(from, to runtime.Object) (*Masker, error) + func (m *Masker) From() runtime.Object + func (m *Masker) To() runtime.Object + type Object interface + Live func() runtime.Object + Merged func() (runtime.Object, error) + Name func() string + type Printer struct + func (p *Printer) Print(obj runtime.Object, w io.Writer) error