Documentation ¶
Index ¶
- Constants
- type GcpAdapter
- func (g GcpAdapter) Close() error
- func (g GcpAdapter) CreateFileShare(ctx context.Context, fs *file.CreateFileShareRequest) (*file.CreateFileShareResponse, error)
- func (g GcpAdapter) DeleteFileShare(ctx context.Context, fs *file.DeleteFileShareRequest) (*file.DeleteFileShareResponse, error)
- func (g GcpAdapter) GetFileShare(ctx context.Context, fs *file.GetFileShareRequest) (*file.GetFileShareResponse, error)
- func (g *GcpAdapter) GetInstance(ctx context.Context, fs *file.FileShare) (*gcpfilev1.Instance, error)
- func (g GcpAdapter) ListFileShare(ctx context.Context, fs *file.ListFileShareRequest) (*file.ListFileShareResponse, error)
- func (g *GcpAdapter) ParseFileShare(instance *gcpfilev1.Instance) (*file.FileShare, error)
- func (g GcpAdapter) UpdatefileShare(ctx context.Context, fs *file.UpdateFileShareRequest) (*file.UpdateFileShareResponse, error)
- type GcpFSDriverFactory
Constants ¶
View Source
const ( // The service tier of the fileStore instance in GCP. // Supported service tiers at GCP are: // "TIER_UNSPECIFIED" - Not set. // "STANDARD" - STANDARD tier. // "PREMIUM" - PREMIUM tier. Tier = "Tier" // The default Network name for Google Compute Engine. DefaultNetwork = "default" // The IPv4 internet protocol mode for GCP. InternetProtocolModeIpv4 = "MODE_IPV4" // The Unique name of the instance resource in GCP. InstanceResourceName = "InstanceResourceName" // The time that the file system was created in GCP. CreationTimeAtBackend = "CreationTimeAtBackend" // Server-specified ETag in GCP. Etag = "Etag" // Networks: VPC networks to which the instance is connected, in GCP. Networks = "Networks" // FileStore Instance State, in GCP. State = "State" // FileStore Instance Status about its State, in GCP. StatusMessage = "StatusMessage" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GcpAdapter ¶
type GcpAdapter struct {
// contains filtered or unexported fields
}
func (GcpAdapter) Close ¶
func (g GcpAdapter) Close() error
func (GcpAdapter) CreateFileShare ¶
func (g GcpAdapter) CreateFileShare(ctx context.Context, fs *file.CreateFileShareRequest) (*file.CreateFileShareResponse, error)
func (GcpAdapter) DeleteFileShare ¶
func (g GcpAdapter) DeleteFileShare(ctx context.Context, fs *file.DeleteFileShareRequest) (*file.DeleteFileShareResponse, error)
func (GcpAdapter) GetFileShare ¶
func (g GcpAdapter) GetFileShare(ctx context.Context, fs *file.GetFileShareRequest) (*file.GetFileShareResponse, error)
func (*GcpAdapter) GetInstance ¶
func (GcpAdapter) ListFileShare ¶
func (g GcpAdapter) ListFileShare(ctx context.Context, fs *file.ListFileShareRequest) (*file.ListFileShareResponse, error)
func (*GcpAdapter) ParseFileShare ¶
func (GcpAdapter) UpdatefileShare ¶
func (g GcpAdapter) UpdatefileShare(ctx context.Context, fs *file.UpdateFileShareRequest) (*file.UpdateFileShareResponse, error)
type GcpFSDriverFactory ¶
type GcpFSDriverFactory struct { }
func (*GcpFSDriverFactory) CreateFileStorageDriver ¶
func (factory *GcpFSDriverFactory) CreateFileStorageDriver(backend *backendpb.BackendDetail) (driver.FileStorageDriver, error)
Click to show internal directories.
Click to hide internal directories.