Documentation ¶
Index ¶
- func NewCmd() *cobra.Command
- func NewDiffCmd(o *DiffOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
- func NewInspectCmd(o *InspectOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
- func NewListLabelsCmd(o *ListLabelsOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
- func NewValueResourceOwner(resource ctlres.Resource) uitable.ValueString
- type DiffChangeView
- func (v DiffChangeView) ApplyOp() ctlcap.ClusterChangeApplyOp
- func (v DiffChangeView) ApplyStrategyOp() (ctlcap.ClusterChangeApplyStrategyOp, error)
- func (v DiffChangeView) ConfigurableTextDiff() *ctldiff.ConfigurableTextDiff
- func (v DiffChangeView) ExistingResource() ctlres.Resource
- func (v DiffChangeView) Resource() ctlres.Resource
- func (v DiffChangeView) WaitOp() ctlcap.ClusterChangeWaitOp
- type DiffFlags
- type DiffOptions
- type FileFlags
- type FileFlags2
- type InspectOptions
- type InspectTreeView
- type InspectView
- type ListLabelsOptions
- type ResourceFilterFlags
- type ValueColored
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDiffCmd ¶
func NewDiffCmd(o *DiffOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
func NewInspectCmd ¶
func NewInspectCmd(o *InspectOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
func NewListLabelsCmd ¶
func NewListLabelsCmd(o *ListLabelsOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
func NewValueResourceOwner ¶ added in v0.10.0
func NewValueResourceOwner(resource ctlres.Resource) uitable.ValueString
Types ¶
type DiffChangeView ¶ added in v0.10.0
type DiffChangeView struct {
// contains filtered or unexported fields
}
func (DiffChangeView) ApplyOp ¶ added in v0.10.0
func (v DiffChangeView) ApplyOp() ctlcap.ClusterChangeApplyOp
func (DiffChangeView) ApplyStrategyOp ¶ added in v0.31.0
func (v DiffChangeView) ApplyStrategyOp() (ctlcap.ClusterChangeApplyStrategyOp, error)
func (DiffChangeView) ConfigurableTextDiff ¶ added in v0.18.0
func (v DiffChangeView) ConfigurableTextDiff() *ctldiff.ConfigurableTextDiff
func (DiffChangeView) ExistingResource ¶ added in v0.12.0
func (v DiffChangeView) ExistingResource() ctlres.Resource
func (DiffChangeView) Resource ¶ added in v0.10.0
func (v DiffChangeView) Resource() ctlres.Resource
func (DiffChangeView) WaitOp ¶ added in v0.10.0
func (v DiffChangeView) WaitOp() ctlcap.ClusterChangeWaitOp
Since we are diffing changes without a cluster, there will be no wait operations
type DiffFlags ¶
type DiffFlags struct { ctlcap.ChangeSetViewOpts ctldiff.ChangeSetOpts Run bool ExitStatus bool UI bool }
type DiffOptions ¶
type DiffOptions struct { FileFlags FileFlags FileFlags2 FileFlags2 DiffFlags DiffFlags // contains filtered or unexported fields }
func NewDiffOptions ¶
func NewDiffOptions(ui ui.UI, depsFactory cmdcore.DepsFactory) *DiffOptions
func (*DiffOptions) Run ¶
func (o *DiffOptions) Run() error
type FileFlags2 ¶
type FileFlags2 struct {
Files []string
}
func (*FileFlags2) Set ¶
func (s *FileFlags2) Set(cmd *cobra.Command)
type InspectOptions ¶
type InspectOptions struct { FileFlags FileFlags ResourceFilterFlags ResourceFilterFlags Raw bool // contains filtered or unexported fields }
func NewInspectOptions ¶
func NewInspectOptions(ui ui.UI, depsFactory cmdcore.DepsFactory) *InspectOptions
func (*InspectOptions) Run ¶
func (o *InspectOptions) Run() error
type InspectTreeView ¶
func (InspectTreeView) Print ¶
func (v InspectTreeView) Print(ui ui.UI)
type InspectView ¶
func (InspectView) Print ¶
func (v InspectView) Print(ui ui.UI)
type ListLabelsOptions ¶
type ListLabelsOptions struct { FileFlags FileFlags Accessor string Values bool // contains filtered or unexported fields }
func NewListLabelsOptions ¶
func NewListLabelsOptions(ui ui.UI, depsFactory cmdcore.DepsFactory, logger logger.Logger) *ListLabelsOptions
func (*ListLabelsOptions) Run ¶
func (o *ListLabelsOptions) Run() error
type ResourceFilterFlags ¶
type ResourceFilterFlags struct {
// contains filtered or unexported fields
}
func (*ResourceFilterFlags) ResourceFilter ¶
func (s *ResourceFilterFlags) ResourceFilter() (ctlres.ResourceFilter, error)
func (*ResourceFilterFlags) Set ¶
func (s *ResourceFilterFlags) Set(cmd *cobra.Command)
type ValueColored ¶
func (ValueColored) String ¶
func (t ValueColored) String() string
func (ValueColored) Value ¶
func (t ValueColored) Value() uitable.Value
Click to show internal directories.
Click to hide internal directories.