...

Source file src/github.com/Microsoft/hcsshim/internal/hcs/schema2/virtual_smb_share_options.go

Documentation: github.com/Microsoft/hcsshim/internal/hcs/schema2

     1  /*
     2   * HCS API
     3   *
     4   * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
     5   *
     6   * API version: 2.1
     7   * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
     8   */
     9  
    10  package hcsschema
    11  
    12  type VirtualSmbShareOptions struct {
    13  	ReadOnly bool `json:"ReadOnly,omitempty"`
    14  
    15  	//  convert exclusive access to shared read access
    16  	ShareRead bool `json:"ShareRead,omitempty"`
    17  
    18  	//  all opens will use cached I/O
    19  	CacheIo bool `json:"CacheIo,omitempty"`
    20  
    21  	//  disable oplock support
    22  	NoOplocks bool `json:"NoOplocks,omitempty"`
    23  
    24  	//  Acquire the backup privilege when attempting to open
    25  	TakeBackupPrivilege bool `json:"TakeBackupPrivilege,omitempty"`
    26  
    27  	//  Use the identity of the share root when opening
    28  	UseShareRootIdentity bool `json:"UseShareRootIdentity,omitempty"`
    29  
    30  	//  disable Direct Mapping
    31  	NoDirectmap bool `json:"NoDirectmap,omitempty"`
    32  
    33  	//  disable Byterange locks
    34  	NoLocks bool `json:"NoLocks,omitempty"`
    35  
    36  	//  disable Directory CHange Notifications
    37  	NoDirnotify bool `json:"NoDirnotify,omitempty"`
    38  
    39  	//  share is use for VM shared memory
    40  	VmSharedMemory bool `json:"VmSharedMemory,omitempty"`
    41  
    42  	//  allow access only to the files specified in AllowedFiles
    43  	RestrictFileAccess bool `json:"RestrictFileAccess,omitempty"`
    44  
    45  	//  disable all oplocks except Level II
    46  	ForceLevelIIOplocks bool `json:"ForceLevelIIOplocks,omitempty"`
    47  
    48  	//  Allow the host to reparse this base layer
    49  	ReparseBaseLayer bool `json:"ReparseBaseLayer,omitempty"`
    50  
    51  	//  Enable pseudo-oplocks
    52  	PseudoOplocks bool `json:"PseudoOplocks,omitempty"`
    53  
    54  	//  All opens will use non-cached IO
    55  	NonCacheIo bool `json:"NonCacheIo,omitempty"`
    56  
    57  	//  Enable pseudo directory change notifications
    58  	PseudoDirnotify bool `json:"PseudoDirnotify,omitempty"`
    59  
    60  	//  Block directory enumeration, renames, and deletes.
    61  	SingleFileMapping bool `json:"SingleFileMapping,omitempty"`
    62  }
    63  

View as plain text