app

package
v0.0.0-...-e0434a4 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2019 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main()

Types

type App

type App struct {
	RestConfig *rest.Config
	Logger     *zap.Logger
	Options    Options
}

func NewFromFlags

func NewFromFlags(flagset *flag.FlagSet, arguments []string) (*App, error)

func (*App) Run

func (a *App) Run(ctx context.Context) error

type Options

type Options struct {
	ServiceDescriptorName  string                     `json:"name"`
	ServiceDescriptor      *comp_v1.ServiceDescriptor `json:"service_descriptor"`
	Location               options.Location           `json:"location"`
	ExpectedProcessingTime time.Duration              `json:"expected_processing_time"`
	ServiceSpec            creator_v1.ServiceSpec     `json:"service_spec"`
}

Jump to

Keyboard shortcuts

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