app

package
v0.0.0-...-3dc4fa0 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: 11 Imported by: 0

Documentation

Overview

Package app implements a Server object for running the descheduler.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDeschedulerCommand

func NewDeschedulerCommand(out io.Writer) *cobra.Command

NewDeschedulerCommand creates a *cobra.Command object with default parameters

func NewVersionCommand

func NewVersionCommand() *cobra.Command

func Run

Types

type Info

type Info struct {
	Major      string `json:"major"`
	Minor      string `json:"minor"`
	GitVersion string `json:"gitVersion"`
	BuildDate  string `json:"buildDate"`
	GoVersion  string `json:"goVersion"`
	Compiler   string `json:"compiler"`
	Platform   string `json:"platform"`
}

Info holds the information related to descheduler app version.

func Get

func Get() Info

Get returns the overall codebase version. It's for detecting what code a binary was built from.

Directories

Path Synopsis
Package options provides the descheduler flags
Package options provides the descheduler flags

Jump to

Keyboard shortcuts

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