Documentation ¶
Index ¶
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type Createv12SmbShareResponse
- type Createv3EventEventResponse
- type Error
- type MappedNullable
- type NullableBool
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableString
- type NullableTime
- type V12SmbShare
- type V12SmbShareExtended
- type V12SmbShareExtendedExtended
- type V12SmbShares
- type V12SmbSharesExtended
- type V1AuthAccessAccessItemFileGroup
- type V1SmbSharePermission
- type V2NfsExport
- type V2NfsExportExtended
- type V2NfsExportExtendedExtended
- type V2NfsExportMapAll
- type V2NfsExportMapAllSecondaryGroupsInner
- type V2NfsExports
- type V2NfsExportsExtended
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type Createv12SmbShareResponse ¶
type Createv12SmbShareResponse struct { string `json:"id"` }Id
Createv12SmbShareResponse An array of ids to refer SMB shares.
type Createv3EventEventResponse ¶
type Createv3EventEventResponse struct { // ID of created item that can be used to refer to item in the collection-item resource path. Id int32 `json:"id"` }
Createv3EventEventResponse struct for Createv3EventEventResponse
type MappedNullable ¶
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type V12SmbShare ¶
type V12SmbShare struct { bool `json:"access_based_enumeration,omitempty"` AccessBasedEnumerationRootOnly *bool `json:"access_based_enumeration_root_only,omitempty"` AllowDeleteReadonly *bool `json:"allow_delete_readonly,omitempty"` AllowExecuteAlways *bool `json:"allow_execute_always,omitempty"` AllowVariableExpansion *bool `json:"allow_variable_expansion,omitempty"` AutoCreateDirectory *bool `json:"auto_create_directory,omitempty"` Browsable *bool `json:"browsable,omitempty"` CaTimeout *int32 `json:"ca_timeout,omitempty"` CaWriteIntegrity *string `json:"ca_write_integrity,omitempty"` ChangeNotify *string `json:"change_notify,omitempty"` ContinuouslyAvailable *bool `json:"continuously_available,omitempty"` CreatePath *bool `json:"create_path,omitempty"` CreatePermissions *string `json:"create_permissions,omitempty"` CscPolicy *string `json:"csc_policy,omitempty"` Description *string `json:"description,omitempty"` DirectoryCreateMask *int32 `json:"directory_create_mask,omitempty"` DirectoryCreateMode *int32 `json:"directory_create_mode,omitempty"` FileCreateMask *int32 `json:"file_create_mask,omitempty"` FileCreateMode *int32 `json:"file_create_mode,omitempty"` FileFilterExtensions []string `json:"file_filter_extensions,omitempty"` FileFilterType *string `json:"file_filter_type,omitempty"` FileFilteringEnabled *bool `json:"file_filtering_enabled,omitempty"` HideDotFiles *bool `json:"hide_dot_files,omitempty"` HostAcl []string `json:"host_acl,omitempty"` ImpersonateGuest *string `json:"impersonate_guest,omitempty"` ImpersonateUser *string `json:"impersonate_user,omitempty"` InheritablePathAcl *bool `json:"inheritable_path_acl,omitempty"` MangleByteStart *int32 `json:"mangle_byte_start,omitempty"` MangleMap []string `json:"mangle_map,omitempty"` Name string `json:"name"` NtfsAclSupport *bool `json:"ntfs_acl_support,omitempty"` Oplocks *bool `json:"oplocks,omitempty"` Path string `json:"path"` Permissions []V1SmbSharePermission `json:"permissions,omitempty"` RunAsRoot []V1AuthAccessAccessItemFileGroup `json:"run_as_root,omitempty"` Smb3EncryptionEnabled *bool `json:"smb3_encryption_enabled,omitempty"` SparseFile *bool `json:"sparse_file,omitempty"` StrictCaLockout *bool `json:"strict_ca_lockout,omitempty"` StrictFlush *bool `json:"strict_flush,omitempty"` StrictLocking *bool `json:"strict_locking,omitempty"` Zone *string `json:"zone,omitempty"` }AccessBasedEnumeration *
V12SmbShare struct for V12SmbShare
type V12SmbShareExtended ¶
type V12SmbShareExtended struct { bool `json:"access_based_enumeration,omitempty"` AccessBasedEnumerationRootOnly *bool `json:"access_based_enumeration_root_only,omitempty"` AllowDeleteReadonly *bool `json:"allow_delete_readonly,omitempty"` AllowExecuteAlways *bool `json:"allow_execute_always,omitempty"` AllowVariableExpansion *bool `json:"allow_variable_expansion,omitempty"` AutoCreateDirectory *bool `json:"auto_create_directory,omitempty"` Browsable *bool `json:"browsable,omitempty"` CaTimeout *int32 `json:"ca_timeout,omitempty"` CaWriteIntegrity *string `json:"ca_write_integrity,omitempty"` ChangeNotify *string `json:"change_notify,omitempty"` ContinuouslyAvailable *bool `json:"continuously_available,omitempty"` CreatePermissions *string `json:"create_permissions,omitempty"` CscPolicy *string `json:"csc_policy,omitempty"` Description *string `json:"description,omitempty"` DirectoryCreateMask *int32 `json:"directory_create_mask,omitempty"` DirectoryCreateMode *int32 `json:"directory_create_mode,omitempty"` FileCreateMask *int32 `json:"file_create_mask,omitempty"` FileCreateMode *int32 `json:"file_create_mode,omitempty"` FileFilterExtensions []string `json:"file_filter_extensions,omitempty"` FileFilterType *string `json:"file_filter_type,omitempty"` FileFilteringEnabled *bool `json:"file_filtering_enabled,omitempty"` HideDotFiles *bool `json:"hide_dot_files,omitempty"` HostAcl []string `json:"host_acl,omitempty"` Id string `json:"id"` ImpersonateGuest *string `json:"impersonate_guest,omitempty"` ImpersonateUser *string `json:"impersonate_user,omitempty"` InheritablePathAcl *bool `json:"inheritable_path_acl,omitempty"` MangleByteStart *int32 `json:"mangle_byte_start,omitempty"` MangleMap []string `json:"mangle_map,omitempty"` Name string `json:"name"` NtfsAclSupport *bool `json:"ntfs_acl_support,omitempty"` Oplocks *bool `json:"oplocks,omitempty"` Path string `json:"path"` Permissions []V1SmbSharePermission `json:"permissions,omitempty"` RunAsRoot []V1AuthAccessAccessItemFileGroup `json:"run_as_root,omitempty"` Smb3EncryptionEnabled *bool `json:"smb3_encryption_enabled,omitempty"` SparseFile *bool `json:"sparse_file,omitempty"` StrictCaLockout *bool `json:"strict_ca_lockout,omitempty"` StrictFlush *bool `json:"strict_flush,omitempty"` StrictLocking *bool `json:"strict_locking,omitempty"` Zid int32 `json:"zid"` }AccessBasedEnumeration *
V12SmbShareExtended struct for V12SmbShareExtended
type V12SmbShareExtendedExtended ¶
type V12SmbShareExtendedExtended struct { bool `json:"access_based_enumeration,omitempty"` AccessBasedEnumerationRootOnly *bool `json:"access_based_enumeration_root_only,omitempty"` AllowDeleteReadonly *bool `json:"allow_delete_readonly,omitempty"` AllowExecuteAlways *bool `json:"allow_execute_always,omitempty"` AllowVariableExpansion *bool `json:"allow_variable_expansion,omitempty"` AutoCreateDirectory *bool `json:"auto_create_directory,omitempty"` Browsable *bool `json:"browsable,omitempty"` CaTimeout *int32 `json:"ca_timeout,omitempty"` CaWriteIntegrity *string `json:"ca_write_integrity,omitempty"` ChangeNotify *string `json:"change_notify,omitempty"` CreatePermissions *string `json:"create_permissions,omitempty"` CscPolicy *string `json:"csc_policy,omitempty"` Description *string `json:"description,omitempty"` DirectoryCreateMask *int32 `json:"directory_create_mask,omitempty"` DirectoryCreateMode *int32 `json:"directory_create_mode,omitempty"` FileCreateMask *int32 `json:"file_create_mask,omitempty"` FileCreateMode *int32 `json:"file_create_mode,omitempty"` FileFilterExtensions []string `json:"file_filter_extensions,omitempty"` FileFilterType *string `json:"file_filter_type,omitempty"` FileFilteringEnabled *bool `json:"file_filtering_enabled,omitempty"` HideDotFiles *bool `json:"hide_dot_files,omitempty"` HostAcl []string `json:"host_acl,omitempty"` ImpersonateGuest *string `json:"impersonate_guest,omitempty"` ImpersonateUser *string `json:"impersonate_user,omitempty"` InheritablePathAcl *bool `json:"inheritable_path_acl,omitempty"` MangleByteStart *int32 `json:"mangle_byte_start,omitempty"` MangleMap []string `json:"mangle_map,omitempty"` Name *string `json:"name,omitempty"` NtfsAclSupport *bool `json:"ntfs_acl_support,omitempty"` Oplocks *bool `json:"oplocks,omitempty"` Path *string `json:"path,omitempty"` Permissions []V1SmbSharePermission `json:"permissions,omitempty"` RunAsRoot []V1AuthAccessAccessItemFileGroup `json:"run_as_root,omitempty"` Smb3EncryptionEnabled *bool `json:"smb3_encryption_enabled,omitempty"` SparseFile *bool `json:"sparse_file,omitempty"` StrictCaLockout *bool `json:"strict_ca_lockout,omitempty"` StrictFlush *bool `json:"strict_flush,omitempty"` StrictLocking *bool `json:"strict_locking,omitempty"` Zone *string `json:"zone,omitempty"` }AccessBasedEnumeration *
V12SmbShareExtendedExtended struct for V12SmbShareExtendedExtended
type V12SmbShares ¶
type V12SmbShares struct { string `json:"digest,omitempty"` // Provide this token as the 'resume' query argument to continue listing results. Total *int32 `json:"total,omitempty"` }Digest *
V12SmbShares struct for V12SmbShares
type V12SmbSharesExtended ¶
type V12SmbSharesExtended struct {
}V12SmbSharesExtended struct for V12SmbSharesExtended
type V1AuthAccessAccessItemFileGroup ¶
type V1AuthAccessAccessItemFileGroup struct { // Specifies the serialized form of a persona, which can be 'UID:0', 'USER:name', 'GID:0', 'GROUP:wheel', or 'SID:S-1-1'. Id *string `json:"id,omitempty"` // Specifies the persona name, which must be combined with a type. Name *string `json:"name,omitempty"` // Specifies the type of persona, which must be combined with a name. Type *string `json:"type,omitempty"` }
V1AuthAccessAccessItemFileGroup Specifies the persona of the file group.
type V1SmbSharePermission ¶
type V1SmbSharePermission struct { string `json:"permission"` // Determines whether the permission is allowed or denied. }Permission
V1SmbSharePermission Specifies properties for an Access Control Entry.
type V2NfsExport ¶
type V2NfsExport struct { // True if all directories under the specified paths are mountable. AllDirs *bool `json:"all_dirs,omitempty"` // Specifies the block size returned by the NFS statfs procedure. BlockSize *int32 `json:"block_size,omitempty"` // True if the client can set file times through the NFS set attribute request. This parameter does not affect server behavior, but is included to accommodate legacy client requirements. CanSetTime *bool `json:"can_set_time,omitempty"` // True if the case is ignored for file names. This parameter does not affect server behavior, but is included to accommodate legacy client requirements. CaseInsensitive *bool `json:"case_insensitive,omitempty"` // True if the case is preserved for file names. This parameter does not affect server behavior, but is included to accommodate legacy client requirements. CasePreserving *bool `json:"case_preserving,omitempty"` // True if the superuser can change file ownership. This parameter does not affect server behavior, but is included to accommodate legacy client requirements. ChownRestricted *bool `json:"chown_restricted,omitempty"` // Specifies the clients with root access to the export. Clients []string `json:"clients,omitempty"` // True if NFS commit requests execute asynchronously. CommitAsynchronous *bool `json:"commit_asynchronous,omitempty"` // Specifies the user-defined string that is used to identify the export. Description *string `json:"description,omitempty"` // Specifies the preferred size for directory read operations. This value is used to advise the client of optimal settings for the server, but is not enforced. DirectoryTransferSize *int32 `json:"directory_transfer_size,omitempty"` // Specifies the default character set encoding of the clients connecting to the export, unless otherwise specified. Encoding *string `json:"encoding,omitempty"` // Specifies the reported maximum number of links to a file. This parameter does not affect server behavior, but is included to accommodate legacy client requirements. LinkMax *int32 `json:"link_max,omitempty"` MapAll *V2NfsExportMapAll `json:"map_all,omitempty"` MapFailure *V2NfsExportMapAll `json:"map_failure,omitempty"` // True if user mappings query the OneFS user database. When set to false, user mappings only query local authentication. MapFull *bool `json:"map_full,omitempty"` // True if incoming user IDs (UIDs) are mapped to users in the OneFS user database. When set to false, incoming UIDs are applied directly to file operations. MapLookupUid *bool `json:"map_lookup_uid,omitempty"` MapNonRoot *V2NfsExportMapAll `json:"map_non_root,omitempty"` // Determines whether searches for users specified in 'map_all', 'map_root' or 'map_nonroot' are retried if the search fails. MapRetry *bool `json:"map_retry,omitempty"` MapRoot *V2NfsExportMapAll `json:"map_root,omitempty"` // Specifies the maximum file size for any file accessed from the export. This parameter does not affect server behavior, but is included to accommodate legacy client requirements. MaxFileSize *int64 `json:"max_file_size,omitempty"` // Specifies the reported maximum length of a file name. This parameter does not affect server behavior, but is included to accommodate legacy client requirements. NameMaxSize *int32 `json:"name_max_size,omitempty"` // True if long file names result in an error. This parameter does not affect server behavior, but is included to accommodate legacy client requirements. NoTruncate *bool `json:"no_truncate,omitempty"` // Specifies the paths under /ifs that are exported. Paths []string `json:"paths"` // True if the export is set to read-only. ReadOnly *bool `json:"read_only,omitempty"` // Specifies the clients with read-only access to the export. ReadOnlyClients []string `json:"read_only_clients,omitempty"` // Specifies the maximum buffer size that clients should use on NFS read requests. This value is used to advise the client of optimal settings for the server, but is not enforced. ReadTransferMaxSize *int32 `json:"read_transfer_max_size,omitempty"` // Specifies the preferred multiple size for NFS read requests. This value is used to advise the client of optimal settings for the server, but is not enforced. ReadTransferMultiple *int32 `json:"read_transfer_multiple,omitempty"` // Specifies the preferred size for NFS read requests. This value is used to advise the client of optimal settings for the server, but is not enforced. ReadTransferSize *int32 `json:"read_transfer_size,omitempty"` // Specifies the clients with both read and write access to the export, even when the export is set to read-only. ReadWriteClients []string `json:"read_write_clients,omitempty"` // True if 'readdirplus' requests are enabled. Enabling this property might improve network performance and is only available for NFSv3. Readdirplus *bool `json:"readdirplus,omitempty"` // Sets the number of directory entries that are prefetched when a 'readdirplus' request is processed. (Deprecated.) ReaddirplusPrefetch *int32 `json:"readdirplus_prefetch,omitempty"` // Limits the size of file identifiers returned by NFSv3+ to 32-bit values (may require remount). Return32bitFileIds *bool `json:"return_32bit_file_ids,omitempty"` // Clients that have root access to the export. RootClients []string `json:"root_clients,omitempty"` // Specifies the authentication types that are supported for this export. SecurityFlavors []string `json:"security_flavors,omitempty"` // True if set attribute operations execute asynchronously. SetattrAsynchronous *bool `json:"setattr_asynchronous,omitempty"` // Specifies the snapshot for all mounts. Snapshot *string `json:"snapshot,omitempty"` // True if symlinks are supported. This value is used to advise the client of optimal settings for the server, but is not enforced. Symlinks *bool `json:"symlinks,omitempty"` // Specifies the resolution of all time values that are returned to the clients TimeDelta *float32 `json:"time_delta,omitempty"` // Specifies the action to be taken when an NFSv3+ datasync write is requested. WriteDatasyncAction *string `json:"write_datasync_action,omitempty"` // Specifies the stability disposition returned when an NFSv3+ datasync write is processed. WriteDatasyncReply *string `json:"write_datasync_reply,omitempty"` // Specifies the action to be taken when an NFSv3+ filesync write is requested. WriteFilesyncAction *string `json:"write_filesync_action,omitempty"` // Specifies the stability disposition returned when an NFSv3+ filesync write is processed. WriteFilesyncReply *string `json:"write_filesync_reply,omitempty"` // Specifies the maximum buffer size that clients should use on NFS write requests. This value is used to advise the client of optimal settings for the server, but is not enforced. WriteTransferMaxSize *int32 `json:"write_transfer_max_size,omitempty"` // Specifies the preferred multiple size for NFS write requests. This value is used to advise the client of optimal settings for the server, but is not enforced. WriteTransferMultiple *int32 `json:"write_transfer_multiple,omitempty"` // Specifies the preferred multiple size for NFS write requests. This value is used to advise the client of optimal settings for the server, but is not enforced. WriteTransferSize *int32 `json:"write_transfer_size,omitempty"` // Specifies the action to be taken when an NFSv3+ unstable write is requested. WriteUnstableAction *string `json:"write_unstable_action,omitempty"` // Specifies the stability disposition returned when an NFSv3+ unstable write is processed. WriteUnstableReply *string `json:"write_unstable_reply,omitempty"` // Specifies the zone in which the export is valid. Zone *string `json:"zone,omitempty"` }
V2NfsExport Specifies configuration values for NFS exports.
type V2NfsExportExtended ¶
type V2NfsExportExtended struct { // True if all directories under the specified paths are mountable. AllDirs *bool `json:"all_dirs,omitempty"` // Specifies the block size returned by the NFS statfs procedure. BlockSize *int32 `json:"block_size,omitempty"` // True if the client can set file times through the NFS set attribute request. This parameter does not affect server behavior, but is included to accommodate legacy client requirements. CanSetTime *bool `json:"can_set_time,omitempty"` // True if the case is ignored for file names. This parameter does not affect server behavior, but is included to accommodate legacy client requirements. CaseInsensitive *bool `json:"case_insensitive,omitempty"` // True if the case is preserved for file names. This parameter does not affect server behavior, but is included to accommodate legacy client requirements. CasePreserving *bool `json:"case_preserving,omitempty"` // True if the superuser can change file ownership. This parameter does not affect server behavior, but is included to accommodate legacy client requirements. ChownRestricted *bool `json:"chown_restricted,omitempty"` // Specifies the clients with root access to the export. Clients []string `json:"clients,omitempty"` // True if NFS commit requests execute asynchronously. CommitAsynchronous *bool `json:"commit_asynchronous,omitempty"` // Reports the paths that conflict with another export. ConflictingPaths []string `json:"conflicting_paths,omitempty"` // Specifies the user-defined string that is used to identify the export. Description *string `json:"description,omitempty"` // Specifies the preferred size for directory read operations. This value is used to advise the client of optimal settings for the server, but is not enforced. DirectoryTransferSize *int32 `json:"directory_transfer_size,omitempty"` // Specifies the default character set encoding of the clients connecting to the export, unless otherwise specified. Encoding *string `json:"encoding,omitempty"` // Specifies the system-assigned ID for the export. This ID is returned when an export is created through the POST method. Id *int32 `json:"id,omitempty"` // Specifies the reported maximum number of links to a file. This parameter does not affect server behavior, but is included to accommodate legacy client requirements. LinkMax *int32 `json:"link_max,omitempty"` MapAll *V2NfsExportMapAll `json:"map_all,omitempty"` MapFailure *V2NfsExportMapAll `json:"map_failure,omitempty"` // True if user mappings query the OneFS user database. When set to false, user mappings only query local authentication. MapFull *bool `json:"map_full,omitempty"` // True if incoming user IDs (UIDs) are mapped to users in the OneFS user database. When set to false, incoming UIDs are applied directly to file operations. MapLookupUid *bool `json:"map_lookup_uid,omitempty"` MapNonRoot *V2NfsExportMapAll `json:"map_non_root,omitempty"` // Determines whether searches for users specified in 'map_all', 'map_root' or 'map_nonroot' are retried if the search fails. MapRetry *bool `json:"map_retry,omitempty"` MapRoot *V2NfsExportMapAll `json:"map_root,omitempty"` // Specifies the maximum file size for any file accessed from the export. This parameter does not affect server behavior, but is included to accommodate legacy client requirements. MaxFileSize *int64 `json:"max_file_size,omitempty"` // Specifies the reported maximum length of a file name. This parameter does not affect server behavior, but is included to accommodate legacy client requirements. NameMaxSize *int32 `json:"name_max_size,omitempty"` // True if long file names result in an error. This parameter does not affect server behavior, but is included to accommodate legacy client requirements. NoTruncate *bool `json:"no_truncate,omitempty"` // Specifies the paths under /ifs that are exported. Paths []string `json:"paths,omitempty"` // True if the export is set to read-only. ReadOnly *bool `json:"read_only,omitempty"` // Specifies the clients with read-only access to the export. ReadOnlyClients []string `json:"read_only_clients,omitempty"` // Specifies the maximum buffer size that clients should use on NFS read requests. This value is used to advise the client of optimal settings for the server, but is not enforced. ReadTransferMaxSize *int32 `json:"read_transfer_max_size,omitempty"` // Specifies the preferred multiple size for NFS read requests. This value is used to advise the client of optimal settings for the server, but is not enforced. ReadTransferMultiple *int32 `json:"read_transfer_multiple,omitempty"` // Specifies the preferred size for NFS read requests. This value is used to advise the client of optimal settings for the server, but is not enforced. ReadTransferSize *int32 `json:"read_transfer_size,omitempty"` // Specifies the clients with both read and write access to the export, even when the export is set to read-only. ReadWriteClients []string `json:"read_write_clients,omitempty"` // True if 'readdirplus' requests are enabled. Enabling this property might improve network performance and is only available for NFSv3. Readdirplus *bool `json:"readdirplus,omitempty"` // Sets the number of directory entries that are prefetched when a 'readdirplus' request is processed. (Deprecated.) ReaddirplusPrefetch *int32 `json:"readdirplus_prefetch,omitempty"` // Limits the size of file identifiers returned by NFSv3+ to 32-bit values (may require remount). Return32bitFileIds *bool `json:"return_32bit_file_ids,omitempty"` // Clients that have root access to the export. RootClients []string `json:"root_clients,omitempty"` // Specifies the authentication types that are supported for this export. SecurityFlavors []string `json:"security_flavors,omitempty"` // True if set attribute operations execute asynchronously. SetattrAsynchronous *bool `json:"setattr_asynchronous,omitempty"` // Specifies the snapshot for all mounts. Snapshot *string `json:"snapshot,omitempty"` // True if symlinks are supported. This value is used to advise the client of optimal settings for the server, but is not enforced. Symlinks *bool `json:"symlinks,omitempty"` // Specifies the resolution of all time values that are returned to the clients TimeDelta *float32 `json:"time_delta,omitempty"` // Reports clients that cannot be resolved. UnresolvedClients []string `json:"unresolved_clients,omitempty"` // Specifies the action to be taken when an NFSv3+ datasync write is requested. WriteDatasyncAction *string `json:"write_datasync_action,omitempty"` // Specifies the stability disposition returned when an NFSv3+ datasync write is processed. WriteDatasyncReply *string `json:"write_datasync_reply,omitempty"` // Specifies the action to be taken when an NFSv3+ filesync write is requested. WriteFilesyncAction *string `json:"write_filesync_action,omitempty"` // Specifies the stability disposition returned when an NFSv3+ filesync write is processed. WriteFilesyncReply *string `json:"write_filesync_reply,omitempty"` // Specifies the maximum buffer size that clients should use on NFS write requests. This value is used to advise the client of optimal settings for the server, but is not enforced. WriteTransferMaxSize *int32 `json:"write_transfer_max_size,omitempty"` // Specifies the preferred multiple size for NFS write requests. This value is used to advise the client of optimal settings for the server, but is not enforced. WriteTransferMultiple *int32 `json:"write_transfer_multiple,omitempty"` // Specifies the preferred multiple size for NFS write requests. This value is used to advise the client of optimal settings for the server, but is not enforced. WriteTransferSize *int32 `json:"write_transfer_size,omitempty"` // Specifies the action to be taken when an NFSv3+ unstable write is requested. WriteUnstableAction *string `json:"write_unstable_action,omitempty"` // Specifies the stability disposition returned when an NFSv3+ unstable write is processed. WriteUnstableReply *string `json:"write_unstable_reply,omitempty"` // Specifies the zone in which the export is valid. Zone *string `json:"zone,omitempty"` }
V2NfsExportExtended Specifies configuration values for NFS exports.
type V2NfsExportExtendedExtended ¶
type V2NfsExportExtendedExtended struct { // True if all directories under the specified paths are mountable. AllDirs *bool `json:"all_dirs,omitempty"` // Specifies the block size returned by the NFS statfs procedure. BlockSize *int32 `json:"block_size,omitempty"` // True if the client can set file times through the NFS set attribute request. This parameter does not affect server behavior, but is included to accommodate legacy client requirements. CanSetTime *bool `json:"can_set_time,omitempty"` // True if the case is ignored for file names. This parameter does not affect server behavior, but is included to accommodate legacy client requirements. CaseInsensitive *bool `json:"case_insensitive,omitempty"` // True if the case is preserved for file names. This parameter does not affect server behavior, but is included to accommodate legacy client requirements. CasePreserving *bool `json:"case_preserving,omitempty"` // True if the superuser can change file ownership. This parameter does not affect server behavior, but is included to accommodate legacy client requirements. ChownRestricted *bool `json:"chown_restricted,omitempty"` // Specifies the clients with root access to the export. Clients []string `json:"clients,omitempty"` // True if NFS commit requests execute asynchronously. CommitAsynchronous *bool `json:"commit_asynchronous,omitempty"` // Specifies the user-defined string that is used to identify the export. Description *string `json:"description,omitempty"` // Specifies the preferred size for directory read operations. This value is used to advise the client of optimal settings for the server, but is not enforced. DirectoryTransferSize *int32 `json:"directory_transfer_size,omitempty"` // Specifies the default character set encoding of the clients connecting to the export, unless otherwise specified. Encoding *string `json:"encoding,omitempty"` // Specifies the reported maximum number of links to a file. This parameter does not affect server behavior, but is included to accommodate legacy client requirements. LinkMax *int32 `json:"link_max,omitempty"` MapAll *V2NfsExportMapAll `json:"map_all,omitempty"` MapFailure *V2NfsExportMapAll `json:"map_failure,omitempty"` // True if user mappings query the OneFS user database. When set to false, user mappings only query local authentication. MapFull *bool `json:"map_full,omitempty"` // True if incoming user IDs (UIDs) are mapped to users in the OneFS user database. When set to false, incoming UIDs are applied directly to file operations. MapLookupUid *bool `json:"map_lookup_uid,omitempty"` MapNonRoot *V2NfsExportMapAll `json:"map_non_root,omitempty"` // Determines whether searches for users specified in 'map_all', 'map_root' or 'map_nonroot' are retried if the search fails. MapRetry *bool `json:"map_retry,omitempty"` MapRoot *V2NfsExportMapAll `json:"map_root,omitempty"` // Specifies the maximum file size for any file accessed from the export. This parameter does not affect server behavior, but is included to accommodate legacy client requirements. MaxFileSize *int64 `json:"max_file_size,omitempty"` // Specifies the reported maximum length of a file name. This parameter does not affect server behavior, but is included to accommodate legacy client requirements. NameMaxSize *int32 `json:"name_max_size,omitempty"` // True if long file names result in an error. This parameter does not affect server behavior, but is included to accommodate legacy client requirements. NoTruncate *bool `json:"no_truncate,omitempty"` // Specifies the paths under /ifs that are exported. Paths []string `json:"paths,omitempty"` // True if the export is set to read-only. ReadOnly *bool `json:"read_only,omitempty"` // Specifies the clients with read-only access to the export. ReadOnlyClients []string `json:"read_only_clients,omitempty"` // Specifies the maximum buffer size that clients should use on NFS read requests. This value is used to advise the client of optimal settings for the server, but is not enforced. ReadTransferMaxSize *int32 `json:"read_transfer_max_size,omitempty"` // Specifies the preferred multiple size for NFS read requests. This value is used to advise the client of optimal settings for the server, but is not enforced. ReadTransferMultiple *int32 `json:"read_transfer_multiple,omitempty"` // Specifies the preferred size for NFS read requests. This value is used to advise the client of optimal settings for the server, but is not enforced. ReadTransferSize *int32 `json:"read_transfer_size,omitempty"` // Specifies the clients with both read and write access to the export, even when the export is set to read-only. ReadWriteClients []string `json:"read_write_clients,omitempty"` // True if 'readdirplus' requests are enabled. Enabling this property might improve network performance and is only available for NFSv3. Readdirplus *bool `json:"readdirplus,omitempty"` // Sets the number of directory entries that are prefetched when a 'readdirplus' request is processed. (Deprecated.) ReaddirplusPrefetch *int32 `json:"readdirplus_prefetch,omitempty"` // Limits the size of file identifiers returned by NFSv3+ to 32-bit values (may require remount). Return32bitFileIds *bool `json:"return_32bit_file_ids,omitempty"` // Clients that have root access to the export. RootClients []string `json:"root_clients,omitempty"` // Specifies the authentication types that are supported for this export. SecurityFlavors []string `json:"security_flavors,omitempty"` // True if set attribute operations execute asynchronously. SetattrAsynchronous *bool `json:"setattr_asynchronous,omitempty"` // Specifies the snapshot for all mounts. Snapshot *string `json:"snapshot,omitempty"` // True if symlinks are supported. This value is used to advise the client of optimal settings for the server, but is not enforced. Symlinks *bool `json:"symlinks,omitempty"` // Specifies the resolution of all time values that are returned to the clients TimeDelta *float32 `json:"time_delta,omitempty"` // Specifies the action to be taken when an NFSv3+ datasync write is requested. WriteDatasyncAction *string `json:"write_datasync_action,omitempty"` // Specifies the stability disposition returned when an NFSv3+ datasync write is processed. WriteDatasyncReply *string `json:"write_datasync_reply,omitempty"` // Specifies the action to be taken when an NFSv3+ filesync write is requested. WriteFilesyncAction *string `json:"write_filesync_action,omitempty"` // Specifies the stability disposition returned when an NFSv3+ filesync write is processed. WriteFilesyncReply *string `json:"write_filesync_reply,omitempty"` // Specifies the maximum buffer size that clients should use on NFS write requests. This value is used to advise the client of optimal settings for the server, but is not enforced. WriteTransferMaxSize *int32 `json:"write_transfer_max_size,omitempty"` // Specifies the preferred multiple size for NFS write requests. This value is used to advise the client of optimal settings for the server, but is not enforced. WriteTransferMultiple *int32 `json:"write_transfer_multiple,omitempty"` // Specifies the preferred multiple size for NFS write requests. This value is used to advise the client of optimal settings for the server, but is not enforced. WriteTransferSize *int32 `json:"write_transfer_size,omitempty"` // Specifies the action to be taken when an NFSv3+ unstable write is requested. WriteUnstableAction *string `json:"write_unstable_action,omitempty"` // Specifies the stability disposition returned when an NFSv3+ unstable write is processed. WriteUnstableReply *string `json:"write_unstable_reply,omitempty"` // Specifies the zone in which the export is valid. Zone *string `json:"zone,omitempty"` }
V2NfsExportExtendedExtended Specifies configuration values for NFS exports.
type V2NfsExportMapAll ¶
type V2NfsExportMapAll struct { // True if the user mapping is applied. Enabled *bool `json:"enabled,omitempty"` PrimaryGroup *V1AuthAccessAccessItemFileGroup `json:"primary_group,omitempty"` // Specifies persona properties for the secondary user group. A persona consists of either a type and name, or an ID. SecondaryGroups []V2NfsExportMapAllSecondaryGroupsInner `json:"secondary_groups,omitempty"` User *V1AuthAccessAccessItemFileGroup `json:"user,omitempty"` }
V2NfsExportMapAll Specifies the users and groups to which non-root and root clients are mapped.
type V2NfsExportMapAllSecondaryGroupsInner ¶
type V2NfsExportMapAllSecondaryGroupsInner struct { // Specifies the serialized form of a persona, which can be 'UID:0', 'USER:name', 'GID:0', 'GROUP:wheel', or 'SID:S-1-1'. Id *string `json:"id,omitempty"` // Specifies the persona name, which must be combined with a type. Name NullableString `json:"name,omitempty"` // Specifies the type of persona, which must be combined with a name. Type NullableString `json:"type,omitempty"` }
V2NfsExportMapAllSecondaryGroupsInner Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
type V2NfsExports ¶
type V2NfsExports struct { // An identifier for a set of exports. Digest *string `json:"digest,omitempty"` Exports []V2NfsExportExtended `json:"exports,omitempty"` // Provide this token as the 'resume' query argument to continue listing results. Resume *string `json:"resume,omitempty"` // Total number of items available. Total *int32 `json:"total,omitempty"` }
V2NfsExports struct for V2NfsExports
type V2NfsExportsExtended ¶
type V2NfsExportsExtended struct {
Exports []V2NfsExportExtended `json:"exports,omitempty"`
}
V2NfsExportsExtended struct for V2NfsExportsExtended
Source Files ¶
- model_createv12_smb_share_response.go
- model_createv3_event_event_response.go
- model_error.go
- model_v12_smb_share.go
- model_v12_smb_share_extended.go
- model_v12_smb_share_extended_extended.go
- model_v12_smb_shares.go
- model_v12_smb_shares_extended.go
- model_v1_auth_access_access_item_file_group.go
- model_v1_smb_share_permission.go
- model_v2_nfs_export.go
- model_v2_nfs_export_extended.go
- model_v2_nfs_export_extended_extended.go
- model_v2_nfs_export_map_all.go
- model_v2_nfs_export_map_all_secondary_groups_inner.go
- model_v2_nfs_exports.go
- model_v2_nfs_exports_extended.go
- utils.go