Documentation
¶
Overview ¶
Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead
Index ¶
- Constants
- func CreateCDNCustomDomainWaitHandler(ctx context.Context, a APIClientInterface, ...) *wait.AsyncActionHandler[cdn.CustomDomain]deprecated
- func CreateDistributionPoolWaitHandler(ctx context.Context, api APIClientInterface, projectId, distributionId string) *wait.AsyncActionHandler[cdn.GetDistributionResponse]deprecated
- func DeleteCDNCustomDomainWaitHandler(ctx context.Context, a APIClientInterface, ...) *wait.AsyncActionHandler[cdn.CustomDomain]deprecated
- func DeleteDistributionWaitHandler(ctx context.Context, api APIClientInterface, projectId, distributionId string) *wait.AsyncActionHandler[cdn.GetDistributionResponse]deprecated
- func UpdateDistributionWaitHandler(ctx context.Context, api APIClientInterface, projectId, distributionId string) *wait.AsyncActionHandler[cdn.GetDistributionResponse]deprecated
- type APIClientInterface
Constants ¶
const ( // Deprecated: DistributionStatusCreating is deprecated and will be removed after 14th November 2025. Use [cdn.DISTRIBUTIONSTATUS_CREATING] instead. DistributionStatusCreating = "CREATING" // Deprecated: DistributionStatusActive is deprecated and will be removed after 14th November 2025. Use [cdn.DISTRIBUTIONSTATUS_ACTIVE] instead. DistributionStatusActive = "ACTIVE" // Deprecated: DistributionStatusUpdating is deprecated and will be removed after 14th November 2025. Use [cdn.DISTRIBUTIONSTATUS_UPDATING] instead. DistributionStatusUpdating = "UPDATING" // Deprecated: DistributionStatusDeleting is deprecated and will be removed after 14th November 2025. Use [cdn.DISTRIBUTIONSTATUS_DELETING] instead. DistributionStatusDeleting = "DELETING" // Deprecated: DistributionStatusError is deprecated and will be removed after 14th November 2025. Use [cdn.DISTRIBUTIONSTATUS_ERROR] instead. DistributionStatusError = "ERROR" )
Variables ¶
This section is empty.
Functions ¶
func CreateCDNCustomDomainWaitHandler
deprecated
func CreateCDNCustomDomainWaitHandler(ctx context.Context, a APIClientInterface, projectId, distributionId, domain string) *wait.AsyncActionHandler[cdn.CustomDomain]
Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead
func CreateDistributionPoolWaitHandler
deprecated
func CreateDistributionPoolWaitHandler(ctx context.Context, api APIClientInterface, projectId, distributionId string) *wait.AsyncActionHandler[cdn.GetDistributionResponse]
Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead
func DeleteCDNCustomDomainWaitHandler
deprecated
func DeleteCDNCustomDomainWaitHandler(ctx context.Context, a APIClientInterface, projectId, distributionId, domain string) *wait.AsyncActionHandler[cdn.CustomDomain]
Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead
func DeleteDistributionWaitHandler
deprecated
func DeleteDistributionWaitHandler(ctx context.Context, api APIClientInterface, projectId, distributionId string) *wait.AsyncActionHandler[cdn.GetDistributionResponse]
Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead
func UpdateDistributionWaitHandler
deprecated
func UpdateDistributionWaitHandler(ctx context.Context, api APIClientInterface, projectId, distributionId string) *wait.AsyncActionHandler[cdn.GetDistributionResponse]
Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead
Types ¶
type APIClientInterface ¶
type APIClientInterface interface {
GetDistributionExecute(ctx context.Context, projectId string, distributionId string) (*cdn.GetDistributionResponse, error)
GetCustomDomainExecute(ctx context.Context, projectId string, distributionId string, domain string) (*cdn.GetCustomDomainResponse, error)
}
Interfaces needed for tests Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead