report

package
v1.1.16 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: Apache-2.0 Imports: 13 Imported by: 3 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClusterReportCommand

func NewClusterReportCommand() *cobra.Command

NewClusterReportCommand creates a command that generates and outputs the cluster report.

func NewDeprovisioningReportCommand

func NewDeprovisioningReportCommand() *cobra.Command

NewDeprovisioningReportCommand creates a command that generates and outputs the cluster report.

func NewProvisioningReportCommand

func NewProvisioningReportCommand() *cobra.Command

NewProvisioningReportCommand creates a command that generates and outputs the cluster report.

Types

type DeprovisioningReportOptions

type DeprovisioningReportOptions struct {
	// ClusterType filters the report to only clusters of the given type.
	ClusterType string
}

DeprovisioningReportOptions is the set of options for the desired report.

func (*DeprovisioningReportOptions) Complete

func (o *DeprovisioningReportOptions) Complete(cmd *cobra.Command, args []string) error

Complete finishes parsing arguments for the command

func (*DeprovisioningReportOptions) Run

func (o *DeprovisioningReportOptions) Run(dynClient client.Client) error

Run executes the command

func (*DeprovisioningReportOptions) Validate

func (o *DeprovisioningReportOptions) Validate(cmd *cobra.Command) error

Validate ensures that option values make sense

type ProvisioningReportOptions

type ProvisioningReportOptions struct {
	// AgeLT is a duration to filter to cluster created less than this duration ago.
	AgeLT string
	// AgeGT is a duration to filter to cluster created more than this duration ago.
	AgeGT string
	// ClusterType filters the report to only clusters of the given type.
	ClusterType string
}

ProvisioningReportOptions is the set of options for the desired report.

func (*ProvisioningReportOptions) Complete

func (o *ProvisioningReportOptions) Complete(cmd *cobra.Command, args []string) error

Complete finishes parsing arguments for the command

func (*ProvisioningReportOptions) Run

func (o *ProvisioningReportOptions) Run(dynClient client.Client) error

Run executes the command

func (*ProvisioningReportOptions) Validate

func (o *ProvisioningReportOptions) Validate(cmd *cobra.Command) error

Validate ensures that option values make sense

Jump to

Keyboard shortcuts

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