config

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2019 License: Apache-2.0 Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsBehindProxy added in v0.0.15

func IsBehindProxy() bool

Types

type Config

type Config struct {
	BoshDirectorIP         string
	CFRouterIP             string
	HostIP                 string
	CFDevHome              string
	StateDir               string
	StateBosh              string
	StateLinuxkit          string
	CacheDir               string
	BinaryDir              string
	VpnKitStateDir         string
	LogDir                 string
	Dependencies           resource.Catalog
	CFDevDSocketPath       string
	CFDevDInstallationPath string
	CliVersion             *Version
	BuildVersion           string
	AnalyticsKey           string
	ServicesDir            string
	DaemonDir              string
	CFDomain               string
}

func NewConfig

func NewConfig() (Config, error)

func (*Config) BuildProxyConfig added in v0.0.15

func (c *Config) BuildProxyConfig() ProxyConfig

type ProxyConfig added in v0.0.15

type ProxyConfig struct {
	Http    string `json:"http,omitempty"`
	Https   string `json:"https,omitempty"`
	NoProxy string `json:"exclude,omitempty"`
}

type Version added in v0.0.15

type Version struct {
	Major    int
	Minor    int
	Build    int
	Original string
}

func NewSemver added in v0.0.15

func NewSemver(v string) (*Version, error)

Jump to

Keyboard shortcuts

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