Documentation ¶
Index ¶
- func ImageName(image string) string
- type Container
- func (container Container) ConfigMountsMap() map[string]kubeModels.ContainerVolume
- func (container Container) ConfigmapNames() []string
- func (container Container) Copy() Container
- func (container Container) ImageName() string
- func (cont Container) MarshalJSON() ([]byte, error)
- func (container Container) MarshalYAML() (interface{}, error)
- func (container Container) Patch(overlay Container) Container
- func (cont Container) RenderJSON() (string, error)
- func (cont Container) RenderTable() string
- func (container Container) RenderYAML() (string, error)
- func (container Container) SemanticVersion() (version semver.Version, ok bool)
- func (container Container) String() string
- func (Container) TableHeaders() []string
- func (cont Container) TableRows() [][]string
- func (container Container) ToKube() kubeModels.Container
- func (cont *Container) UnmarshalJSON(data []byte) error
- func (container *Container) UnmarshalYAML(decode func(interface{}) error) error
- func (container Container) Validate() error
- func (container Container) VolumeMountsMap() map[string]kubeModels.ContainerVolume
- type ContainerList
- func (list ContainerList) ConfigMountsMap() map[string]model.ContainerVolume
- func (list ContainerList) Copy() ContainerList
- func (list ContainerList) DeleteByName(name string) ContainerList
- func (list ContainerList) Filter(pred func(cont Container) bool) ContainerList
- func (containers ContainerList) GetByName(name string) (Container, bool)
- func (containers ContainerList) Images() []string
- func (containers ContainerList) Names() []string
- func (list ContainerList) Replace(cont Container) (ContainerList, bool)
- func (list ContainerList) SemanticVersions() []string
- func (list ContainerList) VolumeMountsMap() map[string]model.ContainerVolume
- type PortMap
- type Ports
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Container ¶
type Container struct {
kubeModels.Container
}
func (Container) ConfigMountsMap ¶
func (container Container) ConfigMountsMap() map[string]kubeModels.ContainerVolume
func (Container) ConfigmapNames ¶
func (Container) MarshalJSON ¶
func (Container) MarshalYAML ¶
func (Container) RenderJSON ¶
func (Container) RenderTable ¶
func (Container) RenderYAML ¶
func (Container) SemanticVersion ¶
func (Container) TableHeaders ¶
func (Container) ToKube ¶
func (container Container) ToKube() kubeModels.Container
func (*Container) UnmarshalJSON ¶
func (*Container) UnmarshalYAML ¶
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
type Ports ¶
type Ports []model.ContainerPort
Click to show internal directories.
Click to hide internal directories.