Documentation
¶
Index ¶
- type Namespace
- func (ns Namespace) MarshalJSON() ([]byte, error)
- func (ns Namespace) MarshalYAML() (interface{}, error)
- func (ns Namespace) RenderJSON() (string, error)
- func (namespace Namespace) RenderTable() string
- func (ns *Namespace) RenderVolumes() string
- func (ns Namespace) RenderYAML() (string, error)
- func (_ Namespace) TableHeaders() []string
- func (namespace Namespace) TableRows() [][]string
- type NamespaceList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Namespace ¶
type Namespace struct { CreatedAt *time.Time Label string Access string Volumes []volume.Volume Resources kubeModel.Resources // contains filtered or unexported fields }
func NamespaceFromKube ¶
func (Namespace) MarshalJSON ¶
func (Namespace) MarshalYAML ¶
func (Namespace) RenderJSON ¶
func (Namespace) RenderTable ¶
func (*Namespace) RenderVolumes ¶
func (Namespace) RenderYAML ¶
func (Namespace) TableHeaders ¶
type NamespaceList ¶
type NamespaceList []Namespace
func NamespaceListFromKube ¶
func NamespaceListFromKube(kubeList []kubeModels.Namespace) NamespaceList
func (NamespaceList) RenderJSON ¶
func (list NamespaceList) RenderJSON() (string, error)
func (NamespaceList) RenderTable ¶
func (list NamespaceList) RenderTable() string
func (NamespaceList) RenderYAML ¶
func (list NamespaceList) RenderYAML() (string, error)
func (NamespaceList) TableHeaders ¶
func (_ NamespaceList) TableHeaders() []string
func (NamespaceList) TableRows ¶
func (list NamespaceList) TableRows() [][]string
Click to show internal directories.
Click to hide internal directories.