container

package
v3.4.0-alpha+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2018 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container struct {
	kubeModels.Container
}

func (Container) ConfigMountsMap

func (container Container) ConfigMountsMap() map[string]kubeModels.ContainerVolume

func (Container) ConfigmapNames

func (container Container) ConfigmapNames() []string

func (Container) Copy

func (container Container) Copy() Container

func (Container) ImageName

func (container Container) ImageName() string

func (Container) MarshalJSON

func (cont Container) MarshalJSON() ([]byte, error)

func (Container) MarshalYAML

func (container Container) MarshalYAML() (interface{}, error)

func (Container) RenderJSON

func (cont Container) RenderJSON() (string, error)

func (Container) RenderTable

func (cont Container) RenderTable() string

func (Container) RenderYAML

func (container Container) RenderYAML() (string, error)

func (Container) SemanticVersion

func (container Container) SemanticVersion() (version semver.Version, ok bool)

func (Container) String

func (container Container) String() string

func (Container) TableHeaders

func (Container) TableHeaders() []string

func (Container) TableRows

func (cont Container) TableRows() [][]string

func (Container) ToKube

func (container Container) ToKube() kubeModels.Container

func (Container) Validate

func (container Container) Validate() error

func (Container) VolumeMountsMap

func (container Container) VolumeMountsMap() map[string]kubeModels.ContainerVolume

type ContainerList

type ContainerList []Container

func (ContainerList) ConfigMountsMap

func (list ContainerList) ConfigMountsMap() map[string]model.ContainerVolume

func (ContainerList) Copy

func (list ContainerList) Copy() ContainerList

func (ContainerList) DeleteByName

func (list ContainerList) DeleteByName(name string) ContainerList

func (ContainerList) Filter

func (list ContainerList) Filter(pred func(cont Container) bool) ContainerList

func (ContainerList) GetByName

func (containers ContainerList) GetByName(name string) (Container, bool)

func (ContainerList) Images

func (containers ContainerList) Images() []string

func (ContainerList) Names

func (containers ContainerList) Names() []string

func (ContainerList) Replace

func (list ContainerList) Replace(cont Container) (ContainerList, bool)

func (ContainerList) SemanticVersions

func (list ContainerList) SemanticVersions() []string

func (ContainerList) VolumeMountsMap

func (list ContainerList) VolumeMountsMap() map[string]model.ContainerVolume

Jump to

Keyboard shortcuts

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