cmd

package
v0.0.0-...-5253b6b Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const Group = "config.istio.io"

Group is the K8s API group.

View Source
const Version = "v1alpha2"

Version is the K8s API version.

Variables

This section is empty.

Functions

func GetRootCmd

func GetRootCmd(args []string, info map[string]template.Info, adapters []adapter.InfoFn,
	legacyAdapters []adapter.RegisterFn, printf, fatalf shared.FormatFn) *cobra.Command

GetRootCmd returns the root of the cobra command-tree.

Types

type ServerContext

type ServerContext struct {
	GP        *pool.GoroutinePool
	AdapterGP *pool.GoroutinePool
	Server    *grpc.Server
}

ServerContext exports Mixer Grpc server and internal GoroutinePools.

func SetupTestServer

func SetupTestServer(info map[string]template.Info, adapters []adapter.InfoFn, legacyAdapters []adapter.RegisterFn,
	configStoreURL string, configStore2URL string, configDefaultNamespace string, configIdentityAttribute,
	configIdentityAttributeDomain string, useAst bool) *ServerContext

SetupTestServer sets up a test server environment

Jump to

Keyboard shortcuts

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