print

package
v0.53.2 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: MIT Imports: 10 Imported by: 2

Documentation

Overview

Package print contains templates for printing Vendor API types.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apps added in v0.7.0

func Apps(w *tabwriter.Writer, apps []types.AppAndChannels) error

func ChannelAdoption

func ChannelAdoption(w *tabwriter.Writer, adoption *channels.ChannelAdoption) error

func ChannelAttrs

func ChannelAttrs(outputFormat string,
	w *tabwriter.Writer,
	appType string,
	appSlug string,
	appChan *types.Channel,
) error

func ChannelReleases

func ChannelReleases(w *tabwriter.Writer, releases []channels.ChannelRelease) error

func Channels

func Channels(w *tabwriter.Writer, channels []types.Channel) error

func Cluster added in v0.45.0

func Cluster(outputFormat string, w *tabwriter.Writer, cluster *types.Cluster) error

func ClusterVersions added in v0.50.0

func ClusterVersions(outputFormat string, w *tabwriter.Writer, clusters []*types.ClusterVersion) error

func Clusters added in v0.44.0

func Clusters(outputFormat string, w *tabwriter.Writer, clusters []*types.Cluster) error

func Collector added in v0.12.0

func Collector(w *tabwriter.Writer, collector *collectors.AppCollectorInfo) error

func Collectors added in v0.12.0

func Collectors(w *tabwriter.Writer, appCollectors []types.CollectorInfo) error

func Customer added in v0.45.0

func Customer(outputFormat string, w *tabwriter.Writer, customer *types.Customer) error

func CustomerAttrs added in v0.52.0

func CustomerAttrs(outputFormat string,
	w *tabwriter.Writer,
	appType string,
	appSlug string,
	ch *types.KotsChannel,
	registryHostname string,
	cust *types.Customer,
) error

func Customers added in v0.18.0

func Customers(outputFormat string, w *tabwriter.Writer, customers []types.Customer) error

func CustomersWithInstances added in v0.51.0

func CustomersWithInstances(outputFormat string, w *tabwriter.Writer, customers []types.Customer) error

func EnterpriseChannel added in v0.22.0

func EnterpriseChannel(w *tabwriter.Writer, channel *enterprisetypes.Channel) error

func EnterpriseChannels added in v0.22.0

func EnterpriseChannels(w *tabwriter.Writer, channels []*enterprisetypes.Channel) error

func EnterpriseInstaller added in v0.23.0

func EnterpriseInstaller(w *tabwriter.Writer, installer *enterprisetypes.Installer) error

func EnterpriseInstallers added in v0.23.0

func EnterpriseInstallers(w *tabwriter.Writer, installers []*enterprisetypes.Installer) error

func EnterprisePolicies added in v0.22.0

func EnterprisePolicies(w *tabwriter.Writer, policies []*enterprisetypes.Policy) error

func EnterprisePolicy added in v0.22.0

func EnterprisePolicy(w *tabwriter.Writer, policy *enterprisetypes.Policy) error

func Installers added in v0.21.0

func Installers(w *tabwriter.Writer, appReleases []types.InstallerSpec) error

func LicenseCounts

func LicenseCounts(w *tabwriter.Writer, counts *channels.LicenseCounts) error

func LintErrors added in v0.8.0

func LintErrors(w *tabwriter.Writer, lintErrors []types.LintMessage) error

func NoClusterVersions added in v0.50.0

func NoClusterVersions(outputFormat string, w *tabwriter.Writer) error

func NoClusters added in v0.44.0

func NoClusters(outputFormat string, w *tabwriter.Writer) error

func PlatformChannels added in v0.7.0

func PlatformChannels(w *tabwriter.Writer, channels []platformChannels.AppChannel) error

func Registries added in v0.40.4

func Registries(w *tabwriter.Writer, registries []types.Registry) error

func RegistryLogs added in v0.40.4

func RegistryLogs(w *tabwriter.Writer, logs []types.RegistryLog) error

func Release

func Release(w *tabwriter.Writer, release *releases.AppRelease) error

func Releases

func Releases(w *tabwriter.Writer, appReleases []types.ReleaseInfo) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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