efs

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 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, awsConfig *aws.Config, db *gorm.DB, log *zap.Logger,
	accountID string, region string) resource.ClientInterface

Types

type Client

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

func (*Client) CollectResource

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

type FileSystemDescription

type FileSystemDescription struct {
	ID                           uint `gorm:"primarykey"`
	AccountID                    string
	Region                       string
	CreationTime                 *time.Time
	CreationToken                *string
	Encrypted                    *bool
	FileSystemArn                *string
	FileSystemId                 *string
	KmsKeyId                     *string
	LifeCycleState               *string
	Name                         *string
	NumberOfMountTargets         *int64
	OwnerId                      *string
	PerformanceMode              *string
	ProvisionedThroughputInMibps *float64
	SizeInBytes                  *efs.FileSystemSize         `gorm:"embedded;embeddedPrefix:size_in_bytes_"`
	Tags                         []*FileSystemDescriptionTag `gorm:"constraint:OnDelete:CASCADE;"`
	ThroughputMode               *string
}

func (FileSystemDescription) TableName added in v0.3.8

func (FileSystemDescription) TableName() string

type FileSystemDescriptionTag

type FileSystemDescriptionTag struct {
	ID                      uint `gorm:"primarykey"`
	FileSystemDescriptionID uint
	Key                     *string
	Value                   *string
}

func (FileSystemDescriptionTag) TableName added in v0.3.8

func (FileSystemDescriptionTag) TableName() string

Jump to

Keyboard shortcuts

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