Documentation
¶
Overview ¶
Copyright Contributors to the Open Cluster Management project
Copyright Contributors to the Open Cluster Management project ¶
Copyright Contributors to the Open Cluster Management project
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmd ¶
func NewCmd(cmFlags *genericclioptionscm.CMFlags, streams genericclioptions.IOStreams) *cobra.Command
NewCmd ...
Types ¶
type Options ¶
type Options struct {
//CMFlags: The generic optiosn from the cm cli-runtime.
CMFlags *genericclioptionscm.CMFlags
// list of cluster names (comma-separated)
Clusters string
// hibernate schedule on
HibernateScheduleOn bool
// hibernate schedule off
HibernateScheduleOff bool
// force the Hibernate setting however the hibernation cronjob is not present
HibernateScheduleForce bool
}
Click to show internal directories.
Click to hide internal directories.