Documentation
¶
Index ¶
Constants ¶
View Source
const (
NoReleaseServiceID string = "NoReleaseServiceID"
)
View Source
const SpickSpanConfigFile = "spickspan.json"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudProvider ¶
type Model ¶
type Model struct { Version string `json:"version"` CloudProvider CloudProvider `json:"cloud_provider"` Services map[string]Service `json:"services"` }
func CreateApiGatewayConfigModel ¶
func CreateApiGatewayConfigModel() Model
func CreateTestConfigModel ¶
func ParseConfigFile ¶
type Service ¶
type Service struct { ServiceName string `json:"service_name"` Port int `json:"port"` Protocol string `json:"protocol"` ProjectSrcRoot string `json:"project_src_root"` //source service only ContainerImage string `json:"container_image"` //built service only IP string `json:"ip"` //deployed service only }
There are three kinds of services: source, built and deployed services.
func (Service) IsSourceProject ¶
Click to show internal directories.
Click to hide internal directories.