Documentation
¶
Index ¶
- type AnnotationsResponse
- type Client
- func (c *Client) CreateAnnotations(domain string, payload string) (resp []byte, err error)
- func (c *Client) DeleteAnnotations(domain string, payload []byte) (resp []byte, err error)
- func (c *Client) GetDomains(request DomainReq) (resp []*Domain, err error)
- func (c *Client) GetDomainsFull(request DomainReq) (resp []*DomainFull, err error)
- func (c *Client) ReadAnnotations(domain string, payload []byte) (resp map[string]any, err error)
- func (c *Client) UpdateAnnotations(domain string, payload []byte) (resp []byte, err error)
- type Domain
- type DomainFull
- type DomainFullResponse
- type DomainReq
- type DomainResponse
- type Exclude
- type Include
- type IncludeExclude
- type Metadata
- type Subdomain
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnnotationsResponse ¶ added in v0.4.0
type AnnotationsResponse struct {
Domain Domain `json:"dt"`
}
type Client ¶
type Client struct { Endpoint string // contains filtered or unexported fields }
Client is a Domain Management Backend API client
func (*Client) CreateAnnotations ¶
func (*Client) DeleteAnnotations ¶
func (*Client) GetDomains ¶ added in v0.4.0
func (*Client) GetDomainsFull ¶ added in v0.3.0
func (c *Client) GetDomainsFull(request DomainReq) (resp []*DomainFull, err error)
func (*Client) ReadAnnotations ¶
type DomainFull ¶ added in v0.4.0
type DomainFullResponse ¶ added in v0.4.0
type DomainFullResponse struct {
DomainsFull []*DomainFull `json:"dt"`
}
type DomainReq ¶ added in v0.6.0
type DomainReq struct { FilterDomains *IncludeExclude `json:"domains,omitempty"` FilterSubdomains *IncludeExclude `json:"subdomains,omitempty"` }
type DomainResponse ¶ added in v0.4.0
type DomainResponse struct {
Domains []*Domain `json:"dt"`
}
type Exclude ¶ added in v0.8.0
type Exclude struct {
Metadata *Metadata `json:"metadata" binding:"omitempty"`
}
type Include ¶ added in v0.8.0
type Include struct {
Metadata *Metadata `json:"metadata" binding:"omitempty"`
}
type IncludeExclude ¶ added in v0.8.0
Click to show internal directories.
Click to hide internal directories.