namespace

package
v3.0.3-alpha2+incompat... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2018 License: MIT Imports: 10 Imported by: 5

Documentation

Index

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 NamespaceFromKube(kubeNameSpace kubeModel.Namespace) Namespace

func (Namespace) MarshalJSON

func (ns Namespace) MarshalJSON() ([]byte, error)

func (Namespace) MarshalYAML

func (ns Namespace) MarshalYAML() (interface{}, error)

func (Namespace) RenderJSON

func (ns Namespace) RenderJSON() (string, error)

func (Namespace) RenderTable

func (namespace Namespace) RenderTable() string

func (*Namespace) RenderVolumes

func (ns *Namespace) RenderVolumes() string

func (Namespace) RenderYAML

func (ns Namespace) RenderYAML() (string, error)

func (Namespace) TableHeaders

func (_ Namespace) TableHeaders() []string

func (Namespace) TableRows

func (namespace Namespace) TableRows() [][]string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL