Documentation ¶
Index ¶
- func IsValidEndpointUrl(endpoint string) bool
- func IsValidService(service *sharedtypes.Service) bool
- func IsValidServiceId(serviceId string) bool
- func IsValidServiceName(serviceName string) bool
- func ValidateAppServiceConfigs(services []*sharedtypes.ApplicationServiceConfig) error
- func ValidateSupplierServiceConfigs(services []*sharedtypes.SupplierServiceConfig) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsValidEndpointUrl ¶
IsValidEndpointUrl checks if the provided string is a valid URL.
func IsValidService ¶
func IsValidService(service *sharedtypes.Service) bool
IsValidService checks if the provided ServiceId struct has valid fields TODO_TECHDEBT: Refactor to a `Service#ValidateBasic` method.
func IsValidServiceId ¶
IsValidServiceId checks if the input string is a valid serviceId TODO_TECHDEBT: Refactor to a `ServiceId#ValidateBasic` method.
func IsValidServiceName ¶
IsValidServiceName checks if the input string is a valid serviceName
func ValidateAppServiceConfigs ¶
func ValidateAppServiceConfigs(services []*sharedtypes.ApplicationServiceConfig) error
ValidateAppServiceConfigs returns an error if any of the application service configs are invalid
func ValidateSupplierServiceConfigs ¶
func ValidateSupplierServiceConfigs(services []*sharedtypes.SupplierServiceConfig) error
ValidateSupplierServiceConfigs returns an error if any of the supplier service configs are invalid
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.