Documentation ¶
Index ¶
- func NewCreateNamespaceCmd(o *CreateNamespaceOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
- func NewDeleteCmd(o *DeleteOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
- func NewGetCmd(o *GetOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
- func NewListCmd(o *ListOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
- func NewResourceCmd() *cobra.Command
- type AnnotationsTableValue
- type ConditionsTableValue
- type CreateNamespaceOptions
- type DeleteOptions
- type GetOptions
- type LabelsTableValue
- type ListOptions
- type ObjectFlags
- type ResourceFilterFlags
- type ResourceFlags
- type ResourceRefFlag
- type ShortConditionsTableValue
- type StatusTableValue
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCreateNamespaceCmd ¶
func NewCreateNamespaceCmd(o *CreateNamespaceOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
func NewDeleteCmd ¶
func NewDeleteCmd(o *DeleteOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
func NewGetCmd ¶
func NewGetCmd(o *GetOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
func NewListCmd ¶
func NewListCmd(o *ListOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
func NewResourceCmd ¶
Types ¶
type AnnotationsTableValue ¶
type AnnotationsTableValue struct {
// contains filtered or unexported fields
}
func NewAnnotationsTableValue ¶
func NewAnnotationsTableValue(status map[string]interface{}) AnnotationsTableValue
func (AnnotationsTableValue) Compare ¶
func (t AnnotationsTableValue) Compare(other uitable.Value) int
func (AnnotationsTableValue) String ¶
func (t AnnotationsTableValue) String() string
func (AnnotationsTableValue) Value ¶
func (t AnnotationsTableValue) Value() uitable.Value
type ConditionsTableValue ¶
type ConditionsTableValue struct {
// contains filtered or unexported fields
}
func NewConditionsTableValue ¶
func NewConditionsTableValue(status map[string]interface{}) ConditionsTableValue
func (ConditionsTableValue) Compare ¶
func (t ConditionsTableValue) Compare(other uitable.Value) int
func (ConditionsTableValue) NeedsAttention ¶
func (t ConditionsTableValue) NeedsAttention() bool
func (ConditionsTableValue) String ¶
func (t ConditionsTableValue) String() string
func (ConditionsTableValue) Value ¶
func (t ConditionsTableValue) Value() uitable.Value
type CreateNamespaceOptions ¶
type CreateNamespaceOptions struct { NamespaceFlags cmdcore.NamespaceFlags GenerateNameFlags cmdcore.GenerateNameFlags // contains filtered or unexported fields }
func NewCreateNamespaceOptions ¶
func NewCreateNamespaceOptions(depsFactory cmdcore.DepsFactory, ui ui.UI) *CreateNamespaceOptions
func (*CreateNamespaceOptions) Run ¶
func (o *CreateNamespaceOptions) Run() error
type DeleteOptions ¶
type DeleteOptions struct { NamespaceFlags cmdcore.NamespaceFlags ObjectFlags ObjectFlags // contains filtered or unexported fields }
func NewDeleteOptions ¶
func NewDeleteOptions(depsFactory cmdcore.DepsFactory, ui ui.UI) *DeleteOptions
func (*DeleteOptions) Run ¶
func (o *DeleteOptions) Run() error
type GetOptions ¶
type GetOptions struct { NamespaceFlags cmdcore.NamespaceFlags ObjectFlags ObjectFlags // contains filtered or unexported fields }
func NewGetOptions ¶
func NewGetOptions(depsFactory cmdcore.DepsFactory, ui ui.UI) *GetOptions
func (*GetOptions) Run ¶
func (o *GetOptions) Run() error
type LabelsTableValue ¶
type LabelsTableValue struct {
// contains filtered or unexported fields
}
func NewLabelsTableValue ¶
func NewLabelsTableValue(status map[string]interface{}) LabelsTableValue
func (LabelsTableValue) String ¶
func (t LabelsTableValue) String() string
func (LabelsTableValue) Value ¶
func (t LabelsTableValue) Value() uitable.Value
type ListOptions ¶
type ListOptions struct { NamespaceFlags cmdcore.NamespaceFlags ResourceFilterFlags ResourceFilterFlags // contains filtered or unexported fields }
func NewListOptions ¶
func NewListOptions(depsFactory cmdcore.DepsFactory, ui ui.UI) *ListOptions
func (*ListOptions) Run ¶
func (o *ListOptions) Run() error
type ObjectFlags ¶
func (*ObjectFlags) Set ¶
func (s *ObjectFlags) Set(cmd *cobra.Command, flagsFactory cmdcore.FlagsFactory)
type ResourceFilterFlags ¶
type ResourceFilterFlags struct { ObjectFlags NameIncludes string LabelIncludes string AnnotationIncludes string }
func (*ResourceFilterFlags) Set ¶
func (s *ResourceFilterFlags) Set(cmd *cobra.Command, flagsFactory cmdcore.FlagsFactory)
type ResourceFlags ¶
type ResourceFlags struct {
Ref ctlres.ResourceRef
}
func (*ResourceFlags) Set ¶
func (s *ResourceFlags) Set(cmd *cobra.Command, flagsFactory cmdcore.FlagsFactory)
type ResourceRefFlag ¶
type ResourceRefFlag struct {
// contains filtered or unexported fields
}
func NewResourceRefFlag ¶
func NewResourceRefFlag(value *ctlres.ResourceRef) *ResourceRefFlag
func (*ResourceRefFlag) Set ¶
func (s *ResourceRefFlag) Set(val string) error
func (*ResourceRefFlag) String ¶
func (s *ResourceRefFlag) String() string
func (*ResourceRefFlag) Type ¶
func (s *ResourceRefFlag) Type() string
type ShortConditionsTableValue ¶
type ShortConditionsTableValue struct {
// contains filtered or unexported fields
}
func NewShortConditionsTableValue ¶
func NewShortConditionsTableValue(status map[string]interface{}) ShortConditionsTableValue
func (ShortConditionsTableValue) Compare ¶
func (t ShortConditionsTableValue) Compare(other uitable.Value) int
func (ShortConditionsTableValue) NeedsAttention ¶
func (t ShortConditionsTableValue) NeedsAttention() bool
func (ShortConditionsTableValue) String ¶
func (t ShortConditionsTableValue) String() string
func (ShortConditionsTableValue) Value ¶
func (t ShortConditionsTableValue) Value() uitable.Value
type StatusTableValue ¶
type StatusTableValue struct {
// contains filtered or unexported fields
}
func NewStatusTableValue ¶
func NewStatusTableValue(status map[string]interface{}) StatusTableValue
func (StatusTableValue) String ¶
func (t StatusTableValue) String() string
func (StatusTableValue) Value ¶
func (t StatusTableValue) Value() uitable.Value
Click to show internal directories.
Click to hide internal directories.