Documentation ¶
Index ¶
- Constants
- type AwsAdapter
- func (ad *AwsAdapter) Close() error
- func (ad *AwsAdapter) CreateFileShare(ctx context.Context, fs *pb.CreateFileShareRequest) (*pb.CreateFileShareResponse, error)
- func (ad *AwsAdapter) DeleteFileShare(ctx context.Context, in *pb.DeleteFileShareRequest) (*pb.DeleteFileShareResponse, error)
- func (ad *AwsAdapter) DescribeFileShare(input *efs.DescribeFileSystemsInput) (*efs.DescribeFileSystemsOutput, error)
- func (ad *AwsAdapter) GetFileShare(ctx context.Context, fs *pb.GetFileShareRequest) (*pb.GetFileShareResponse, error)
- func (ad *AwsAdapter) ListFileShare(ctx context.Context, in *pb.ListFileShareRequest) (*pb.ListFileShareResponse, error)
- func (ad *AwsAdapter) ParseFileShare(fsDesc *efs.FileSystemDescription) (*pb.FileShare, error)
- func (ad *AwsAdapter) ParseUpdateFileShare(fsUpdate *efs.UpdateFileSystemOutput) (*pb.FileShare, error)
- func (ad *AwsAdapter) UpdatefileShare(ctx context.Context, in *pb.UpdateFileShareRequest) (*pb.UpdateFileShareResponse, error)
- func (ad *AwsAdapter) UpdatefileShareMetadata(ctx context.Context, in *pb.UpdateFileShareRequest, svc *efs.EFS) (*pb.FileShare, error)
- func (ad *AwsAdapter) UpdatefileShareTags(ctx context.Context, in *pb.UpdateFileShareRequest, svc *efs.EFS) error
- type AwsFSDriverFactory
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 (ad *AwsAdapter) CreateFileShare(ctx context.Context, fs *pb.CreateFileShareRequest) (*pb.CreateFileShareResponse, error)
func (*AwsAdapter) DeleteFileShare ¶
func (ad *AwsAdapter) DeleteFileShare(ctx context.Context, in *pb.DeleteFileShareRequest) (*pb.DeleteFileShareResponse, error)
func (*AwsAdapter) DescribeFileShare ¶
func (ad *AwsAdapter) DescribeFileShare(input *efs.DescribeFileSystemsInput) (*efs.DescribeFileSystemsOutput, error)
func (*AwsAdapter) GetFileShare ¶
func (ad *AwsAdapter) GetFileShare(ctx context.Context, fs *pb.GetFileShareRequest) (*pb.GetFileShareResponse, error)
func (*AwsAdapter) ListFileShare ¶
func (ad *AwsAdapter) ListFileShare(ctx context.Context, in *pb.ListFileShareRequest) (*pb.ListFileShareResponse, error)
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 (ad *AwsAdapter) UpdatefileShare(ctx context.Context, in *pb.UpdateFileShareRequest) (*pb.UpdateFileShareResponse, error)
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)
Click to show internal directories.
Click to hide internal directories.