recommendationRule

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdRecommendationRuleCreate

func NewCmdRecommendationRuleCreate() *cobra.Command

func NewCmdRecommendationRuleList

func NewCmdRecommendationRuleList() *cobra.Command

Types

type RecommendationRuleCreateOptions

type RecommendationRuleCreateOptions struct {
	CommonOptions *options.CommonOptions

	Recommender string
	Target      string
	RunInterval string
	DryRun      bool
	Name        string

	ResourceSelectors []v1alpha1.ResourceSelector
}

func NewRecommendationRuleCreateOptions

func NewRecommendationRuleCreateOptions() *RecommendationRuleCreateOptions

func (*RecommendationRuleCreateOptions) AddFlags

func (o *RecommendationRuleCreateOptions) AddFlags(cmd *cobra.Command)

func (*RecommendationRuleCreateOptions) Complete

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

func (*RecommendationRuleCreateOptions) Run

func (*RecommendationRuleCreateOptions) Validate

func (o *RecommendationRuleCreateOptions) Validate() error

type RecommendationRuleListOptions

type RecommendationRuleListOptions struct {
	CommonOptions *options.CommonOptions

	Name        string
	Recommender string
}

func NewRecommendationRuleListOptions

func NewRecommendationRuleListOptions() *RecommendationRuleListOptions

func (*RecommendationRuleListOptions) AddFlags

func (o *RecommendationRuleListOptions) AddFlags(cmd *cobra.Command)

func (*RecommendationRuleListOptions) Complete

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

func (*RecommendationRuleListOptions) Run

func (*RecommendationRuleListOptions) Validate

func (o *RecommendationRuleListOptions) Validate() error

Jump to

Keyboard shortcuts

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