Documentation ¶
Index ¶
- Variables
- func CACertFile(name string) (*os.File, error)
- func CACertPath(name string) string
- func DefaultPath() string
- func Dir() string
- func HomeDir() string
- func RemoveGlobalGitConfig(gitURL string)
- func TokenCache() tokensource.Cache
- func WriteGlobalGitConfig(gitURL, caFile string) error
- type Cluster
- type Config
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoDockerPushURL = errors.New("ERROR: Docker push URL not configured, set it with 'flynn docker set-push-url'")
Functions ¶
func CACertPath ¶
func DefaultPath ¶
func DefaultPath() string
func RemoveGlobalGitConfig ¶
func RemoveGlobalGitConfig(gitURL string)
func TokenCache ¶
func TokenCache() tokensource.Cache
func WriteGlobalGitConfig ¶
Types ¶
type Cluster ¶
type Cluster struct { Name string `json:"name"` OAuthURL string `json:"oauth_url,omitempty" toml:"OAuthURL,omitempty"` Key string `json:"key,omitempty" toml:"Key,omitempty"` TLSPin string `json:"tls_pin" toml:"TLSPin,omitempty"` ControllerURL string `json:"controller_url"` GitURL string `json:"git_url"` ImageURL string `json:"image_url"` DockerPushURL string `json:"docker_push_url,omitempty" toml:"DockerPushURL,omitempty"` }
func (*Cluster) DockerPushHost ¶
type Config ¶
func (*Config) SetDefault ¶
Click to show internal directories.
Click to hide internal directories.