cmd

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2017 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddKubeConfigFlag

func AddKubeConfigFlag(cmd *cobra.Command, value *string)

func AddNamespaceFlag

func AddNamespaceFlag(cmd *cobra.Command, value *string)

func AddPrometheusFlag

func AddPrometheusFlag(cmd *cobra.Command, value *string)

func NewCmdMemHogOperator

func NewCmdMemHogOperator() (*cobra.Command, error)

Create a new command for the memhog-operator. This cmd includes logging, cmd option parsing from flags, and the customization of the Tectonic assets.

func NewCmdOptions

func NewCmdOptions() *cobra.Command

NewCmdOptions creates an options Cobra command to return usage

func Run

func Run(cmd *cobra.Command, options *MemHogOperatorOptions) error

Run the customization of the Tectonic assets

Types

type MemHogOperatorOptions

type MemHogOperatorOptions struct {
	KubeConfig     string
	Namespace      string
	PrometheusAddr string
}

Define a type for the options of MemHogOperator

Jump to

Keyboard shortcuts

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