Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewJanitorCommand ¶
func NewJanitorCommand() *cobra.Command
NewJanitorCommand provides the base command when called without any subcommands.
Types ¶
type FailedJobsOptions ¶
type FailedJobsOptions struct {
JanitorOptions
}
FailedJobsOptions embeds JanitorOptions struct.
type JanitorOptions ¶
type JanitorOptions struct {
Streams genericclioptions.IOStreams
ConfigFlags *genericclioptions.ConfigFlags
ResourceBuilderFlags *genericclioptions.ResourceBuilderFlags
// contains filtered or unexported fields
}
JanitorOptions holds user configuration options. setting up the CLI and the connection to the cluster.
func NewJanitorOptions ¶
func NewJanitorOptions() JanitorOptions
NewJanitorOptions provides an instance of JanitorOptions with default values.
type PendingPVCsOptions ¶
type PendingPVCsOptions struct {
JanitorOptions
}
PendingPVCsOptions embeds JanitorOptions struct.
type StatusPodsOptions ¶
type StatusPodsOptions struct {
JanitorOptions
}
StatusPodsOptions embeds JanitorOptions struct.
type UnclaimedPVsOptions ¶
type UnclaimedPVsOptions struct {
JanitorOptions
}
UnclaimedPVsOptions embeds JanitorOptions struct.
type UnhealthyPodsOptions ¶
type UnhealthyPodsOptions struct {
JanitorOptions
}
UnhealthyPodsOptions embeds JanitorOptions struct.
type UnreadyPodsOptions ¶
type UnreadyPodsOptions struct {
JanitorOptions
}
UnreadyPodsOptions embeds JanitorOptions struct.
type UnscheduledPodsOptions ¶
type UnscheduledPodsOptions struct {
JanitorOptions
}
UnscheduledPodsOptions embeds JanitorOptions struct.
Click to show internal directories.
Click to hide internal directories.