volume

package
v3.1.2+incompatible Latest Latest
Warning

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

Go to latest
Published: May 28, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Volume

type Volume struct {
	Label     string
	CreatedAt time.Time
	Access    string
	Replicas  uint
	Storage   uint
	// contains filtered or unexported fields
}

func VolumeFromKube

func VolumeFromKube(kv kubeModels.Volume) Volume

func (Volume) MarshalJSON

func (vol Volume) MarshalJSON() ([]byte, error)

func (Volume) MarshalYAML

func (vol Volume) MarshalYAML() (interface{}, error)

func (Volume) RenderJSON

func (vol Volume) RenderJSON() (string, error)

func (*Volume) RenderTable

func (volume *Volume) RenderTable() string

func (Volume) RenderYAML

func (v Volume) RenderYAML() (string, error)

func (*Volume) TableHeaders

func (_ *Volume) TableHeaders() []string

func (*Volume) TableRows

func (volume *Volume) TableRows() [][]string

type VolumeList

type VolumeList []Volume

func VolumeListFromKube

func VolumeListFromKube(kubeList []kubeModels.Volume) VolumeList

func (VolumeList) RenderJSON

func (list VolumeList) RenderJSON() (string, error)

func (VolumeList) RenderTable

func (list VolumeList) RenderTable() string

func (VolumeList) RenderYAML

func (list VolumeList) RenderYAML() (string, error)

func (VolumeList) TableHeaders

func (_ VolumeList) TableHeaders() []string

func (VolumeList) TableRows

func (list VolumeList) TableRows() [][]string

Jump to

Keyboard shortcuts

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