Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
fde41460
Commit
fde41460
authored
Apr 13, 2018
by
wackxu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update comments for local volume
parent
7243ac90
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
8 deletions
+12
-8
types.go
pkg/apis/core/types.go
+6
-4
types.go
staging/src/k8s.io/api/core/v1/types.go
+6
-4
No files found.
pkg/apis/core/types.go
View file @
fde41460
...
...
@@ -1434,11 +1434,13 @@ type KeyToPath struct {
Mode
*
int32
}
// Local represents directly-attached storage with node affinity
// Local represents directly-attached storage with node affinity
(Beta feature)
type
LocalVolumeSource
struct
{
// The full path to the volume on the node
// For alpha, this path must be a directory
// Once block as a source is supported, then this path can point to a block device
// The full path to the volume on the node.
// It can be either a directory or block device (disk, partition, ...).
// Directories can be represented only by PersistentVolume with VolumeMode=Filesystem.
// Block devices can be represented only by VolumeMode=Block, which also requires the
// BlockVolume alpha feature gate to be enabled.
Path
string
}
...
...
staging/src/k8s.io/api/core/v1/types.go
View file @
fde41460
...
...
@@ -1513,11 +1513,13 @@ type KeyToPath struct {
Mode
*
int32
`json:"mode,omitempty" protobuf:"varint,3,opt,name=mode"`
}
// Local represents directly-attached storage with node affinity
// Local represents directly-attached storage with node affinity
(Beta feature)
type
LocalVolumeSource
struct
{
// The full path to the volume on the node
// For alpha, this path must be a directory
// Once block as a source is supported, then this path can point to a block device
// The full path to the volume on the node.
// It can be either a directory or block device (disk, partition, ...).
// Directories can be represented only by PersistentVolume with VolumeMode=Filesystem.
// Block devices can be represented only by VolumeMode=Block, which also requires the
// BlockVolume alpha feature gate to be enabled.
Path
string
`json:"path" protobuf:"bytes,1,opt,name=path"`
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment