app

package
v0.0.0-...-174afc0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package app will instantiate and run the maya-agent in the context of the Container Orchestrator

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 NewCmdOptions

func NewCmdOptions() *cobra.Command

NewCmdOptions creates an options Cobra command to return usage

func NewMayaAgent

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

Create a new maya-agent. This cmd includes logging, cmd option parsing from flags

func Run

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

Run maya-agent

Types

type MayaAgentOptions

type MayaAgentOptions struct {
	KubeConfig string
	Namespace  string
}

Define a type for the options of MayaAgent

Jump to

Keyboard shortcuts

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