managed

package
v0.0.0-...-2911148 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Flags

type Flags struct {
	DefaultVersion string
	Version        string
	Dir            string
	ConfigFile     string
	// Titleize allows to override the titleize. You want to use this, e.g. for preserving casing
	// for xDS (the default titleize gives Xds).
	Titleize func(string) string
	// contains filtered or unexported fields
}

Flags holds common flags that can be shared across services.

func (*Flags) IsDisabled

func (m *Flags) IsDisabled() bool

IsDisabled returns true when a managed service is disabled.

func (*Flags) Manage

func (m *Flags) Manage(flags *run.FlagSet, g *run.Group, s run.Service)

Manage delegate disabled checking to this object.

Jump to

Keyboard shortcuts

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