github.com/demonoid81/containerd@v1.3.4/api/types/mount.proto (about)

     1  syntax = "proto3";
     2  
     3  package containerd.types;
     4  
     5  import weak "gogoproto/gogo.proto";
     6  
     7  option go_package = "github.com/containerd/containerd/api/types;types";
     8  
     9  // Mount describes mounts for a container.
    10  //
    11  // This type is the lingua franca of ContainerD. All services provide mounts
    12  // to be used with the container at creation time.
    13  //
    14  // The Mount type follows the structure of the mount syscall, including a type,
    15  // source, target and options.
    16  message Mount {
    17  	// Type defines the nature of the mount.
    18  	string type = 1;
    19  
    20  	// Source specifies the name of the mount. Depending on mount type, this
    21  	// may be a volume name or a host path, or even ignored.
    22  	string source = 2;
    23  
    24  	// Target path in container
    25  	string target = 3;
    26  
    27  	// Options specifies zero or more fstab style mount options.
    28  	repeated string options = 4;
    29  }