Documentation
¶
Index ¶
- type CifsscanCifsRequest
- type CifsscanCifsResponse
- type Client
- func (c *Client) CifsscanCifs(ctx context.Context, req *CifsscanCifsRequest) (*CifsscanCifsResponse, error)
- func (c *Client) GlusterfsscanGlusterfs(ctx context.Context, req *GlusterfsscanGlusterfsRequest) (*GlusterfsscanGlusterfsResponse, error)
- func (c *Client) Index(ctx context.Context, req *IndexRequest) (*IndexResponse, error)
- func (c *Client) IscsiscanIscsi(ctx context.Context, req *IscsiscanIscsiRequest) (*IscsiscanIscsiResponse, error)
- func (c *Client) LvmscanLvm(ctx context.Context, req *LvmscanLvmRequest) (*LvmscanLvmResponse, error)
- func (c *Client) LvmthinscanLvmthin(ctx context.Context, req *LvmthinscanLvmthinRequest) (*LvmthinscanLvmthinResponse, error)
- func (c *Client) NfsscanNfs(ctx context.Context, req *NfsscanNfsRequest) (*NfsscanNfsResponse, error)
- func (c *Client) PbsscanPbs(ctx context.Context, req *PbsscanPbsRequest) (*PbsscanPbsResponse, error)
- func (c *Client) ZfsscanZfs(ctx context.Context, req *ZfsscanZfsRequest) (*ZfsscanZfsResponse, error)
- type GlusterfsscanGlusterfsRequest
- type GlusterfsscanGlusterfsResponse
- type HTTPClient
- type IndexRequest
- type IndexResponse
- type IscsiscanIscsiRequest
- type IscsiscanIscsiResponse
- type LvmscanLvmRequest
- type LvmscanLvmResponse
- type LvmthinscanLvmthinRequest
- type LvmthinscanLvmthinResponse
- type NfsscanNfsRequest
- type NfsscanNfsResponse
- type PbsscanPbsRequest
- type PbsscanPbsResponse
- type ZfsscanZfsRequest
- type ZfsscanZfsResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CifsscanCifsRequest ¶
type CifsscanCifsRequest struct { Node string `url:"node",json:"node"` // The cluster node name. Server string `url:"server",json:"server"` // The server address (name or IP). // The following parameters are optional Domain *string `url:"domain,omitempty",json:"domain,omitempty"` // SMB domain (Workgroup). Password *string `url:"password,omitempty",json:"password,omitempty"` // User password. Username *string `url:"username,omitempty",json:"username,omitempty"` // User name. }
type CifsscanCifsResponse ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func New ¶
func New(c HTTPClient) *Client
func (*Client) CifsscanCifs ¶
func (c *Client) CifsscanCifs(ctx context.Context, req *CifsscanCifsRequest) (*CifsscanCifsResponse, error)
CifsscanCifs Scan remote CIFS server.
func (*Client) GlusterfsscanGlusterfs ¶
func (c *Client) GlusterfsscanGlusterfs(ctx context.Context, req *GlusterfsscanGlusterfsRequest) (*GlusterfsscanGlusterfsResponse, error)
GlusterfsscanGlusterfs Scan remote GlusterFS server.
func (*Client) Index ¶
func (c *Client) Index(ctx context.Context, req *IndexRequest) (*IndexResponse, error)
Index Index of available scan methods
func (*Client) IscsiscanIscsi ¶
func (c *Client) IscsiscanIscsi(ctx context.Context, req *IscsiscanIscsiRequest) (*IscsiscanIscsiResponse, error)
IscsiscanIscsi Scan remote iSCSI server.
func (*Client) LvmscanLvm ¶
func (c *Client) LvmscanLvm(ctx context.Context, req *LvmscanLvmRequest) (*LvmscanLvmResponse, error)
LvmscanLvm List local LVM volume groups.
func (*Client) LvmthinscanLvmthin ¶
func (c *Client) LvmthinscanLvmthin(ctx context.Context, req *LvmthinscanLvmthinRequest) (*LvmthinscanLvmthinResponse, error)
LvmthinscanLvmthin List local LVM Thin Pools.
func (*Client) NfsscanNfs ¶
func (c *Client) NfsscanNfs(ctx context.Context, req *NfsscanNfsRequest) (*NfsscanNfsResponse, error)
NfsscanNfs Scan remote NFS server.
func (*Client) PbsscanPbs ¶
func (c *Client) PbsscanPbs(ctx context.Context, req *PbsscanPbsRequest) (*PbsscanPbsResponse, error)
PbsscanPbs Scan remote Proxmox Backup Server.
func (*Client) ZfsscanZfs ¶
func (c *Client) ZfsscanZfs(ctx context.Context, req *ZfsscanZfsRequest) (*ZfsscanZfsResponse, error)
ZfsscanZfs Scan zfs pool list on local node.
type GlusterfsscanGlusterfsResponse ¶
type GlusterfsscanGlusterfsResponse []*struct { Volname string `url:"volname",json:"volname"` // The volume name. }
type HTTPClient ¶
type IndexRequest ¶
type IndexRequest struct {
Node string `url:"node",json:"node"` // The cluster node name.
}
type IndexResponse ¶
type IndexResponse []*struct { Method string `url:"method",json:"method"` }
type IscsiscanIscsiRequest ¶
type IscsiscanIscsiResponse ¶
type LvmscanLvmRequest ¶
type LvmscanLvmRequest struct {
Node string `url:"node",json:"node"` // The cluster node name.
}
type LvmscanLvmResponse ¶
type LvmscanLvmResponse []*struct { Vg string `url:"vg",json:"vg"` // The LVM logical volume group name. }
type LvmthinscanLvmthinResponse ¶
type LvmthinscanLvmthinResponse []*struct { Lv string `url:"lv",json:"lv"` // The LVM Thin Pool name (LVM logical volume). }
type NfsscanNfsRequest ¶
type NfsscanNfsResponse ¶
type PbsscanPbsRequest ¶
type PbsscanPbsRequest struct { Node string `url:"node",json:"node"` // The cluster node name. Password string `url:"password",json:"password"` // User password or API token secret. Server string `url:"server",json:"server"` // The server address (name or IP). Username string `url:"username",json:"username"` // User-name or API token-ID. // The following parameters are optional Fingerprint *string `url:"fingerprint,omitempty",json:"fingerprint,omitempty"` // Certificate SHA 256 fingerprint. Port *int `url:"port,omitempty",json:"port,omitempty"` // Optional port. }
type PbsscanPbsResponse ¶
type ZfsscanZfsRequest ¶
type ZfsscanZfsRequest struct {
Node string `url:"node",json:"node"` // The cluster node name.
}
type ZfsscanZfsResponse ¶
type ZfsscanZfsResponse []*struct { Pool string `url:"pool",json:"pool"` // ZFS pool name. }
Click to show internal directories.
Click to hide internal directories.