fsx

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2020 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(session *session.Session, db *gorm.DB, log *zap.Logger,
	accountID string, region string) resource.ClientInterface

Types

type Backup

type Backup struct {
	ID                   uint `gorm:"primarykey"`
	AccountID            string
	Region               string
	BackupId             *string
	CreationTime         *time.Time
	DirectoryInformation *fsx.ActiveDirectoryBackupAttributes `gorm:"embedded;embeddedPrefix:directory_information_"`
	FailureDetails       *fsx.BackupFailureDetails            `gorm:"embedded;embeddedPrefix:failure_details_"`
	KmsKeyId             *string
	Lifecycle            *string
	ProgressPercent      *int64
	ResourceARN          *string
	Tags                 []*BackupTag `gorm:"constraint:OnDelete:CASCADE;"`
	Type                 *string
}

type BackupTag

type BackupTag struct {
	ID       uint `gorm:"primarykey"`
	BackupID uint
	Key      *string
	Value    *string
}

type Client

type Client struct {
	// contains filtered or unexported fields
}

func (*Client) Backups

func (c *Client) Backups(gConfig interface{}) error

func (*Client) CollectResource

func (c *Client) CollectResource(resource string, config interface{}) error

Jump to

Keyboard shortcuts

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