grpc

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBackupPolicy

func CreateBackupPolicy(resourceName, resourceType string, resourceArgs interface{}, retention int) (policyID uint, err error)

func StartBackup

func StartBackup(resourceID uint) (jobID uint, err error)

Types

type Client

type Client struct {
	C pb.ApiServiceClient
	// contains filtered or unexported fields
}

func NewClient

func NewClient(ctx context.Context) (*Client, error)

func (*Client) Close

func (c *Client) Close()

type NasResourceArgs

type NasResourceArgs struct {
	Dir string `json:"dir"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL