Documentation
¶
Index ¶
Constants ¶
View Source
const DEFAULT_CLOUD_API_URL = "https://cloud.mify.io/api"
View Source
const DEFAULT_CLOUD_URL = "https://cloud.mify.io"
View Source
const DEFAULT_STATS_API_URL = "https://cloud.mify.io/api-stats"
Variables ¶
This section is empty.
Functions ¶
func GetCloudApiURL ¶ added in v0.1.4
func GetCloudApiURL() string
func GetCloudUrl ¶ added in v0.1.4
func GetCloudUrl() string
func GetStatsApiUrl ¶ added in v0.1.4
func GetStatsApiUrl() string
Types ¶
type CloudConfig ¶
type EnvVariable ¶
type ServiceCloudConfig ¶
type ServiceCloudConfig struct {
Domain ServiceCloudConfigDomain `yaml:"domain,omitempty"`
Presets map[string]string `yaml:"presets,omitempty"`
EnvVars map[string]EnvVariable `yaml:"env_vars,omitempty"`
Publish bool `yaml:"publish,omitempty"`
}
func ReadServiceCloudCfg ¶
func ReadServiceCloudCfg(path string) (*ServiceCloudConfig, error)
func (*ServiceCloudConfig) WriteToFile ¶
func (conf *ServiceCloudConfig) WriteToFile(path string) error
Click to show internal directories.
Click to hide internal directories.