Documentation ¶
Index ¶
- Constants
- Variables
- func NewCmdTopImageStreams(f kcmdutil.Factory, parentName, name string, ...) *cobra.Command
- func NewCmdTopImages(f kcmdutil.Factory, parentName, name string, ...) *cobra.Command
- func NewCommandTop(name, fullName string, f cmdutil.Factory, streams genericclioptions.IOStreams) *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 ( TopRecommendedName = "top" DefaultHeapsterNamespace = "openshift-infra" DefaultHeapsterScheme = "https" DefaultHeapsterService = "heapster" )
View Source
const TopImageStreamsRecommendedName = "imagestreams"
View Source
const (
TopImagesRecommendedName = "images"
)
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 kcmdutil.Factory, parentName, name string, streams genericclioptions.IOStreams) *cobra.Command
NewCmdTopImageStreams implements the OpenShift cli top imagestreams command.
func NewCmdTopImages ¶
func NewCmdTopImages(f kcmdutil.Factory, parentName, name string, streams genericclioptions.IOStreams) *cobra.Command
NewCmdTopImages implements the OpenShift cli top images command.
func NewCommandTop ¶
Types ¶
type TopImageStreamsOptions ¶
type TopImageStreamsOptions struct { // internal values Images *imageapi.ImageList Streams *imageapi.ImageStreamList genericclioptions.IOStreams }
func NewTopImageStreamsOptions ¶
func NewTopImageStreamsOptions(streams genericclioptions.IOStreams) *TopImageStreamsOptions
func (*TopImageStreamsOptions) Complete ¶
func (o *TopImageStreamsOptions) Complete(f kcmdutil.Factory, cmd *cobra.Command, args []string) 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 genericclioptions.IOStreams }
func NewTopImagesOptions ¶
func NewTopImagesOptions(streams genericclioptions.IOStreams) *TopImagesOptions
func (*TopImagesOptions) Complete ¶
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.