print

package
v0.73.2 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 12 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 Addon added in v0.72.0

func Addon(outputFormat string, w *tabwriter.Writer, addon *types.ClusterAddon) error

func Addons added in v0.72.0

func Addons(outputFormat string, w *tabwriter.Writer, addons []*types.ClusterAddon, header bool) error

func Apps added in v0.7.0

func Apps(outputFormat string, 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(outputFormat string, 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 ClusterPort added in v0.71.0

func ClusterPort(outputFormat string, w *tabwriter.Writer, port *types.ClusterPort) error

func ClusterPorts added in v0.71.0

func ClusterPorts(outputFormat string, w *tabwriter.Writer, ports []*types.ClusterPort, header bool) 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, header bool) error

func Collector added in v0.12.0

func Collector(w *tabwriter.Writer, collector *types.CollectorSpec) error

func Collectors added in v0.12.0

func Collectors(w *tabwriter.Writer, appCollectors []types.CollectorSpec) 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(outputFormat string, w *tabwriter.Writer, channel *enterprisetypes.Channel) error

func EnterpriseChannels added in v0.22.0

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

func EnterpriseInstaller added in v0.23.0

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

func EnterpriseInstallers added in v0.23.0

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

func EnterprisePolicies added in v0.22.0

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

func EnterprisePolicy added in v0.22.0

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

func Installers added in v0.21.0

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

func Instance added in v0.64.0

func Instance(outputFormat string, w *tabwriter.Writer, instance types.Instance) error

func Instances added in v0.64.0

func Instances(outputFormat string, w *tabwriter.Writer, instances []types.Instance) error

func LicenseCounts

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

func LintErrors added in v0.8.0

func LintErrors(outputFormat string, 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 NodeGroups added in v0.66.0

func NodeGroups(outputFormat string, w *tabwriter.Writer, nodeGroups []*types.NodeGroup) 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(outputFormat string, 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 *types.AppRelease) error

func Releases

func Releases(outputFormat string, 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