 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChildCreateRequest ¶
type ChildCreateRequest struct {
	Node string `url:"node" json:"node"` // The cluster node name.
	// The following parameters are optional
	AddStorage *util.SpecialBool `url:"add-storage,omitempty" json:"add-storage,omitempty"` // Configure the created CephFS as storage for this cluster.
	Name       *string           `url:"name,omitempty" json:"name,omitempty"`               // The ceph filesystem name.
	PgNum      *int              `url:"pg_num,omitempty" json:"pg_num,omitempty"`           // Number of placement groups for the backing data pool. The metadata pool will use a quarter of this.
}
    type ChildCreateResponse ¶
type ChildCreateResponse string
type Client ¶
type Client struct {
	// contains filtered or unexported fields
}
    func New ¶
func New(c HTTPClient) *Client
func (*Client) ChildCreate ¶
func (c *Client) ChildCreate(ctx context.Context, req *ChildCreateRequest) (*ChildCreateResponse, error)
ChildCreate Create a Ceph filesystem
func (*Client) Index ¶
func (c *Client) Index(ctx context.Context, req *IndexRequest) (*IndexResponse, error)
Index Directory index.
type HTTPClient ¶
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.