예제 #1
0
파일: printer.go 프로젝트: lmiccini/origin
// RegisterPrintHandlers registers HumanReadablePrinter handlers for image and image repository resources.
func RegisterPrintHandlers(printer *kubecfg.HumanReadablePrinter) {
	printer.Handler(imageColumns, printImage)
	printer.Handler(imageColumns, printImageList)
	printer.Handler(imageRepositoryColumns, printImageRepository)
	printer.Handler(imageRepositoryColumns, printImageRepositoryList)
}
예제 #2
0
파일: printer.go 프로젝트: lmiccini/origin
// RegisterPrintHandlers registers HumanReadablePrinter handlers
// for build and buildConfig resources.
func RegisterPrintHandlers(printer *kubecfg.HumanReadablePrinter) {
	printer.Handler(buildColumns, printBuild)
	printer.Handler(buildColumns, printBuildList)
	printer.Handler(buildConfigColumns, printBuildConfig)
	printer.Handler(buildConfigColumns, printBuildConfigList)
}