print

package
v0.88.1 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 License: MIT Imports: 11 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 CreditsToDollarsDisplay added in v0.79.0

func CreditsToDollarsDisplay(credits int64) string

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 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 ModelCollections added in v0.77.0

func ModelCollections(outputFormat string, w *tabwriter.Writer, collections []types.ModelCollection) error

func Models added in v0.77.0

func Models(outputFormat string, w *tabwriter.Writer, models []types.Model) error

func Networks added in v0.85.0

func Networks(outputFormat string, w *tabwriter.Writer, networks []*types.Network, header bool) 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 NoNetworks added in v0.85.0

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

func NoVMVersions added in v0.82.0

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

func NoVMs added in v0.82.0

func NoVMs(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

func VM added in v0.82.0

func VM(outputFormat string, w *tabwriter.Writer, vm *types.VM) error

func VMPort added in v0.84.0

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

func VMPorts added in v0.84.0

func VMPorts(outputFormat string, w *tabwriter.Writer, ports []*types.VMPort, header bool) error

func VMVersions added in v0.82.0

func VMVersions(outputFormat string, w *tabwriter.Writer, versions []*types.VMVersion) error

func VMs added in v0.82.0

func VMs(outputFormat string, w *tabwriter.Writer, vms []*types.VM, header bool) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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