Documentation
¶
Index ¶
- Variables
- func NewAction(opts *output.Options) processing.ProcessChain
- func NewCommand(ctx clictx.Context, names ...string) *cobra.Command
- func OutputFactory(fmt processing.MappingFunction, wide ...string) output.OutputFactory
- type Cache
- type CheckResult
- type Command
- type Entry
- type Missing
- type Option
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Names = names.Components Verb = verbs.Check )
Functions ¶
func NewAction ¶
func NewAction(opts *output.Options) processing.ProcessChain
func NewCommand ¶
NewCommand creates a new ctf command.
func OutputFactory ¶
func OutputFactory(fmt processing.MappingFunction, wide ...string) output.OutputFactory
Types ¶
type Cache ¶
type Cache = map[common.NameVersion]*CheckResult
type CheckResult ¶
type CheckResult struct {
Missing Missing `json:"missing,omitempty"`
Resources []metav1.Identity `json:"resources,omitempty"`
Sources []metav1.Identity `json:"sources,omitempty"`
}
func (*CheckResult) IsEmpty ¶
func (r *CheckResult) IsEmpty() bool
func (CheckResult) MarshalJSON ¶
func (n CheckResult) MarshalJSON() ([]byte, error)
type Command ¶
type Command struct {
utils.BaseCommand
Refs []string
}
type Entry ¶
type Entry struct {
Status string `json:"status"`
ComponentVersion common.NameVersion `json:"componentVersion"`
Results *CheckResult `json:"missing,omitempty"`
Error error `json:"error,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.