printer

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SelectorType        = "labels"
	MatchExpressionType = "expressions"
	MatchFieldType      = "fields"
)

Variables

View Source
var ExportResource = printer.ExportResource
View Source
var FindCondition = printer.FindCondition
View Source
var OutputFormatJson = printer.OutputFormatJson
View Source
var OutputFormatYaml = printer.OutputFormatYaml
View Source
var OutputFormatYml = printer.OutputFormatYml
View Source
var OutputResource = printer.OutputResource
View Source
var ResourceDiff = printer.ResourceDiff
View Source
var ResourceStatus = printer.ResourceStatus
View Source
var Serrorf = printer.Serrorf
View Source
var SortByNamespaceAndName = printer.SortByNamespaceAndName

Functions

func AddPaddingStart added in v0.9.0

func AddPaddingStart(text string) string

func ClusterSupplyChainPrinter added in v0.7.0

func ClusterSupplyChainPrinter(w io.Writer, clustersupplychain *cartov1alpha1.ClusterSupplyChain) error

func DeliverableIssuesPrinter added in v0.9.0

func DeliverableIssuesPrinter(w io.Writer, deliverable *cartov1alpha1.Deliverable) error

func DeliverableResourcesPrinter added in v0.9.0

func DeliverableResourcesPrinter(w io.Writer, deliverable *cartov1alpha1.Deliverable) error

func DeliveryInfoPrinter added in v0.9.0

func DeliveryInfoPrinter(w io.Writer, deliverable *cartov1alpha1.Deliverable) error

func KnativeServicePrinter

func KnativeServicePrinter(c *cli.Config, kserviceList *knativeservingv1.ServiceList) error

func PodTablePrinter

func PodTablePrinter(c *cli.Config, tableResult runtime.Object) error

func PrintLocalSourceProxyStatus added in v0.12.0

func PrintLocalSourceProxyStatus(w io.Writer, printType string, s lsp.HealthStatus) error

func WorkloadIssuesPrinter added in v0.7.0

func WorkloadIssuesPrinter(w io.Writer, workload *cartov1alpha1.Workload) error

func WorkloadLocalSourceImagePrinter added in v0.6.0

func WorkloadLocalSourceImagePrinter(w io.Writer, workload *cartov1alpha1.Workload) error

func WorkloadOverviewPrinter added in v0.8.0

func WorkloadOverviewPrinter(w io.Writer, workload *cartov1alpha1.Workload) error

func WorkloadResourcesPrinter added in v0.7.0

func WorkloadResourcesPrinter(w io.Writer, workload *cartov1alpha1.Workload) error

func WorkloadSourceGitPrinter added in v0.6.0

func WorkloadSourceGitPrinter(w io.Writer, workload *cartov1alpha1.Workload) error

func WorkloadSourceImagePrinter added in v0.6.0

func WorkloadSourceImagePrinter(w io.Writer, workload *cartov1alpha1.Workload) error

func WorkloadSupplyChainInfoPrinter added in v0.7.0

func WorkloadSupplyChainInfoPrinter(w io.Writer, workload *cartov1alpha1.Workload) error

Types

type Object

type Object = printer.Object

type OutputFormat

type OutputFormat = printer.OutputFormat

Jump to

Keyboard shortcuts

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