Documentation ¶
Index ¶
- func GetCustomHostnameConfig(ctx context.Context, projectRef string) (*api.V1GetHostnameConfigResponse, error)
- func TranslateStatus(response *api.UpdateCustomHostnameResponse, includeRawOutput bool) (string, error)
- func VerifyCNAME(ctx context.Context, projectRef string, customHostname string) error
- type RawResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCustomHostnameConfig ¶
func TranslateStatus ¶
func TranslateStatus(response *api.UpdateCustomHostnameResponse, includeRawOutput bool) (string, error)
Types ¶
type RawResponse ¶
type RawResponse struct { Result struct { CustomOriginServer string `json:"custom_origin_server"` OwnershipVerification struct { Name string Type string Value string } `json:"ownership_verification"` Ssl struct { ValidationRecords []struct { Status string `json:"status"` TxtName string `json:"txt_name"` TxtValue string `json:"txt_value"` } `json:"validation_records"` ValidationErrors []struct { Message string `json:"message"` } `json:"validation_errors"` Status string `json:"status"` } } `json:"result"` }
Click to show internal directories.
Click to hide internal directories.