commands

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultSchedulerProfileName  = "topology-aware-scheduler"
	DefaultSchedulerResyncPeriod = 5 * time.Second
	DefaultUpdaterSyncPeriod     = 10 * time.Second
)

TODO: move elsewhere

Variables

This section is empty.

Functions

func InitFlags added in v0.6.3

func InitFlags(flags *pflag.FlagSet, commonOpts *options.Options, internalOpts *internalOptions)

func NewDeployAPICommand

func NewDeployAPICommand(env *deployer.Environment, commonOpts *options.Options) *cobra.Command

func NewDeployCommand

func NewDeployCommand(env *deployer.Environment, commonOpts *options.Options) *cobra.Command

func NewDeploySchedulerPluginCommand

func NewDeploySchedulerPluginCommand(env *deployer.Environment, commonOpts *options.Options) *cobra.Command

func NewDeployTopologyUpdaterCommand

func NewDeployTopologyUpdaterCommand(env *deployer.Environment, commonOpts *options.Options) *cobra.Command

func NewDetectCommand

func NewDetectCommand(env *deployer.Environment, commonOpts *options.Options) *cobra.Command

func NewImagesCommand

func NewImagesCommand(env *deployer.Environment, commonOpts *options.Options) *cobra.Command

func NewRemoveAPICommand

func NewRemoveAPICommand(env *deployer.Environment, commonOpts *options.Options) *cobra.Command

func NewRemoveCommand

func NewRemoveCommand(env *deployer.Environment, commonOpts *options.Options) *cobra.Command

func NewRemoveSchedulerPluginCommand

func NewRemoveSchedulerPluginCommand(env *deployer.Environment, commonOpts *options.Options) *cobra.Command

func NewRemoveTopologyUpdaterCommand

func NewRemoveTopologyUpdaterCommand(env *deployer.Environment, commonOpts *options.Options) *cobra.Command

func NewRenderAPICommand

func NewRenderAPICommand(env *deployer.Environment, commonOpts *options.Options, opts *options.Scheduler) *cobra.Command

func NewRenderCommand

func NewRenderCommand(env *deployer.Environment, commonOpts *options.Options) *cobra.Command

func NewRenderPolicyCommand added in v0.17.3

func NewRenderPolicyCommand(env *deployer.Environment, commonOpts *options.Options, opts *options.Scheduler) *cobra.Command

func NewRenderSchedulerPluginCommand

func NewRenderSchedulerPluginCommand(env *deployer.Environment, commonOpts *options.Options, opts *options.Scheduler) *cobra.Command

func NewRenderTopologyUpdaterCommand

func NewRenderTopologyUpdaterCommand(env *deployer.Environment, commonOpts *options.Options, opts *options.Scheduler) *cobra.Command

func NewRootCommand

func NewRootCommand(extraCmds ...NewCommandFunc) *cobra.Command

NewRootCommand returns entrypoint command to interact with all other commands

func NewSetupCommand

func NewSetupCommand(env *deployer.Environment, commonOpts *options.Options) *cobra.Command

func NewValidateCommand

func NewValidateCommand(env *deployer.Environment, commonOpts *options.Options) *cobra.Command

func PostSetupOptions added in v0.6.3

func PostSetupOptions(env *deployer.Environment, commonOpts *options.Options, internalOpts *internalOptions) error

func RenderManifests added in v0.6.3

func RenderManifests(env *deployer.Environment, commonOpts *options.Options) error

func ShowHelp

func ShowHelp(cmd *cobra.Command, args []string) error

Types

type ImagesOptions added in v0.6.3

type ImagesOptions struct {
	// contains filtered or unexported fields
}

type NewCommandFunc

type NewCommandFunc func(ev *deployer.Environment, ko *options.Options) *cobra.Command

type ValidateOutputMode added in v0.10.0

type ValidateOutputMode int
const (
	ValidateOutputNone ValidateOutputMode = iota
	ValidateOutputText
	ValidateOutputJSON
	ValidateOutputLog
)

Jump to

Keyboard shortcuts

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