Documentation ¶
Index ¶
- func AllStrings(vs []string, f func(string) bool) bool
- func IsValidTag(tag string) bool
- func ValidateAdditionalNTPSource(commaSeparatedNTPSources string) bool
- func ValidateCaCertificate(certificate string) error
- func ValidateDomainNameFormat(dnsDomainName string) (int32, error)
- func ValidateHTTPFormat(theurl string) error
- func ValidateHTTPProxyFormat(proxyURL string) error
- func ValidateHostname(name string) error
- func ValidateInstallerArgs(args []string) error
- func ValidateNTPSource(ntpSource string) bool
- func ValidateNoProxyFormat(noProxy string) error
- func ValidateTags(tags string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsValidTag ¶
func ValidateCaCertificate ¶
ValidateCaCertificate ensures the specified base64 CA certificate is valid by trying to decode and parse it.
func ValidateHTTPFormat ¶
ValidateHTTPFormat validates the HTTP and HTTPS format
func ValidateHTTPProxyFormat ¶
ValidateHTTPProxyFormat validates the HTTP Proxy and HTTPS Proxy format
func ValidateHostname ¶
func ValidateInstallerArgs ¶
func ValidateNTPSource ¶
func ValidateNoProxyFormat ¶
ValidateNoProxyFormat validates the no-proxy format which should be a comma-separated list of destination domain names, domains, IP addresses or other network CIDRs. A domain can be prefaced with '.' to include all subdomains of that domain.
func ValidateTags ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.