app

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2018 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 added in v0.3.0

func NewVersionCommand() *cobra.Command

func Run

Types

type Info added in v0.3.0

type Info struct {
	Major      string `json:"major"`
	Minor      string `json:"minor"`
	GitCommit  string `json:"gitCommit"`
	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 added in v0.3.0

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