efs

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsClient

type AwsClient interface {
	GetRegion() ptypes.AwsRegion
	GetAccountID() ptypes.AwsAccountID
	EFS() *efs.Client
}

type EfsRepository

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

func NewEfsRepository

func NewEfsRepository(ctx context.Context, client AwsClient) *EfsRepository

func (*EfsRepository) GetRegion

func (r *EfsRepository) GetRegion() ptypes.AwsRegion

func (*EfsRepository) ListFileSystemsAll

func (r *EfsRepository) ListFileSystemsAll() ([]FileSystem, error)

func (*EfsRepository) ListFileSystemsByInput

func (r *EfsRepository) ListFileSystemsByInput(query *efs.DescribeFileSystemsInput) ([]FileSystem, error)

type FileSystem

type FileSystem struct {
	service.AbstractResource
	types.FileSystemDescription
	Tags []types.Tag
}

func NewFileSystem

func NewFileSystem(client AwsClient, fileSystem types.FileSystemDescription) FileSystem

func (FileSystem) GetName

func (e FileSystem) GetName() string

func (FileSystem) GetTagValue

func (e FileSystem) GetTagValue(tag string) string

func (FileSystem) GetTags

func (e FileSystem) GetTags() map[string]string

type FileSystemList

type FileSystemList struct {
	Items []FileSystem
}

Jump to

Keyboard shortcuts

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