Documentation ¶
Index ¶
- type CifsscanRequest
- type CifsscanResponse
- type Client
- func (c *Client) Cifsscan(ctx context.Context, req CifsscanRequest) ([]CifsscanResponse, error)
- func (c *Client) Glusterfsscan(ctx context.Context, req GlusterfsscanRequest) ([]GlusterfsscanResponse, error)
- func (c *Client) Index(ctx context.Context, req IndexRequest) ([]IndexResponse, error)
- func (c *Client) Iscsiscan(ctx context.Context, req IscsiscanRequest) ([]IscsiscanResponse, error)
- func (c *Client) Lvmscan(ctx context.Context, req LvmscanRequest) ([]LvmscanResponse, error)
- func (c *Client) Lvmthinscan(ctx context.Context, req LvmthinscanRequest) ([]LvmthinscanResponse, error)
- func (c *Client) Nfsscan(ctx context.Context, req NfsscanRequest) ([]NfsscanResponse, error)
- func (c *Client) Pbsscan(ctx context.Context, req PbsscanRequest) ([]PbsscanResponse, error)
- func (c *Client) Zfsscan(ctx context.Context, req ZfsscanRequest) ([]ZfsscanResponse, error)
- type GlusterfsscanRequest
- type GlusterfsscanResponse
- type HTTPClient
- type IndexRequest
- type IndexResponse
- type IscsiscanRequest
- type IscsiscanResponse
- type LvmscanRequest
- type LvmscanResponse
- type LvmthinscanRequest
- type LvmthinscanResponse
- type NfsscanRequest
- type NfsscanResponse
- type PbsscanRequest
- type PbsscanResponse
- type ZfsscanRequest
- type ZfsscanResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CifsscanRequest ¶ added in v0.0.15
type CifsscanRequest 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 CifsscanResponse ¶ added in v0.0.15
type CifsscanResponse struct { Description string `url:"description" json:"description"` // Descriptive text from server. }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func New ¶
func New(c HTTPClient) *Client
func (*Client) Cifsscan ¶ added in v0.0.15
func (c *Client) Cifsscan(ctx context.Context, req CifsscanRequest) ([]CifsscanResponse, error)
Cifsscan Scan remote CIFS server.
func (*Client) Glusterfsscan ¶ added in v0.0.15
func (c *Client) Glusterfsscan(ctx context.Context, req GlusterfsscanRequest) ([]GlusterfsscanResponse, error)
Glusterfsscan 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) Iscsiscan ¶ added in v0.0.15
func (c *Client) Iscsiscan(ctx context.Context, req IscsiscanRequest) ([]IscsiscanResponse, error)
Iscsiscan Scan remote iSCSI server.
func (*Client) Lvmscan ¶ added in v0.0.15
func (c *Client) Lvmscan(ctx context.Context, req LvmscanRequest) ([]LvmscanResponse, error)
Lvmscan List local LVM volume groups.
func (*Client) Lvmthinscan ¶ added in v0.0.15
func (c *Client) Lvmthinscan(ctx context.Context, req LvmthinscanRequest) ([]LvmthinscanResponse, error)
Lvmthinscan List local LVM Thin Pools.
func (*Client) Nfsscan ¶ added in v0.0.15
func (c *Client) Nfsscan(ctx context.Context, req NfsscanRequest) ([]NfsscanResponse, error)
Nfsscan Scan remote NFS server.
func (*Client) Pbsscan ¶ added in v0.0.15
func (c *Client) Pbsscan(ctx context.Context, req PbsscanRequest) ([]PbsscanResponse, error)
Pbsscan Scan remote Proxmox Backup Server.
func (*Client) Zfsscan ¶ added in v0.0.15
func (c *Client) Zfsscan(ctx context.Context, req ZfsscanRequest) ([]ZfsscanResponse, error)
Zfsscan Scan zfs pool list on local node.
type GlusterfsscanRequest ¶ added in v0.0.15
type GlusterfsscanResponse ¶ added in v0.0.15
type GlusterfsscanResponse 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 IscsiscanRequest ¶ added in v0.0.15
type IscsiscanResponse ¶ added in v0.0.15
type LvmscanRequest ¶ added in v0.0.15
type LvmscanRequest struct {
Node string `url:"node" json:"node"` // The cluster node name.
}
type LvmscanResponse ¶ added in v0.0.15
type LvmscanResponse struct {
Vg string `url:"vg" json:"vg"` // The LVM logical volume group name.
}
type LvmthinscanRequest ¶ added in v0.0.15
type LvmthinscanResponse ¶ added in v0.0.15
type LvmthinscanResponse struct {
Lv string `url:"lv" json:"lv"` // The LVM Thin Pool name (LVM logical volume).
}
type NfsscanRequest ¶ added in v0.0.15
type NfsscanResponse ¶ added in v0.0.15
type PbsscanRequest ¶ added in v0.0.15
type PbsscanRequest 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 PbsscanResponse ¶ added in v0.0.15
type ZfsscanRequest ¶ added in v0.0.15
type ZfsscanRequest struct {
Node string `url:"node" json:"node"` // The cluster node name.
}
type ZfsscanResponse ¶ added in v0.0.15
type ZfsscanResponse struct {
Pool string `url:"pool" json:"pool"` // ZFS pool name.
}
Click to show internal directories.
Click to hide internal directories.