Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = ""
Version of cfseeker gets set here
Functions ¶
This section is empty.
Types ¶
type BOSHConfig ¶
type BOSHConfig struct { APIAddress string `yaml:"api_address"` Username string `yaml:"username"` Password string `yaml:"password"` ClientID string `yaml:"client_id"` ClientSecret string `yaml:"client_secret"` SkipSSLValidation bool `yaml:"skip_ssl_validation"` Deployments []string `yaml:"deployments"` SkipBOSH bool `yaml:"skip_bosh"` }
BOSHConfig contains location, auth, and tracking info for your BOSH.
type BasicAuthConfig ¶ added in v0.2.0
BasicAuthConfig lets you set up basic auth for your API
type CFConfig ¶
type CFConfig struct { APIAddress string `yaml:"api_address"` ClientID string `yaml:"client_id"` ClientSecret string `yaml:"client_secret"` SkipSSLValidation bool `yaml:"skip_ssl_validation"` }
CFConfig contains location and authorization info about a target Cloud Foundry
type Config ¶
type Config struct { CF CFConfig `yaml:"cf"` BOSH BOSHConfig `yaml:"bosh"` Server ServerConfig `yaml:"server"` HTTPTimeout int `yaml:"http_timeout"` }
Config contains all the information needed for the seeker backend to operate
type ServerConfig ¶ added in v0.2.0
type ServerConfig struct { BasicAuth BasicAuthConfig `yaml:"basic_auth"` Port int `yaml:"port"` NoAuth bool `yaml:"no_auth"` CacheTTL int `yaml:"cache_ttl"` //in seconds }
ServerConfig has the info needed specifically for running in server mode
Click to show internal directories.
Click to hide internal directories.