options

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RegistryDefaults = Registry{
	GithubRegistry: v1.GithubRepositoryLocation{
		Org:       "solo-io",
		Repo:      "service-mesh-hub",
		Ref:       "better-layering-aug",
		Directory: "meshes/v1",
	},
}
View Source
var ValidateDefaults = Validate{
	ManifestFilepath: "",
	ApplicationName:  "",
	ApplicationType:  v1.ApplicationType_EXTENSION.String(),
	Version:          "",
	Flavor:           "",
	PrintManifest:    false,
	MeshName:         "mesh-name",
	MeshNamespace:    "default",
	InstallNamespace: "default",
}

Functions

func MustGetSpecReader added in v0.0.4

func MustGetSpecReader(o *Options) registry.SpecReader

Types

type Options

type Options struct {
	Ctx              context.Context
	Validate         Validate
	Registry         Registry
	InstallNamespace string
	InstallSpecFile  string
	ManifestFile     string
}

func InitializeOptions

func InitializeOptions(ctx context.Context) *Options

type Registry added in v0.0.3

type Registry struct {
	LocalDirectory string
	GithubRegistry v1.GithubRepositoryLocation
}

type Validate

type Validate struct {
	ManifestFilepath string
	ApplicationName  string
	ApplicationType  string
	Version          string
	Flavor           string
	PrintManifest    bool
	MeshName         string
	MeshNamespace    string
	InstallNamespace string
}

Jump to

Keyboard shortcuts

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