Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildK8sDeploy ¶
func BuildLocal ¶
Types ¶
type K8sDeploy ¶
type K8sDeploy struct {
APIAddress string `env:"API_ADDRESS" envDefault:"https://api.k8sdeploy.dev/v1"`
SocketAddress string `env:"SOCKET_ADDRESS" envDefault:"https://sockets.chewedfeed.com"`
Key string `env:"K8SDEPLOY_API_KEY" envDefault:""`
Secret string `env:"K8SDEPLOY_API_SECRET" envDefault:""`
CompanyID string `env:"K8SDEPLOY_COMPANY_ID" envDefault:""`
}
type Local ¶
type Local struct {
KeepLocal bool `env:"LOCAL_ONLY" envDefault:"false" json:"keep_local,omitempty"`
Development bool `env:"DEVELOPMENT" envDefault:"false" json:"development,omitempty"`
HTTPPort int `env:"HTTP_PORT" envDefault:"3000" json:"port,omitempty"`
SelfUpdate bool `env:"SELF_UPDATE" envDefault:"true" json:"self_update,omitempty"`
BuildVersion string
}
Click to show internal directories.
Click to hide internal directories.