Documentation ¶
Overview ¶
Code generated by "gen"; DO NOT EDIT. This file is meant to be re-generated in place and/or deleted at any time.
Package domain provides the Domains API.
Index ¶
- func Create(ctx context.Context, params *CreateParams) (*clerk.Domain, error)
- func Delete(ctx context.Context, id string) (*clerk.DeletedResource, error)
- func List(ctx context.Context, params *ListParams) (*clerk.DomainList, error)
- func Update(ctx context.Context, id string, params *UpdateParams) (*clerk.Domain, error)
- type Client
- func (c *Client) Create(ctx context.Context, params *CreateParams) (*clerk.Domain, error)
- func (c *Client) Delete(ctx context.Context, id string) (*clerk.DeletedResource, error)
- func (c *Client) List(ctx context.Context, params *ListParams) (*clerk.DomainList, error)
- func (c *Client) Update(ctx context.Context, id string, params *UpdateParams) (*clerk.Domain, error)
- type CreateParams
- type ListParams
- type UpdateParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(ctx context.Context, params *CreateParams) (*clerk.Domain, error)
Create creates a new domain.
Types ¶
type Client ¶
type Client struct {
Backend clerk.Backend
}
Client is used to invoke the Domains API.
func (*Client) Create ¶
func (c *Client) Create(ctx context.Context, params *CreateParams) (*clerk.Domain, error)
Create creates a new domain.
type CreateParams ¶
type ListParams ¶
type ListParams struct {
clerk.APIParams
}
type UpdateParams ¶
Click to show internal directories.
Click to hide internal directories.