Documentation ¶
Index ¶
- Constants
- Variables
- func NewCmdTopImageStreams(f *clientcmd.Factory, parentName, name string, out io.Writer) *cobra.Command
- func NewCmdTopImages(f *clientcmd.Factory, parentName, name string, out io.Writer) *cobra.Command
- func NewCommandTop(name, fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command
- func Print(out io.Writer, headers []string, infos []Info)
- type Info
- type TopImageStreamsOptions
- type TopImagesOptions
Constants ¶
View Source
const ( ImageLayerEdgeKind = "ImageLayer" ImageTopLayerEdgeKind = "ImageTopLayer" ImageStreamImageEdgeKind = "ImageStreamImage" HistoricImageStreamImageEdgeKind = "HistoricImageStreamImage" PodImageEdgeKind = "PodImage" ParentImageEdgeKind = "ParentImage" )
View Source
const (
TopImageStreamsRecommendedName = "imagestreams"
)
View Source
const (
TopImagesRecommendedName = "images"
)
View Source
const (
TopRecommendedName = "top"
)
Variables ¶
View Source
var ImageColumns = []string{"NAME", "IMAGESTREAMTAG", "PARENTS", "USAGE", "METADATA", "STORAGE"}
View Source
var ImageStreamColumns = []string{"NAME", "STORAGE", "IMAGES", "LAYERS"}
Functions ¶
func NewCmdTopImageStreams ¶
func NewCmdTopImageStreams(f *clientcmd.Factory, parentName, name string, out io.Writer) *cobra.Command
NewCmdTopImageStreams implements the OpenShift cli top imagestreams command.
func NewCmdTopImages ¶
NewCmdTopImages implements the OpenShift cli top images command.
func NewCommandTop ¶
Types ¶
type TopImageStreamsOptions ¶
type TopImageStreamsOptions struct { // internal values Images *imageapi.ImageList Streams *imageapi.ImageStreamList // contains filtered or unexported fields }
func (*TopImageStreamsOptions) Complete ¶
func (o *TopImageStreamsOptions) Complete(f *clientcmd.Factory, cmd *cobra.Command, args []string, out io.Writer) error
Complete turns a partially defined TopImageStreamsOptions into a solvent structure which can be validated and used for showing limits usage.
func (TopImageStreamsOptions) Run ¶
func (o TopImageStreamsOptions) Run() error
Run contains all the necessary functionality to show current image references.
type TopImagesOptions ¶
type TopImagesOptions struct { // internal values Images *imageapi.ImageList Streams *imageapi.ImageStreamList Pods *kapi.PodList // contains filtered or unexported fields }
func (*TopImagesOptions) Complete ¶
func (o *TopImagesOptions) Complete(f *clientcmd.Factory, cmd *cobra.Command, args []string, out io.Writer) error
Complete turns a partially defined TopImagesOptions into a solvent structure which can be validated and used for showing limits usage.
func (TopImagesOptions) Run ¶
func (o TopImagesOptions) Run() error
Run contains all the necessary functionality to show current image references.
Click to show internal directories.
Click to hide internal directories.