options

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 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 AWS

type AWS struct {
	Secret   bool `yaml:"secret"`
	Upstream bool `yaml:"upstream"`
}

type Build

type Build struct {
	File    string
	Version string
	// if true, then don't push images to docker repo
	SkipDockerPush bool
}

type Cluster

type Cluster struct {
	Minikube    Minikube `yaml:"minikube"`
	GKE         GKE      `yaml:"gke"`
	Type        string   `yaml:"type"`
	KubeVersion string   `yaml:"kube_version"`
}

type DNS

type DNS struct {
	// The hosted zone to use for the DNS entry. This is required and must match the name of a hosted zone in Route53.
	// Valet will use the AWS credentials provided in AWS_SHARED_CREDENTIALS_FILE.
	// The credentials must have the following AWS privileges:
	//   route53:ChangeResourceRecordSets
	//   route53:ListHostedZones
	HostedZone string `yaml:"hosted_zone"`
	// The domain to map to the proxy URL. This is optional. If no value is provided, then a domain will be autogenerated
	// in the form: valet-########.HOSTED_ZONE
	Domain string `yaml:"domain"`
}

type Demos

type Demos struct {
	Petclinic *Petclinic `yaml:"petclinic"`
}

type Ensure

type Ensure struct {
	File      string
	Cluster   Cluster
	Gloo      Gloo
	Demos     Demos
	Resources []string
}

type GKE

type GKE struct {
	Name     string `yaml:"name"`
	Location string `yaml:"location"`
	Project  string `yaml:"project"`
}

type Gloo

type Gloo struct {
	Version          string `yaml:"version"`
	Enterprise       bool   `yaml:"enterprise"`
	ValetArtifacts   bool   `yaml:"valetArtifacts"`
	LocalArtifactDir string `yaml:"localArtifactDir"`
	LicenseKey       string `yaml:"license_key"`
	AWS              AWS    `yaml:"aws"`
	// If present, a virtual service will be created called "glooui".
	UiVirtualService *UiVirtualService `yaml:"ui_virtual_service"`
}

type Minikube

type Minikube struct{}

type Options

type Options struct {
	Ensure Ensure
	Build  Build
	Top    Top
}

type Petclinic

type Petclinic struct {
	DNS *DNS `yaml:"dns"`
}

type Top

type Top struct {
	Ctx context.Context
}

type UiVirtualService

type UiVirtualService struct {
	// If nil, the default domain "*" is used. Otherwise, a DNS entry is created in Route53
	// with the provided DNS configuration.
	DNS *DNS `yaml:"dns"`
}

Jump to

Keyboard shortcuts

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