options

package
v0.0.1-initial-api Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ValidateDefaults = Validate{
	ManifestFilepath: "",
	ApplicationName:  "",
	ApplicationType:  v1.ApplicationType_EXTENSION.String(),
	Version:          "",
	Flavor:           "",
	PrintManifest:    false,
	MeshName:         "mesh-name",
	MeshNamespace:    "default",
	InstallNamespace: "default",
}

Functions

This section is empty.

Types

type Options

type Options struct {
	Ctx      context.Context
	Validate Validate
}

func InitializeOptions

func InitializeOptions(ctx context.Context) *Options

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