aws

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// The file system Name tag, Amazon EFS return.
	FileSystemName = "Name"

	// The ID of the file system, assigned by Amazon EFS.
	FileSystemId = "FileSystemId"

	// The AWS account that created the file system.
	OwnerId = "OwnerId"

	// FileSystem Size Object in AWS.
	FileSystemSize = "FileSystemSize"

	// The ID of an AWS Key Management Service (AWS KMS) customer master key (CMK)
	// that was used to protect the encrypted file system.
	KmsKeyId = "KmsKeyId"

	// The throughput mode for a file system in AWS.
	ThroughputMode = "ThroughputMode"

	// The throughput for a file system provisioning in AWS.
	ProvisionedThroughputInMibps = "ProvisionedThroughputInMibps"

	// The performance mode of the file system in AWS.
	PerformanceMode = "PerformanceMode"

	// The opaque string specified for AWS FileSystem.
	CreationToken = "CreationToken"

	// The time that the file system was created in AWS.
	CreationTimeAtBackend = "CreationTimeAtBackend"

	// The lifecycle phase of the file system in AWS.
	LifeCycleState = "LifeCycleState"

	// The current number of mount targets that the file system has, in AWS.
	NumberOfMountTargets = "NumberOfMountTargets"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsAdapter

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

func (*AwsAdapter) Close

func (ad *AwsAdapter) Close() error

func (*AwsAdapter) CreateFileShare

func (*AwsAdapter) DeleteFileShare

func (*AwsAdapter) DescribeFileShare

func (ad *AwsAdapter) DescribeFileShare(input *efs.DescribeFileSystemsInput) (*efs.DescribeFileSystemsOutput, error)

func (*AwsAdapter) GetFileShare

func (*AwsAdapter) ListFileShare

func (*AwsAdapter) ParseFileShare

func (ad *AwsAdapter) ParseFileShare(fsDesc *efs.FileSystemDescription) (*pb.FileShare, error)

func (*AwsAdapter) ParseUpdateFileShare

func (ad *AwsAdapter) ParseUpdateFileShare(fsUpdate *efs.UpdateFileSystemOutput) (*pb.FileShare, error)

func (*AwsAdapter) UpdatefileShare

func (*AwsAdapter) UpdatefileShareMetadata added in v1.0.1

func (ad *AwsAdapter) UpdatefileShareMetadata(ctx context.Context, in *pb.UpdateFileShareRequest, svc *efs.EFS) (*pb.FileShare, error)

func (*AwsAdapter) UpdatefileShareTags added in v1.0.1

func (ad *AwsAdapter) UpdatefileShareTags(ctx context.Context, in *pb.UpdateFileShareRequest, svc *efs.EFS) error

type AwsFSDriverFactory

type AwsFSDriverFactory struct {
}

func (*AwsFSDriverFactory) CreateFileStorageDriver

func (factory *AwsFSDriverFactory) CreateFileStorageDriver(backend *backendpb.BackendDetail) (driver.FileStorageDriver, error)

Jump to

Keyboard shortcuts

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