Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func New ¶
func New(c HTTPClient) *Client
func (*Client) Find ¶
func (c *Client) Find(ctx context.Context, req *FindRequest) (*FindResponse, error)
Find
func (*Client) Index ¶
func (c *Client) Index(ctx context.Context, req *IndexRequest) (*IndexResponse, error)
Index Get status for all zones.
func (*Client) IndexContent ¶
func (c *Client) IndexContent(ctx context.Context, req *IndexContentRequest) (*IndexContentResponse, error)
IndexContent List zone content.
type FindRequest ¶
type FindResponse ¶
type FindResponse []*struct {
Subdir string `url:"subdir",json:"subdir"`
}
type HTTPClient ¶
type IndexContentRequest ¶
type IndexContentResponse ¶
type IndexContentResponse []*struct {
Vnet string `url:"vnet",json:"vnet"` // Vnet identifier.
// The following parameters are optional
Status *string `url:"status,omitempty",json:"status,omitempty"` // Status.
Statusmsg *string `url:"statusmsg,omitempty",json:"statusmsg,omitempty"` // Status details
}
type IndexRequest ¶
type IndexRequest struct {
Node string `url:"node",json:"node"` // The cluster node name.
}
type IndexResponse ¶
Click to show internal directories.
Click to hide internal directories.