Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct {
Name string `json:"name"`
URL string `json:"url,omitempty"`
RegistryLogin *RegistryLogin `json:"registry_login,omitempty"`
Pods []Pod `json:"pods,omitempty"`
}
Application represents application configuration
type NexlayerYAML ¶
type NexlayerYAML struct {
Application Application `json:"application"`
}
NexlayerYAML represents the structure of a Nexlayer Deployment YAML file for templates
type Pod ¶
type Pod struct {
Name string `json:"name"`
Image string `json:"image"`
ServicePorts []int `json:"service_ports,omitempty"`
Env map[string]string `json:"env,omitempty"`
Volumes []Volume `json:"volumes,omitempty"`
}
Pod represents a pod configuration
type RegistryLogin ¶
type RegistryLogin struct {
URL string `json:"url"`
Registry string `json:"registry"`
Username string `json:"username"`
Password string `json:"password,omitempty"`
PersonalAccessToken string `json:"personal_access_token,omitempty"`
}
RegistryLogin represents registry authentication information
Click to show internal directories.
Click to hide internal directories.