| 9 | ) |
| 10 | |
| 11 | type CustomDomainAPI interface { |
| 12 | // Create a new custom domain. |
| 13 | Create(ctx context.Context, c *management.CustomDomain, opts ...management.RequestOption) (err error) |
| 14 | |
| 15 | // Read retrieves a custom domain by its id. |
| 16 | Read(ctx context.Context, id string, opts ...management.RequestOption) (c *management.CustomDomain, err error) |
| 17 | |
| 18 | // Update a custom domain. |
| 19 | Update(ctx context.Context, id string, c *management.CustomDomain, opts ...management.RequestOption) (err error) |
| 20 | |
| 21 | // Delete a custom domain. |
| 22 | Delete(ctx context.Context, id string, opts ...management.RequestOption) (err error) |
| 23 | |
| 24 | // Verify a custom domain. |
| 25 | Verify(ctx context.Context, id string, opts ...management.RequestOption) (c *management.CustomDomain, err error) |
| 26 | |
| 27 | // List all custom domains. |
| 28 | List(ctx context.Context, opts ...management.RequestOption) (c []*management.CustomDomain, err error) |
| 29 | |
| 30 | // ListWithPagination lists all custom domains with support for pagination. |
| 31 | ListWithPagination(ctx context.Context, opts ...management.RequestOption) (c *management.CustomDomainList, err error) |
| 32 | |
| 33 | // ReadDefault retrieves the default domain configuration for the tenant. |
| 34 | ReadDefault(ctx context.Context, opts ...management.RequestOption) (c *management.CustomDomain, err error) |
| 35 | |
| 36 | // UpdateDefault updates the default domain for the tenant. |
| 37 | UpdateDefault(ctx context.Context, c *management.CustomDomain, opts ...management.RequestOption) error |
| 38 | } |
no outgoing calls
no test coverage detected