Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileShare ¶
type FileShare struct { // on successful creation of the file share. It's not allowed to be modified by // the user. // +readOnly Id bson.ObjectId `json:"id,omitempty" bson:"_id,omitempty"` // Now, it's represented as a time string in RFC8601 format. // +readOnly CreatedAt string `json:"createdAt,omitempty" bson:"createdAt,omitempty"` // Now, it's represented as a time string in RFC8601 format. // +readOnly UpdatedAt string `json:"updatedAt,omitempty" bson:"updatedAt,omitempty"` TenantId string `json:"tenantId,omitempty" bson:"tenantId,omitempty"` // +optional UserId string `json:"userId,omitempty" bson:"userId,omitempty"` BackendId string `json:"backendId,omitempty" bson:"backendId,omitempty"` // +optional Backend string `json:"backend,omitempty" bson:"backend,omitempty"` Name string `json:"name,omitempty" bson:"name,omitempty"` // +optional Description string `json:"description,omitempty" bson:"description,omitempty"` // +optional Type string `json:"type,omitempty" bson:"type,omitempty"` // Default unit of file share Size is GB. // +optional Size *int64 `json:"size,omitempty" bson:"size,omitempty"` // +optional Region string `json:"region,omitempty" bson:"region,omitempty"` // +optional AvailabilityZone string `json:"availabilityZone,omitempty" bson:"availabilityZone,omitempty"` Status string `json:"status,omitempty" bson:"status,omitempty"` // +optional Protocols []string `json:"protocols,omitempty" bson:"protocols,omitempty"` // +optional Tags []Tag `json:"tags,omitempty" bson:"tags,omitempty"` // +optional SnapshotId string `json:"snapshotId,omitempty" bson:"snapshotId,omitempty"` // +optional Encrypted *bool `json:"encrypted,omitempty" bson:"encrypted,omitempty"` // +optional EncryptionSettings map[string]string `json:"encryptionSettings,omitempty" bson:"encryptionSettings,omitempty"` Metadata map[string]interface{} `json:"metadata,omitempty" bson:"metadata,omitempty"` }
FileShareS is a schema for fileshare API. Fileshare will be created on cloud backend.
Click to show internal directories.
Click to hide internal directories.