servicemesh

package
v0.0.310 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {

	// istio pilot discovery service url
	IstioPilotHost string `json:"istioPilotHost,omitempty" yaml:"istioPilotHost"`

	// jaeger query service url
	JaegerQueryHost string `json:"jaegerQueryHost,omitempty" yaml:"jaegerQueryHost"`

	// kiali query service url
	KialiQueryHost string `json:"kialiQueryHost,omitempty" yaml:"kialiQueryHost"`

	// prometheus service url for servicemesh metrics
	ServicemeshPrometheusHost string `json:"servicemeshPrometheusHost,omitempty" yaml:"servicemeshPrometheusHost"`
}

func NewServiceMeshOptions

func NewServiceMeshOptions() *Options

NewServiceMeshOptions returns a `zero` instance

func (*Options) AddFlags

func (s *Options) AddFlags(fs *pflag.FlagSet, c *Options)

func (*Options) ApplyTo

func (s *Options) ApplyTo(options *Options)

func (*Options) Validate

func (s *Options) Validate() []error

Jump to

Keyboard shortcuts

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