{"modulePath":"github.com/mycontroller-org/server/v2","version":"v2.2.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package disk\n\n## Constants\n\n```go\nconst (\n\tPluginBackupDisk = \"backup_disk\"\n)\n```\n\n## Types\n\n```go\ntype Client struct {\n\t// contains filtered or unexported fields\n}\n```\nClient struct\n\n```go\nfunc New(ctx context.Context, cfg *handlerTY.Config) (*Client, error)\n```\ndisk backup client\n\n```go\nfunc (c *Client) Close() error\n```\nClose Func\n\n```go\nfunc (p *Client) Name() string\n```\n\n```go\nfunc (c *Client) Post(parameters map[string]interface{}) error\n```\nPost func\n\n```go\nfunc (c *Client) Start() error\n```\nStart func\n\n```go\nfunc (c *Client) State() *types.State\n```\nState func\n\n```go\ntype Config struct {\n\tDisabled             string // used globally\n\tType                 string // used globally\n\tProviderType         string // used globally\n\tPrefix               string\n\tStorageExportType    string\n\tTargetDirectory      string\n\tRetentionCount       int\n\tIncludeSecureShare   bool // include secure directory on the backup\n\tIncludeInsecureShare bool // include insecure directory on the backup\n}\n```\nConfig of disk backup client\n\n","path":"github.com/mycontroller-org/server/v2/plugin/handler/backup/disk","name":"disk","synopsis":"","isRedistributable":true}
